Do not raise "inexact" from powerpc64 ceil, floor, trunc (bug 15479).
[glibc.git] / ChangeLog
blob89c2a9c0f5876d29667ff8f1994422d0a285f0cb
1 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #15479]
4         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5         floating-point state after first floating-point operation on
6         input.  Restore full floating-point state instead of just rounding
7         mode.
8         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
11         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14         [BZ #15479]
15         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
16         floating-point state after first floating-point operation on
17         input.  Restore full floating-point state instead of just rounding
18         mode.
19         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
22         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
23         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
25 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
27         [BZ #19727]
28         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
29         valid high surrogate.
30         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
31         of an utf16 surrogate.
32         * iconv/gconv_simple.c (BODY): Likewise.
33         * iconvdata/bug-iconv12.c: New file.
34         * iconvdata/Makefile (tests): Add bug-iconv12.
36 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
38         [BZ #19726]
39         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
40         outptrp in case of an illegal input.
41         * iconv/tst-iconv6.c: New file.
42         * iconv/Makefile (tests): Add tst-iconv6.
44 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
46         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
47         an error in case of a value in range of an utf16 low surrogate.
49 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
51         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
52         an error in case of a value in range of an utf16 low surrogate.
54 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
56         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
57         Move to ...
58         * sysdeps/s390/Makefile: ... here.
59         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
60         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
61         (BRANCH_ON_COUNT): New define.
62         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
63         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
64         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
65         run on s390-32, too.
66         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
67         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
68         run on s390-32, too.
69         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
70         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
71         run on s390-32, too.
73 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
75         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
76         etf3eh or new vector loop-variant.
78 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
80         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
81         etf3eh or new vector loop-variant.
83 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
85         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
86         or new vector loop-variant.
88 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
90         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
91         Rename to TR_LOOP and usage of tr instead of troo instruction.
93 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
95         * sysdeps/s390/multiarch/gconv_simple.c: New File.
96         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
98 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
100         * sysdeps/s390/multiarch/8bit-generic.c: New File.
101         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
102         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
103         New override define.
104         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
106 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
108         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
109         * sysdeps/s390/configure.ac: Add test for S390 vector register
110         support in gcc.
111         * sysdeps/s390/configure: Regenerated.
113 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
115         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
116         Install file from $(objpfx)gconv-modules.
117         ($(objpfx)gconv-modules): Concatenate architecture specific file
118         in variable sysdeps-gconv-modules and gconv-modules in src dir.
119         * sysdeps/s390/gconv-modules: New file.
120         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
121         Deleted.
122         ($(objpfx)gconv-modules-s390): Deleted.
123         (sysdeps-gconv-modules): New variable.
125 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
127         [BZ #15479]
128         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
129         of immediate operand to rounding instruction.
130         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
131         Likewise.
132         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
133         Likewise.
134         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
135         Likewise.
137 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
139         * math/libm-test.inc (MIN_EXP): Directly define as
140         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
142 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
144         * math/libm-test.inc (MANT_DIG): Directly define as
145         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
147 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
149         * stdlib/gen-tst-strtod-round.c (main):
150           Change usage to more closely match the generated
151           output.  Add usage and compilation instructions.
152           (string_to_fp): Add and use FILE* parameter as
153           output target.
154           (print_fp): Likewise.
155           (round_str): Likewise.
156           (round_for_all): Likewise.
157         * stdlib/tst-strtod-round.c (tests): Move into
158         * stdlib/tst-strtod-round-data.h: New file.
160 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
162         [BZ #15479]
163         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
164         (__round): Do not force "inexact" exception.
165         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
166         variable.
167         (__round): Do not force "inexact" exception.
168         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
169         (__roundf): Do not force "inexact" exception.
170         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
171         (__roundl): Do not force "inexact" exception.
172         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
173         (__roundl): Do not force "inexact" exception.
174         * math/libm-test.inc (round_test_data): Do not allow spurious
175         "inexact" exceptions.
177         [BZ #15479]
178         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
179         exception in comment.
180         (huge): Remove variable.
181         (__floor): Do not force "inexact" exception.
182         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
183         "inexact" exception in comment.
184         (huge): Remove variable.
185         (__floor): Do not force "inexact" exception.
186         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
187         exception in comment.
188         (huge): Remove variable.
189         (__floorf): Do not force "inexact" exception.
190         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
191         exception in comment.
192         (huge): Remove variable.
193         (__floorl): Do not force "inexact" exception.
195         [BZ #15479]
196         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
197         exception in comment.
198         (huge): Remove variable.
199         (__ceil): Do not force "inexact" exception.
200         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
201         "inexact" exception in comment.
202         (huge): Remove variable.
203         (__ceil): Do not force "inexact" exception.
204         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
205         (__ceilf): Do not force "inexact" exception.
206         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
207         exception in comment.
208         (huge): Remove variable.
209         (__ceill): Do not force "inexact" exception.
211 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
213         * config.h.in (BIND_NOW): New.
214         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
215         * configure: Regenerated.
216         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
217         indirect branch via the GOT slot.
219 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
221         [BZ #19765]
222         * sysdeps/s390/mempcpy.S: New File.
223         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
224         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
225         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
226         Add mempcpy variants.
227         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
228         (memcpy): Adjust to be usable from mempcpy entry point.
229         (__memcpy_mvcle): Likewise.
230         * sysdeps/s390/s390-64/memcpy.S: Likewise.
231         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
232         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
233         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
234         (__memcpy_z10): Likewise.
235         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
237 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
239         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
240         Remove __GI_ symbol.
241         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
242         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
243         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
244         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
245         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
246         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
248 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
250         * sysdeps/s390/s390-64/memcpy.S (memcpy):
251         Use cghi instead of chi to compare 64bit value.
253 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
255         * sysdeps/s390/s390-32/memcpy.S (memcpy):
256         Jump to 1MB check before executing mvc-loop.
258 2016-05-24  Florian Weimer  <fweimer@redhat.com>
260         [BZ #6527]
261         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
262         unconditionally.
263         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
265 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
267         * stdlib/tst-strtod6.c (do_test): Use new type generic
268         invocation of the test function.
269         (test): Refactor into ...
270         (TEST_STRTOD): New macro base function.
272 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
274         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
275         (TEST_STRTOD): New macro.
276         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
278 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
280         * stdlib/tst-strtod6.c (do_test): Use new type generic
281         invocation of the test function.
282         (test): Refactor into ...
283         (TEST_STRTOD): New macro base function.
285 2016-05-23  Florian Weimer  <fweimer@redhat.com>
287         CVE-2016-4429
288         [BZ #20112]
289         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
290         payload.
292 2016-05-23  Florian Weimer  <fweimer@redhat.com>
294         [BZ #20111]
295         * bits/sockaddr.h (_SS_SIZE): Define.
296         * bits/socket.h (_SS_SIZE): Remove.
297         (_SS_PADSIZE): Adjust to account for all padding.
298         (struct sockaddr_storage): Update comment.  Avoid implicit
299         padding.
300         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
301         (_SS_PADSIZE): Adjust to account for all padding.
302         (struct sockaddr_storage): Update comment.  Avoid implicit
303         padding.
304         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
305         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
306         (_SS_PADSIZE): Adjust to account for all padding.
307         (struct sockaddr_storage): Update comment.  Avoid implicit
308         padding.
309         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
310         __SS_SIZE is 126 in this version.
311         * inet/tst-sockaddr.c: New file.
312         * inet/Makefile (tests): Add tst-sockaddr.c
313         (tst-sockaddr.c): Compile with non-strict aliasing.
315 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
317         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
318         [XPG3 || XPG4].
319         (NL_ARGMAX): Also expect for [XPG3].
320         (NL_LANGMAX): Likewise.
321         (NL_MSGMAX): Likewise.
322         (NL_NMAX): Likewise.
323         (NL_SETMAX): Likewise.
324         (NL_TEXTMAX): Likewise.
325         (NZERO): Likewise.
326         (TMP_MAX): Likewise.
327         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
328         variable.
330         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
331         (PF_MAX): Update value.
332         (AF_KCM): New macro.
333         (SOL_NETBEUI): Likewise.
334         (SOL_LLC): Likewise.
335         (SOL_DCCP): Likewise.
336         (SOL_NETLINK): Likewise.
337         (SOL_TIPC): Likewise.
338         (SOL_RXRPC): Likewise.
339         (SOL_PPPOL2TP): Likewise.
340         (SOL_BLUETOOTH): Likewise.
341         (SOL_PNPIPE): Likewise.
342         (SOL_RDS): Likewise.
343         (SOL_IUCV): Likewise.
344         (SOL_CAIF): Likewise.
345         (SOL_ALG): Likewise.
346         (SOL_NFC): Likewise.
347         (SOL_KCM): Likewise.
348         (MSG_BATCH): New enum value and macro.
350 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
352         [BZ #18185]
353         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
354         sharing L2 cache to 2 for Knights Landing.
356 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
358         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
359         (FTW_DP): Do not expect for [XPG3 || XPG4].
360         (FTW_SL): Do not expect for [XPG3].
361         (FTW_SLN): Likewise.
362         (FTW_PHYS): Likewise.
363         (FTW_MOUNT): Likewise.
364         (FTW_DEPTH): Likewise.
365         (FTW_CHDIR): Likewise.
366         (nftw): Likewise.
367         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
368         variable.
370 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
372         * manual/errno.texi: Fix various typos & grammar errors.
374 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
376         * manual/intro.texi: Fix duplicated typo.
378 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
380         [BZ #13304]
381         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
382         <float.h>, <math_private.h> and <stdlib.h>.
383         (add_split): New function.
384         (mul_split): Likewise.
385         (ext_val): New typedef.
386         (store_ext_val): New function.
387         (mul_ext_val): New function.
388         (compare): New function.
389         (add_split_ext): New function.
390         (__fmal): After checking for Inf, NaN and zero, compute result as
391         an exact sum of scaled double values in round-to-nearest before
392         adding those up and adjusting for other rounding modes.
393         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
394         tests of fma.
395         * math/auto-libm-test-out: Regenerated.
397 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
399         [BZ #20119]
400         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
401         processor level type mask for CPUID with EAX == 11.
403 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
405         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
406         logical threads if the HTT bit is 0.
407         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
408         (index_cpu_HTT): Likewise.
409         (reg_HTT): Likewise.
411 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
413         [BZ #20115]
414         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
415         Remove alignments on jump targets.
417 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
419         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
420         (getpwent): Likewise.
421         (setpwent): Likewise.
422         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
423         variable.
425         * conform/data/search.h-data (insque): Do not expect for [XPG3].
426         (remque): Likewise.
427         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
428         variable.
430 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
432         * math/libm-test.inc: Update comment not to refer to signs of NaNs
433         not being tested.
435 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
437         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
438         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
439         call.
440         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
441         (__condvar_cleanup1): Likewise.
443 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
445         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
446         New
447         (__pthread_unwind): Renamed to ...
448         (PTHREAD_UNWIND): This.
449         (__pthread_enable_asynccancel): Replace
450         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
452 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
454         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
455         (CLONE_NEWCGROUP): New macro.
457         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
458         (Q_GETNEXTQUOTA): New macro.
460 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
462         [BZ #19907]
463         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
464         buffer updated by the previous run.
465         * string/test-memcpy.c (do_one_test): Likewise.
466         * benchtests/bench-memmove.c (do_one_test): Add a comment.
467         * string/test-memmove.c (do_one_test): Likewise.
469 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
471         [BZ #20094]
472         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
473         not [__USE_XOPEN].
474         (unlockpt): Likewise.
475         (ptsname): Likewise.
476         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
477         variable.
479         [BZ #20076]
480         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
481         instead of [__USE_UNIX98].
482         (S_ISSOCK): Likewise.
483         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
484         variable.
486         [BZ #20074]
487         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
488         [__USE_POSIX].
489         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
490         variable.
492         [BZ #20051]
493         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
494         (ttyslot): Do not declare.
495         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
496         (ttyslot): New prototype.
497         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
498         variable.
499         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
501 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
503         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
505 2016-05-13  Florian Weimer  <fweimer@redhat.com>
507         Fix race condition in tst-mallocfork2, use fewer resources.
508         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
509         to current process group.
510         (signal_sender): Yield in the non-sleeping case.
512 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
514         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
515         (ecvt): Likewise.
516         (fcvt): Likewise.
517         (gcvt): Likewise.
518         (getsubopt): Likewise.
519         (grantpt): Likewise.
520         (initstate): Likewise.
521         (l64a): Likewise.
522         (mktemp): Likewise.
523         (mkstemp): Likewise.
524         (ptsname): Likewise.
525         (random): Likewise.
526         (realpath): Likewise.
527         (setstate): Likewise.
528         (srandom): Likewise.
529         (ttyslot): Likewise.
530         (unlockpt): Likewise.
531         (valloc): Likewise.
533         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
534         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
535         variable.
537 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
539         [BZ #20072]
540         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
541         init_cpu_features only if SHARED is defined.
542         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
544 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
546         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
547         non-inclusive caches on Intel processors.
549 2016-05-13  Florian Weimer  <fweimer@redhat.com>
551         * malloc/malloc.c (dumped_main_arena_start)
552         (dumped_main_arena_end): New variables.
553         (DUMPED_MAIN_ARENA_CHUNK): New macro.
554         (do_check_chunk): Skip dumped fake mmapped chunks.
555         (munmap_chunk): Likewise.
556         (__libc_free): Do not adjust statistics for fake mmapped chunks.
557         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
558         mmapped chunks.
559         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
560         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
561         and dumped_main_arena_end to cover the dumped heap.
563 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
565         * conform/data/time.h-data (getdate_err): Do not expect for
566         [XPG3].
567         (getdate): Likewise.
568         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
569         variable.
571         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
572         (F_ULOCK): Likewise.
573         (F_TEST): Likewise.
574         (F_TLOCK): Likewise.
575         (useconds_t): Likewise.
576         (intptr_t): Do not expect for [XPG3] or [XPG4].
577         (brk): Do not expect for [XPG3]
578         (fchown): Likewise.
579         (fchdir): Likewise.
580         (ftruncate): Likewise.
581         (getdtablesize): Likewise.
582         (gethostid): Likewise.
583         (getpagesize): Likewise.
584         (getpgid): Likewise.
585         (getsid): Likewise.
586         (getwd): Likewise.
587         (lchown): Likewise.
588         (lockf): Likewise.
589         (readlink): Likewise.
590         (sbrk): Likewise.
591         (setpgrp): Likewise.
592         (setregid): Likewise.
593         (setreuid): Likewise.
594         (symlink): Likewise.
595         (sync): Likewise.
596         (truncate): Likewise.
597         (ualarm): Likewise.
598         (usleep): Likewise.
599         (vfork): Likewise.
600         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
601         variable.
603         [BZ #20054]
604         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
605         not [__USE_UNIX98].
606         * conform/data/unistd.h-data (gethostname): Do not expect for
607         [XPG3].
609         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
610         [!POSIX] (S_IFBLK): Likewise.
611         [!POSIX] (S_IFCHR): Likewise.
612         [!POSIX] (S_IFIFO): Likewise.
613         [!POSIX] (S_IFREG): Likewise.
614         [!POSIX] (S_IFDIR): Likewise.
615         [!POSIX] (S_IFLNK): Likewise.
616         [!POSIX] (S_IFSOCK): Likewise.
617         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
618         variable.
619         (test-xfail-XPG4/fcntl.h/conform): Likewise.
621 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
623         * sysdeps/aarch64/memset.S (__memset):
624         Rewrite of optimized memset.
626 2016-05-12  Florian Weimer  <fweimer@redhat.com>
628         [BZ #19703]
629         Partially async-signal-safe fork for single-threaded processes.
630         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
631         variable.  Do not acquire and reset/release malloc and libio locks
632         in single-threaded processes.
633         * malloc/tst-mallocfork2.c: New file.
634         * malloc/Makefile (tests): Add it.
636 2016-05-12  Florian Weimer  <fweimer@redhat.com>
638         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
639         argument.  Use scratch buffer instead of extend_alloca.
640         (gethosts): Use scratch buffer instead of extend_alloca.
641         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
642         extend_alloca.
643         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
645 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
647         [BZ #20055]
648         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
649         instead of [__USE_UNIX98].
650         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
651         [__USE_UNIX98].
652         * conform/data/termios.h-data (tcgetsid): Do not expect for
653         [XPG3].
654         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
655         variable.
656         (test-xfail-XPG4/termios.h/conform): Likewise.
658 2016-05-11  Florian Weimer  <fweimer@redhat.com>
660         Do not use mcheck in localedef.
661         * locale/programs/localedef.c (turn_on_mcheck)
662         (__malloc_initialize_hook): Remove.
664 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
666         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
667         * sysdeps/s390/s390-64/Makefile: Likewise.
669 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
671         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
672         Remove ifunc-defines.sym.
673         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
674         Likewise.
675         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
676         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
677         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
678         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
679         rtld-global-offsets.sym.
680         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
681         * sysdeps/x86/cpu-features-offsets.sym: This.
682         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
683         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
685 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
687         [BZ #20073]
688         * io/sys/stat.h (fchmod): Declare for
689         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
690         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
691         variable.
693         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
694         [XPG3] (S_IFSOCK): Likewise.
695         [XPG3] (S_ISVTX): Likewise.
696         [XPG3] (S_ISLNK): Likewise.
697         [XPG3] (S_ISSOCK): Likewise.
698         [XPG3] (fchmod): Likewise.
699         [XPG3] (lstat): Likewise.
700         [XPG3] (mknod): Likewise.
702         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
703         [XPG3].  Expect type long and XFAIL for [XPG4].
704         (st_blocks): Likewise.
706         [BZ #20044]
707         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
708         (pthread_atfork): New prototype.
709         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
710         variable.
712         [BZ #20043]
713         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
714         prototype.
716 2016-05-10  Florian Weimer  <fweimer@redhat.com>
718         [BZ #20017]
719         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
720         gmtime.
722 2016-05-10  Florian Weimer  <fweimer@redhat.com>
724         [BZ #19994]
725         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
726         flag in _res.options.
728 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
730         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
731         [XPG3 || XPG4].
732         (blksize_t): Likewise.
733         (clockid_t): Likewise.
734         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
735         variable.
736         (test-xfail-XPG4/sys/types.h/conform): Likewise.
738 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
740         * sysdeps/unix/sysv/linux/s390/init-first.c:
741         Add VDSO_SYMBOL(getcpu).
742         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
743         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
744         Add VDSO_SYMBOL(getcpu).
745         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
746         New define HAVE_GETCPU_VSYSCALL.
747         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
749 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
751         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
752         instead of <sysdeps/x86_64/cacheinfo.c>.
753         * sysdeps/x86_64/cacheinfo.c: Moved to ...
754         * sysdeps/x86/cacheinfo.c: Here.
756 2016-05-04  Florian Weimer  <fweimer@redhat.com>
758         * malloc/malloc-internal.h: Adjust header file guard.
760 2016-05-04  Florian Weimer  <fweimer@redhat.com>
762         [BZ #19787]
763         * inet/getnameinfo.c (check_sprintf_result): New function.
764         (CHECKED_SNPRINTF): New macro.
765         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
766         to the host buffer.
767         (gni_host_local): Use checked_copy to copy the host name.
768         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
769         (gni_serv_local): Use checked_copy to copy the service name.
770         (getnameinfo): Remove unnecessary truncation of result buffers.
772 2016-05-04  Florian Weimer  <fweimer@redhat.com>
774         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
775         in case of inet_ntop failure.
777 2016-05-04  Florian Weimer  <fweimer@redhat.com>
779         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
780         avoid long lines.
781         (gni_host_inet_numeric): Likewise.  Reduce scope of local
782         variables.
783         (gni_host_inet, gni_host_local): Add comment.
784         (gni_host): Add comment.  Use temporary to avoid long lines.
786 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
788         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
789         registers specifiers where general purpose registers specifiers should
790         have been used.
792 2016-05-04  Florian Weimer  <fweimer@redhat.com>
794         [BZ #19779]
795         CVE-2016-1234
796         Avoid copying names of directory entries.
797         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
798         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
799         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
800         (struct readdir_result): New type.
801         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
802         (GL_READDIR): New macros.
803         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
804         (convert_dirent, convert_dirent64): New functions.
805         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
806         convert_dirent64.  Adjust references to the readdir result.
807         * sysdeps/unix/sysv/linux/i386/glob64.c:
808         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
809         * posix/bug-glob2.c (LONG_NAME): Define.
810         (filesystem): Add LONG_NAME.
811         (my_DIR): Increase the size of room_for_dirent.
813 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
815         [BZ #20041]
816         * misc/sys/select.h (__need_timespec): Only define if
817         [__USE_XOPEN2K].
818         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
819         variable.
820         (test-xfail-XPG4/utmpx.h/conform): Likewise.
821         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
822         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
824 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
825             Segher Boessenkool  <segher@gcc.gnu.org>
827         [BZ #20004]
828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
829         (__novec_swapcontext): Add missing load.
831 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
833         [BZ #20023]
834         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
835         <time.h>.
836         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
837         variable.
838         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
840 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
843         flags CLONE_VM compare.
845 2016-05-02  Florian Weimer  <fweimer@redhat.com>
847         [BZ #20031]
848         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
849         completely empty.
851 2016-05-02  Florian Weimer  <fweimer@redhat.com>
853         [BZ #19573]
854         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
855         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
856         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
857         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
858         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
859         (hesiod_free_list): Mark as hidden.
860         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
861         res_set, res_get.
862         * hesiod/hesiod.c: Remove unnecessary forward declarations.
863         (init, __hesiod_res_get, __hesiod_res_set): Remove.
864         (hesiod_init): Remove obsolete res_ninit call.
865         (hesiod_end): Do not free resolver state.  Do not invoke callback.
866         (hesiod_bind): Do not call init.
867         (get_txt_records): Use res_mkquery, res_send instead of
868         res_nmkquery, res_nsend.
869         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
870         instead of _nss_hesiod_init.
871         (_nss_hesiod_initgroups_dyn): Likewise.
872         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
873         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
874         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
876 2016-05-02  Florian Weimer  <fweimer@redhat.com>
878         * hesiod/hesiod_p.h (DEF_RHS): Remove.
879         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
881 2016-05-02  Florian Weimer  <fweimer@redhat.com>
883         * hesiod/hesiod.h: Remove RCS keyword.
884         * hesiod/hesiod_p.h: Likewise.
886         * hesiod/hesiod.c: Likewise.
888 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
890         [BZ #12450]
891         * locale/iso-639.def: Add Samogitian/sgs.
893 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
895         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
897         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
899 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
900             Carlos O'Donell  <carlos@redhat.com>
902         [BZ #19072]
903         * grp/Makefile (headers): Add grp-merge.h
904         (routines): Add grp-merge.
905         * grp/getgrgid_r.c: Include grp-merge.h.
906         (DEEPCOPY_FN): Define.
907         (MERGE_FN): Define.
908         * grp/getgrname_r.c: Include grp-merge.h.
909         (DEEPCOPY_FN): Define.
910         (MERGE_FN): Define.
911         * grp/grp-merge.c: New file.
912         * grp/grp-merge.h: New file.
913         * include/grp-merge.h: New file.
914         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
915         __copy_grp@GLIBC_PRIVATE.
916         * manual/nss.texi (Actions in the NSS configuration): Describe
917         return, continue, and merge.
918         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
919         (DEEPCOPY_FN): Define.
920         (MERGE_FN): Define.
921         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
922         (DEEPCOPY_FN): Define.
923         (MERGE_FN): Define.
924         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
925         [!MERGE_FN]: Define __merge_einval.
926         (CHECK_MERGE): Define.
927         (REENTRANT_NAME): Process merge if do_merge is true.
928         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
929         (__nss_getent_r): Likewise.
930         * nss/nsswitch.c (nss_parse_service_list): Likewise.
931         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
933 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
935         [BZ #20012]
936         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
937         length to calculate the buffer to read.
938         (fmemopen_write): Set the buffer position based on bytes written.
939         (fmemopen_seek): Return EINVAL for invalid whence modes.
941         [BZ #19957]
942         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
943         tst-getpid2.
944         (test): Add tst-clone2.
945         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
946         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
947         pid/tid fields for CLONE_VM.
948         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
949         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
950         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
951         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
952         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
953         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
954         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
955         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
957         Likewise.
958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
959         Likewise.
960         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
961         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
962         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
963         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
964         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
965         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
966         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
967         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
969 2016-04-29  Florian Weimer  <fweimer@redhat.com>
971         [BZ #19642]
972         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
973         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
974         (gni_serv_local, gni_serv): New functions extracted from
975         getnameinfo.
976         (getnameinfo): Call gni_host and gni_serv to perform the
977         processing.  Always free scratch buffer.
979 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
981         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
982         remaining bytes in the dest string, with zeros.
984 2016-04-29  Florian Weimer  <fweimer@redhat.com>
986         [BZ #20010]
987         CVE-2016-3706
988         * sysdeps/posix/getaddrinfo.c
989         (convert_hostent_to_gaih_addrtuple): New function.
990         (gethosts): Call convert_hostent_to_gaih_addrtuple.
991         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
992         AF_INET data.
994 2016-04-29  Florian Weimer  <fweimer@redhat.com>
996         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
997         callback function gl_readdir.
998         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
999         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
1000         (glob_in_dir): Remove len.  Use strdup instead of malloc and
1001         memcpy to copy the name.
1002         * manual/pattern.texi (Calling Glob): Document requirements for
1003         implementations of the gl_readdir callback function.
1004         * manual/examples/mkdirent.c: New example.
1005         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
1006         per the manual guidance.
1007         * posix/tst-gnuglob.c (my_readdir): Likewise.
1009 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
1011         [BZ #20014]
1012         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
1013         not [__USE_POSIX].
1014         (getchar_unlocked): Likewise.
1015         (putc_unlocked): Likewise.
1016         (putchar_unlocked): Likewise.
1017         (flockfile): Likewise.
1018         (ftrylockfile): Likewise.
1019         (funlockfile): Likewise.
1020         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
1021         variable.
1022         (test-xfail-XPG4/stdio.h/conform): Likewise.
1024         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
1025         Expect constant.
1026         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
1027         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
1028         variable.
1029         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1030         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1032         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
1033         [__USE_LARGEFILE64] (off64_t): Likewise.
1034         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
1035         variable.
1037 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1039         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
1041 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1043         * resolv/inet_addr.c: Reindent preprocessor conditionals.
1044         * resolv/res_init.c: Likewise.
1045         * resolv/res_mkquery.c: Likewise.
1047 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1049         * resolv/res_init.c (isascii): Do not define.  Use definition in
1050         <ctype.h>.
1051         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
1052         (LOG_AUTH): Remove.
1053         (SPRINTF): Remove, adjust caller.
1054         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
1056 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1058         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
1059         SUNSECURITY conditional.
1060         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1062 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1064         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
1065         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
1066         Remove BSD-related preprocessor conditionals.
1067         * conf/portability.h: Remove.
1069 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1071         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
1072         * resolv/res_data.c: Likewise.
1074 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1076         * resolv/res_comp.c: Remove code conditional on __ultrix__.
1077         * resolv/res_data.c: Remove code conditional on ultrix.
1079 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1081         * resolv/res_init.c (RFC1535): Do not define.  Remove
1082         RFC1535 preprocessor conditionals.
1083         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
1084         because there configuration options which make the resolver
1085         behavior different.
1087 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1089         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
1090         RESOLVSORT preprocessor conditionals.
1091         * resolv/nss_dns/dns-host.c: Likewise.
1092         * resolv/res_init.c: Likewise.
1094 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1096         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
1097         is never defined.
1099 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1101         * inet/inet_lnaof.c: Remove SCSS keyword.
1102         * inet/inet_mkadr.c: Likewise.
1103         * inet/inet_net.c: Likewise.
1104         * inet/inet_netof.c: Likewise.
1105         * inet/rcmd.c: Likewise.
1106         * inet/rexec.c: Likewise.
1107         * inet/ruserpass.c: Likewise.
1109 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1111         * resolv/inet_addr.c: Remove _LIBC conditionals.
1112         * resolv/res_data.c: Likewise.
1113         * resolv/res_init.c: Likewise.
1114         * resolv/res_mkquery.c: Likewise.
1115         * resolv/res_libc.c: Update comment.
1116         * resolv/README: Update.
1118 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1120         * resolv/gethnamaddr.c: Remove SCSS keyword.
1121         * resolv/herror.c: Likewise.
1122         * resolv/inet_addr.c: Likewise.
1123         * resolv/inet_net_ntop.c: Likewise.
1124         * resolv/inet_net_pton.c: Likewise.
1125         * resolv/inet_neta.c: Likewise.
1126         * resolv/inet_ntop.c: Likewise.
1127         * resolv/inet_pton.c: Likewise.
1128         * resolv/ns_date.c: Remove RCS keyword.
1129         * resolv/ns_name.c: Likewise.
1130         * resolv/ns_netint.c: Likewise.
1131         * resolv/ns_parse.c: Likewise.
1132         * resolv/ns_print.c: Likewise.
1133         * resolv/ns_samedomain.c: Likewise.
1134         * resolv/ns_ttl.c: Likewise.
1135         * resolv/nsap_addr.c: Likewise.
1136         * resolv/res_comp.c: Remove SCSS and RCS keyword.
1137         * resolv/res_data.c: Remove RCS keyword.
1138         * resolv/res_debug.c: Remove SCSS and RCS keyword.
1139         * resolv/res_init.c: Likewise.
1140         * resolv/res_mkquery.c: Likewise.
1141         * resolv/res_query.c: Likewise.
1142         * resolv/res_send.c: Likewise.
1144 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1146         * conform/data/stdio.h-data (fdopen): Expect also for
1147         [XPG3 || XPG4].
1149         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
1150         (fseeko): Likewise.
1151         (ftello): Likewise.
1152         (ftrylockfile): Likewise.
1153         (funlockfile): Likewise.
1154         (getc_unlocked): Likewise.
1155         (getchar_unlocked): Likewise.
1156         (putc_unlocked): Likewise.
1157         (putchar_unlocked): Likewise.
1159 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1161         [BZ #19868]
1162         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1163         DNS packet syntax checks (which were not needed before).  Skip
1164         over non-PTR records.
1166 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1168         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1169         definition.  Include <stddef.h> instead.
1171 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1173         [BZ #19831]
1174         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1175         function.
1176         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1177         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1179 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1181         [BZ #19862]
1182         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1183         (getanswer_r): Do not call syslog.
1184         (gaih_getanswer_slice): Likewise.
1185         * resolv/gethnamaddr.c (AskedForGot): Remove.
1186         (getanswer): Do not call syslog.
1187         (gethostbyaddr): Likewise.
1189 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1191         * conform/data/signal.h-data (union sigval): Expect also if
1192         [XOPEN2K].
1193         (struct sigevent): Likewise.
1194         (SIGEV_NONE): Likewise.
1195         (SIGEV_SIGNAL): Likewise.
1196         (SIGEV_THREAD): Likewise.
1197         (SIGRTMIN): Likewise.
1198         (SIGRTMAX): Likewise.
1199         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1200         variable.
1201         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1203 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1205         [BZ #19830]
1206         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1207         (gaih_getanswer_slice): Likewise.
1208         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1209         Also check for availability of RR metadata.
1211 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1213         [BZ #19825]
1214         * resolv/res_send.c (send_vc): Remove early *resplen2
1215         initialization.  Set *resplen2 on socket error.  Call
1216         close_and_return_error for other errors.
1218 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1220         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1221         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1222         (SCM_IUCV_TRGCLS): New define.
1224 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1226         [BZ #20005]
1227         * libio/fmemopen.c (fmemopen_write): Update internal position after
1228         write.
1229         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1230         * stdio-common/tst-fmemopen4.c: New file..
1232 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1234         [BZ #19996]
1235         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1236         not [__USE_XOPEN2K].
1237         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1238         variable.
1240         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1241         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1242         variable.
1244         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1245         [__USE_XOPEN2K8].
1246         [__USE_LARGEFILE64] (off64_t): Likewise.
1247         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1248         variable.
1250 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1252         [BZ #19989]
1253         * libio/stdio.h (cuserid): Do not declare if
1254         [__USE_XOPEN2K && !__USE_GNU].
1255         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1256         variable.
1258 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1260         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1261         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1263         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1264         ifunc'ed strcspn.
1265         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1266         [EALIGN]: Removed.
1267         [END]: Likewise
1268         [STRSPN]: Define instead of the above to control symbol name.
1269         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1270         New file.
1271         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1272         Likewise.
1273         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1274         Likewise.
1275         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1276         Likewise.
1277         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1278         [INITIAL_MASK]: New macro.
1279         [STRCSPN]: Likewise.
1280         [UPDATE_MASK]: Likewise.
1281         [USE_AS_STRCSPN]: Lisewise.
1283 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1285         [BZ #19931]
1286         * stdio-common/tst-vfprintf-width-prec.c: New file.
1287         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1288         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1289         (generated): Add mtrace-related files.
1290         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1291         (tst-%-mem.out): New pattern rule, replaces
1292         tst-printf-bz18872-mem.out.
1293         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1294         specifier, deallocate any previously allocated work buffer.
1296 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1298         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1299         Add nop before __startcontext, add explaining comments.
1301 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1303         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1304         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1305         completely different API.
1307         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1308         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1309         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1310         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1311         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1312         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1313         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1314         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1315         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1316         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1318 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1320         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1322 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1324         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1325         when it is the default of 0.
1327 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1329         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1330         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1331         (sysdep_routines): Add new strcasestr targets.
1332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1333         (__libc_ifunc_impl_list): Likewise.
1334         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1335         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1336         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1337         * sysdeps/powerpc/powerpc64/power8/Makefile:
1338         New file to add strcasestr-ppc64 to sysdep_routines.
1339         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1340         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1342 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1344         * benchtests/Makefile (wcsmbs-benchset): Include only for
1345         native builds and runs.
1346         (LOCALES): Likewise.
1347         (bench-build): Build timing-type here instead of the bench
1348         target.  Generate locale only for native builds.
1349         * benchtests/README: Add note for cross-building.
1351         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1353         * benchtests/README: Update README to include instructions on
1354         using bench-build.
1356         * Makefile.in (bench-build): New target.
1357         * Rules (PHONY): Add bench-build target.
1358         * benchtests/Makefile (bench): Depend on bench-build.
1359         (bench-build): New target.
1361 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1363         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1364         profil_reply_port.
1365         (profile_waiter): Do not initialize profil_reply_port.
1366         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1367         frequency instead of tick length in us.
1369 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1371         [BZ #18712]
1372         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1373         (__old_mempcpy_small): Likewise.
1374         (__old_strcpy_small): Likewise.
1375         (__old_stpcpy_small): Likewise.
1376         (__old_strpbrk_c2): Fix compat symbol name.
1377         (__old_strpbrk_c3): Likewise.
1378         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1379         (__mempcpy_small): Remove.
1380         (__strcpy_small): Remove.
1381         (__stpcpy_small): Remove.
1383 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1385         [BZ #19400]
1386         * locale/iso-639.def: Add the Talossan/tzl language.
1388 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1390         [BZ #16983]
1391         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1392         comment.  Add "ln" to strchr check on postal_fmt.
1394 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1396         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1397         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1398         tel_dom_fmt.
1400 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1402         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1403         (sysdep_routines): Added __strlen_power8.
1404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1405         __strlen_power8 entry.
1406         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1407         Implementation for POWER8.
1408         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1409         for __strlen_power8.
1410         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1411         Implementation for POWER8.
1413 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1415         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1417 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1419         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1420         Goldmont and Airmont processors.
1422 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1424         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1425         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1426         (__STRING2_SMALL_GET32): Remove.
1427         (memset): Remove.
1428         (__memset_1): Remove.
1429         (__memset_gc): Remove.
1430         (__mempcpy): Remove.
1431         (mempcpy): Remove.
1432         (__mempcpy_args): Remove.
1433         (strchr): Remove.
1434         (strcpy): Remove.
1435         (strcpy_args): Remove.
1436         (__stpcpy_args): Remove.
1437         (__strcmp_cc): Remove.
1438         (__strcmp_gc): Remove.
1439         (strstr): Remove.
1441 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1443         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1444         * nis/nis_call.c (nis_server_cache_add): Likewise.
1446 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1448         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1450 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1452         * malloc/arena.c (__malloc_fork_lock_parent)
1453         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1454         internal_function attribute.
1456 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1458         * stdio-common/printf_fp.c (__printf_fp_l):
1459         Rename ___printf_fp_l to __printf_fp_l and
1460         remove strong alias. Use libc_hidden_def instead
1461         of ldbl_hidden_def macro.
1463 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1465         Remove malloc hooks from fork handler.  They are no longer needed
1466         because malloc runs right before fork, and no malloc calls from
1467         other fork handlers are not possible anymore.
1468         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1469         declarations.
1470         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1471         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1472         (atfork_recursive_cntr): Remove.
1473         (__malloc_fork_lock_parent): Do not override malloc hooks and
1474         thread_arena.
1475         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1476         thread_arena.
1477         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1478         thread_arena instead of save_arena.
1480 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1482         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1483         (thread_atfork, thread_atfork_static): Remove.
1484         * sysdeps/mach/hurd/malloc-machine.h:
1485         (thread_atfork, thread_atfork_static): Remove.
1487 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1489         [BZ #19431]
1490         Run the malloc fork handler as late as possible to avoid deadlocks.
1491         * malloc/malloc-internal.h: New file.
1492         * malloc/malloc.c: Include it.
1493         * malloc/arena.c (ATFORK_MEM): Remove.
1494         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1495         Update comment.
1496         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1497         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1498         Remove outdated comment.
1499         (ptmalloc_init): Do not call thread_atfork.  Remove
1500         thread_atfork_static.
1501         * malloc/tst-malloc-fork-deadlock.c: New file.
1502         * Makefile (tests): Add tst-malloc-fork-deadlock.
1503         (tst-malloc-fork-deadlock): Link against libpthread.
1504         * manual/memory.texi (Aligned Memory Blocks): Update safety
1505         annotation comments.
1506         * sysdeps/nptl/fork.c (__libc_fork): Call
1507         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1508         __malloc_fork_unlock_child.
1509         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1511 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1513         [BZ #19613]
1514         Remove union wait.
1515         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1516         (w_stopsig, w_stopval): Remove.
1517         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1518         stat_loc argument.
1519         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1520         (__WAIT_STATUS_DEFN): Remove.
1521         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1522         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1523         (wait, wait3, wait4): Use int * for the stat_loc argument.
1524         * posix/wait.c (__wait): Likewise.
1525         * posix/wait3.c (__wait3): Likewise.
1526         * posix/wait4.c (__wait4): Likewise.
1527         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
1528         (__WAIT_STATUS_DEFN): Remove.
1529         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1530         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
1531         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
1532         argument.
1533         * sysdeps/posix/wait.c (__libc_wait): Likewise.
1534         * sysdeps/posix/wait3.c (__wait3): Likewise.
1535         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
1536         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1537         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
1538         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
1539         stat_loc argument.
1540         * manual/process.texi (BSD Wait Functions): Remove union wait.
1542 2016-04-13  Andreas Schwab  <schwab@suse.de>
1544         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1545         (test-extras): Add tst-tlsalign-vars.
1546         * math/Makefile: Wrap long lines.
1547         (libm-vec-test-wrappers): Define.
1548         (test-extras): Add $(libm-vec-test-wrappers).
1549         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1550         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1551         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1552         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1553         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1554         (extra-test-objs): Add corresponding objects.
1556 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1558         [BZ #19928]
1559         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1560         New.
1561         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1562         times of shared cache size.
1563         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
1564         (VMOVNT): New.
1565         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
1566         (VMOVNT): Likewise.
1567         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
1568         (VMOVNT): Likewise.
1569         (VMOVU): Changed to movups for smaller code sizes.
1570         (VMOVA): Changed to movaps for smaller code sizes.
1571         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
1572         comments.
1573         (PREFETCH): New.
1574         (PREFETCH_SIZE): Likewise.
1575         (PREFETCHED_LOAD_SIZE): Likewise.
1576         (PREFETCH_ONE_SET): Likewise.
1577         Rewrite to use forward and backward loops, which move 4 vector
1578         registers at a time, to support overlapping addresses and use
1579         non temporal store if size is above the threshold and there is
1580         no overlap between destination and source.
1582 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
1584         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
1585         Include dl-vdso.
1586         * sysdeps/unix/sysv/linux/mips/Versions: Add
1587         __vdso_clock_gettime.
1588         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
1589         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
1590         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
1591         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
1592         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
1593         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
1594         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1595         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1596         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1598 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1600         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
1601         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
1602         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1603         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1604         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1605         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1608         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
1609         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
1610         syscalls generation.
1611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1612         [__NR_pwrite64] (__NR_write): Remove define.
1613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1614         [__NR_pwrite64] (__NR_write): Remove define.
1615         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
1616         Remove define.
1617         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
1618         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
1619         Remove define.
1620         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
1621         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
1622         Linux implementation as base.
1623         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1625         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
1626         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
1627         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1628         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
1630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1631         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
1632         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
1633         syscall generation.
1634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1635         [__NR_pread64] (__NR_pread): Remove define.
1636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1637         [__NR_pread64] (__NR_pread): Likewise.
1638         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
1639         define.
1640         (__libc_pread): Use SYSCALL_LL macro on offset argument.
1641         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
1642         Remove define.
1643         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
1644         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
1645         Linux implementation as base.
1646         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1647         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1648         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1650         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
1651         definition.
1652         (__ALIGNMENT_COUNT): Likewise.
1653         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
1654         (__ALIGNMENT_COUNT): Likewise.
1655         (SYSCALL_LL): New define.
1656         (SYSCALL_LL64): Likewise.
1657         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
1658         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
1659         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
1660         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
1662         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1663         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
1664         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1665         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1666         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1667         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1669 2016-04-11  Florian Weimer  <fweimer@redhat.com>
1671         [BZ #19865]
1672         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
1673         original buffer before retry.
1675 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1677         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
1678         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
1679         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
1680         GLRO(dl_auxv) list.
1681         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
1682         including <ldsodefs.h>.
1683         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
1685 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
1687         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
1688         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
1689         $(CPPFLAGS).
1691 2016-04-09  Khem Raj  <raj.khem@gmail.com>
1693         [BZ #17950]
1694         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
1695         Add -mfpmath=387.
1697 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
1699         * sysdeps/i386/configure.ac: Change == to = when calling test.
1700         * sysdeps/x86_64/configure.ac: Likewise.
1701         * sysdeps/i386/configure: Regenerated.
1702         * sysdeps/x86_64/configure: Likewise.
1704 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
1706         [BZ #16137]
1707         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
1708         * benchtests/bench-strcoll.c (input_files): Likewise.
1709         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1710         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
1711         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
1713 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
1715         [BZ #19929]
1716         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
1717         [__USE_XOPEN2K8 && !__USE_GNU].
1718         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
1719         variable.
1721         [BZ #19925]
1722         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
1723         define if [!__USE_MISC && __USE_XOPEN2K].
1724         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
1725         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
1726         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
1727         Likewise.
1728         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
1729         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
1730         variable.
1731         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1733 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1735         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1736         (sysdep_routines): Add new strspn targets.
1737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1738         (__libc_ifunc_impl_list): Add strspn.
1739         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1740         New file.
1741         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
1742         Likewise.
1743         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
1744         Likewise.
1745         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1746         Likewise.
1748 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1750         * misc/hsearch_r.c: Include <limits.h>.
1752 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1754         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
1756 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1758         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1759         (MEMCPY_SYMBOL): New.
1760         (MEMPCPY_SYMBOL): Likewise.
1761         (MEMMOVE_CHK_SYMBOL): Likewise.
1762         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
1763         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
1764         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
1765         Provide alias for memcpy in libc.a and ld.so.
1767 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1769         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1770         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
1771         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
1772         Disabled fro now.
1773         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
1774         symbols.  Properly check USE_MULTIARCH on __memset symbols.
1776 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1778         * benchtests/Makefile (string-benchset): Add memcpy-large,
1779         memmove-large and memset-large.
1780         * benchtests/bench-memcpy-large.c: New file.
1781         * benchtests/bench-memmove-large.c: Likewise.
1782         * benchtests/bench-memmove-large.c: Likewise.
1783         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
1785 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1787         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
1788         32-bit displacement to avoid long nop between instructions.
1790 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1792         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
1793         a comment on VMOVU and VMOVA.
1795 2016-04-04  Florian Weimer  <fweimer@redhat.com>
1797         [BZ #19633]
1798         Use specified locale for number formatting in strfmon_l.
1799         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
1800         (__nl_lookup_word): New inline functions.
1801         * include/printf.h (__print_fp_l): Declare.
1802         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
1803         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
1804         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
1805         (___printf_fp): New function.
1806         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
1807         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
1808         * stdlib/tst-strfmon_l.c (do_test): New test.
1809         * stdlib/Makefile (tests): Add kt.
1810         (LOCALES): Build additional locales.
1811         (tst-strfmon_l.out): Require locales.
1813 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1815         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
1816         if not in libc.
1817         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1818         Likewise.
1819         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
1820         Likewise.
1821         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1822         Likewise.
1824 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1826         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1827         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
1828         with unaligned_erms.
1829         (__memmove_erms): Skip if source == destination.
1830         (__memmove_unaligned_erms): Don't check source == destination
1831         first.
1833 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1835         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
1836         bit_arch_Fast_Copy_Backward for Intel Core proessors.
1838 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1840         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
1841         * string/strspn.c (strspn): Likewise.
1843 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1845         * benchtests/bench-memset.c (do_test): Support 64-byte
1846         alignment.
1847         (test_main): Test 64-byte alignment.
1849 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1851         * benchtests/bench-memmove.c (test_main): Test 64-byte
1852         alignment.
1854 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1856         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
1858 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1860         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
1861         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
1862         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
1864         * string/strpbrk.c (strpbrk): Rewrite function.
1865         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
1866         (__strpbrk_c2): Likewise.
1867         (__strpbrk_c3): Likewise.
1868         * string/string-inlines.c
1869         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
1870         Likewise.
1871         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
1872         Likewise.
1874         * string/strspn.c (strcspn): Rewrite function.
1875         * string/bits/string2.h (strspn): Use __builtin_strcspn.
1876         (__strspn_c1): Remove inline function.
1877         (__strspn_c2): Likewise.
1878         (__strspn_c3): Likewise.
1879         * string/string-inlines.c
1880         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
1881         compatibility symbol.
1882         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
1883         Likewise.
1884         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
1885         Likewise.
1886         * string/string-inlines.c: Include generic version.
1888 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
1889             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1891         * string/Version (libc): Add GLIBC_2.24.
1892         * string/strcspn.c (strcspn): Rewrite function.
1893         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
1894         (__strcspn_c1): Remove inline function.
1895         (__strcspn_c2): Likewise.
1896         (__strcspn_c3): Likewise.
1897         * string/string-inline.c
1898         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
1899         compatibility symbol.
1900         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
1901         Likewise.
1902         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
1903         Likewise.
1904         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
1906 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1908         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1909         Use ahi instead of aghi to adjust stack pointer.
1911 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1913         [BZ #19853]
1914         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
1915         TEST to take significant digits as second parameter.
1916         [TEST]: Redefine in terms of TEST_N taking 30
1917         significant digits.
1918         (do_test): Add test case to demonstrate precision
1919         failure in the ldbl-128ibm printf.
1920         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
1921         (__mpn_extract_long_double): Carry 7 extra intermediate
1922         bits of precision to aide computing difference when
1923         signs differ.
1925 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1927         [BZ #19881]
1928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1929         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
1930         memset-avx512-unaligned-erms.
1931         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1932         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
1933         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
1934         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
1935         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
1936         __memset_sse2_unaligned_erms, __memset_erms,
1937         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
1938         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1939         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
1940         file.
1941         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1942         Likewise.
1943         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
1944         Likewise.
1945         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
1946         Likewise.
1948 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1950         [BZ #19776]
1951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1952         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
1953         memmove-avx512-unaligned-erms.
1954         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1955         (__libc_ifunc_impl_list): Test
1956         __memmove_chk_avx512_unaligned_2,
1957         __memmove_chk_avx512_unaligned_erms,
1958         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
1959         __memmove_chk_sse2_unaligned_2,
1960         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
1961         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
1962         __memmove_avx512_unaligned_erms, __memmove_erms,
1963         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
1964         __memcpy_chk_avx512_unaligned_2,
1965         __memcpy_chk_avx512_unaligned_erms,
1966         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
1967         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
1968         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
1969         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
1970         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
1971         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
1972         __mempcpy_chk_avx512_unaligned_erms,
1973         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
1974         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
1975         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
1976         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
1977         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
1978         __mempcpy_erms.
1979         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
1980         file.
1981         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1982         Likwise.
1983         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1984         Likwise.
1985         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1986         Likwise.
1988 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1990         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
1991         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
1992         (La_s390_64_regs): Likewise.
1993         (La_s390_32_retval): Append vector register lrv_v24.
1994         (La_s390_64_retval): Likeweise.
1995         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
1996         Handle extended structs La_s390_32_regs and La_s390_32_retval.
1997         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
1998         Handle extended structs La_s390_64_regs and La_s390_64_retval.
2000 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2002         [BZ #19916]
2003         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
2004         to create a non-vector/vector version for _dl_runtime_resolve and
2005         _dl_runtime_profile. Move implementation to ...
2006         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
2007         (_dl_runtime_resolve) Save and restore fpr/vrs.
2008         (_dl_runtime_profile) Save and restore vrs and fix some issues
2009         if _dl_call_pltexit is called.
2010         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
2011         Choose the correct resolver function if running on a machine with vx.
2012         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
2013         to create a non-vector/vector version for _dl_runtime_resolve and
2014         _dl_runtime_profile. Move implementation to ...
2015         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
2016         (_dl_runtime_resolve) Save and restore fpr/vrs.
2017         (_dl_runtime_profile) Save and restore vrs and fix some issues
2018         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
2019         Choose the correct resolver function if running on a machine with vx.
2021 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2023         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
2025 2016-03-31  Florian Weimer  <fweimer@redhat.com>
2027         [BZ #19509]
2028         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
2029         skip_map != NULL.
2030         * elf/tst-dlsym-error.c: New file.
2031         * elf/Makefile (tests): Add tst-dlsym-error.
2032         (tst-dlsym-error): Link against libdl.
2034 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
2036         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2037         (__ASSUME_FUTIMESAT): Remove macro.
2038         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
2040 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2042         [BZ #19879]
2043         CVE-2016-3075
2044         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
2045         copy name.
2047 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2049         [BZ #19837]
2050         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
2051         error if parse_line fails.
2053 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2055         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
2056         (index_cpu_ERMS): Likewise.
2057         (reg_ERMS): Likewise.
2059 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
2061         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
2062         PER_LINUX_FDPIC): Add.
2064 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2067         memcpy-avx512-no-vzeroupper.
2068         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
2069         to ...
2070         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
2071         (MEMCPY): Don't define.
2072         (MEMCPY_CHK): Likewise.
2073         (MEMPCPY): Likewise.
2074         (MEMPCPY_CHK): Likewise.
2075         (MEMPCPY_CHK): Renamed to ...
2076         (__mempcpy_chk_avx512_no_vzeroupper): This.
2077         (MEMPCPY_CHK): Renamed to ...
2078         (__mempcpy_chk_avx512_no_vzeroupper): This.
2079         (MEMCPY_CHK): Renamed to ...
2080         (__memmove_chk_avx512_no_vzeroupper): This.
2081         (MEMCPY): Renamed to ...
2082         (__memmove_avx512_no_vzeroupper): This.
2083         (__memcpy_avx512_no_vzeroupper): New alias.
2084         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
2086 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2088         [BZ #18858]
2089         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2090         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
2091         and mempcpy-avx512-no-vzeroupper.
2092         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
2093         New.
2094         (MEMPCPY): Likewise.
2095         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
2096         (MEMPCPY_CHK): New.
2097         (MEMPCPY): Likewise.
2098         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
2099         (MEMPCPY): Likewise.
2100         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
2101         (MEMPCPY): Likewise.
2102         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
2103         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
2104         Likewise.
2105         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
2106         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
2108 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2109              Amit Pawar  <Amit.Pawar@amd.com>
2111         [BZ #19583]
2112         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2113         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
2114         processors.  Set Fast_Copy_Backward for AMD Excavator
2115         processors.
2116         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
2117         New.
2118         (index_arch_Fast_Unaligned_Copy): Likewise.
2119         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
2120         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
2122 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2124         [BZ #19791]
2125         * resolv/res_send.c (close_and_return_error): New function.
2126         (send_dg): Initialize *resplen2 after reopen failure.  Call
2127         close_and_return_error for error returns.  On error paths without
2128         __res_iclose, initialze *resplen2 explicitly.  Update comment for
2129         successful return.
2131 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2133         [BZ# 19860]
2134         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
2135         zero if the compiler does not provide the AVX512F bit.
2137 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
2139         [BZ #19848]
2140         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
2141         from 8 to 4.
2142         (__ieee754_powl): Compare integer exponent against 4 not 8.
2143         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
2144         from 8 to 4.
2145         (__ieee754_powl): Compare integer exponent against 4 not 8.
2146         * math/auto-libm-test-in: Add more tests of pow.
2147         * math/auto-libm-test-out: Regenerated.
2148         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
2149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2151 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2153         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
2154         Make code unconditional.
2155         [!__NR_utimensat]: Remove conditional code.
2156         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
2157         Make code unconditional.
2158         [!__NR_utimensat]: Remove conditional code.
2159         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2160         Make code unconditional.
2161         [!__NR_utimensat]: Remove conditional code.
2163 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2165         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2166         Make code unconditional.
2168 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2170         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2171         call-clobbered %eax on retry path.
2172         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2174 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2176         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2177         Don't set %rcx twice before "rep movsb".
2179 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2181         [BZ #19583]
2182         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2183         inline.  Check family before setting family, model and
2184         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2185         bits here.
2186         (init_cpu_features): Replace HAS_CPU_FEATURE and
2187         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2188         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2189         for Intel processors with usable AVX2.  Call get_common_indeces
2190         for other processors with family == NULL.
2191         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2192         (CPU_FEATURES_ARCH_P): Likewise.
2193         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2194         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2196 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2198         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2199         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2200         $(shared-thread-library) instead of hardcoding the path to libpthread.
2202 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2204         * sysdeps/unix/sysv/linux/kernel-features.h
2205         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2206         * sysdeps/unix/sysv/linux/getdents.c
2207         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2208         [!have_no_getdents64_defined]: Likewise.
2209         (__GETDENTS): Remove __have_no_getdents64 conditional.
2211 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2213         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2214         Remove macro.
2215         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2216         <kernel-features.h>.
2217         (signalfd) [__NR_signalfd4]: Make code unconditional.
2218         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2220 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2222         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2223         style.
2225 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2227         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2228         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2229         __pthread_unwind.
2230         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2231         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2232         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2233         (__condvar_cleanup1): Likewise.
2235 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2237         [BZ #19822]
2238         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2239         move it to the final $@ location.
2241 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2243         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2244         access where posix_spawn success and pid argument is null.
2245         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2246         success case.
2248 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2250         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2252         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2254         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2255         and __fcntl.
2256         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2257         __fcntl only.
2258         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2259         adding attribute_hidden to __open and __fcntl.
2261         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2262         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2263         depend on libc-modules.h,
2264         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2266 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2268         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2269         Remove macro.
2270         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2271         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2272         entry.
2274         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2275         Remove macro.
2276         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2277         include <kernel-features.h>.
2278         [!__ASSUME_FALLOCATE]: Remove conditional code.
2279         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2281 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2283         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2284         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2285         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2286         (_ZGVdN4v_cos_avx2): Likewise.
2287         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2288         (_ZGVdN4v_cos): Likewise.
2289         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2290         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2291         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2292         (_ZGVdN4v_exp_avx2): Likewise.
2293         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2294         (_ZGVdN4v_exp): Likewise.
2295         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2296         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2297         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2298         (_ZGVdN4v_log_avx2): Likewise.
2299         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2300         (_ZGVdN4v_log): Likewise.
2301         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2302         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2303         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2304         (_ZGVdN4vv_pow_avx2): Likewise.
2305         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2306         (_ZGVdN4vv_pow): Likewise.
2307         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2308         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2309         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2310         (_ZGVdN4v_sin_avx2): Likewise.
2311         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2312         (_ZGVdN4v_sin): Likewise.
2313         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2314         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2315         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2316         (_ZGVdN4vvv_sincos_avx2): Likewise.
2317         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2318         (_ZGVdN4vvv_sincos): Likewise.
2319         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2320         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2321         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2322         (_ZGVbN4v_cosf_sse4): Likewise.
2323         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2324         (_ZGVdN8v_cosf_avx2): Likewise.
2325         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2326         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2327         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2328         (_ZGVbN4v_expf_sse4): Likewise.
2329         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2330         (_ZGVdN8v_expf_avx2): Likewise.
2331         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2332         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2333         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2334         (_ZGVbN4v_logf_sse4): Likewise.
2335         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2336         (_ZGVdN8v_logf_avx2): Likewise.
2337         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2338         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2339         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2340         (_ZGVbN4vv_powf_sse4): Likewise.
2341         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2342         (_ZGVdN8vv_powf_avx2): Likewise.
2343         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2344         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2345         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2346         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2347         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2348         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2349         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2350         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2351         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2352         (_ZGVbN4v_sinf_sse4): Likewise.
2353         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2354         (_ZGVdN8v_sinf_avx2): Likewise.
2355         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2356         Use JUMPTARGET to call callee.
2357         (WRAPPER_IMPL_SSE2_ff): Likewise.
2358         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2359         (WRAPPER_IMPL_AVX): Likewise.
2360         (WRAPPER_IMPL_AVX_ff): Likewise.
2361         (WRAPPER_IMPL_AVX_fFF): Likewise.
2362         (WRAPPER_IMPL_AVX512): Likewise.
2363         (WRAPPER_IMPL_AVX512_ff): Likewise.
2364         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2365         Likewise.
2366         (WRAPPER_IMPL_SSE2_ff): Likewise.
2367         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2368         (WRAPPER_IMPL_AVX): Likewise.
2369         (WRAPPER_IMPL_AVX_ff): Likewise.
2370         (WRAPPER_IMPL_AVX_fFF): Likewise.
2371         (WRAPPER_IMPL_AVX512): Likewise.
2372         (WRAPPER_IMPL_AVX512_ff): Likewise.
2373         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2375 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2377         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2378         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2379         qualifier.
2380         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2381         internal_function qualifiers.
2383 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2385         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2386         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2387         * math/atest-exp.c (exp_mpn): Mark chk unused.
2388         * math/atest-exp2.c (exp_mpn): Likwise.
2389         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2390         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2392 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2394         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2395         Remove macro.
2396         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2397         <kernel-features.h>.
2398         [__NR_ppoll]: Make code unconditional.
2399         [!__ASSUME_PPOLL]: Remove conditional code.
2401         * sysdeps/unix/sysv/linux/kernel-features.h
2402         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2403         (__ASSUME_ACCEPT4): Likewise.
2404         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2405         Define.
2406         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2407         Likewise.
2408         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2409         Likewise.
2410         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2411         Likewise.
2412         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2413         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2414         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2415         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2416         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2417         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2418         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2419         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2420         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2421         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2422         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2423         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2424         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2425         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2426         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2427         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2428         Likewise.
2429         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2430         Likewise.
2431         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2432         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2433         0x040300].
2434         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2435         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2437         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2438         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2439         0x030300].
2440         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2441         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2442         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2443         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2444         0x040300].
2445         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2446         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2447         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2448         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2449         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2450         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2451         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2452         0x030300].
2453         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2454         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2455         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2456         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2457         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2458         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2459         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2460         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2461         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2462         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2463         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2464         0x040300].
2465         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2466         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2467         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2468         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2469         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2470         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2471         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2472         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2473         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2474         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2475         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2476         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2477         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2478         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2479         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2480         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2481         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2482         Likewise.
2483         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2484         Likewise.
2486 2016-03-15  Andreas Schwab  <schwab@suse.de>
2488         [BZ #19257]
2489         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2490         statp->_u._ext.nscount as loop count.
2492 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2494         * math/test-signgam-finite-c99.c: Also #undef
2495         __LIBC_INTERNAL_MATH_INLINES.
2496         * math/test-signgam-main.c: Likewise.
2498 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2500         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2501         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2502         (MADV_FREE): Likewise.
2503         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2504         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2505         EPOLLEXCLUSIVE.
2507 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2509         * timezone/README: Remove mention of checktab.awk. Mention wiki
2510         SharedSourceFiles.
2512 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2514         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2515         WUNTRACED.
2517 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2519         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2520         order to match the type of p when calling atomic_exchange_acq().
2522 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2524         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2525         cfi_offset calls.
2526         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2527         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
2528         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
2529         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
2530         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
2532 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
2534         * timezone/checktab.awk: Removed.
2536 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
2538         * manual/math.texi (Errors in Math Functions): Document relaxed
2539         accuracy goals for IBM long double.
2540         * math/libm-test.inc (test_exceptions): Always allow spurious
2541         "underflow" and "inexact" exceptions for IBM long double.
2543 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2545         [BZ #19762]
2546         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2547         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2548         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2549         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2550         (bit_arch_*): This for feature array.
2551         (bit_*): Renamed to ...
2552         (bit_cpu_*): This for cpu array.
2553         (index_*): Renamed to ...
2554         (index_arch_*): This for feature array.
2555         (index_*): Renamed to ...
2556         (index_cpu_*): This for cpu array.
2557         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2558         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2559         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2560         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2561         bit_##name with index_cpu_##name and bit_cpu_##name.
2562         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
2563         bit_##name with index_arch_##name and bit_arch_##name.
2565 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
2567         [BZ #19792]
2568         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2569         Terminate FDE before return label.
2571 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
2573         [BZ #19790]
2574         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
2575         (rintl): Define as macro.
2576         [USE_AS_NEARBYINTL] (__rintl): Likewise.
2577         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
2578         of fesetround.  Ensure results are evaluated before end of scope.
2579         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
2580         USE_AS_NEARBYINTL and include s_rintl.c.
2581         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
2582         Disable exception traps in new environment.
2583         (libc_feholdsetround_ppc_ctx): Likewise.
2585 2016-03-08  Roland McGrath  <roland@hack.frob.com>
2587         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
2588         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
2589         (tst_audit10_aux) [__AVX512F__]: ... here.
2591 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
2593         * include/sys/auxv.h: New file.
2595 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2597         [BZ #19759]
2598         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
2600 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2602         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
2603         operand modifier.
2604         (feclearexcept): Likewise.
2606 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2608         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
2609         to reflect the entire 32-bit HWCAP.
2610         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
2611         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
2613 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2615         [BZ #19783]
2616         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
2617         $(test-via-rtld-prefix).
2618         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
2620 2016-03-08  Florian Weimer  <fweimer@redhat.com>
2622         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
2623         union wait.  Report any non-zero exit status as error.
2625 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2627         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
2628         configured with --enable-hardcoded-path-in-tests.
2630 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
2632         [BZ #19677]
2633         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2634         (__ieee754_remainderl): Put zero low parts in canonical form.
2635         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
2636         file.  Based on
2637         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
2638         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
2639         with wrapper round test-fmodrem-ldbl-128ibm.c.
2640         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
2641         file.
2642         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
2643         Likewise.
2644         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2645         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
2647 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2649         [BZ #19610]
2650         * elf/ldconfig.c (opt_link): Update comment.
2651         (options): Update help string for option -X.
2652         (search_dir): Unlink stale symbolic link only if updating symbolic
2653         links.
2654         * elf/tst-ldconfig-X.sh: New file.
2655         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
2656         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
2658 2016-03-07  Andreas Schwab  <schwab@suse.de>
2660         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
2661         needed arguments.
2663 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
2665         [BZ #15333]
2666         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
2667         to lstat64.
2669 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2671         * libio/filedoalloc.c (isatty): Remove.
2672         (local_isatty): Add comment.  Call __isatty directly.
2673         (_IO_file_doallocate): Update comment.  Assume _LIBC.
2674         * libio/wfiledoalloc.c (isatty): Remove.
2675         (_IO_wfile_doallocate): Update comment.
2677 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2679         [BZ #19269]
2680         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
2681         tst-audit4-aux.o.
2682         (tst-audit10): Depend on tst-audit10-aux.o.
2683         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
2684         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
2685         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
2686         instead of inline AVX code.
2687         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
2688         instead of inline AVX512 code.
2689         * sysdeps/x86_64/tst-audit4-aux.c: New file
2690         * sysdeps/x86_64/tst-audit10-aux.c: New file
2692         [BZ #19648]
2693         * test-skeleton.c (main): Do not set RLIMIT_DATA.
2695 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2697         [BZ #14750]
2698         [BZ #10354]
2699         [BZ #18433]
2700         * include/sched.h (__clone): Add hidden prototype.
2701         (__clone2): Likewise.
2702         * include/unistd.h (__dup): Likewise.
2703         * posix/Makefile (tests): Add tst-spawn2.
2704         * posix/tst-spawn2.c: New file.
2705         * sysdeps/posix/dup.c (__dup): Add hidden definition.
2706         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
2707         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2708         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2709         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2710         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2711         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
2712         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2713         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
2714         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2715         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2717         Likewise.
2718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2719         Likewise.
2720         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2721         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2722         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2723         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2724         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2725         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2726         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2727         * sysdeps/unix/sysv/linux/nptl-signals.h
2728         (____nptl_is_internal_signal): New function.
2729         * sysdeps/unix/sysv/linux/spawni.c: New file.
2731         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
2732         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
2733         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
2734         * posix/tst-execvp2.c (do_test): Likewise.
2735         * posix/tst-execvp3.c (do_test): Likewise.
2736         * posix/tst-execvp4.c (do_test): Likewise.
2737         * posix/tst-execvpe1.c: New file.
2738         * posix/tst-execvpe2.c: Likewise.
2739         * posix/tst-execvpe3.c: Likewise.
2740         * posix/tst-execvpe4.c: Likewise.
2741         * posix/tst-execvpe5.c: Likewise.
2742         * posix/tst-execvpe6.c: Likewise.
2744         [BZ #19534]
2745         * posix/execl.c (execl): Remove dynamic memory allocation.
2746         * posix/execle.c (execle): Likewise.
2747         * posix/execlp.c (execlp): Likewise.
2749 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2751         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
2752         Replace .text with .text.avx512.
2753         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2754         Likewise.
2756 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
2758         * sysdeps/generic/libnsl.abilist: New file.
2759         * sysdeps/generic/libutil.abilist: New file.
2761 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2763         [BZ #19762]
2764         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
2765         HAS_ARCH_FEATURE with Fast_Rep_String.
2766         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
2767         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
2768         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
2769         Likewise.
2770         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
2771         Likewise.
2772         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
2773         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
2774         Likewise.
2775         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
2776         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
2777         Likewise.
2779 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2781         [BZ #19745]
2782         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
2783         with *%rax in call.
2785 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2787         [BZ #19745]
2788         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
2789         with *__libc_start_main@GOTPCREL(%rip) in call.
2791 2016-03-04  Roland McGrath  <roland@hack.frob.com>
2793         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
2794         inside conditional for nonempty $(CXX).
2796         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
2797         nonempty.
2799         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
2800         to test for empty $(CXX) rather than $(CXX) of "no".
2802 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2804         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
2806 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
2807             H.J. Lu  <hongjiu.lu@intel.com>
2809         [BZ #18880]
2810         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
2811         instead of Slow_BSF, and also check for Fast_Copy_Backward to
2812         enable __memcpy_ssse3_back.
2814 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2816         [BZ #19758]
2817         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2818         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
2820 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2822         [BZ #19490]
2823         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
2824         (__fentry__): Likewise.
2826 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2828         * gmon/Makefile (noprof): Add $(sysdep_noprof).
2829         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
2831 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2833         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
2834         __mcount_internal directly.
2835         (C_LABEL(__fentry__)): Likewise.
2836         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
2837         directly.
2839 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2841         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2842         (__start_context): Call __setcontext directly.
2844 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
2846         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2847         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2848         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
2849         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2850         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2851         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2852         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
2853         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2854         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2855         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
2856         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2857         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2858         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2859         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2860         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2861         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2862         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
2863         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2864         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2865         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2866         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
2867         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2868         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2869         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2870         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
2871         Remove conditional code.
2872         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2873         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
2874         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2875         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2876         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
2877         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2878         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2879         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2880         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2881         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2882         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2883         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2885 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
2887         * NEWS (2.23): Fix typo in bug 19048 text.
2889 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
2891         [BZ #14259]
2892         * Makeconfig: Rename msgcatdir to localedir.
2893         Rename inst_msgcatdir to inst_localedir.
2894         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
2895         * config.make.in: Add localedir.
2896         * elf/Makefile ($(objpfx)sotruss): Use localedir.
2897         (ldd-rewrite): Likewise.
2898         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
2899         (install-others): Use inst_localedir.
2900         (CPPFLAGS): Use localedir.
2901         * locale/Makefile (locale-CPPFLAGS): Likewise.
2902         * po/Makefile (mo-installed): Use inst_localedir.
2904         [BZ #19575]
2905         * localedata/charmaps/GB18030: Update comments regarding PAU to
2906         non-PUA mappings.
2908 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
2910         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
2911         test for header.
2912         * sysdeps/unix/sysv/linux/configure: Regenerated.
2913         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
2914         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
2915         Remove conditional code.
2916         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
2918         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2919         Define to 3.2.0.
2920         (arch_minimum_kernel): Likewise.
2921         * sysdeps/unix/sysv/linux/configure: Regenerated.
2922         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2923         Define to 2.6.32.
2924         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2925         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2926         (arch_minimum_kernel): Define to 2.6.32.
2927         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2928         * README: Document Linux 3.2 requirement.
2929         * manual/install.texi (Linux): Document Linux 3.2 headers
2930         requirement.
2931         * INSTALL: Regenerated.
2933 2016-02-24  Andreas Schwab  <schwab@suse.de>
2935         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
2936         if !NO_LONG_DOUBLE.
2938 2016-02-22  Roland McGrath  <roland@hack.frob.com>
2940         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
2941         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
2943 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
2945         [BZ #19512]
2946         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
2948 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2950         * posix/tst-dir.c: Include libc-internal.h.
2952 2016-02-20  Florian Weimer  <fweimer@redhat.com>
2954         [BZ #19056]
2955         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
2956         * manual/filesys.texi (Reading/Closing Directory): Mention
2957         deprecaion.
2958         * posix/tst-dir.c (main): Disable deprecation warning in test.
2960 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2962         [BZ #19679]
2963         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
2964         Renamed to ...
2965         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
2966         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2967         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
2968         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2969         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2970         * sysdeps/x86_64/dl-trampoline.h
2971         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2972         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2974 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2976         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
2978 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2980         * elf/elf.h (R_386_GOT32X): New.
2981         (R_386_NUM): Update.
2982         (R_X86_64_GOTPCRELX: New.
2983         (R_X86_64_REX_GOTPCRELX): New.
2984         (R_X86_64_NUM): Update.
2986 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
2988         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
2990 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
2992         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
2993         assign attr->stackaddr to it, and adjust it down when
2994         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
2995         [_STACK_GROWS_UP]: Delete assert.
2996         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
2997         Implement stack grows up logic.
2998         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
2999         stack grows up logic.
3001 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3003         * NEWS: Update with 2.24 template.
3005 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3007         [BZ #19678]
3008         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3009         Ensure +0.0 is returned when taking the next value below the least
3010         positive value.
3012 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3014         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
3015         available.  Do not define NO_THREADS.
3016         * malloc/malloc.c: Do not check NO_THREADS.
3017         * malloc/arena.c: Likewise.
3019 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3021         * malloc/malloc.c (__libc_mallinfo): Update comment.
3022         (struct malloc_par): Remove max_total_mem member, it was always 0.
3023         (int_mallinfo): Store 0 into usmblks (no functional change).
3024         * malloc/hooks.c (struct malloc_state): Document that
3025         max_total_mem is always 0.
3026         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
3027         always 0.
3028         * manual/memory.texi (Statistics of Malloc): Likewise.
3030 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3032         * malloc/malloc.c (sysmalloc): Do not update arena_max.
3033         * malloc/arena.c (arena_max): Remove.
3034         (heap_trim, _int_new_arena): Do not update arena_max.
3036 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3038         * resolv/res_init.c (res_ninit): Update comment.
3040 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3042         [BZ #19505]
3043         * posix/spawn_int.h: Add headers and include guard.
3044         (__spawn_valid_fd): New function.
3045         * posix/spawn_faction_addopen.c
3046         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
3047         * posix/spawn_faction_addclose.c
3048         (posix_spawn_file_actions_addclose): Likewise.
3049         * posix/spawn_faction_adddup2.c
3050         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
3051         second file descriptor.
3052         * posix/spawn_valid_fd.c: New file.
3053         * posix/tst-posix_spawn-fd.c: New file.
3054         * posix/Makefile (routines): Add spawn_valid_fd.
3055         (tests): Add tst-posix_spawn-fd.
3057 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3059         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
3060         (do_test): Limit the number of arenas, so that we can use fewer
3061         outer threads.  Limit timeout to 3 seconds, in preparation for a
3062         larger TIMEOUT value.
3064 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3066         [BZ #19674]
3067         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
3068         sign in overflowing and underflowing results when overflow or
3069         underflow is detected early.  Include sign in result before rather
3070         than after scaling.
3072         [BZ #19603]
3073         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3074         (__ieee754_remainderl): Adjust sign of integer version of low part
3075         when taking absolute value of high part.
3076         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3077         * math/libm-test.inc (remainder_test_data): Add another test.
3078         (remquo_test_data): Likewise.
3080 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
3082         [BZ #19602]
3083         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
3084         equal high parts and both low parts zero specially.
3085         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
3086         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3087         Add test-fmodl-ldbl-128ibm.
3089         [BZ #19595]
3090         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
3091         common logic for all cases of shifting subnormal results.  Do not
3092         insert sign bit in shifted mantissa.  Always pass -1023 as biased
3093         exponent to ldbl_insert_mantissa in subnormal case.
3095         [BZ #19594]
3096         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
3097         on high and low parts then adjust result and use
3098         ldbl_canonicalize_int if needed.
3100         [BZ #19593]
3101         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
3102         on high part and __floor or __ceil on low part then use
3103         ldbl_canonicalize_int if needed.
3105         [BZ #19592]
3106         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
3107         high and low parts then use ldbl_canonicalize_int if needed.
3109         [BZ #17899]
3110         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3111         New function.
3112         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
3113         on high and low parts then use ldbl_canonicalize_int if needed.
3115 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3117         * configure: Regenerated.
3119         * po/libc.pot: Regenerated.
3121         * po/be.po: Updated translation.
3122         * po/bg.po: Likewise.
3123         * po/ca.po: Likewise.
3124         * po/cs.po: Likewise.
3125         * po/da.po: Likewise.
3126         * po/el.po: Likewise.
3127         * po/eo.po: Likewise.
3128         * po/es.po: Likewise.
3129         * po/fi.po: Likewise.
3130         * po/fr.po: Likewise.
3131         * po/gl.po: Likewise.
3132         * po/hr.po: Likewise.
3133         * po/hu.po: Likewise.
3134         * po/ia.po: Likewise.
3135         * po/id.po: Likewise.
3136         * po/it.po: Likewise.
3137         * po/ja.po: Likewise.
3138         * po/lt.po: Likewise.
3139         * po/nb.po: Likewise.
3140         * po/nl.po: Likewise.
3141         * po/pt_BR.po: Likewise.
3142         * po/rw.po: Likewise.
3143         * po/sk.po: Likewise.
3144         * po/sl.po: Likewise.
3145         * po/sv.po: Likewise.
3146         * po/tr.po: Likewise.
3147         * po/zh_CN.po: Likewise.
3148         * po/zh_TW.po: Likewise.
3150         * version.h (RELEAES): Set to "development".
3151         (VERSION): Set to 2.23.90.
3153         * version.h (RELEASE): Set to "stable".
3154         (VERSION): Set to 2.23.
3155         * include/feature.h (__GLIBC_MINOR__): Set to 23.
3157         * NEWS: Updated fixed bugs.
3159 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3160             Wilco Dijkstra  <wdijkstr@arm.com>
3162         [BZ #19462]
3163         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3164         (_STRING_INLINE_unaligned): This.
3165         * include/string.h: Include <string_private.h>.
3166         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3167         _STRING_INLINE_unaligned.
3168         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3169         (_STRING_INLINE_unaligned): New.
3170         * sysdeps/aarch64/string_private.h: New file.
3171         * sysdeps/generic/string_private.h: Likewise.
3172         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3173         * sysdeps/s390/string_private.h: Likewise.
3174         * sysdeps/x86/string_private.h: Likewise.
3175         * sysdeps/m68k/m680x0/m68020/bits/string.h
3176         (_STRING_ARCH_unaligned): Renamed to ...
3177         (_STRING_INLINE_unaligned): This.
3178         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3179         to ...
3180         (_STRING_INLINE_unaligned): This.
3181         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3182         to ...
3183         (_STRING_INLINE_unaligned): This.
3184         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3185         to ...
3186         (_STRING_INLINE_unaligned): This.
3188 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3189             H.J. Lu  <hongjiu.lu@intel.com>
3191         [BZ #19590]
3192         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3193         relocation.
3195 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3197         [BZ #18665]
3198         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3199         *herrno_p.
3200         (gaih_getanswer): Document functional behviour. Return tryagain
3201         if any result is tryagain.
3202         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3203         when freed.
3204         * resolv/res_send.c: Add copyright text.
3205         (__libc_res_nsend): Document that MAXPACKET is expected.
3206         (send_vc): Document. Remove buffer reuse.
3207         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3208         size of the buffer. Add Dprint for truncated UDP buffer.
3210 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3212         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3213         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3214         * INSTALL: Regenerate.
3216 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3217             Jonathan Wakely  <jwakely@redhat.com>
3218             Carlos O'Donell  <carlos@redhat.com>
3220         [BZ 19439]
3221         * math/Makefile (tests): Add test-math-isinff.
3222         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3223         * math/bits/mathcalls.h [__USE_MISC]: Use
3224         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3225         functions not in C++11 and which don't conflict e.g. isinff,
3226         isinfl etc.
3227         * math/test-math-isinff.cc: New file.
3229 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3231         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3233 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3235         [BZ #19529]
3236         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3238 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3240         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3242 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3244         [BZ #19550]
3245         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3246         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3247         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3248         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3249         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3250         New syscall entry.
3251         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3252         New syscall entry.
3253         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3254         syscall entry.
3256 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3258         [BZ #18240]
3259         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3260         unsigned int wraparound.
3262 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3264         [BZ #18240]
3265         * misc/bug18240.c: New test.
3266         * misc/Makefile (tests): Add it.
3268 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3269             Joseph Myers  <joseph@codesourcery.com>
3271         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3272         load in branch delay slot when less than a word of input left.
3274 2016-01-27  Andreas Schwab  <schwab@suse.de>
3276         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3277         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3278         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3279         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3281 2016-01-26  David S. Miller  <davem@davemloft.net>
3283         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3285 2016-01-25  David S. Miller  <davem@davemloft.net>
3287         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3288         __sqrtl_finite.
3289         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3290         instead using versioned_symbol.
3291         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3292         of entries.
3294         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3295         __sqrtl_finite to GLIBC_2.23
3297 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3299         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3301 2016-01-25  Andreas Schwab  <schwab@suse.de>
3303         [BZ #17514]
3304         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3305         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3306         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3307         * nptl/tst-mutex-errorcheck.c: New file.
3309 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3311         [BZ #18560]
3312         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3313         (IPCOP_semop): Likewise.
3314         (IPCOP_semget): Likewise.
3315         (IPCOP_semctl): Likewise.
3316         (IPCOP_msgsnd): Likewise.
3317         (IPCOP_msgrcv): Likewise.
3318         (IPCOP_msgget): Likewise.
3319         (IPCOP_msgctl): Likewise.
3320         (IPCOP_shmat): Likewise.
3321         (IPCOP_shmdt): Likewise.
3322         (IPCOP_shmget): Likewise.
3323         (IPCOP_shmctl): Likewise.
3325 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3327         * string/tst-endian.c: Include <libc-internal.h>.
3328         (do_test): Ignore tautological-compare warnings around
3329         "htobeXX (beXXtoh (i)) != i" and
3330         "htoleXX (leXXtoh (i)) != i" if-statements.
3332 2016-01-24  David S. Miller  <davem@davemloft.net>
3334         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3335         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3336         alias.
3337         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3338         __sqrtl_finite.
3340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3342 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3344         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3345         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3346         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3348 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3350         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3351         (thread_func): Use new function to simplify barrier check.
3352         (do_test): Use new function to simplify checking barrier exit
3353         code, and actually join the child thread.
3355 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3357         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3358         semicolon.
3359         (__libc_tend): Likewise.
3360         (__libc_tabort): Likewise.
3362 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3364         * sysdeps/nios2/libm-test-ulps: Update.
3365         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3366         (__gtsf2): Likewise.
3367         (__unorddf2): Likewise.
3368         (__unordsf2): Likewise.
3369         (__ledf2): Likewise.
3371 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3373         * nis/nis_table.c (__follow_path): Disable diagnostic for
3374         uninitialized variable that is a false positive for gcc 4.7.
3375         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3377 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3379         * sysdeps/nacl/lowlevellock-futex.h
3380         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3381         Always evaluate PRIVATE argument.
3383 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3385         [BZ #19490]
3386         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3387         (pthread_cond_broadcast): Use ENTRY/END
3388         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3389         (pthread_cond_signal): Likewise.
3390         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3391         Likewise.
3392         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3393         Likewise.
3394         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3395         Likewise.
3397 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3399         * sysdeps/ieee754/dbl-64/s_finite.c
3400         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3401         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3402         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3403         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3404         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3407         (__gtsf2): Add as optional for libc.so.
3408         (__unordsf2): Likewise.
3409         (__signbit): Remove for libc.so.
3410         (__signbitl): Likewise.
3412 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3414         * iconvdata/bug-iconv11.c (test_ibm93x):
3415         Use %zu printf format specifier for size_t argument.
3417 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3419         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3420         already-recorded ulps.
3421         * sysdeps/arm/libm-test-ulps: Regenerated.
3422         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3423         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3424         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3426 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3427             Paul Pluzhnikov  <ppluzhnikov@google.com>
3429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3430         assembler not supporting AVX-512.
3432 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3434         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3436 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3438         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3439         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3441         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3443         * sysdeps/arm/libm-test-ulps: Regenerated.
3445 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3447         [BZ #19451]
3448         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3450 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3452         [BZ #19486]
3453         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3454         * sysdeps/generic/fix-fp-int-convert-overflow.h
3455         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3456         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3457         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3458         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3459         Likewise.
3460         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3461         Avoid conversions to long int where inexact exceptions
3462         could be raised.
3463         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3464         Likewise.
3465         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3466         Avoid conversions to long long int where inexact exceptions
3467         could be raised.
3468         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3469         Likewise.
3471 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3473         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3474         * configure: Regenerated.
3476 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3478         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3480 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3482         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3483         outside of comment.
3485 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3487         * nptl/tst-barrier1.c: Add description on first line.
3488         * nptl/tst-barrier2.c: Likewise.
3489         * nptl/tst-barrier3.c: Likewise.
3490         * nptl/tst-barrier4.c: Likewise.
3491         * nptl/tst-barrier5.c: Likewise.
3493 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3495         [BZ #18868]
3496         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3498 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3501         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3502         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3503         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3504         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3505         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3506         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3507         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3508         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3509         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3510         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3512 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3514         [BZ #13065]
3515         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3516         new implementation.
3517         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3518         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3519         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3520         (BARRIER_IN_THRESHOLD): New macro.
3521         * nptl/pthread_barrierattr_setpshared.c
3522         (pthread_barrierattr_setpshared): Clean up.
3523         * nptl/tst-barrier4.c: Correct comment.
3524         * nptl/tst-barrier5.c: New file.
3525         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3526         (gen-as-const-headers): Remove lowlevelbarrier.sym.
3527         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
3528         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
3529         * nptl/lowlevelbarrier.sym: Remove.
3530         * nptl/DESIGN-barrier.txt: Remove.
3531         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
3532         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
3533         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
3534         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
3535         error.
3536         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
3537         implementation.
3539 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3541         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
3542         (do_child): Mask SIGRTMIN while thr is running.
3544 2016-01-15  Martin Sebor  <msebor@redhat.com>
3546         [BZ #19432]
3547         * iconvdata/Makefile: Add bug-iconv11.
3548         * iconvdata/bug-iconv11.c: New test.
3549         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3550         * iconvdata/ibm933.c: Same.
3551         * iconvdata/ibm935.c: Same.
3552         * iconvdata/ibm937.c: Same.
3553         * iconvdata/ibm939.c: Same.
3555 2016-01-15  Martin Sebor  <msebor@redhat.com>
3557         [BZ #19443]
3558         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3559         [DEBUG] (_ufc_set_bits): Declare used.
3560         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3561         [DEBUG] (print_all): Declare used.
3562         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
3563         operands of the ternary ?: expression to target type.
3564         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
3565         calling the undeclared abort.
3566         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
3568 2016-01-15  Martin Sebor  <msebor@redhat.com>
3570         [BZ #18755]
3571         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
3572         warnings.
3573         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
3574         (__gai_create_helper_thread): Same.
3575         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
3576         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
3577         to suppress -Wmaybe-uninitialized warnings.
3579 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
3581         [BZ #19465]
3582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
3583         inside if.
3584         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3585         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3588 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
3590         [BZ #19466]
3591         * time/tst-mktime2.c (time_t_max): Removed.
3592         (time_t_min): Likewise.
3593         (TYPE_SIGNED): New.
3594         (TYPE_MINIMUM): Likewise.
3595         (TYPE_MAXIMUM): Likewise.
3596         (TIME_T_MIN): Likewise.
3597         (TIME_T_MAX): Likewise.
3598         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
3599         and TIME_T_MIN.
3600         (do_test): Likewise.
3602 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
3604         [BZ #19467]
3605         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3606         index_Fast_Unaligned_Load flag for Excavator family CPUs.
3608 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
3610         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
3612 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
3614         * benchtests/Makefile (PYTHON): Define.
3615         (bench-func): Use $(PYTHON) to run python scripts.
3616         ($(objpfx)bench-%.c): Likewise.
3618 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
3620         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
3621         leading slash when `file_name' is "/".
3623 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
3625         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
3626         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
3627         Likewise.
3628         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
3629         Likewise.
3630         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
3631         Likewise.
3632         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
3633         enum constant and macro.
3634         (PTRACE_SETSIGMASK): Likewise.
3635         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3636         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3637         (PTRACE_GETSIGMASK): Likewise.
3638         (PTRACE_SETSIGMASK): Likewise.
3639         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3640         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
3641         Likewise.
3642         (PTRACE_SETSIGMASK): Likewise.
3643         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3644         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3645         (PTRACE_GETSIGMASK): Likewise.
3646         (PTRACE_SETSIGMASK): Likewise.
3647         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3648         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
3649         Likewise.
3650         (PTRACE_SETSIGMASK): Likewise.
3651         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3652         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
3653         Likewise.
3654         (PTRACE_SETSIGMASK): Likewise.
3655         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3656         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
3657         Likewise.
3658         (PTRACE_SETSIGMASK): Likewise.
3659         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3661 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3662             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3664         [BZ #19439]
3665         * math/bits/mathcalls.h
3666         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
3667         prototype.
3668         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
3670 2016-01-11  Andreas Schwab  <schwab@suse.de>
3672         [BZ #19253]
3673         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
3674         cache when TZDEFRULES was used.
3675         * time/tst-tzname.c: New file.
3676         * time/Makefile (test): Add tst-tzname.
3677         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
3678         * timezone/Makefile (test-zones): Add $(posixrules-file).
3679         ($(testdata)/$(posixrules-file)): New rule.
3681 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
3683         Fix doc quoting problems with Texinfo 5
3684         Without this change, in the info file output, Texinfo 5 quotes code
3685         in text with undirected single quotes 'like this' and generates
3686         code examples that with many PDF readers cannot be cut out of PDFs
3687         and pasted into code.
3688         * manual/libc.texinfo: Configure the libc manual like the GNU
3689         Emacs manual, by using @documentencoding and setting
3690         txicodequoteundirected and txicodequotebacktick.  This way,
3691         Texinfo 5 quotes code in text with directed single quotes ‘like
3692         this’ and produces examples that can be cut out of PDFs.  This
3693         change causes Texinfo 5 to generate info files that contain UTF-8
3694         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
3695         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
3697 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3699         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
3700         __libc_tabort, __libc_tend): New wrappers that enforce compiler
3701         barriers to their respective compiler built-ins.
3702         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
3703         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
3704         * sysdeps/powerpc/sysdep.h: Likewise.
3705         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
3706         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
3707         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
3709 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
3711         * scripts/config.guess: Revert previous shebang change.
3712         * scripts/config.sub: Likewise.
3713         * scripts/mkinstalldirs: Likewise.
3715 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3717         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
3718         PPC_FEATURE2_HAS_IEEE128.
3719         * sysdeps/powerpc/dl-procinfo.c:
3720         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
3722 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
3724         [BZ #19415]
3725         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
3726         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
3727         (_dl_lookup_address): Rewrite using function resolver trampoline.
3728         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
3729         two bits in address.
3731 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3733         * longlong.h: Change !__SHMEDIA__ to
3734         (!defined (__SHMEDIA__) || !__SHMEDIA__).
3735         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
3737 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
3738             Joseph Myers  <joseph@codesourcery.com>
3739             Mark Shinwell  <shinwell@codesourcery.com>
3740             Andrew Stubbs  <ams@codesourcery.com>
3741             Rich Felker <dalias@libc.org>
3743         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
3745 2016-01-07  Richard Henderson  <rth@redhat.com>
3747         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
3749 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3751         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
3752         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
3753         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3754         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3755         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
3757 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3758             Joseph Myers  <joseph@codesourcery.com>
3760         * timezone/private.h: Update from tzcode 2015g.
3761         * timezone/tzfile.h: Likewise.
3762         * timezone/tzselect.ksh: Likewise.
3763         * timezone/zdump.c: Likewise.
3764         * timezone/zic.c: Likewise.
3765         * timezone/ialloc.c: Remove file.
3766         * timezone/scheck.c: Likewise.
3767         * timezone/Makefile (extra-objs): Remove variable.
3768         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
3769         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
3770         -Wno-maybe-uninitialized.
3771         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
3772         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
3773         (CFLAGS-ialloc.c): Remove variable.
3774         (CFLAGS-scheck.c): Likewise.
3775         * timezone/README: Update list of files from tzcode.
3777 2016-01-07  Khem Raj  <raj.khem@gmail.com>
3779         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
3780         instead of __fxprintf when _LIBC is undefined.
3782 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
3784         * catgets/test-gencat.sh: Remove space after shebang.
3785         * conform/GlibcConform.pm: Likewise.
3786         * conform/check-header-lists.sh: Likewise.
3787         * conform/conformtest.pl: Likewise.
3788         * conform/linknamespace.pl: Likewise.
3789         * conform/list-header-symbols.pl: Likewise.
3790         * debug/catchsegv.sh: Likewise.
3791         * elf/genrtldtbl.awk: Likewise.
3792         * elf/tst-pathopt.sh: Likewise.
3793         * elf/tst-rtld-load-self.sh: Likewise.
3794         * grp/tst_fgetgrent.sh: Likewise.
3795         * iconvdata/gen-8bit-gap-1.sh: Likewise.
3796         * iconvdata/gen-8bit-gap.sh: Likewise.
3797         * iconvdata/gen-8bit.sh: Likewise.
3798         * iconvdata/run-iconv-test.sh: Likewise.
3799         * intl/tst-gettext.sh: Likewise.
3800         * intl/tst-gettext2.sh: Likewise.
3801         * intl/tst-gettext4.sh: Likewise.
3802         * intl/tst-gettext6.sh: Likewise.
3803         * intl/tst-translit.sh: Likewise.
3804         * io/ftwtest-sh: Likewise.
3805         * libio/test-freopen.sh: Likewise.
3806         * locale/gen-translit.pl: Likewise.
3807         * malloc/tst-mtrace.sh: Likewise.
3808         * manual/check-safety.sh: Likewise.
3809         * manual/libc-texinfo.sh: Likewise.
3810         * manual/tsort.awk: Likewise.
3811         * manual/xtract-typefun.awk: Likewise.
3812         * nptl/tst-cancel-wrappers.sh: Likewise.
3813         * nptl/tst-tls6.sh: Likewise.
3814         * posix/globtest.sh: Likewise.
3815         * posix/tst-getconf.sh: Likewise.
3816         * posix/wordexp-tst.sh: Likewise.
3817         * scripts/check-c++-types.sh: Likewise.
3818         * scripts/check-local-headers.sh: Likewise.
3819         * scripts/config.guess: Likewise.
3820         * scripts/config.sub: Likewise.
3821         * scripts/cpp: Likewise.
3822         * scripts/cross-test-ssh.sh: Likewise.
3823         * scripts/documented.sh: Likewise.
3824         * scripts/evaluate-test.sh: Likewise.
3825         * scripts/gen-libc-abis: Likewise.
3826         * scripts/gen-sorted.awk: Likewise.
3827         * scripts/list-fixed-bugs.py: Likewise.
3828         * scripts/merge-test-results.sh: Likewise.
3829         * scripts/mkinstalldirs: Likewise.
3830         * scripts/rellns-sh: Likewise.
3831         * scripts/test-installation.pl: Likewise.
3832         * scripts/update-copyrights: Likewise.
3833         * stdio-common/tst-printf.sh: Likewise.
3834         * stdio-common/tst-unbputc.sh: Likewise.
3835         * stdlib/tst-fmtmsg.sh: Likewise.
3836         * stdlib/tst-setcontext3.sh: Likewise.
3837         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
3838         * sysdeps/unix/make-syscalls.sh: Likewise.
3840 2016-01-06  John David Anglin  <dave.anglin@bell.net>
3842         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
3843         asm stw with atomic_exchange_rel.  Add explanatory comment.
3844         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3845         Likewise.
3847 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3849         [BZ #19122]
3850         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
3851         * sysdeps/generic/dl-unistd.h: New file.
3852         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
3854 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3856          [BZ #19122]
3857          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
3858          * sysdeps/generic/dl-mman.h: New file.
3859          * sysdeps/mach/hurd/dl-mman.h: Likewise.
3861 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
3863         * manual/texinfo.tex: Update to version 2016-01-04.21 with
3864         trailing whitespace removed.
3865         * scripts/config.guess: Update to version 2016-01-01.
3866         * scripts/config.sub: Update to version 2016-01-01.
3867         * scripts/move-if-change: Update from gnulib.
3869 2016-01-04  Anton Blanchard  <anton@samba.org>
3871         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
3872         for array indices.
3873         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
3875 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
3877         * NEWS: Update copyright dates.
3878         * catgets/gencat.c (print_version): Likewise.
3879         * csu/version.c (banner): Likewise.
3880         * debug/catchsegv.sh: Likewise.
3881         * debug/pcprofiledump.c (print_version): Likewise.
3882         * debug/xtrace.sh (do_version): Likewise.
3883         * elf/ldconfig.c (print_version): Likewise.
3884         * elf/ldd.bash.in: Likewise.
3885         * elf/pldd.c (print_version): Likewise.
3886         * elf/sotruss.sh: Likewise.
3887         * elf/sprof.c (print_version): Likewise.
3888         * iconv/iconv_prog.c (print_version): Likewise.
3889         * iconv/iconvconfig.c (print_version): Likewise.
3890         * locale/programs/locale.c (print_version): Likewise.
3891         * locale/programs/localedef.c (print_version): Likewise.
3892         * login/programs/pt_chown.c (print_version): Likewise.
3893         * malloc/memusage.sh (do_version): Likewise.
3894         * malloc/memusagestat.c (print_version): Likewise.
3895         * malloc/mtrace.pl: Likewise.
3896         * manual/libc.texinfo: Likewise.
3897         * nptl/version.c (banner): Likewise.
3898         * nscd/nscd.c (print_version): Likewise.
3899         * nss/getent.c (print_version): Likewise.
3900         * nss/makedb.c (print_version): Likewise.
3901         * posix/getconf.c (main): Likewise.
3902         * scripts/test-installation.pl: Likewise.
3903         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3905         * All files with FSF copyright notices: Update copyright dates
3906         using scripts/update-copyrights.
3907         * intl/plural.c: Regenerated.
3908         * locale/programs/charmap-kw.h: Likewise.
3909         * locale/programs/locfile-kw.h: Likewise.
3911 2016-01-02  Helge Deller  <deller@gmx.de>
3913         [BZ #19285]
3914         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
3915         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
3916         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
3917         (MADV_xxK_PAGES): Remove.
3919 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
3921         [BZ #15421]
3922         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
3923         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
3924         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
3925         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
3927 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
3929         [BZ #19408]
3930         * sysdeps/unix/sysv/linux/personality.c: New file.
3931         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
3932         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
3933         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3934         (sysdep_routines): Add personality.
3935         (tests): Add tst-personality.
3936         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
3937         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
3938         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
3939         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
3940         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
3941         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
3942         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
3943         Likewise.
3944         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
3945         Likewise.
3946         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
3947         Likewise.
3948         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
3949         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
3950         Likewise.
3952 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
3954         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
3955         (PATH_ARM_SYSTYPE): Remove.
3956         (PATH_CPUINFO): Likewise.
3957         (IO_BASE_FOOTBRIDGE): Likewise.
3958         (IO_SHIFT_FOOTBRIDGE): Likewise.
3959         (struct platform): Likewise.
3960         (init_iosys): Remove compatibility code for 2.4 kernels.
3961         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
3963 2015-12-29  Florian Weimer  <fweimer@redhat.com>
3965         * malloc/tst-malloc-thread-fail.c: New file.
3966         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
3967         (tst-malloc-thread-fail): Link against libpthread.
3969 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
3971         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
3972         (get_parser): New function.
3973         (main): New function.
3975 2015-12-29  Rob Wu  <rob@robwu.nl>
3977         [BZ #19369]
3978         * resolv/res_init.c (__res_vinit): Reset defdname before use.
3980 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
3982         [BZ #19270]
3983         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3985 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
3987         [BZ #15421]
3988         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
3990 2015-12-23  Torvald Riegel  <triegel@redhat.com>
3992         [BZ #13690]
3993         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
3994         after releasing it.
3995         (__lll_robust_unlock): Likewise.
3996         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3997         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
3998         (lll_robust_unlock): Likewise.
3999         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
4000         Prevent warnings in callers.
4002 2015-12-23  Florian Weimer  <fweimer@redhat.com>
4004         * malloc/arena.c (list_lock): Update comment.
4006 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4008         * sysdeps/powerpc/hwcapinfo.c: Export symbol
4009         __parse_hwcap_and_convert_at_platform to libc.a.
4011 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4013         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
4014         platform and feature support for POWER9.
4015         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4016         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
4017         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
4018         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
4019         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
4020         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
4021         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
4022         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
4024 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4026         Harmonize generic stdio-lock support with nptl
4028         This fixes build when _IO_funlockfile is a macro, fixes build where
4029         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
4030         stack unwind.
4032         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
4033         _IO_release_lock ): Use cleanup attribute on new
4034         _IO_acquire_lock_file variable instead of assuming that
4035         _IO_release_lock will be called.
4036         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
4037         _IO_acquire_lock_needs_exceptions_enabled.
4038         (_IO_acquire_lock_clear_flags2): New macro.
4040 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4042         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4044 2015-12-21  Florian Weimer  <fweimer@redhat.com>
4046         [BZ #19182]
4047         * malloc/arena.c (list_lock): Document lock ordering requirements.
4048         (free_list_lock): New lock.
4049         (ptmalloc_lock_all): Comment on free_list_lock.
4050         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
4051         (detach_arena): Update comment.  free_list_lock is now needed.
4052         (_int_new_arena): Use free_list_lock around detach_arena call.
4053         Acquire arena lock after list_lock.  Add comment, including FIXME
4054         about incorrect synchronization.
4055         (get_free_list): Switch to free_list_lock.
4056         (reused_arena): Acquire free_list_lock around detach_arena call
4057         and attached threads counter update.  Add two FIXMEs about
4058         incorrect synchronization.
4059         (arena_thread_freeres): Switch to free_list_lock.
4060         * malloc/malloc.c (struct malloc_state): Update comments to
4061         mention free_list_lock.
4063 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4065         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
4066         Remove functions.
4067         (sloww, sloww1): Accept argument to offset quadrant.
4068         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
4069         quadrant.
4070         (__sin, __cos): Consolidate common code into new functions.
4071         (reduce_sincos_1, do_sincos_1): New functions.
4072         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4074         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
4075         code to new functions.
4076         (reduce_sincos_2, do_sincos_2): New functions.
4077         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4079         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
4080         common code for sincos.
4081         (__cos) [!IN_SINCOS]: Likewise.
4082         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
4083         New function.
4084         (__sincos): Use it.
4086 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
4088         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
4089         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
4090         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4092 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4094         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
4095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
4096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4097         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
4098         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4099         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
4100         index_Prefer_No_VZEROUPPER): New feature.
4101         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
4102         Prefer_No_VZEROUPPER for Knights Landing.
4104 015-12-18  Torvald Riegel  <triegel@redhat.com>
4106         * math/atest-exp2.c (mp_exp_m1): Remove.
4108 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4110         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
4111         syscalls.
4112         (__SYSCALL0): New macro.
4113         (__SYSCALL1): Likewise.
4114         (__SYSCALL2): Likewise.
4115         (__SYSCALL3): Likewise.
4116         (__SYSCALL4): Likewise.
4117         (__SYSCALL5): Likewise.
4118         (__SYSCALL6): Likewise.
4119         (__SYSCALL_CONCAT_X): Likewise.
4120         (__SYSCALL_CONCAT): Likewise.
4121         (__SYSCALL_DIST): Likewise.
4122         (__SYSCALL_CALL): Likewise.
4124 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
4126         [BZ #19363]
4127         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
4129 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4131         [BZ #19375]
4132         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
4133         negative subnormals.
4135 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
4137         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4138         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
4139         (INTERNAL_SYSCALL_NCS): Use it.
4140         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4142 2015-12-16  Florian Weimer  <fweimer@redhat.com>
4144         [BZ #19243]
4145         * malloc/arena.c (get_free_list): Remove assert and adjust
4146         reference count handling.  Add comment about reused_arena
4147         interaction.
4148         (reused_arena): Add comments abount get_free_list interaction.
4149         * malloc/tst-malloc-thread-exit.c: New file.
4150         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
4151         (tst-malloc-thread-exit): Link against libpthread.
4153 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4155         [BZ #19367]
4156         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
4157         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
4158         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4159         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4160         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4162 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4164         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4165         Silvermont optimizations for Knights Landing.
4167 2015-12-15  Andreas Schwab  <schwab@suse.de>
4169         [BZ #17197]
4170         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4171         immediately after emitting SI.
4172         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4173         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4174         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4175         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4176         * iconvdata/bug-iconv10.c: New file.
4177         * iconvdata/Makefile (tests): Add bug-iconv10.
4178         ($(objpfx)bug-iconv10.out): New rule.
4180 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4182         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4183         aliasing violation.
4185 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4187         [BZ #18472]
4188         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4189         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4190         conditionals for them.
4191         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4192         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4193         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4194         sys/kdaemon.h.
4195         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4196         compat-only syscall, obsoleted in glibc 2.23.
4197         (create_module): Likewise.
4198         (get_kernel_syms): Likewise.
4199         (query_module): Likewise.
4200         (uselib): Likewise.
4201         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4203 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4205         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4206         <linux/version.h>.
4207         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4208         conditional code.
4209         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4210         and ioshift_name initialization.
4212 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4214         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4215         Fix indentation.
4217 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4219         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4221 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4223         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4225 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4226             Jakub Wilk  <jwilk@debian.org>
4228         [BZ #19347]
4229         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4230         to change the group of the device to the tty group.
4232 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4234         Split large string section; add truncation advice
4235         * manual/examples/strncat.c: Remove.
4236         This example was misleading, as the code would have undefined
4237         behavior if "hello" was longer than SIZE.  Anyway, the manual
4238         shouldn't encourage strncpy+strncat for this sort of thing.
4239         * manual/string.texi (Copying Strings and Arrays): Split into
4240         three sections Copying Strings and Arrays, Concatenating Strings,
4241         and Truncating Strings, as this section was way too long.  All
4242         cross-referenced changed.  Add advice about string-truncation
4243         functions.  Remove misleading strncat example.
4245 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4247         * manual/nss.texi (NSS Modules Interface): Document
4248         NSS_STATUS_NOTFOUND and SUCCESS.
4250 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4252         [BZ 18568]
4253         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4254         201505L, for Unicode 8.
4256 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4258         * locale/C-translit.h: Regenerate.
4260 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4262         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4263         and U+0153.
4265 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4267         [BZ #19351]
4268         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4269         expanding log(1+z), compare z rather than its square with epsilon
4270         to determine when to avoid evaluating the expansion.
4272         [BZ #19350]
4273         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4274         Increase overflow threshold.
4276         [BZ #19349]
4277         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4278         when small.
4280         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4281         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4282         New macro.
4283         [__LINUX_KERNEL_VERSION >= 0x040300]
4284         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4285         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4286         Likewise.
4287         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4288         Likewise.
4289         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4290         Likewise.
4291         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4292         Likewise.
4293         [__LINUX_KERNEL_VERSION >= 0x040300]
4294         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4295         [__LINUX_KERNEL_VERSION >= 0x040300]
4296         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4297         [__LINUX_KERNEL_VERSION >= 0x040300]
4298         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4299         [__LINUX_KERNEL_VERSION >= 0x040300]
4300         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4301         [__LINUX_KERNEL_VERSION >= 0x040300]
4302         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4303         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4304         Likewise.
4305         [__LINUX_KERNEL_VERSION >= 0x040300]
4306         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4307         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4308         Likewise.
4309         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4310         Likewise.
4311         [__LINUX_KERNEL_VERSION >= 0x040300]
4312         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4313         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4314         Likewise.
4315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4316         Likewise.
4317         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4319         Likewise.
4320         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4321         Likewise.
4322         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4323         Likewise.
4324         [__LINUX_KERNEL_VERSION >= 0x040300]
4325         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4326         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4327         Likewise.
4328         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4329         Likewise.
4330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4331         Likewise.
4332         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4333         Likewise.
4334         [__LINUX_KERNEL_VERSION >= 0x040300]
4335         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4336         [__LINUX_KERNEL_VERSION >= 0x040300]
4337         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4338         [__LINUX_KERNEL_VERSION >= 0x040300]
4339         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4340         [__LINUX_KERNEL_VERSION >= 0x040300]
4341         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4342         [__LINUX_KERNEL_VERSION >= 0x040300]
4343         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4344         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4345         Likewise.
4346         [__LINUX_KERNEL_VERSION >= 0x040300]
4347         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4348         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4349         Likewise.
4350         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4351         Likewise.
4352         [__LINUX_KERNEL_VERSION >= 0x040300]
4353         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4354         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4355         Likewise.
4356         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4357         Likewise.
4358         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4359         (__ASSUME_SOCKET_SYSCALL): Likewise.
4360         (__ASSUME_BIND_SYSCALL): Likewise.
4361         (__ASSUME_CONNECT_SYSCALL): Likewise.
4362         (__ASSUME_LISTEN_SYSCALL): Likewise.
4363         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4364         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4365         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4366         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4367         (__ASSUME_SEND_SYSCALL): Likewise.
4368         (__ASSUME_SENDTO_SYSCALL): Likewise.
4369         (__ASSUME_RECV_SYSCALL): Likewise.
4370         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4371         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4372         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4373         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4374         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4375         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4376         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4377         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4378         Likewise.
4379         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4380         Likewise.
4381         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4382         Likewise.
4383         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4384         Likewise.
4385         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4386         Likewise.
4387         [__LINUX_KERNEL_VERSION >= 0x020625]
4388         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4389         [__LINUX_KERNEL_VERSION >= 0x020625]
4390         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4391         [__LINUX_KERNEL_VERSION >= 0x020625]
4392         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4393         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4394         Likewise.
4395         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4396         Likewise.
4397         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4398         Likewise.
4399         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4400         Likewise.
4401         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4402         Likewise.
4403         [__LINUX_KERNEL_VERSION >= 0x020625]
4404         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4405         [__LINUX_KERNEL_VERSION >= 0x020625]
4406         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4407         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4408         Likewise.
4409         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4410         Likewise.
4412 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4414         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4415         record the current if the current ABI and CPU support the FP64
4416         extension.
4417         (has-modd-spreg): Define to record the current if the current ABI and
4418         CPU support 32-bit floating point values in odd FPU registers.
4419         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4420         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4421         $(has-modd-spreg) equals yes.
4422         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4423         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4424         $(has-modd-spreg) equal yes.
4426 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4428         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4429         basename.
4431 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4433         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4434         (bench-string): ... here.
4435         (bench): Add bench-string.
4436         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4437         to *-benchset to reflect what they are.
4438         (benchset): Adjust.
4440         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4441         cos-inputs.
4443 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4445         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4446         __attribute__ ((__simd__)) for vector math function declarations.
4448 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4450         Fix typo in strncat, wcsncat manual entries
4451         * manual/string.texi (Copying and Concatenation): Fix typos in
4452         sample implementations of strncat and wcsncat, by having them use
4453         the old value of the destination length, not the new one.
4455 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4457         [BZ #16961]
4458         [BZ #16962]
4459         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4460         string on the stack for strtod.
4461         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4462         a string on the stack for strtof.
4463         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4464         constructing a string on the stack for strtold.
4465         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4466         __strtold_nan to GLIBC_PRIVATE.
4467         * math/test-nan-overflow.c: New file.
4468         * math/test-nan-payload.c: Likewise.
4469         * math/Makefile (tests): Add test-nan-overflow and
4470         test-nan-payload.
4472 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4474         Consistency about byte vs character in string.texi
4475         * manual/string.texi (String and Array Utilities):
4476         Distinguish more carefully among bytes, multibyte characters,
4477         and wide characters.  Use "byte" when talking about C 'char',
4478         to distinguish it more clearly from multibyte characters.
4479         Say "wide character" or "multibyte character" instead of
4480         "character", when a wide or multibyte character is intended.
4481         Similarly for "multibyte string" versus "string".
4482         Define these terms more carefully.
4484 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4486         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4487         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4488         Likewise.
4489         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4490         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4491         * sysdeps/sh/math_private.h: New file.
4492         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4493         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4494         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4495         long double function name.
4496         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4497         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4498         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4499         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4500         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4502         Remove __finitel, __isinfl, and __isnanl.
4503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4504         Likewise.
4505         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4507         Remove __finitel.
4508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4509         Likewise.
4510         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4512 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4514         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4515         installed libmvec_nonshared.a.
4517 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4519         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4520         (sysdep_routines): Likewise.
4521         (sysdep-rtld-routines): Likewise.
4522         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4523         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4524         * sysdeps/powerpc/Versions: Added new
4525         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4526         * sysdeps/powerpc/hwcapinfo.c: New file.
4527         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
4528         and parse hwcap, hwcap2 and platform number information.
4529         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
4530         to store HWCAP+HWCAP2 and platform number.
4531         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
4532         for HWCAP+HWCAP2 and platform number in the TCB.
4533         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
4534         the HWCAP, HWCAP2 and platform number in the TCB.
4535         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
4536         (TLS_INIT_TP): Included calls to add the hwcap and
4537         at_platform values in the TCB in TP initialization.
4538         (TLS_DEFINE_INIT_TP): Likewise.
4539         (THREAD_GET_HWCAP): New macro.
4540         (THREAD_SET_HWCAP): Likewise.
4541         (THREAD_GET_AT_PLATFORM): Likewise.
4542         (THREAD_SET_AT_PLATFORM): Likewise.
4543         * sysdeps/powerpc/powerpc32/dl-machine.h:
4544         (dl_platform_init): New function that calls
4545         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4546         powerpc32.
4547         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4548         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4549         this functionality, static linking case.
4550         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4551         linking case.
4552         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4553         __parse_hwcap_and_convert_at_platform for the static linking case.
4554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4555         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4556         ABI list for GLIBC 2.23.
4557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4558         Likewise.
4559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4560         Likewise.
4562 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
4564         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
4565         * configure: Regenerate.
4566         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
4567         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
4569 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
4571         * iconvdata/ibm930.c: Add comment explaining encoding uses.
4572         * iconvdata/ibm933.c: Likewise.
4573         * iconvdata/ibm935.c: Likewise.
4574         * iconvdata/ibm937.c: Likewise.
4575         * iconvdata/ibm939.c: Likewise.
4577 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4579         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
4580         pthread_join.
4581         * nptl/tst-cancel21.c (tf): Likewise.
4583 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
4585         [BZ #19313]
4586         * bits/typesizes.h (__CPU_MASK_TYPE): New.
4587         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4588         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4589         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
4590         Likewise.
4591         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
4592         Likewise.
4593         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
4594         Likewise.
4595         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
4596         Likewise.
4597         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
4598         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
4599         unsigned long int with __CPU_MASK_TYPE.
4601 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4603         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4605 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
4607         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
4608         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
4609         t512.x.
4610         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
4612 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
4614         [BZ #19214]
4615         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
4616         argument to return extended model.  Update family and model
4617         with extended family and model when family == 0x0f.
4618         (init_cpu_features): Updated.
4620 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4622         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
4623         signed off_t, so 32bit bigger than 2GiB values are fine actually.
4625         * sysdeps/mach/hurd/mmap64.c: New file.
4627 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
4629         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
4630         rights for its main user thread in NEWTASK.
4632 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
4634         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
4635         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
4637 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
4639         [BZ #14259]
4640         * Makeconfig: Rename localedir to complocaledir.
4641         Rename inst_localedir to inst_complocaledir.
4642         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
4643         * config.make.in: Use complocaledir and libc_cv_complocaledir.
4644         * configure.ac: Use libc_cv_complocaledir.
4645         * configure: Regenerate.
4646         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
4647         -DCOMPLOCALEDIR.
4648         * locale/findlocale.c: Use COMPLOCALEDIR.
4649         * locale/loadarchive.c: Likewise.
4650         * locale/programs/locale.c: Likewise.
4651         * locale/programs/localedef.c: Likewise.
4652         * locale/programs/locarchive.c: Likewise.
4653         * localedata/Makefile: Use inst_complocaledir.
4654         * sysdeps/gnu/configure: Regenerate.
4655         * sysdeps/hppa/configure: Regenerate.
4656         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
4657         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4659         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
4660         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
4661         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
4662         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
4664 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
4666         [BZ #19058]
4667         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
4668         AS_NEEDED.
4669         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
4670         workaround.
4671         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
4672         libmvec-static-only-routines): Added new file.
4673         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
4675 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4677         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
4678         of interrupted RPC instead of restoring it.
4680         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
4681         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
4682         libc_hidden_def.
4683         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
4684         into initialized data instead of common. Define rtld_hidden_data_def.
4685         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
4686         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
4687         libc_hidden_def.
4688         (if_freenameindex): Add libc_hidden_weak.
4689         (if_nameindex): Add libc_hidden_weak.
4690         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
4691         __open64.
4692         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
4693         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
4694         * sysdeps/mach/nanosleep.c: Include <time.h>
4695         (__nanosleep): Rename to __libc_nanosleep.
4696         (__nanosleep): Add weak_alias.
4697         (nanosleep): Update alias.
4699 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
4701         * stdlib/strtod_nan.c: New file.
4702         * stdlib/strtod_nan_double.h: Likewise.
4703         * stdlib/strtod_nan_float.h: Likewise.
4704         * stdlib/strtod_nan_main.c: Likewise.
4705         * stdlib/strtod_nan_narrow.h: Likewise.
4706         * stdlib/strtod_nan_wide.h: Likewise.
4707         * stdlib/strtof_nan.c: Likewise.
4708         * stdlib/strtold_nan.c: Likewise.
4709         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
4710         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
4711         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
4712         * wcsmbs/wcstod_nan.c: Likewise.
4713         * wcsmbs/wcstof_nan.c: Likewise.
4714         * wcsmbs/wcstold_nan.c: Likewise.
4715         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
4716         strtold_nan.
4717         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
4718         wcstof_nan.
4719         * include/stdlib.h (__strtof_nan): Declare and use
4720         libc_hidden_proto.
4721         (__strtod_nan): Likewise.
4722         (__strtold_nan): Likewise.
4723         (__wcstof_nan): Likewise.
4724         (__wcstod_nan): Likewise.
4725         (__wcstold_nan): Likewise.
4726         * include/wchar.h (____wcstoull_l_internal): Declare.
4727         * stdlib/strtod_l.c: Do not include <ieee754.h>.
4728         (____strtoull_l_internal): Remove declaration.
4729         (STRTOF_NAN): Define macro.
4730         (SET_MANTISSA): Remove macro.
4731         (STRTOULL): Likewise.
4732         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
4733         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
4734         (STRTOF_NAN): Define macro.
4735         (SET_MANTISSA): Remove macro.
4736         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
4737         (SET_MANTISSA): Remove macro.
4738         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
4739         macro.
4740         (SET_MANTISSA): Remove macro.
4741         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
4742         macro.
4743         (SET_MANTISSA): Remove macro.
4744         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
4745         (SET_MANTISSA): Remove macro.
4746         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
4747         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
4748         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
4750         [BZ #19266]
4751         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
4752         upper case and lower case letters inside NAN(), not using TOLOWER.
4753         * stdlib/tst-strtod-nan-locale-main.c: New file.
4754         * stdlib/tst-strtod-nan-locale.c: Likewise.
4755         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
4756         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
4757         Depend on $(gen-locales).
4758         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
4759         * wcsmbs/tst-wcstod-nan-locale.c: New file.
4760         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
4761         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
4762         Depend on $(gen-locales).
4763         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
4765 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
4767         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
4769         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
4771         __finitel, __isinfl, and __isnanl.
4772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4773         Likewise.
4774         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
4776         __finitel.
4777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4778         Likewise.
4779         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4781 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4783         * malloc/memusage.c (me): Remove redundant getenv call.
4785 2015-10-24  Florian Weimer  <fweimer@redhat.com>
4787         [BZ #19143]
4788         [BZ #19164]
4789         * nptl/check-cpuset.h: Remove.
4790         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4791         Remove CPU set size check.
4792         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4793         Likewise.
4794         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
4795         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4796         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
4797         (__pthread_setaffinity_new): Remove CPU set size check.
4798         * sysdeps/unix/sysv/linux/sched_setaffinity.c
4799         (__kernel_cpumask_size): Remove.
4800         (__sched_setaffinity_new): Remove CPU set size check.
4801         * manual/threads.texi (Default Thread Attributes): Remove stale
4802         reference to check_cpuset_attr, determine_cpumask_size in comment.
4803         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
4804         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
4805         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
4806         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
4807         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
4808         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
4809         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
4810         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
4811         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
4812         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
4813         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
4814         skeleton test file.
4815         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
4816         tst-affinity-pid.
4818 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4820         * scripts/update-abilist.sh: New file.
4821         * Makefile (+subdir_targets): Add subdir_update-all-abi.
4822         * Makerules (update-all-abi-%, update-all-abi)
4823         (subdir_update-all-abi): New targets.
4824         * elf/Makefile (update-all-abi): New target.
4826 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4828         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
4829         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
4830         (__libc_lock_define_initialized): Use it.
4831         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
4832         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
4833         * malloc/malloc.c (main_arena): Likewise.
4834         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4835         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4837 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
4839         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4840         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
4841         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4842         (PTRACE_O_MASK): Update value.
4843         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
4844         New value in enum __ptrace_setoptions.
4845         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4846         (PTRACE_O_MASK): Update value.
4847         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4848         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4849         (PTRACE_O_MASK): Update value.
4850         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
4851         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4852         (PTRACE_O_MASK): Update value.
4853         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
4854         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4855         (PTRACE_O_MASK): Update value.
4856         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
4857         New value in enum __ptrace_setoptions.
4858         (PTRACE_O_MASK): Update value.
4859         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
4860         New value in enum __ptrace_setoptions.
4861         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4862         (PTRACE_O_MASK): Update value.
4864         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
4865         New macro.
4866         (PACKET_AUXDATA): Likewise.
4867         (PACKET_ORIGDEV): Likewise.
4868         (PACKET_VERSION): Likewise.
4869         (PACKET_HDRLEN): Likewise.
4870         (PACKET_RESERVE): Likewise.
4871         (PACKET_TX_RING): Likewise.
4872         (PACKET_LOSS): Likewise.
4873         (PACKET_VNET_HDR): Likewise.
4874         (PACKET_TX_TIMESTAMP): Likewise.
4875         (PACKET_TIMESTAMP): Likewise.
4876         (PACKET_FANOUT): Likewise.
4877         (PACKET_TX_HAS_OFF): Likewise.
4878         (PACKET_QDISC_BYPASS): Likewise.
4879         (PACKET_ROLLOVER_STATS): Likewise.
4880         (PACKET_FANOUT_DATA): Likewise.
4881         (PACKET_MR_UNICAST): Likewise.
4883         [BZ #19242]
4884         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
4885         (TOUPPER): Likewise.
4886         * stdlib/tst-strtol-locale-main.c: New file.
4887         * stdlib/tst-strtol-locale.c: Likewise.
4888         * stdlib/Makefile (tests): Add tst-strtol-locale.
4889         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
4890         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
4891         Depend on $(gen-locales).
4892         * wcsmbs/tst-wcstol-locale.c: New file.
4893         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
4894         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
4895         tr_TR.ISO-8859-9.
4896         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
4897         Depend on $(gen-locales).
4899 2015-11-20  Roland McGrath  <roland@hack.frob.com>
4901         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
4902         __glibc_likely instead of __builtin_expect.  After falling back to
4903         dyncode_create in a non-ET_DYN case, use the allocate_code_data
4904         system interface to register the code pages as occupied.
4906 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
4908         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4909         [!ARM_MATH_PRIVATE_H].
4910         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
4911         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4912         [!HPPA_MATH_PRIVATE_H].
4913         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
4914         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
4915         to [!I386_MATH_PRIVATE_H].
4916         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
4917         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
4918         Change guard to [!M68K_MATH_PRIVATE_H].
4919         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
4920         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
4921         guard to [!MICROBLAZE_MATH_PRIVATE_H].
4922         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
4923         macro.
4924         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4925         [!MIPS_MATH_PRIVATE_H].
4926         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
4927         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4928         [!NIO2_MATH_PRIVATE_H].
4929         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
4930         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4931         [!TILE_MATH_PRIVATE_H].
4932         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
4934         [BZ #15421]
4935         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
4936         initialize with 0 and define as weak alias of __signgam.
4937         * include/math.h [!_ISOMAC] (__signgam): Declare.
4938         * math/Makefile (libm-calls): Add w_lgamma_compat.
4939         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
4940         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
4941         test-signgam-ullong-init.
4942         (tests-static): Add test-signgam-uchar-static,
4943         test-signgam-uchar-init-static, test-signgam-uint-static,
4944         test-signgam-uint-init-static, test-signgam-ullong-static and
4945         test-signgam-ullong-init-static.
4946         (CFLAGS-test-signgam-uchar.c): New variable.
4947         (CFLAGS-test-signgam-uchar-init.c): Likewise.
4948         (CFLAGS-test-signgam-uchar-static.c): Likewise.
4949         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4950         (CFLAGS-test-signgam-uint.c): Likewise.
4951         (CFLAGS-test-signgam-uint-init.c): Likewise.
4952         (CFLAGS-test-signgam-uint-static.c): Likewise.
4953         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4954         (CFLAGS-test-signgam-ullong.c): Likewise.
4955         (CFLAGS-test-signgam-ullong-init.c): Likewise.
4956         (CFLAGS-test-signgam-ullong-static.c): Likewise.
4957         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4958         * math/Versions (libm): Add GLIBC_2.23.
4959         * math/lgamma-compat.h: New file.
4960         * math/test-signgam-main.c: Likewise.
4961         * math/test-signgam-uchar-init-static.c: Likewise.
4962         * math/test-signgam-uchar-init.c: Likewise.
4963         * math/test-signgam-uchar-static.c: Likewise.
4964         * math/test-signgam-uchar.c: Likewise.
4965         * math/test-signgam-uint-init-static.c: Likewise.
4966         * math/test-signgam-uint-init.c: Likewise.
4967         * math/test-signgam-uint-static.c: Likewise.
4968         * math/test-signgam-uint.c: Likewise.
4969         * math/test-signgam-ullong-init-static.c: Likewise.
4970         * math/test-signgam-ullong-init.c: Likewise.
4971         * math/test-signgam-ullong-static.c: Likewise.
4972         * math/test-signgam-ullong.c: Likewise.
4973         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
4974         wrapper of w_lgamma_main.c.
4975         * math/w_lgamma_compat.c: New file.
4976         * math/w_lgamma_compatf.c: Likewise.
4977         * math/w_lgamma_compatl.c: Likewise.
4978         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
4979         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4980         defining compatibility symbols.
4981         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
4982         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
4983         wrapper of w_lgammaf_main.c.
4984         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
4985         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4986         defining compatibility symbols.
4987         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
4988         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
4989         wrapper of w_lgammal_main.c.
4990         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
4991         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4992         defining compatibility symbols.
4993         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
4994         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
4995         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
4996         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
4997         <lgamma-compat.h>.
4998         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
4999         (__ieee754_gamma): Define as alias.
5000         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
5001         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
5002         <lgamma-compat.h>.
5003         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
5004         (__ieee754_gammaf): Define as alias.
5005         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
5006         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
5007         <lgamma-compat.h>.
5008         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
5009         (__ieee754_gammal): Define as alias.
5010         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
5011         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
5012         <math/w_lgamma_compat.c>.
5013         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
5014         Define as alias of __lgamma_compat and use in defining lgammal.
5015         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
5016         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
5017         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
5018         (USE_AS_COMPAT): New macro.
5019         (LGAMMA_OLD_VER): Undefine and redefine.
5020         (lgammal): Do not define here.
5021         (gammal): Only define here if [GAMMA_ALIAS].
5022         * conform/linknamespace.pl (@whitelist): Remove signgam.
5023         * sysdeps/nacl/libm.abilist: Update.
5024         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5025         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5026         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5027         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5028         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5029         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5030         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5031         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5032         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5033         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5034         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5035         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5037         Likewise.
5038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5039         Likewise.
5040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5041         Likewise.
5042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5043         Likewise.
5044         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5045         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5046         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5047         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5048         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5050         Likewise.
5051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5052         Likewise.
5053         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5054         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5055         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5057 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5059         [BZ #16364]
5060         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
5061         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
5063 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5065         * sysdeps/s390/fpu/bits/mathinline.h:
5066         Use __asm__ [__volatile__] instead of asm [volatile].
5067         * sysdeps/s390/abort-instr.h: Likewise.
5068         * sysdeps/s390/atomic-machine.h: Likewise.
5069         * sysdeps/s390/bits/string.h: Likewise.
5070         * sysdeps/s390/dl-tls.h: Likewise.
5071         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5072         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5073         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5074         * sysdeps/s390/fpu/fesetround.c: Likewise.
5075         * sysdeps/s390/fpu/fpu_control.h: Likewise.
5076         * sysdeps/s390/fpu/s_fma.c: Likewise.
5077         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
5078         * sysdeps/s390/memusage.h: Likewise.
5079         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
5080         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
5081         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
5082         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
5083         * sysdeps/s390/nptl/tls.h: Likewise.
5084         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
5085         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5086         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5087         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5088         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5089         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5090         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
5091         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5092         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5093         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
5094         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5095         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5096         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5097         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
5098         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5099         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5100         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
5101         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5102         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
5103         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5104         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
5105         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5106         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
5108 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5109             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5111         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5112         Add lwarx hint, and use macro for acquire instruction.
5113         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5114         Likewise.
5115         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
5116         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
5117         update to use new atomic macros.
5119 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5121         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5122         (__lll_trylock_elision): Fix setting of adapt_count.
5123         * sysdeps/unix/sysv/linux/powerpc/htm.h
5124         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
5125         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
5126         (_ABORT_SYSCALL): Renumber, and clarify definition.
5127         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
5129 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5131         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
5132         after system headers to prevent MIN/MAX redefinition.  Define
5133         HAVE_ALLOCA to preserve builtin alloca usage.
5135 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5137         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
5138         static and don't set or restore rounding.
5139         (__cos)[IN_SINCOS]: Likewise.
5140         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
5141         (__sincos): Set and restore rounding mode.  Remove check for infinite
5142         or NaN input.
5144         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
5146         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
5147         as used.
5149 2015-11-16  Florian Weimer  <fweimer@redhat.com>
5151         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5153 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5155         * config.make.in (have-glob-dat-reloc): New.
5156         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
5157         target supports GLOB_DAT relocaton. AC_SUBST.
5158         * configure: Regenerated.
5159         * elf/Makefile (tests): Add tst-prelink.
5160         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5161         (tst-prelink-ENV): New.
5162         ($(objpfx)tst-prelink-conflict.out): Likewise.
5163         ($(objpfx)tst-prelink-cmp.out): Likewise.
5164         * sysdeps/x86/tst-prelink.c: Moved to ...
5165         * elf/tst-prelink.c: Here.
5166         * sysdeps/x86/tst-prelink.exp: Moved to ...
5167         * elf/tst-prelink.exp: Here.
5168         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5169         (tst-prelink-ENV): Removed.
5170         ($(objpfx)tst-prelink-conflict.out): Likewise.
5171         ($(objpfx)tst-prelink-cmp.out): Likewise.
5172         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5174 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5176         [BZ #14551]
5177         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5178         (__mpn_construct_long_double): If high part overflows to infinity,
5179         set errno and recompute overflowed result of the correct sign.
5180         * sysdeps/ieee754/ldbl-128ibm/Makefile
5181         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5182         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5183         $(libm).
5184         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5186 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5188         [BZ #15479]
5189         [BZ #19238]
5190         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5191         floating-point state after first operation on input.  Restore full
5192         state rather than just rounding mode.
5193         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5194         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5195         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5197         [BZ #19235]
5198         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5199         add 0.5 to integer arguments.
5200         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5201         Likewise.
5202         (.LC2): New object.
5204 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5206         * scripts/pylintrc (reports): Set to no.
5208 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5210         * elf/dl-load.c (open_verify): Take new argument FD.
5211         Skip __open call if passed FD is not -1.
5212         (_dl_map_object, open_path): Update callers.
5213         * elf/dl-sysdep-open.h: New file.
5214         * elf/dl-load.c: Include it.
5215         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5216         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5217         * sysdeps/nacl/dl-sysdep-open.h: New file.
5218         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5219         from libc to rtld.
5221 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5223         [BZ #19228]
5224         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5225         and restore full floating-point state.
5226         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5227         Likewise.
5228         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5229         Likewise.
5230         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5231         Likewise.
5232         * math/test-nearbyint-except-2.c: New file.
5233         * math/Makefile (tests): Add test-nearbyint-except-2.
5235 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5237         [BZ #19178]
5238         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5239         (tst-prelink-ENV): New.
5240         ($(objpfx)tst-prelink-conflict.out): Likewise.
5241         ($(objpfx)tst-prelink-cmp.out): Likewise.
5242         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5243         * sysdeps/x86/tst-prelink.c: New file.
5244         * sysdeps/x86/tst-prelink.exp: Likewise.
5246 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5248         * math/auto-libm-test-in: Add another test of pow.
5249         * math/auto-libm-test-out: Regenerated.
5250         * math/libm-test.inc (pow_test_data): Add another test.
5252 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5254         [BZ #19219]
5255         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5256         weak_alias to nearbyintl.
5258 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5260         * sysdeps/aarch64/bits/string.h: New file.
5261         (_STRING_ARCH_unaligned): Define.
5263 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5265         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5266         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5267         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5268         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5271 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5273         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5274         for original name of the DSO.  Add it to the name list of the DSO
5275         if it is actually given.
5276         (_dl_map_object): Keep track of whether an audit module rewrote
5277         the file name.  If yes, pass the original name to
5278         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5279         debugging is enabled, log the change of the file name.
5280         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5281         _dl_map_object_from_fd.
5282         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5283         * elf/tst-audit11.c: New file
5284         * elf/tst-auditmod11.c: New file.
5285         * elf/tst-audit11mod1.c: New file.
5286         * elf/tst-audit11mod2.c: New file.
5287         * elf/tst-audit11mod2.map: New file.
5288         * elf/tst-audit12.c: New file
5289         * elf/tst-auditmod12.c: New file.
5290         * elf/tst-audit12mod1.c: New file.
5291         * elf/tst-audit12mod2.c: New file.
5292         * elf/tst-audit12mod2.map: New file.
5293         * elf/tst-audit12mod3.c: New file.
5295 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5297         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5298         Don't create weak aliases,
5299         because versioned symbols are created later.
5300         * sysdeps/s390/s390-32/setjmp.S
5301         (setjmp, _setjmp): Remove weak and rename to an unique name
5302         in SHARED case due to existing versioned symbols.
5303         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5304         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5305         (getcontext): Create weak alias only in non SHARED case.
5306         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5308 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5310         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5311         (__ASSUME_*_SYSCALL) Define new macros.
5312         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5313         Remove socketcall syscalls.
5314         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5315         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5316         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5317         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5318         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5319         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5321 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5323         [BZ #12926]
5324         Terminate process on invalid netlink response.
5325         * sysdeps/unix/sysv/linux/netlinkaccess.h
5326         (__netlink_assert_response): Declare.
5327         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5328         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5329         (sysdep_routines): Add netlink_assert_response.
5330         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5331         __netlink_assert_response.
5332         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5333         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5334         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5335         __netlink_assert_response.
5337 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5339         [BZ #19178]
5340         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5341         (RTYPE_CLASS_PLT): Likewise.
5342         (RTYPE_CLASS_COPY): Likewise.
5343         (RTYPE_CLASS_TLS): Likewise.
5344         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5345         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5346         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5347         DL_DEBUG_PRELINK.
5349 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5351         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5352         calls with argument -0.5.
5353         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5355         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5356         (libc_cv_z_nodlopen): Likewise.
5357         (libc_cv_z_initfirst): Likewise.
5358         * configure: Regenerated.
5360 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5362         Simplify abilist format to be line-based.
5363         * scripts/abilist.awk: Collect descriptors in the descs variable.
5364         (emit): Write descs variable and sort it
5365         externally, with sort.
5366         * sysdeps/**/*.abilist: Convert to new format.
5368 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5370         [BZ #11460]
5371         * io/Makefile (routines): Add fts64.
5372         (tests): Add tst-fts and tst-fts-lfs.
5373         (CFLAGS-fts64.c): New.
5374         * io/Versions (GLIBC_2.23): New.
5375         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5376         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5377         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5378         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5379         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5380         (FTSENT64): Likewise.
5381         (fts64_children): Likewise.
5382         (fts64_close): Likewise.
5383         (fts64_open): Likewise.
5384         (fts64_read): Likewise.
5385         (fts64_set): Likewise.
5386         * io/fts64.c: New file.
5387         * io/tst-fts.c: New test.
5388         * io/tst-fts-lfs.c: Likewise.
5389         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5390         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5391         fts64_set.
5392         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5393         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5394         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5395         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5396         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5397         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5398         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5399         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5400         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5401         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5402         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5403         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5404         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5406         Likewise.
5407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5408         Likewise.
5409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5411         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5412         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5413         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5414         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5415         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5418         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5419         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5420         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5421         * sysdeps/wordsize-64/fts.c: New file.
5422         * sysdeps/wordsize-64/fts64.c: Likewise.
5423         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5424         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5425         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5426         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5428 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5430         * math/libm-test.inc (NON_FINITE): New macro.
5431         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5432         * math/gen-libm-test.pl (show_exceptions): Add argument
5433         $non_finite.
5434         (parse_args): Update call to show_exceptions.
5435         * math/test-math-finite.h: New file.
5436         * math/test-math-no-finite.h: Likewise.
5437         * math/test-double-finite.c: Likewise.
5438         * math/test-float-finite.c: Likewise.
5439         * math/test-ldouble-finite.c: Likewise.
5440         * math/test-double.c: Include "test-math-no-finite.h".
5441         * math/test-float.c: Include "test-math-no-finite.h".
5442         * math/test-ldouble.c: Include "test-math-no-finite.h".
5443         * math/test-math-inline.h (TEST_FINITE): New macro.
5444         * math/test-math-vector.h (TEST_FINITE): Likewise.
5445         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5446         (libm-tests): Add test-float-finite and test-double-finite.
5447         ($(objpfx)test-float-finite.o): New dependency on
5448         $(objpfx)libm-test.stmp.
5449         ($(objpfx)test-double-finite.o): Likewise.
5450         ($(objpfx)test-ldouble-finite.o): Likewise.
5451         (libm-test-no-inline-cflags): New variable.
5452         (libm-test-finite-cflags): Likewise.
5453         (CFLAGS-test-float-finite.c): Likewise.
5454         (CFLAGS-test-double-finite.c): Likewise.
5455         (CFLAGS-test-ldouble-finite.c): Likewise.
5456         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5457         (CFLAGS-test-double.c): Likewise.
5458         (CFLAGS-test-ldouble.c): Likewise.
5460 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5462         * io/fcntl.c (__fcntl): Add ... to prototype.
5463         * misc/ioctl.c (__ioctl): Likewise.
5464         * misc/syscall.c (syscall): Likewise.
5466 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5468         * scripts/list-fixed-bugs.py: New file.
5470         [BZ #19213]
5471         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5472         returned for argument 1.
5473         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5474         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5475         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5476         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5477         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5478         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5480         [BZ #19211]
5481         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5482         __USE_XOPEN], not if [!__USE_ISOC99].
5483         (lgammaf): Likewise.
5484         (lgammal): Likewise.
5485         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5486         (gammaf): Likewise.
5487         (gammal): Likewise.
5488         * math/test-signgam-finite-c11.c: New file.
5489         * math/test-signgam-finite-c99.c: Likewise.
5490         * math/test-signgam-finite.c: Likewise.
5491         * math/Makefile (tests): Add test-signgam-finite,
5492         test-signgam-finite-c99 and test-signgam-finite-c11.
5493         (CFLAGS-test-signgam-finite.c): New variable.
5494         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5495         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5497         [BZ #19212]
5498         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5499         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5500         500].
5501         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5502         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5503         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5504         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5505         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5506         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5507         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5508         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5509         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5510         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5512         [BZ #19209]
5513         * math/bits/math-finite.h (ldexp): Remove declaration.
5514         (ldexpf): Likewise.
5515         (ldexpl): Likewise.
5517         [BZ #19205]
5518         * math/bits/math-finite.h (acosf): Condition declaration on
5519         [__USE_ISOC99].
5520         (acosl): Likewise.
5521         (acoshf): Likewise.
5522         (acoshl): Likewise.
5523         (asinf): Likewise.
5524         (asinl): Likewise.
5525         (atan2f): Likewise.
5526         (atan2l): Likewise.
5527         (atanhf): Likewise.
5528         (atanhl): Likewise.
5529         (coshf): Likewise.
5530         (coshl): Likewise.
5531         (expf): Likewise.
5532         (expl): Likewise.
5533         (fmodf): Likewise.
5534         (fmodl): Likewise.
5535         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
5536         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
5537         (j0l): Likewise.
5538         (y0f): Likewise.
5539         (y0l): Likewise.
5540         (j1f): Likewise.
5541         (j1l): Likewise.
5542         (y1f): Likewise.
5543         (y1l): Likewise.
5544         (jnf): Likewise.
5545         (jnl): Likewise.
5546         (ynf): Likewise.
5547         (ynl): Likewise.
5548         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5549         (lgammal_r): Likewise.
5550         (__lgamma_r_finite): New declaration.
5551         (__lgammaf_r_finite): Likewise.
5552         (__lgammal_r_finite): Likewise.
5553         (lgamma): Use __lgamma_r_finite.
5554         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5555         __lgammaf_r_finite.
5556         (lgammal): Condition definition on [__USE_ISOC99].  Use
5557         __lgammal_r_finite.
5558         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5559         __lgamma_r_finite.
5560         (gammaf): Condition definition on [__USE_ISOC99].  Use
5561         __lgammaf_r_finite.
5562         (gammal): Condition definition on [__USE_ISOC99].  Use
5563         __lgammal_r_finite.
5564         (logf): Condition declaration on [__USE_ISOC99].
5565         (logl): Likewise.
5566         (log10f): Likewise.
5567         (log10l): Likewise.
5568         (ldexpf): Likewise.
5569         (ldexpl): Likewise.
5570         (powf): Likewise.
5571         (powl): Likewise.
5572         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
5573         __USE_ISOC99].
5574         (remainderf): Condition declaration on [__USE_ISOC99].
5575         (remainderl): Likewise.
5576         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
5577         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
5578         (scalbl): Likewise.
5579         (sinhf): Condition declaration on [__USE_ISOC99].
5580         (sinhl): Likewise.
5581         (sqrtf): Likewise.
5582         (sqrtl): Likewise.
5584 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5586         * sysdeps/arm/atomic-machine.h
5587         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5588         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5589         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
5590         Remove conditional code.
5591         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5592         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5593         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
5594         Change conditional to [__ASSEMBLER__].
5595         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5596         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
5597         [!__ASSEMBLER__].
5598         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
5599         code.
5600         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
5601         conditional macro definitions.
5602         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
5603         (__arch_compare_and_exchange_val_16_acq): Likewise.
5604         (__arch_compare_and_exchange_val_32_acq): Likewise.
5605         (atomic_exchange_and_add): Likewise.
5606         (atomic_add): Likewise.
5607         (atomic_add_negative): Likewise.
5608         (atomic_add_zero): Likewise.
5609         (atomic_bit_set): Likewise.
5610         (atomic_bit_test_set): Likewise.
5611         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
5612         code unconditional.
5613         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5615         * math/test-math-errno.h: New file.
5616         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
5617         empty.
5618         (TEST_ERRNO): New macro.
5619         (TEST_EXCEPTIONS): Likewise.
5620         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
5621         (TEST_EXCEPTIONS): Likewise.
5622         * math/test-math-vector.h (TEST_ERRNO): Likewise.
5623         * math/test-double.c: Include "test-math-errno.h".
5624         * math/test-float.c: Likewise.
5625         * math/test-ldouble.c: Likewise.
5626         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
5627         code unconditional.
5628         (test_exceptions): Only run code if TEST_EXCEPTIONS.
5629         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
5630         unconditional.
5631         (test_errno): Only run code if TEST_ERRNO.
5632         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
5634 2015-11-04  Florian Weimer  <fweimer@redhat.com>
5636         * nptl/tst-once5.cc: Remove attribution.
5638 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5640         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
5641         sqrt, tan, tanh, y0, y1 and yn.
5642         * math/auto-libm-test-out: Regenerated.
5643         * math/libm-test.inc (scalb_test_data): Add more tests.
5644         (scalbn_test_data): Likewise.
5645         (scalbln_test_data): Likewise.
5646         (signbit_test_data): Likewise.
5647         (sin_test_data): Likewise.
5648         (sincos_test_data): Likewise.
5649         (sinh_test_data): Likewise.
5650         (sqrt_test_data): Likewise.
5651         (tan_test_data): Likewise.
5652         (tanh_test_data): Likewise.
5653         (tgamma_test_data): Likewise.
5654         (y0_test_data): Likewise.
5655         (y1_test_data): Likewise.
5656         (yn_test_data): Likewise.
5657         (significand_test_data): Likewise.
5658         * sysdeps/i386/fpu/libm-test-ulps: Update.
5660 2015-11-03  David Kastrup  <dak@gnu.org>
5662         [BZ #18604]
5663         * assert/assert.h (assert): Don't macro-expand failed assertion
5664         expression in error message.
5665         * malloc/malloc.c (assert): Likewise.
5667 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
5669         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
5670         test.
5671         * configure: Regenerated.
5673 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
5675         * math/libm-test.inc (modf_test_data): Add more tests.
5676         (nearbyint_test_data): Likewise.
5677         (nextafter_test_data): Likewise.
5678         (nexttoward_test_data): Likewise.
5679         (pow_test_data): Likewise.
5680         (remainder_test_data): Likewise.
5681         (remquo_test_data): Likewise.
5682         (rint_test_data): Likewise.
5684         [BZ #19201]
5685         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5686         Check for zero remainder in case of large exponents and ensure
5687         correct sign of result in that case.
5688         * math/libm-test.inc (remainder_test_data): Add more tests.
5690         [BZ #6799]
5691         * math/s_nextafter.c: Include <errno.h>.
5692         (__nextafter): Set errno on overflow and underflow.
5693         * math/s_nexttowardf.c: Include <errno.h>.
5694         (__nexttowardf): Set errno on overflow and underflow.
5695         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
5696         (__nextafterl): Set errno on overflow and underflow.
5697         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
5698         (__nexttoward): Set errno on overflow and underflow.
5699         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
5700         (__nexttowardf): Set errno on overflow and underflow.
5701         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
5702         (__nextafterf): Set errno on overflow and underflow.
5703         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
5704         (__nextafterl): Set errno on overflow and underflow.
5705         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
5706         (__nexttoward): Set errno on overflow and underflow.
5707         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
5708         (__nexttowardf): Set errno on overflow and underflow.
5709         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
5710         (__nextafterl): Set errno on overflow and underflow.
5711         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
5712         (__nexttoward): Set errno on overflow and underflow.
5713         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
5714         (__nexttowardf): Set errno on overflow and underflow.
5715         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
5716         (__nexttoward): Set errno on overflow and underflow.
5717         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
5718         (__nexttowardf): Set errno on overflow and underflow.
5719         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
5720         (__nldbl_nexttowardf): Set errno on overflow and underflow.
5721         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
5722         (__nextafterl): Set errno on overflow and underflow.
5723         * math/libm-test.inc (nextafter_test_data): Do not allow errno
5724         setting to be missing on overflow.  Add more tests.
5725         (nexttoward_test_data): Likewise.
5727         * configure.ac (libc_cv_initfini_array): Remove configure test.
5728         * configure: Regenerated.
5730 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
5732         [BZ #19189]
5733         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
5734         non-finite argument handle arguments with negative sign.
5736         * math/libm-test.inc (j0_test_data): Do not test sign of zero
5737         result from infinite argument.
5738         (j1_test_data): Likewise.
5739         (jn_test_data): Likewise.
5740         (y0_test_data): Likewise.
5741         (y1_test_data): Likewise.
5742         (yn_test_data): Likewise.
5744         [BZ #16171]
5745         * math/w_remainder.c (drem): Define as weak alias of __remainder.
5746         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
5747         * math/w_remainderf.c (dremf): Define as weak alias of
5748         __remainderf.
5749         * math/w_remainderl.c (dreml): Define as weak alias of
5750         __remainderl.
5751         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
5752         __remainder.
5753         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
5754         __remainderf.
5755         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
5756         __remainderl.
5757         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
5758         weak alias of remainderl.
5759         * sysdeps/ieee754/ldbl-opt/w_remainder.c
5760         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
5761         alias of __remainder.
5762         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
5763         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
5764         strong alias of __remainderl.
5765         (dreml): Use long_double_symbol.
5766         * math/Makefile (libm-calls): Remove w_drem.
5767         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
5768         (CFLAGS-nldbl-drem.c): Remove variable.
5769         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
5770         * math/w_drem.c: Remove file.
5771         * math/w_dremf.c: Likewise.
5772         * math/w_dreml.c: Likewise.
5773         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
5774         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
5775         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
5777         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
5778         * sysdeps/i386/configure: Regenerated.
5779         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
5780         * sysdeps/x86_64/configure: Regenerated.
5782         * configure.ac (libc_cv_asm_protected_directive): Remove configure
5783         test.
5784         (libc_cv_visibility_attribute): Likewise.
5785         (libc_cv_protected_data): Test unconditionally.
5786         (libc_cv_broken_visibility_attribute): Remove configure test.
5787         (libc_cv_have_sdata_section): Test unconditionally.
5788         * configure: Regenerated.
5790         * include/libc-internal.h (libc_max_align_t): Remove typedef.
5791         * include/scratch_buffer.h: Include <stddef.h> instead of
5792         <libc-internal.h>.
5793         (struct scratch_buffer): Use max_align_t instead of
5794         libc_max_align_t.
5796 2015-10-29  Florian Weimer  <fweimer@redhat.com>
5798         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
5799         instead of extend_alloca.  Change control flow to avoid a goto.
5800         Remove assert which is trivially always true.
5802 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5804         [BZ #16068]
5805         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
5806         (FE_ALL_EXCEPT_X86): New macro.
5807         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5808         FE_ALL_EXCEPT.  Ensure precision control is included in
5809         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5810         handle "denormal operand exception" and clear FZ and DAZ bits.
5811         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
5812         (FE_ALL_EXCEPT_X86): New macro.
5813         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5814         FE_ALL_EXCEPT.  Ensure precision control is included in
5815         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5816         handle "denormal operand exception" and clear FZ and DAZ bits.
5817         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
5818         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
5819         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5820         test-fenv-x87 and test-fenv-sse-2.
5821         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
5823         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
5824         * math/test-double.h (BUILD_COMPLEX): New macro.
5825         * math/test-float.h (BUILD_COMPLEX): Likewise.
5826         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
5828         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
5829         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
5830         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
5831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
5832         instead of DBL_DENORM_MIN in comment.
5833         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
5834         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5835         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
5836         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
5837         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
5838         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5840 2015-10-28  Florian Weimer  <fweimer@redhat.com>
5842         [BZ# 19048]
5843         * malloc/malloc.c (struct malloc_state): Update comment.  Add
5844         attached_threads member.
5845         (main_arena): Initialize attached_threads.
5846         * malloc/arena.c (list_lock): Update comment.
5847         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
5848         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
5849         (deattach_arena): New function.
5850         (_int_new_arena): Initialize arena reference count and deattach
5851         replaced arena.
5852         (get_free_list, reused_arena): Update reference count and deattach
5853         replaced arena.
5854         (arena_thread_freeres): Update arena reference count and only put
5855         unreferenced arenas on the free list.
5857 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5859         [BZ #19181]
5860         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
5861         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
5862         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
5863         * math/test-fenv-clear-main.c: New file.
5864         * math/test-fenv-clear.c: Likewise.
5865         * math/Makefile (tests): Add test-fenv-clear.
5866         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
5867         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5868         test-fenv-clear-sse.
5869         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
5871         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
5872         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
5873         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
5875 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5877         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
5878         static libc.
5880 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5882         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
5883         test.
5884         * sysdeps/i386/configure: Regenerated.
5885         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
5886         test.
5887         * sysdeps/x86_64/configure: Regenerated.
5888         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
5889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5890         memset-avx2 unconditionally instead of conditionally on
5891         [$(config-cflags-avx2) = yes].
5892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5893         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
5894         unconditional.
5895         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
5896         * sysdeps/x86_64/multiarch/memset_chk.S
5897         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
5898         to [IS_IN (libc) && SHARED].
5900 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5902         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
5903         configure test.
5904         * sysdeps/arm/configure: Regenerated.
5905         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
5906         Define variable if not already defined.
5908         [BZ #17404]
5909         * sysdeps/mips/atomic-machine.h
5910         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
5911         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
5912         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5914         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
5915         unconditional.
5916         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
5917         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5918         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
5919         unconditional.
5920         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5921         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
5922         unconditional.
5923         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5924         * stdlib/setenv.c
5925         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
5926         code unconditional.
5927         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
5928         Remove conditional code.
5929         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5930         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
5931         unconditional.
5932         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5933         code.
5934         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5935         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
5936         unconditional.
5937         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5938         code.
5939         * sysdeps/ieee754/ldbl-128/k_tanl.c
5940         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5941         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5942         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5943         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5944         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5945         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5946         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
5947         unconditional.
5948         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5949         code.
5950         * sysdeps/ieee754/ldbl-96/k_tanl.c
5951         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5952         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5954         * nptl/tst-initializers1-c11.c: New file.
5955         * nptl/tst-initializers1-gnu11.c: Likewise.
5956         * nptl/Makefile (tests): Add these new tests.
5957         (CFLAGS-tst-initializers1-c11.c): New variable.
5958         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5960         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
5961         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
5962         instead of -std=gnu99.
5963         * configure.ac (systemtap): Test with -std=gnu11 instead of
5964         -std=gnu99.
5965         * configure: Regenerated.
5966         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
5967         in compilation command in comment.
5969         * sysdeps/nptl/configure.ac: Remove file.
5970         * sysdeps/nptl/configure: Remove generated file.
5971         * configure.ac (libc_cv_forced_unwind): Do not substitute.
5972         * configure: Regenerated.
5973         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
5974         * config.make.in (have-forced-unwind): Remove variable.
5975         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5976         unconditional.
5977         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
5978         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
5979         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
5980         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
5981         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5982         unconditional.
5984 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5986         [BZ #19174]
5987         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
5988         .skip_lock_out_of_tbegin_retries.
5989         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5990         (__lll_lock_elision): Likewise, and respect a value of
5991         try_tbegin <= 0.
5993 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5995         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
5996         statement.
5998 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6000         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
6001         variable.
6002         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6003         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6005         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
6006         of -std=c1x -D_ISOC11_SOURCE.
6008         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
6009         * configure: Regenerated.
6010         * manual/install.texi (Tools for Compilation): Document
6011         requirement for GCC 4.7 or later.
6012         * INSTALL: Regenerated.
6014 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
6016         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
6017         on CNT to a conditional jump to 'puntdata'.
6019 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6021         * configure.ac (libc_cv_gcc___thread): Remove configure test.
6022         (libc_cv_gcc_tls_model_attr): Likewise.
6023         * configure: Regenerated.
6025         * configure.ac (libc_cv_need_minus_P): Remove configure test.
6026         * configure: Regenerated.
6027         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
6029 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
6031         * configure.ac (old_glibc_headers): Remove configure test.
6032         * configure: Regenerated.
6033         * config.make.in (old-glibc-headers): Remove variable.
6034         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
6035         (install): Remove dependency on remove-old-headers.
6036         (headers2_0): Remove variable.
6037         (remove-old-headers): Remove rule.
6039         * configure.ac (libc_cv_dot_text): Remove configure test.
6040         (libc_cv_asm_set_directive): Use .text instead of
6041         ${libc_cv_dot_text} in configure test.
6042         * configure: Regenerated.
6044 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6046         [BZ #19168]
6047         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6049 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6051         * configure.ac (CXX): Clear the variable if the C++ toolchain does
6052         not support static linking.
6053         * configure: Regenerate.
6055 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
6057         * math/libm-test.inc (check_float_internal): Do not special-case
6058         errors up to 0.5 ulp.
6060         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6061         log2.
6062         * math/auto-libm-test-out: Regenerated.
6063         * math/libm-test.inc (MAX_EXP): New macro.
6064         (ilogb_test_data): Add more tests.
6065         (isfinite_test_data): Likewise.
6066         (isgreater_test_data): Likewise.
6067         (isgreaterequal_test_data): Likewise.
6068         (isinf_test_data): Likewise.
6069         (isless_test_data): Likewise.
6070         (islessequal_test_data): Likewise.
6071         (islessgreater_test_data): Likewise.
6072         (isnan_test_data): Likewise.
6073         (isnormal_test_data): Likewise.
6074         (issignaling_test_data): Likewise.
6075         (isunordered_test_data): Likewise.
6076         (j0_test_data): Likewise.
6077         (j1_test_data): Likewise.
6078         (jn_test_data): Likewise.
6079         (lgamma_test_data): Likewise.
6080         (log_test_data): Likewise.
6081         (log10_test_data): Likewise.
6082         (log1p_test_data): Likewise.
6083         (log2_test_data): Likewise.
6084         (logb_test_data): Likewise.
6085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6087         [BZ #18611]
6088         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
6089         avoid excess range and precision on underflow.
6090         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6091         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
6092         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6093         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
6094         underflow.
6095         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6096         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6097         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6098         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6099         * math/auto-libm-test-in: Do not allow missing errno setting for
6100         tests of j1 and jn.
6101         * math/auto-libm-test-out: Regenerated.
6103 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
6105         [BZ #15491]
6106         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
6107         floating-point environment instead of clearing all exceptions.
6108         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6109         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
6110         merging in "invalid" exceptions from frndint.
6111         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6112         * math/test-nearbyint-except.c: New file.
6113         * math/Makefile (tests): Add test-nearbyint-except.
6115 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
6117         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
6119         * sysdeps/tile/libm-test-ulps: Regenerated.
6121 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
6124         (__NR_sync_file_range2): Assume it is always defined.
6125         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6126         (__NR_sync_file_range): Assume it is always defined.
6128 2015-10-22  Andreas Schwab  <schwab@suse.de>
6130         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6131         INTERNAL_SYSCALL_ERRNO.
6132         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6133         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6134         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6135         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6136         Likewise.
6137         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6139 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6141         * io/tst-fcntl.c (fd): New static variable.
6142         (do_prepare): Open temporary file here....
6143         (do_test): ...not here.
6145         * io/ftwtest-sh: Also trap on exit to remove temporary files.
6147 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6149         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
6150         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6151         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6152         Moved before "#ifdef __ASSEMBLER__".
6154 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6156         [BZ #19156]
6157         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
6158         arguments very close to 0.
6160 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6162         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6163         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6165 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6167         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6168         New.  Defined for GCC 5 and above when not compiling for
6169         profiling.
6170         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6172         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6173         Renamed to ...
6174         (CFLAGS-epoll_pwait.o): This.
6175         (CFLAGS-mmap.c): Renamed to ...
6176         (CFLAGS-mmap.o): This.
6177         (CFLAGS-mmap64.c): Renamed to ...
6178         (CFLAGS-mmap64.o): This.
6179         (CFLAGS-epoll_pwait.os): New.
6180         (CFLAGS-mmap.os): Likewise.
6181         (CFLAGS-mmap64.os): Likewise.
6182         (CFLAGS-semtimedop.os): Likewise.
6183         (CFLAGS-semtimedop.c): Renamed to ...
6184         (CFLAGS-semtimedop.o): This.
6186 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6188         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6189         warning message.
6191 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6193         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6194         * Makefile ($(objpfx)c++-types-check.out): Filter out
6195         $(+gccwarn-c) instead of -Wstrict-prototypes.
6197         * io/fts.c (fts_open): Convert to prototype-style function
6198         definition.
6199         * malloc/mcheck.c (mcheck): Likewise.
6200         (mcheck_pedantic): Likewise.
6201         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6202         internal_function.
6203         (re_search_internal): Likewise.
6204         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6205         prototype-style function definition.
6206         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6207         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6208         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6209         (xdr_utmpptr): Likewise.
6210         (xdr_utmparr): Likewise.
6211         (xdr_utmpidle): Likewise.
6212         (xdr_utmpidleptr): Likewise.
6213         (xdr_utmpidlearr): Likewise.
6215         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6216         log, log10 and log2.
6217         * math/auto-libm-test-out: Regenerated.
6218         * math/libm-test.inc (fmod_test_data): Add more tests.
6219         (fpclassify_test_data): Likewise.
6220         (frexp_test_data): Likewise.
6221         (hypot_test_data): Likewise.
6222         (ilogb_test_data): Likewise.
6224 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6226         * debug/fortify_fail.c (__fortify_fail): Convert to
6227         prototype-style function definition.  Use internal_function.
6228         * libio/genops.c (save_for_backup): Convert to prototype-style
6229         function definition.
6230         * libio/wgenops.c (save_for_wbackup): Likewise.
6231         * login/grantpt.c (grantpt): Likewise.
6232         * login/ptsname.c (ptsname): Likewise.
6233         (__ptsname_r): Likewise.
6234         * login/unlockpt.c (unlockpt): Likewise.
6235         * mach/msgserver.c (__mach_msg_server): Likewise.
6236         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6237         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6238         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6239         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6240         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6241         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6242         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6243         Likewise.
6244         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6245         internal_function.
6246         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6247         prototype-style function definition.
6248         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6249         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6250         (__pthread_create_2_0): Likewise.
6251         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6252         * nptl/register-atfork.c (__register_atfork): Likewise.
6253         * posix/glob.c (glob): Likewise.
6254         * posix/regcomp.c (re_comp): Likewise.
6255         * posix/regexec.c (re_exec): Likewise.
6256         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6257         [!__STDC__]: Remove conditional code.
6258         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6259         [!__STDC__]: Remove conditional code.
6260         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6261         [!__STDC__]: Remove conditional code.
6262         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6263         [!__STDC__]: Remove conditional code.
6264         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6265         [!__STDC__]: Remove conditional code.
6266         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6267         [!__STDC__]: Remove conditional code.
6268         * stdlib/mul.c [__STDC__]: Make code unconditional.
6269         [!__STDC__]: Remove conditional code.
6270         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6271         [!__STDC__]: Remove conditional code.
6272         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6273         [!__STDC__]: Remove conditional code.
6274         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6275         function definition.
6276         (STRTOF): Likewise.
6277         * stdlib/strtod_l.c (__STRTOF): Likewise.
6278         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6279         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6280         (__strtol_l): Likewise.
6281         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6282         [!__STDC__]: Remove conditional code.
6283         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6284         definition.
6285         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6286         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6287         type.
6288         (__strcasecmp): Convert to prototype-style function definition.
6289         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6290         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6291         type.
6292         (__strncasecmp): Convert to prototype-style function definition.
6293         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6294         * sunrpc/xdr.c (xdr_union): Likewise.
6295         * sunrpc/xdr_array.c (xdr_array): Likewise.
6296         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6297         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6298         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6299         Likewise.
6300         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6301         Likewise.
6302         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6303         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6304         Likewise.
6305         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6306         (LOCALE_PARAM_PROTO): Likewise.
6307         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6308         argument type.
6309         (ut_argument_spec): Remove macro.
6310         (ut_argument_spec_iso): Rename to ut_argument_spec.
6311         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6312         prototype-style function definition.
6313         (memcpy_uppcase): Likewise.
6314         (__strftime_internal): Likewise.
6315         (my_strftime): Likewise.
6316         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6317         (LOCALE_PARAM_DECL): Likewise.
6318         [_LIBC] (LOCALE_PARAM): Include argument type.
6319         (__strptime_internal): Convert to prototype-style function
6320         definition.
6321         (strptime): Likewise.
6322         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6323         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6324         type.
6325         (__wcscasecmp): Convert to prototype-style function definition.
6326         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6327         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6328         type.
6329         (__wcsncasecmp): Convert to prototype-style function definition.
6331         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6332         function definition.
6333         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6334         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6335         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6336         * elf/dl-minimal.c (_itoa): Likewise.
6337         * hurd/hurdmalloc.c (malloc): Likewise.
6338         (free): Likewise.
6339         (realloc): Likewise.
6340         * inet/inet6_option.c (inet6_option_space): Likewise.
6341         (inet6_option_init): Likewise.
6342         (inet6_option_append): Likewise.
6343         (inet6_option_alloc): Likewise.
6344         (inet6_option_next): Likewise.
6345         (inet6_option_find): Likewise.
6346         * io/ftw.c (FTW_NAME): Likewise.
6347         (NFTW_NAME): Likewise.
6348         (NFTW_NEW_NAME): Likewise.
6349         (NFTW_OLD_NAME): Likewise.
6350         * libio/iofwide.c (_IO_fwide): Likewise.
6351         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6352         (_IO_str_init_static): Likewise.
6353         (_IO_str_init_readonly): Likewise.
6354         (_IO_str_overflow): Likewise.
6355         (_IO_str_underflow): Likewise.
6356         (_IO_str_count): Likewise.
6357         (_IO_str_seekoff): Likewise.
6358         (_IO_str_pbackfail): Likewise.
6359         (_IO_str_finish): Likewise.
6360         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6361         (_IO_wstr_overflow): Likewise.
6362         (_IO_wstr_underflow): Likewise.
6363         (_IO_wstr_count): Likewise.
6364         (_IO_wstr_seekoff): Likewise.
6365         (_IO_wstr_pbackfail): Likewise.
6366         (_IO_wstr_finish): Likewise.
6367         * locale/programs/localedef.c (normalize_codeset): Likewise.
6368         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6369         (add_locales_to_archive): Likewise.
6370         (delete_locales_from_archive): Likewise.
6371         * malloc/malloc.c (__libc_mallinfo): Likewise.
6372         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6373         * misc/tsearch.c (__tfind): Likewise.
6374         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6375         * nptl/pthread_attr_getdetachstate.c
6376         (__pthread_attr_getdetachstate): Likewise.
6377         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6378         Likewise.
6379         * nptl/pthread_attr_getinheritsched.c
6380         (__pthread_attr_getinheritsched): Likewise.
6381         * nptl/pthread_attr_getschedparam.c
6382         (__pthread_attr_getschedparam): Likewise.
6383         * nptl/pthread_attr_getschedpolicy.c
6384         (__pthread_attr_getschedpolicy): Likewise.
6385         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6386         Likewise.
6387         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6388         Likewise.
6389         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6390         Likewise.
6391         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6392         Likewise.
6393         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6394         (__pthread_attr_init_2_0): Likewise.
6395         * nptl/pthread_attr_setdetachstate.c
6396         (__pthread_attr_setdetachstate): Likewise.
6397         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6398         Likewise.
6399         * nptl/pthread_attr_setinheritsched.c
6400         (__pthread_attr_setinheritsched): Likewise.
6401         * nptl/pthread_attr_setschedparam.c
6402         (__pthread_attr_setschedparam): Likewise.
6403         * nptl/pthread_attr_setschedpolicy.c
6404         (__pthread_attr_setschedpolicy): Likewise.
6405         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6406         Likewise.
6407         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6408         Likewise.
6409         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6410         Likewise.
6411         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6412         Likewise.
6413         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6414         Likewise.
6415         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6416         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6417         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6418         use internal_function.
6419         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6420         prototype-style function definition.
6421         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6422         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6423         internal_function.
6424         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6425         Convert to prototype-style function definition.
6426         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6427         Likewise.
6428         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6429         Likewise.
6430         (__pthread_mutex_unlock): Likewise.
6431         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6432         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6433         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6434         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6435         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6436         * nss/makedb.c (process_input): Likewise.
6437         * posix/fnmatch.c (__strchrnul): Likewise.
6438         (__wcschrnul): Likewise.
6439         (fnmatch): Likewise.
6440         * posix/fnmatch_loop.c (FCT): Likewise.
6441         * posix/glob.c (globfree): Likewise.
6442         (__glob_pattern_type): Likewise.
6443         (__glob_pattern_p): Likewise.
6444         * posix/regcomp.c (re_compile_pattern): Likewise.
6445         (re_set_syntax): Likewise.
6446         (re_compile_fastmap): Likewise.
6447         (regcomp): Likewise.
6448         (regerror): Likewise.
6449         (regfree): Likewise.
6450         * posix/regexec.c (regexec): Likewise.
6451         (re_match): Likewise.
6452         (re_search): Likewise.
6453         (re_match_2): Likewise.
6454         (re_search_2): Likewise.
6455         (re_search_stub): Likewise.  Use internal_function
6456         (re_copy_regs): Likewise.
6457         (re_set_registers): Convert to prototype-style function
6458         definition.
6459         (prune_impossible_nodes): Likewise.  Use internal_function.
6460         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6461         prototype-style function definition.
6462         (inet_net_pton_ipv4): Likewise.
6463         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6464         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6465         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6466         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6467         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6468         Make variadic.
6469         * time/strptime_l.c (localtime_r): Convert to prototype-style
6470         function definition.
6471         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6472         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6473         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6474         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6476         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6477         definition.
6478         (_ufc_doit_r): Likewise.
6479         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6480         (_ufc_output_conversion_r): Likewise.
6481         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6482         * inet/rcmd.c (rcmd_af): Likewise.
6483         (rcmd): Likewise.
6484         (ruserok_af): Likewise.
6485         (ruserok): Likewise.
6486         (ruserok2_sa): Likewise.
6487         (ruserok_sa): Likewise.
6488         (iruserok_af): Likewise.
6489         (iruserok): Likewise.
6490         (__ivaliduser): Likewise.
6491         (__validuser2_sa): Likewise.
6492         * inet/rexec.c (rexec_af): Likewise.
6493         (rexec): Likewise.
6494         * inet/ruserpass.c (ruserpass): Likewise.
6495         * locale/programs/xmalloc.c (xcalloc): Likewise.
6496         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6497         * math/w_drem.c (__drem): Likewise.
6498         * math/w_dremf.c (__dremf): Likewise.
6499         * math/w_dreml.c (__dreml): Likewise.
6500         * misc/daemon.c (daemon): Likewise.
6501         * resolv/res_debug.c (p_fqnname): Likewise.
6502         * stdlib/div.c (div): Likewise.
6503         * string/memcmp.c (memcmp_bytes): Likewise.
6504         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6505         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6507         * crypt/cert.c (main): Convert to prototype-style function
6508         definition.
6509         * io/pipe.c (__pipe): Likewise.
6510         * io/pipe2.c (__pipe2): Likewise.
6511         * misc/futimesat.c (futimesat): Likewise.
6512         * misc/utimes.c (__utimes): Likewise.
6513         * posix/execve.c (__execve): Likewise.
6514         * posix/execvp.c (execvp): Likewise.
6515         * posix/execvpe.c (__execvpe): Likewise.
6516         * posix/fexecve.c (fexecve): Likewise.
6517         * socket/socketpair.c (socketpair): Likewise.
6518         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6519         * stdlib/erand48.c (erand48): Likewise.
6520         * stdlib/erand48_r.c (__erand48_r): Likewise.
6521         * stdlib/jrand48.c (jrand48): Likewise.
6522         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6523         * stdlib/lcong48.c (lcong48): Likewise.
6524         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6525         * stdlib/nrand48.c (nrand48): Likewise.
6526         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
6527         * stdlib/seed48.c (seed48): Likewise.
6528         * stdlib/seed48_r.c (__seed48_r): Likewise.
6529         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
6530         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
6531         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
6533 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6535         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
6536         * configure: Regenerated.
6537         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
6538         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
6539         unconditional.
6540         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6541         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6542         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6543         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6544         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6545         unconditional.
6546         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6548         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6549         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6551         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6552         function definition.
6553         * crypt/crypt_util.c (__encrypt_r): Likewise.
6554         * libio/genops.c (_IO_no_init): Likewise.
6555         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6556         (_IO_old_fopencookie): Likewise.
6557         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6558         * libio/iogetline.c (_IO_getline): Likewise.
6559         (_IO_getline_info): Likewise.
6560         * libio/iogetwline.c (_IO_getwline): Likewise.
6561         (_IO_getwline_info): Likewise.
6562         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6563         * libio/vswprintf.c (_IO_vswprintf): Likewise.
6564         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
6565         (find_entry): Likewise.
6566         (iterate_table): Likewise.
6567         (lookup): Likewise.
6568         * login/forkpty.c (forkpty): Likewise.
6569         * misc/hsearch_r.c (__hsearch_r): Likewise.
6570         * misc/select.c (__select): Likewise.
6571         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
6572         Likewise.
6573         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
6574         Likewise.
6575         * nptl/old_pthread_cond_timedwait.c
6576         (__pthread_cond_timedwait_2_0): Likewise.
6577         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6578         * nptl/pthread_barrierattr_getpshared.c
6579         (pthread_barrierattr_getpshared): Likewise.
6580         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6581         Likewise.
6582         * nptl/pthread_mutex_setprioceiling.c
6583         (pthread_mutex_setprioceiling): Likewise.
6584         * nptl/pthread_mutexattr_getprioceiling.c
6585         (pthread_mutexattr_getprioceiling): Likewise.
6586         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6587         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6588         Likewise.
6589         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6590         Likewise.
6591         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
6592         Likewise.
6593         * socket/recvfrom.c (__recvfrom): Likewise.
6594         * socket/sendto.c (__sendto): Likewise.
6595         * socket/setsockopt.c (__setsockopt): Likewise.
6596         * stdio-common/_itoa.c (_itoa): Likewise.
6597         * stdio-common/_itowa.c (_itowa): Likewise.
6598         * stdio-common/reg-printf.c (__register_printf_specifier):
6599         Likewise.
6600         (__register_printf_function): Likewise.
6601         * stdio-common/tempname.c (__path_search): Likewise.
6602         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
6603         * stdlib/mul_1.c (mpn_mul_1): Likewise.
6604         * stdlib/random_r.c (__initstate_r): Likewise.
6605         * stdlib/setenv.c (__add_to_environ): Likewise.
6606         * stdlib/submul_1.c (mpn_submul_1): Likewise.
6607         * streams/getpmsg.c (getpmsg): Likewise.
6608         * streams/putmsg.c (putmsg): Likewise.
6609         * streams/putpmsg.c (putpmsg): Likewise.
6610         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
6611         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6612         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
6613         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
6614         * sunrpc/pm_getport.c (pmap_getport): Likewise.
6615         * sunrpc/svc_udp.c (cache_get): Likewise.
6616         * sunrpc/xdr_array.c (xdr_vector): Likewise.
6617         * sysdeps/mach/hurd/getcwd.c
6618         (__canonicalize_directory_name_internal): Likewise.
6619         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
6620         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
6621         * sysdeps/mach/hurd/select.c (__select): Likewise.
6622         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6623         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
6624         * sysdeps/sparc/nptl/pthread_barrier_init.c
6625         (__pthread_barrier_init): Likewise.
6626         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
6627         (__pthread_cond_timedwait): Likewise.
6628         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
6629         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
6630         Likewise.
6631         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
6632         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
6633         Likewise.
6634         * sysvipc/semtimedop.c (semtimedop): Likewise.
6635         * time/setitimer.c (__setitimer): Likewise.
6636         * time/strftime_l.c (emacs_strftime): Likewise.
6638 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6640         * config.make.in (have-ssp): Delete.
6641         (stack-protector): New variable.
6642         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
6643         cache test for -fstack-protector-strong.  Export stack_protector to
6644         the best ssp flag.
6645         * configure: Regenerated.
6646         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
6647         * nscd/Makefile (CFLAGS-nscd): Likewise.
6648         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6650 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
6652         [BZ #19122]
6653         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
6654         attribute_hidden.
6656 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6658         [BZ #18743]
6659         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
6660         code to...
6661         (ELIDE_LOCK): ...here.
6662         (__get_new_count): New function with part of the code from
6663         __elide_lock that updates the value of adapt_count after a
6664         transaction abort.
6665         (__elided_trylock): Moved this code to...
6666         (ELIDE_TRYLOCK): ...here.
6668 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6670         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
6671         * configure: Regenerate.
6672         * INSTALL: Regenerate.
6673         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
6674         and tweak grammar.
6676 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
6678         * login/programs/pt_chown.c: Include signal.h
6679         (main): Clear any signal mask from the parent process.
6681 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6683         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
6684         * configure: Regenerated.
6685         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
6686         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
6687         $(gnu89-inline-CFLAGS).
6689         * configure.ac (libc_cv_asm_weak_directive): Remove configure
6690         test.
6691         (libc_cv_asm_weakext_directive): Likewise.
6692         * configure: Regenerated.
6693         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
6694         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
6695         * include/libc-symbols.h
6696         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
6697         #error.
6698         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
6699         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
6701         * sysdeps/arm/backtrace.c (__backtrace): Convert to
6702         prototype-style function definition.
6703         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6704         * sysdeps/i386/ffs.c (__ffs): Likewise.
6705         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6706         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
6707         Likewise.
6708         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6709         Likewise.
6710         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6711         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6712         Likewise.
6713         * sysdeps/m68k/ffs.c (__ffs): Likewise.
6714         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
6715         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
6716         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
6717         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
6718         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
6719         * sysdeps/mach/hurd/access.c (__access): Likewise.
6720         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
6721         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
6722         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6723         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
6724         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
6725         (cthread_getspecific): Likewise.
6726         (cthread_setspecific): Likewise.
6727         (__libc_getspecific): Likewise.
6728         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
6729         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
6730         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
6731         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
6732         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
6733         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
6734         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
6735         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
6736         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
6737         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
6738         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
6739         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6740         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
6741         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
6742         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
6743         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
6744         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
6745         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
6746         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
6747         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
6748         * sysdeps/mach/hurd/link.c (__link): Likewise.
6749         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
6750         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
6751         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6752         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
6753         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6754         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
6755         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
6756         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
6757         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6758         * sysdeps/mach/hurd/rename.c (rename): Likewise.
6759         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
6760         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
6761         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
6762         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
6763         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
6764         * sysdeps/mach/hurd/send.c (__send): Likewise.
6765         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
6766         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
6767         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
6768         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
6769         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
6770         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
6771         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
6772         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
6773         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
6774         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
6775         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
6776         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
6777         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
6778         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
6779         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6780         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6781         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
6782         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
6783         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
6784         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6785         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
6786         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
6787         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
6788         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
6789         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
6790         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
6791         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
6792         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6793         * sysdeps/posix/alarm.c (alarm): Likewise.
6794         * sysdeps/posix/cuserid.c (cuserid): Likewise.
6795         * sysdeps/posix/dirfd.c (dirfd): Likewise.
6796         * sysdeps/posix/dup.c (__dup): Likewise.
6797         * sysdeps/posix/dup2.c (__dup2): Likewise.
6798         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
6799         (main): Likewise.
6800         * sysdeps/posix/flock.c (__flock): Likewise.
6801         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6802         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6803         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
6804         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
6805         * sysdeps/posix/isatty.c (__isatty): Likewise.
6806         * sysdeps/posix/killpg.c (killpg): Likewise.
6807         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6808         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
6809         * sysdeps/posix/raise.c (raise): Likewise.
6810         * sysdeps/posix/remove.c (remove): Likewise.
6811         * sysdeps/posix/rename.c (rename): Likewise.
6812         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
6813         * sysdeps/posix/seekdir.c (seekdir): Likewise.
6814         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6815         * sysdeps/posix/sigignore.c (sigignore): Likewise.
6816         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
6817         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
6818         * sysdeps/posix/sigset.c (sigset): Likewise.
6819         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
6820         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6821         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
6822         * sysdeps/posix/time.c (time): Likewise.
6823         * sysdeps/posix/ttyname.c (getttyname): Likewise.
6824         (ttyname): Likewise.
6825         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
6826         * sysdeps/posix/utime.c (utime): Likewise.
6827         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
6828         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6829         Likewise.
6830         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
6831         (pthread_spin_trylock): Likewise.
6832         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
6833         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
6834         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
6835         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
6836         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
6837         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
6838         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
6839         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
6840         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
6841         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
6842         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
6843         * sysdeps/s390/ffs.c (__ffs): Likewise.
6844         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
6845         Likewise.
6846         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6847         Likewise.
6848         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
6849         Likewise.
6850         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
6851         (pthread_barrier_destroy): Likewise.
6852         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6853         (__pthread_barrier_wait): Likewise.
6854         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
6855         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6856         (__pthread_barrier_wait): Likewise.
6857         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
6858         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
6859         (memcmp_not_common_alignment): Likewise.
6860         (MEMCMP): Likewise.
6861         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
6862         (_wordcopy_fwd_dest_aligned): Likewise.
6863         (_wordcopy_bwd_aligned): Likewise.
6864         (_wordcopy_bwd_dest_aligned): Likewise.
6865         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
6866         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
6867         * sysdeps/unix/bsd/stty.c (stty): Likewise.
6868         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
6869         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
6870         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
6871         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
6872         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
6873         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
6874         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
6875         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
6876         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6877         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
6878         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
6879         * sysdeps/unix/stime.c (stime): Likewise.
6880         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
6881         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
6882         Likewise.  Use internal_function.
6883         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
6884         Convert to prototype-style function definition.
6885         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6886         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6887         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
6888         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6889         Likewise.  Use internal_function.
6890         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
6891         prototype-style function definition
6892         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6893         Likewise.
6894         (__getlogin_r): Likewise.
6895         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
6896         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
6897         (__pthread_cond_broadcast): Likewise.
6898         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
6899         (__pthread_cond_destroy): Likewise.
6900         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
6901         (__pthread_cond_init): Likewise.
6902         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
6903         (__pthread_cond_signal): Likewise.
6904         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6905         (__pthread_cond_wait): Likewise.
6906         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
6907         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6908         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
6909         Likewise.
6910         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
6911         Likewise.
6912         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6913         Likewise.
6914         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
6915         Likewise.
6916         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
6917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
6918         (__ftruncate64): Likewise.
6919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
6920         (truncate64): Likewise.
6921         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
6922         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
6923         (pthread_getcpuclockid): Likewise.
6924         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6925         Likewise.
6926         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6927         Likewise.
6928         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
6929         Likewise.
6930         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6931         Likewise.
6932         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
6933         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
6934         (__libc_sigaction): Likewise.
6935         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
6936         Likewise.
6937         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6938         (__sigprocmask): Likewise.
6939         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
6940         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
6941         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
6942         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6943         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6944         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
6945         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6946         Likewise.
6947         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6948         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6949         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6950         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
6951         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
6952         Likewise.
6953         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6954         (__sigprocmask): Likewise.
6955         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
6956         (cfgetispeed): Likewise.
6957         (cfsetospeed): Likewise.
6958         (cfsetispeed): Likewise.
6959         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
6960         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
6961         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6962         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6963         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
6964         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
6965         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
6966         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
6967         Likewise.
6968         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
6969         Likewise.
6970         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
6971         Likewise.
6972         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6973         Likewise.
6974         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6976 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6978         sunrpc: Rewrite with explicit TLS access using __thread.
6979         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
6980         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
6981         directly.
6982         (__rpc_thread_variables): Access thread_rpc_vars directly.
6983         Eliminate redundant assignment of the tvp variable.
6985 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6987         malloc: Rewrite with explicit TLS access using __thread.
6988         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
6989         (tsd_setspecific, tsd_getspecific): Remove.
6990         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
6991         (tsd_setspecific, tsd_getspecific): Likewise.
6992         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
6993         (tsd_setspecific, tsd_getspecific): Likewise.
6994         * malloc/arena.c (thread_arena): New TLS variable.
6995         (arena_key): Remove variable.
6996         (arena_get): Use thread_arena.
6997         (arena_lookup): Remove macro.
6998         (malloc_atfork, free_atfork, ptmalloc_lock_all)
6999         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
7000         (_int_new_arena, get_free_list, reused_arena)
7001         (arena_thread_freeres): Use thread_arena.
7002         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
7003         tsd_getspecific, tsd_setspecific from safety annotations.
7004         (Allocating Cleared Space): Remove arena_lookup from safety
7005         annotations.
7007 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7009         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
7010         struct scratch_buffer instead of extend_alloca.
7012 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7014         * sysdeps/unix/sysv/linux/kernel-features.h
7015         (__ASSUME_SOCK_CLOEXEC): Remove.
7016         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
7017         (__have_paccept): Remove unused macro.
7018         * include/unistd.h (__have_sock_cloexec): Remove declaration.
7019         * misc/syslog.c (openlog_internal): Remove fallback code for
7020         !__ASSUME_SOCK_CLOEXEC.
7021         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
7022         missing SOCK_CLOEXEC.
7023         * nscd/connections.c (have_sock_cloexec): Remove definition.
7024         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7025         * nscd/nscd_helper.c (open_socket): Remove fallback code for
7026         !__ASSUME_SOCK_CLOEXEC.
7027         * resolv/res_send.c (__have_o_nonblock): Remove definition.
7028         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7029         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
7030         definition.
7031         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
7032         code for !__ASSUME_SOCK_CLOEXEC.
7034 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7036         [BZ #18982]
7037         * manual/stdio.texi (Variable Arguments Output): Add portability
7038         note, explaining that vfprintf clobbers the va_list pointer.
7040 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7042         * math/libm-test.inc (fabs_test_data): Add more tests.
7043         (fdim_test_data): Likewise.
7044         (fma_test_data): Likewise.
7045         (fmax_test_data): Likewise.
7046         (fmin_test_data): Likewise.
7047         (fmod_test_data): Likewise.
7049 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
7051         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
7052         data.
7054 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7056         * math/libm-test.inc (ceil_test_data): Add more tests and more
7057         expectations for "inexact".
7058         (floor_test_data): Add more tests.
7059         (round_test_data): Likewise.
7060         (trunc_test_data): Likewise.
7062         * crypt/cert.c (good_bye): Convert to prototype-style function
7063         definition.
7064         (get8): Likewise.
7065         (put8): Likewise.
7066         * crypt/crypt-entry.c (crypt): Likewise.
7067         (__fcrypt): Likewise.
7068         * crypt/crypt_util.c (_ufc_prbits): Likewise.
7069         (_ufc_set_bits): Likewise.
7070         (_ufc_clearmem): Likewise.
7071         (__init_des_r): Likewise.
7072         (shuffle_sb): Likewise.
7073         (shuffle_sb): Likewise.
7074         (_ufc_setup_salt_r): Likewise.
7075         (_ufc_mk_keytab_r): Likewise.
7076         (_ufc_dofinalperm_r): Likewise.
7077         (encrypt): Likewise.
7078         (__setkey_r): Likewise.
7079         (setkey): Likewise.
7080         * crypt/md5.c (md5_init_ctx): Likewise.
7081         (md5_read_ctx): Likewise.
7082         (md5_finish_ctx): Likewise.
7083         (md5_stream): Likewise.
7084         (md5_buffer): Likewise.
7085         (md5_process_bytes): Likewise.
7086         * crypt/sha256.c (__sha256_init_ctx): Likewise.
7087         (__sha256_finish_ctx): Likewise.
7088         (__sha256_process_bytes): Likewise.
7089         * crypt/sha512.c (__sha512_init_ctx): Likewise.
7090         (__sha512_finish_ctx): Likewise.
7091         (__sha512_process_bytes): Likewise.
7092         * ctype/isctype.c (__isctype): Likewise.
7093         * debug/backtrace.c (__backtrace): Likewise.
7094         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
7095         * debug/fgets_chk.c (__fgets_chk): Likewise.
7096         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
7097         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
7098         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7099         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7100         * debug/memset_chk.c (__memset_chk): Likewise.
7101         * debug/strcat_chk.c (__strcat_chk): Likewise.
7102         * debug/strncat_chk.c (__strncat_chk): Likewise.
7103         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
7104         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
7105         * dirent/dirfd.c (dirfd): Likewise.
7106         * dirent/getdents.c (__getdirentries): Likewise.
7107         * dirent/getdents64.c (getdirentries64): Likewise.
7108         * dirent/rewinddir.c (__rewinddir): Likewise.
7109         * dirent/seekdir.c (seekdir): Likewise.
7110         * dirent/telldir.c (telldir): Likewise.
7111         * elf/sln.c (makesymlinks): Likewise.
7112         (makesymlink): Likewise.
7113         * gmon/gmon.c (__moncontrol): Likewise.
7114         (__monstartup): Likewise.
7115         (write_hist): Likewise.
7116         (write_call_graph): Likewise.
7117         (write_bb_counts): Likewise.
7118         * grp/setgroups.c (setgroups): Likewise.
7119         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7120         * inet/inet_net.c (inet_network): Likewise.
7121         * inet/inet_netof.c (inet_netof): Likewise.
7122         * inet/rcmd.c (rresvport_af): Likewise.
7123         (rresvport): Likewise.
7124         * io/access.c (__access): Likewise.
7125         * io/chdir.c (__chdir): Likewise.
7126         * io/chmod.c (__chmod): Likewise.
7127         * io/chown.c (__chown): Likewise.
7128         * io/close.c (__close): Likewise.
7129         * io/creat.c (creat): Likewise.
7130         * io/creat64.c (creat64): Likewise.
7131         * io/dup.c (__dup): Likewise.
7132         * io/dup2.c (__dup2): Likewise.
7133         * io/dup3.c (__dup3): Likewise.
7134         * io/euidaccess.c (__euidaccess): Likewise.
7135         * io/faccessat.c (faccessat): Likewise.
7136         * io/fchmod.c (__fchmod): Likewise.
7137         * io/fchmodat.c (fchmodat): Likewise.
7138         * io/fchown.c (__fchown): Likewise.
7139         * io/fchownat.c (fchownat): Likewise.
7140         * io/fcntl.c (__fcntl): Likewise.
7141         * io/flock.c (__flock): Likewise.
7142         * io/fts.c (fts_load): Likewise.
7143         (fts_close): Likewise.
7144         (fts_read): Likewise.
7145         (fts_set): Likewise.
7146         (fts_children): Likewise.
7147         (fts_build): Likewise.
7148         (fts_stat): Likewise.
7149         (fts_sort): Likewise.
7150         (fts_alloc): Likewise.
7151         (fts_lfree): Likewise.
7152         (fts_palloc): Likewise.
7153         (fts_padjust): Likewise.
7154         (fts_maxarglen): Likewise.
7155         (fts_safe_changedir): Likewise.
7156         * io/getwd.c (getwd): Likewise.
7157         * io/isatty.c (__isatty): Likewise.
7158         * io/lchown.c (__lchown): Likewise.
7159         * io/link.c (__link): Likewise.
7160         * io/linkat.c (linkat): Likewise.
7161         * io/lseek.c (__libc_lseek): Likewise.
7162         * io/mkdir.c (__mkdir): Likewise.
7163         * io/mkdirat.c (mkdirat): Likewise.
7164         * io/mkfifo.c (mkfifo): Likewise.
7165         * io/mkfifoat.c (mkfifoat): Likewise.
7166         * io/open.c (__libc_open): Likewise.
7167         * io/open64.c (__libc_open64): Likewise.
7168         * io/readlink.c (__readlink): Likewise.
7169         * io/readlinkat.c (readlinkat): Likewise.
7170         * io/rmdir.c (__rmdir): Likewise.
7171         * io/symlink.c (__symlink): Likewise.
7172         * io/symlinkat.c (symlinkat): Likewise.
7173         * io/ttyname.c (ttyname): Likewise.
7174         * io/ttyname_r.c (__ttyname_r): Likewise.
7175         * io/umask.c (__umask): Likewise.
7176         * io/unlink.c (__unlink): Likewise.
7177         * io/unlinkat.c (unlinkat): Likewise.
7178         * io/utime.c (utime): Likewise.
7179         * libio/clearerr.c (clearerr): Likewise.
7180         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7181         * libio/feof.c (_IO_feof): Likewise.
7182         * libio/feof_u.c (feof_unlocked): Likewise.
7183         * libio/ferror.c (_IO_ferror): Likewise.
7184         * libio/ferror_u.c (ferror_unlocked): Likewise.
7185         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7186         * libio/fileno.c (__fileno): Likewise.
7187         * libio/fputc.c (fputc): Likewise.
7188         * libio/fputc_u.c (fputc_unlocked): Likewise.
7189         * libio/fputwc.c (fputwc): Likewise.
7190         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7191         * libio/freopen.c (freopen): Likewise.
7192         * libio/freopen64.c (freopen64): Likewise.
7193         * libio/fseek.c (fseek): Likewise.
7194         * libio/fseeko.c (fseeko): Likewise.
7195         * libio/fseeko64.c (fseeko64): Likewise.
7196         * libio/ftello.c (__ftello): Likewise.
7197         * libio/ftello64.c (ftello64): Likewise.
7198         * libio/fwide.c (fwide): Likewise.
7199         * libio/genops.c (_IO_un_link): Likewise.
7200         (_IO_link_in): Likewise.
7201         (_IO_least_marker): Likewise.
7202         (_IO_switch_to_main_get_area): Likewise.
7203         (_IO_switch_to_backup_area): Likewise.
7204         (_IO_switch_to_get_mode): Likewise.
7205         (_IO_free_backup_area): Likewise.
7206         (_IO_switch_to_put_mode): Likewise.
7207         (__overflow): Likewise.
7208         (__underflow): Likewise.
7209         (__uflow): Likewise.
7210         (_IO_setb): Likewise.
7211         (_IO_doallocbuf): Likewise.
7212         (_IO_default_underflow): Likewise.
7213         (_IO_default_uflow): Likewise.
7214         (_IO_default_xsputn): Likewise.
7215         (_IO_sgetn): Likewise.
7216         (_IO_default_xsgetn): Likewise.
7217         (_IO_sync): Likewise.
7218         (_IO_default_setbuf): Likewise.
7219         (_IO_default_seekpos): Likewise.
7220         (_IO_default_doallocate): Likewise.
7221         (_IO_init): Likewise.
7222         (_IO_old_init): Likewise.
7223         (_IO_default_sync): Likewise.
7224         (_IO_default_finish): Likewise.
7225         (_IO_default_seekoff): Likewise.
7226         (_IO_sputbackc): Likewise.
7227         (_IO_sungetc): Likewise.
7228         (_IO_set_column): Likewise.
7229         (_IO_set_column): Likewise.
7230         (_IO_adjust_column): Likewise.
7231         (_IO_get_column): Likewise.
7232         (_IO_init_marker): Likewise.
7233         (_IO_remove_marker): Likewise.
7234         (_IO_marker_difference): Likewise.
7235         (_IO_marker_delta): Likewise.
7236         (_IO_seekmark): Likewise.
7237         (_IO_unsave_markers): Likewise.
7238         (_IO_nobackup_pbackfail): Likewise.
7239         (_IO_default_pbackfail): Likewise.
7240         (_IO_default_seek): Likewise.
7241         (_IO_default_stat): Likewise.
7242         (_IO_default_read): Likewise.
7243         (_IO_default_write): Likewise.
7244         (_IO_default_showmanyc): Likewise.
7245         (_IO_default_imbue): Likewise.
7246         (_IO_iter_next): Likewise.
7247         (_IO_iter_file): Likewise.
7248         * libio/getc.c (_IO_getc): Likewise.
7249         * libio/getwc.c (_IO_getwc): Likewise.
7250         * libio/iofclose.c (_IO_new_fclose): Likewise.
7251         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7252         * libio/iofflush.c (_IO_fflush): Likewise.
7253         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7254         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7255         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7256         * libio/iofgets.c (_IO_fgets): Likewise.
7257         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7258         * libio/iofgetws.c (fgetws): Likewise.
7259         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7260         * libio/iofopen64.c (_IO_fopen64): Likewise.
7261         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7262         (_IO_cookie_write): Likewise.
7263         (_IO_cookie_seek): Likewise.
7264         (_IO_cookie_close): Likewise.
7265         (_IO_cookie_seekoff): Likewise.
7266         (_IO_old_cookie_seek): Likewise.
7267         * libio/iofputs.c (_IO_fputs): Likewise.
7268         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7269         * libio/iofputws.c (fputws): Likewise.
7270         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7271         * libio/iofread.c (_IO_fread): Likewise.
7272         * libio/iofread_u.c (__fread_unlocked): Likewise.
7273         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7274         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7275         * libio/ioftell.c (_IO_ftell): Likewise.
7276         * libio/iofwrite.c (_IO_fwrite): Likewise.
7277         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7278         * libio/iogets.c (_IO_gets): Likewise.
7279         * libio/iopadn.c (_IO_padn): Likewise.
7280         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7281         (_IO_new_popen): Likewise.
7282         (_IO_new_proc_close): Likewise.
7283         * libio/ioputs.c (_IO_puts): Likewise.
7284         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7285         (_IO_seekoff): Likewise.
7286         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7287         (_IO_seekpos): Likewise.
7288         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7289         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7290         * libio/ioungetc.c (_IO_ungetc): Likewise.
7291         * libio/ioungetwc.c (ungetwc): Likewise.
7292         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7293         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7294         * libio/iowpadn.c (_IO_wpadn): Likewise.
7295         * libio/libc_fatal.c (__libc_fatal): Likewise.
7296         * libio/memstream.c (__open_memstream): Likewise.
7297         (_IO_mem_sync): Likewise.
7298         (_IO_mem_finish): Likewise.
7299         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7300         (_IO_old_file_close_it): Likewise.
7301         (_IO_old_file_finish): Likewise.
7302         (_IO_old_file_fopen): Likewise.
7303         (_IO_old_file_attach): Likewise.
7304         (_IO_old_file_setbuf): Likewise.
7305         (_IO_old_do_write): Likewise.
7306         (old_do_write): Likewise.
7307         (_IO_old_file_underflow): Likewise.
7308         (_IO_old_file_overflow): Likewise.
7309         (_IO_old_file_sync): Likewise.
7310         (_IO_old_file_seekoff): Likewise.
7311         (_IO_old_file_write): Likewise.
7312         (_IO_old_file_xsputn): Likewise.
7313         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7314         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7315         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7316         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7317         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7318         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7319         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7320         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7321         (_IO_old_popen): Likewise.
7322         (_IO_old_proc_close): Likewise.
7323         * libio/oldpclose.c (__old_pclose): Likewise.
7324         * libio/pclose.c (__new_pclose): Likewise.
7325         * libio/peekc.c (_IO_peekc_locked): Likewise.
7326         * libio/putc.c (_IO_putc): Likewise.
7327         * libio/putc_u.c (putc_unlocked): Likewise.
7328         * libio/putchar.c (putchar): Likewise.
7329         * libio/putchar_u.c (putchar_unlocked): Likewise.
7330         * libio/putwc.c (putwc): Likewise.
7331         * libio/putwc_u.c (putwc_unlocked): Likewise.
7332         * libio/putwchar.c (putwchar): Likewise.
7333         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7334         * libio/rewind.c (rewind): Likewise.
7335         * libio/setbuf.c (setbuf): Likewise.
7336         * libio/setlinebuf.c (setlinebuf): Likewise.
7337         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7338         * libio/vscanf.c (_IO_vscanf): Likewise.
7339         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7340         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7341         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7342         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7343         (_IO_switch_to_main_wget_area): Likewise.
7344         (_IO_switch_to_wbackup_area): Likewise.
7345         (_IO_wsetb): Likewise.
7346         (_IO_wdefault_pbackfail): Likewise.
7347         (_IO_wdefault_finish): Likewise.
7348         (_IO_wdefault_uflow): Likewise.
7349         (__woverflow): Likewise.
7350         (__wuflow): Likewise.
7351         (__wunderflow): Likewise.
7352         (_IO_wdefault_xsputn): Likewise.
7353         (_IO_wdefault_xsgetn): Likewise.
7354         (_IO_wdoallocbuf): Likewise.
7355         (_IO_wdefault_doallocate): Likewise.
7356         (_IO_switch_to_wget_mode): Likewise.
7357         (_IO_free_wbackup_area): Likewise.
7358         (_IO_switch_to_wput_mode): Likewise.
7359         (_IO_sputbackwc): Likewise.
7360         (_IO_sungetwc): Likewise.
7361         (_IO_adjust_wcolumn): Likewise.
7362         (_IO_init_wmarker): Likewise.
7363         (_IO_wmarker_delta): Likewise.
7364         (_IO_seekwmark): Likewise.
7365         (_IO_unsave_wmarkers): Likewise.
7366         * libio/wmemstream.c (open_wmemstream): Likewise.
7367         (_IO_wmem_sync): Likewise.
7368         (_IO_wmem_finish): Likewise.
7369         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7370         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7371         * locale/programs/simple-hash.c (init_hash): Likewise.
7372         (delete_hash): Likewise.
7373         (insert_entry): Likewise.
7374         (set_entry): Likewise.
7375         (next_prime): Likewise.
7376         (is_prime): Likewise.
7377         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7378         (xmalloc): Likewise.
7379         (xrealloc): Likewise.
7380         * locale/programs/xstrdup.c (xstrdup): Likewise.
7381         * localedata/collate-test.c (xstrcoll): Likewise.
7382         * localedata/xfrm-test.c (xstrcmp): Likewise.
7383         * login/getlogin_r.c (__getlogin_r): Likewise.
7384         * login/getpt.c (__posix_openpt): Likewise.
7385         * login/login_tty.c (login_tty): Likewise.
7386         * login/setlogin.c (setlogin): Likewise.
7387         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7388         (mach_msg_destroy_port): Likewise.
7389         (mach_msg_destroy_memory): Likewise.
7390         * malloc/mcheck.c (flood): Likewise.
7391         * misc/acct.c (acct): Likewise.
7392         * misc/brk.c (__brk): Likewise.
7393         * misc/chflags.c (chflags): Likewise.
7394         * misc/chroot.c (chroot): Likewise.
7395         * misc/fchflags.c (fchflags): Likewise.
7396         * misc/fstab.c (getfsspec): Likewise.
7397         (getfsfile): Likewise.
7398         * misc/fsync.c (fsync): Likewise.
7399         * misc/ftruncate.c (__ftruncate): Likewise.
7400         * misc/ftruncate64.c (__ftruncate64): Likewise.
7401         * misc/getdomain.c (getdomainname): Likewise.
7402         (getdomainname): Likewise.
7403         * misc/gethostname.c (__gethostname): Likewise.
7404         * misc/getpass.c (getpass): Likewise.
7405         * misc/getttyent.c (skip): Likewise.
7406         (value): Likewise.
7407         * misc/gtty.c (gtty): Likewise.
7408         * misc/hsearch.c (hsearch): Likewise.
7409         (hcreate): Likewise.
7410         * misc/hsearch_r.c (__hcreate_r): Likewise.
7411         (__hdestroy_r): Likewise.
7412         * misc/ioctl.c (__ioctl): Likewise.
7413         * misc/mkdtemp.c (mkdtemp): Likewise.
7414         * misc/mkostemp.c (mkostemp): Likewise.
7415         * misc/mkostemp64.c (mkostemp64): Likewise.
7416         * misc/mkostemps.c (mkostemps): Likewise.
7417         * misc/mkostemps64.c (mkostemps64): Likewise.
7418         * misc/mkstemp.c (mkstemp): Likewise.
7419         * misc/mkstemp64.c (mkstemp64): Likewise.
7420         * misc/mkstemps.c (mkstemps): Likewise.
7421         * misc/mkstemps64.c (mkstemps64): Likewise.
7422         * misc/mktemp.c (__mktemp): Likewise.
7423         * misc/preadv.c (preadv): Likewise.
7424         * misc/preadv64.c (preadv64): Likewise.
7425         * misc/pwritev.c (pwritev): Likewise.
7426         * misc/pwritev64.c (pwritev64): Likewise.
7427         * misc/readv.c (__readv): Likewise.
7428         * misc/revoke.c (revoke): Likewise.
7429         * misc/setdomain.c (setdomainname): Likewise.
7430         * misc/setegid.c (setegid): Likewise.
7431         * misc/seteuid.c (seteuid): Likewise.
7432         * misc/sethostid.c (sethostid): Likewise.
7433         * misc/sethostname.c (sethostname): Likewise.
7434         * misc/setregid.c (__setregid): Likewise.
7435         * misc/setreuid.c (__setreuid): Likewise.
7436         * misc/sstk.c (sstk): Likewise.
7437         * misc/stty.c (stty): Likewise.
7438         * misc/syscall.c (syscall): Likewise.
7439         * misc/syslog.c (setlogmask): Likewise.
7440         * misc/truncate.c (__truncate): Likewise.
7441         * misc/truncate64.c (truncate64): Likewise.
7442         * misc/ualarm.c (ualarm): Likewise.
7443         * misc/usleep.c (usleep): Likewise.
7444         * misc/ustat.c (ustat): Likewise.
7445         * misc/writev.c (__writev): Likewise.
7446         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7447         * nptl/old_pthread_cond_broadcast.c
7448         (__pthread_cond_broadcast_2_0): Likewise.
7449         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7450         Likewise.
7451         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7452         Likewise.
7453         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7454         Likewise.
7455         * nptl/pt-raise.c (raise): Likewise.
7456         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7457         Likewise.
7458         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7459         * nptl/pthread_barrierattr_destroy.c
7460         (pthread_barrierattr_destroy): Likewise.
7461         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7462         Likewise.
7463         * nptl/pthread_barrierattr_setpshared.c
7464         (pthread_barrierattr_setpshared): Likewise.
7465         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7466         Likewise.
7467         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7468         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7469         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7470         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7471         Likewise.
7472         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7473         Likewise.
7474         * nptl/pthread_condattr_getpshared.c
7475         (pthread_condattr_getpshared): Likewise.
7476         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7477         Likewise.
7478         * nptl/pthread_condattr_setpshared.c
7479         (pthread_condattr_setpshared): Likewise.
7480         * nptl/pthread_detach.c (pthread_detach): Likewise.
7481         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7482         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7483         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7484         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7485         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7486         Likewise.
7487         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7488         Likewise.
7489         * nptl/pthread_mutex_getprioceiling.c
7490         (pthread_mutex_getprioceiling): Likewise.
7491         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7492         Likewise.
7493         * nptl/pthread_mutexattr_getprotocol.c
7494         (pthread_mutexattr_getprotocol): Likewise.
7495         * nptl/pthread_mutexattr_getpshared.c
7496         (pthread_mutexattr_getpshared): Likewise.
7497         * nptl/pthread_mutexattr_getrobust.c
7498         (pthread_mutexattr_getrobust): Likewise.
7499         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7500         Likewise.
7501         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7502         Likewise.
7503         * nptl/pthread_mutexattr_setprioceiling.c
7504         (pthread_mutexattr_setprioceiling): Likewise.
7505         * nptl/pthread_mutexattr_setprotocol.c
7506         (pthread_mutexattr_setprotocol): Likewise.
7507         * nptl/pthread_mutexattr_setpshared.c
7508         (pthread_mutexattr_setpshared): Likewise.
7509         * nptl/pthread_mutexattr_setrobust.c
7510         (pthread_mutexattr_setrobust): Likewise.
7511         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7512         Likewise.
7513         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7514         Likewise.
7515         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7516         Likewise.
7517         * nptl/pthread_rwlockattr_getkind_np.c
7518         (pthread_rwlockattr_getkind_np): Likewise.
7519         * nptl/pthread_rwlockattr_getpshared.c
7520         (pthread_rwlockattr_getpshared): Likewise.
7521         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7522         Likewise.
7523         * nptl/pthread_rwlockattr_setkind_np.c
7524         (pthread_rwlockattr_setkind_np): Likewise.
7525         * nptl/pthread_rwlockattr_setpshared.c
7526         (pthread_rwlockattr_setpshared): Likewise.
7527         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
7528         Likewise.
7529         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
7530         Likewise.
7531         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
7532         Likewise.
7533         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7534         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
7535         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
7536         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
7537         * nptl/sem_close.c (sem_close): Likewise.
7538         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
7539         * nptl/sem_init.c (__old_sem_init): Likewise.
7540         * nptl/sigaction.c (__sigaction): Likewise.
7541         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7542         * posix/_exit.c (_exit): Likewise.
7543         * posix/alarm.c (alarm): Likewise.
7544         * posix/confstr.c (confstr): Likewise.
7545         * posix/fpathconf.c (__fpathconf): Likewise.
7546         * posix/getgroups.c (__getgroups): Likewise.
7547         * posix/getpgid.c (__getpgid): Likewise.
7548         * posix/group_member.c (__group_member): Likewise.
7549         * posix/pathconf.c (__pathconf): Likewise.
7550         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7551         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7552         * posix/setgid.c (__setgid): Likewise.
7553         * posix/setpgid.c (__setpgid): Likewise.
7554         * posix/setuid.c (__setuid): Likewise.
7555         * posix/sleep.c (__sleep): Likewise.
7556         * posix/sysconf.c (__sysconf): Likewise.
7557         * posix/times.c (__times): Likewise.
7558         * posix/uname.c (__uname): Likewise.
7559         * posix/waitid.c (__waitid): Likewise.
7560         * pwd/getpw.c (__getpw): Likewise.
7561         * resolv/base64.c (b64_pton): Likewise.
7562         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7563         * resolv/gethnamaddr.c (Dprintf): Likewise.
7564         (gethostbyname): Likewise.
7565         (gethostbyname2): Likewise.
7566         (gethostbyaddr): Likewise.
7567         (_sethtent): Likewise.
7568         (_gethtbyname): Likewise.
7569         (_gethtbyname2): Likewise.
7570         (_gethtbyaddr): Likewise.
7571         (map_v4v6_address): Likewise.
7572         (map_v4v6_hostent): Likewise.
7573         (addrsort): Likewise.
7574         (ht_sethostent): Likewise.
7575         (ht_gethostbyname): Likewise.
7576         (ht_gethostbyaddr): Likewise.
7577         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
7578         (inet_net_ntop_ipv4): Likewise.
7579         * resolv/inet_neta.c (inet_neta): Likewise.
7580         * resolv/inet_ntop.c (inet_ntop): Likewise.
7581         (inet_ntop4): Likewise.
7582         (inet_ntop6): Likewise.
7583         * resolv/inet_pton.c (__inet_pton): Likewise.
7584         (inet_pton4): Likewise.
7585         (inet_pton6): Likewise.
7586         * resolv/res_debug.c (loc_aton): Likewise.
7587         (loc_ntoa): Likewise.
7588         * resource/getpriority.c (__getpriority): Likewise.
7589         * resource/getrusage.c (__getrusage): Likewise.
7590         * resource/nice.c (nice): Likewise.
7591         * resource/setpriority.c (__setpriority): Likewise.
7592         * resource/setrlimit64.c (setrlimit64): Likewise.
7593         * resource/vlimit.c (vlimit): Likewise.
7594         * resource/vtimes.c (vtimes): Likewise.
7595         * rt/aio_error.c (aio_error): Likewise.
7596         * rt/aio_return.c (aio_return): Likewise.
7597         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
7598         * signal/kill.c (__kill): Likewise.
7599         * signal/killpg.c (killpg): Likewise.
7600         * signal/raise.c (raise): Likewise.
7601         * signal/sigaction.c (__sigaction): Likewise.
7602         * signal/sigaddset.c (sigaddset): Likewise.
7603         * signal/sigaltstack.c (sigaltstack): Likewise.
7604         * signal/sigandset.c (sigandset): Likewise.
7605         * signal/sigblock.c (__sigblock): Likewise.
7606         * signal/sigdelset.c (sigdelset): Likewise.
7607         * signal/sigempty.c (sigemptyset): Likewise.
7608         * signal/sigfillset.c (sigfillset): Likewise.
7609         * signal/sighold.c (sighold): Likewise.
7610         * signal/sigignore.c (sigignore): Likewise.
7611         * signal/sigintr.c (siginterrupt): Likewise.
7612         * signal/sigisempty.c (sigisemptyset): Likewise.
7613         * signal/sigismem.c (sigismember): Likewise.
7614         * signal/signal.c (signal): Likewise.
7615         * signal/sigorset.c (sigorset): Likewise.
7616         * signal/sigpause.c (__sigpause): Likewise.
7617         * signal/sigpending.c (sigpending): Likewise.
7618         * signal/sigprocmask.c (__sigprocmask): Likewise.
7619         * signal/sigrelse.c (sigrelse): Likewise.
7620         * signal/sigreturn.c (__sigreturn): Likewise.
7621         * signal/sigset.c (sigset): Likewise.
7622         * signal/sigsetmask.c (__sigsetmask): Likewise.
7623         * signal/sigstack.c (sigstack): Likewise.
7624         * signal/sigsuspend.c (__sigsuspend): Likewise.
7625         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
7626         * signal/sysv_signal.c (__sysv_signal): Likewise.
7627         * socket/accept.c (accept): Likewise.
7628         * socket/accept4.c (__libc_accept4): Likewise.
7629         * socket/bind.c (__bind): Likewise.
7630         * socket/connect.c (__connect): Likewise.
7631         * socket/getpeername.c (getpeername): Likewise.
7632         * socket/getsockname.c (__getsockname): Likewise.
7633         * socket/getsockopt.c (getsockopt): Likewise.
7634         * socket/listen.c (__listen): Likewise.
7635         * socket/recv.c (__recv): Likewise.
7636         * socket/recvmsg.c (__recvmsg): Likewise.
7637         * socket/send.c (__send): Likewise.
7638         * socket/sendmsg.c (__sendmsg): Likewise.
7639         * socket/shutdown.c (shutdown): Likewise.
7640         * socket/sockatmark.c (sockatmark): Likewise.
7641         * socket/socket.c (__socket): Likewise.
7642         * stdio-common/ctermid.c (ctermid): Likewise.
7643         * stdio-common/cuserid.c (cuserid): Likewise.
7644         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
7645         * stdio-common/remove.c (remove): Likewise.
7646         * stdio-common/rename.c (rename): Likewise.
7647         * stdio-common/renameat.c (renameat): Likewise.
7648         * stdio-common/tempname.c (__gen_tempname): Likewise.
7649         * stdio-common/xbug.c (InitBuffer): Likewise.
7650         (AppendToBuffer): Likewise.
7651         (ReadFile): Likewise.
7652         * stdlib/a64l.c (a64l): Likewise.
7653         * stdlib/drand48_r.c (drand48_r): Likewise.
7654         * stdlib/getcontext.c (getcontext): Likewise.
7655         * stdlib/getenv.c (getenv): Likewise.
7656         * stdlib/l64a.c (l64a): Likewise.
7657         * stdlib/llabs.c (llabs): Likewise.
7658         * stdlib/lldiv.c (lldiv): Likewise.
7659         * stdlib/lrand48_r.c (lrand48_r): Likewise.
7660         * stdlib/mrand48_r.c (mrand48_r): Likewise.
7661         * stdlib/putenv.c (putenv): Likewise.
7662         * stdlib/random.c (__srandom): Likewise.
7663         (__initstate): Likewise.
7664         (__setstate): Likewise.
7665         * stdlib/random_r.c (__srandom_r): Likewise.
7666         (__setstate_r): Likewise.
7667         (__random_r): Likewise.
7668         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
7669         * stdlib/setcontext.c (setcontext): Likewise.
7670         * stdlib/setenv.c (setenv): Likewise.
7671         (unsetenv): Likewise.
7672         * stdlib/srand48.c (srand48): Likewise.
7673         * stdlib/srand48_r.c (__srand48_r): Likewise.
7674         * stdlib/swapcontext.c (swapcontext): Likewise.
7675         * stdlib/system.c (__libc_system): Likewise.
7676         * stdlib/tst-strtod.c (expand): Likewise.
7677         * stdlib/tst-strtol.c (expand): Likewise.
7678         * stdlib/tst-strtoll.c (expand): Likewise.
7679         * streams/fattach.c (fattach): Likewise.
7680         * streams/fdetach.c (fdetach): Likewise.
7681         * streams/getmsg.c (getmsg): Likewise.
7682         * streams/isastream.c (isastream): Likewise.
7683         * string/ffs.c (__ffs): Likewise.
7684         * string/ffsll.c (ffsll): Likewise.
7685         * string/memcmp.c (memcmp_common_alignment): Likewise.
7686         (memcmp_not_common_alignment): Likewise.
7687         (MEMCMP): Likewise.
7688         * string/memcpy.c (memcpy): Likewise.
7689         * string/memmove.c (MEMMOVE): Likewise.
7690         * string/memset.c (memset): Likewise.
7691         * string/rawmemchr.c (RAWMEMCHR): Likewise.
7692         * string/strchrnul.c (STRCHRNUL): Likewise.
7693         * string/strerror.c (strerror): Likewise.
7694         * string/strndup.c (__strndup): Likewise.
7695         * string/strverscmp.c (__strverscmp): Likewise.
7696         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
7697         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
7698         (clnttcp_freeres): Likewise.
7699         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
7700         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
7701         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
7702         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
7703         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
7704         (xdr_callhdr): Likewise.
7705         * sunrpc/rpcinfo.c (udpping): Likewise.
7706         (tcpping): Likewise.
7707         (pstatus): Likewise.
7708         (pmapdump): Likewise.
7709         (brdcst): Likewise.
7710         (deletereg): Likewise.
7711         (getprognum): Likewise.
7712         (getvers): Likewise.
7713         (get_inet_address): Likewise.
7714         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
7715         * sunrpc/svc_udp.c (svcudp_create): Likewise.
7716         (svcudp_stat): Likewise.
7717         (svcudp_recv): Likewise.
7718         (svcudp_reply): Likewise.
7719         (svcudp_getargs): Likewise.
7720         (svcudp_freeargs): Likewise.
7721         (svcudp_destroy): Likewise.
7722         * sunrpc/xdr.c (xdr_bytes): Likewise.
7723         (xdr_netobj): Likewise.
7724         (xdr_string): Likewise.
7725         (xdr_wrapstring): Likewise.
7726         * sunrpc/xdr_float.c (xdr_float): Likewise.
7727         (xdr_double): Likewise.
7728         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
7729         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
7730         * sysvipc/ftok.c (ftok): Likewise.
7731         * sysvipc/msgctl.c (msgctl): Likewise.
7732         * sysvipc/msgget.c (msgget): Likewise.
7733         * sysvipc/msgrcv.c (msgrcv): Likewise.
7734         * sysvipc/msgsnd.c (msgsnd): Likewise.
7735         * sysvipc/semget.c (semget): Likewise.
7736         * sysvipc/semop.c (semop): Likewise.
7737         * sysvipc/shmat.c (shmat): Likewise.
7738         * sysvipc/shmctl.c (shmctl): Likewise.
7739         * sysvipc/shmdt.c (shmdt): Likewise.
7740         * sysvipc/shmget.c (shmget): Likewise.
7741         * termios/cfmakeraw.c (cfmakeraw): Likewise.
7742         * termios/speed.c (cfgetospeed): Likewise.
7743         (cfgetispeed): Likewise.
7744         (cfsetospeed): Likewise.
7745         (cfsetispeed): Likewise.
7746         * termios/tcflow.c (tcflow): Likewise.
7747         * termios/tcflush.c (tcflush): Likewise.
7748         * termios/tcgetattr.c (__tcgetattr): Likewise.
7749         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
7750         * termios/tcgetsid.c (tcgetsid): Likewise.
7751         * termios/tcsendbrk.c (tcsendbreak): Likewise.
7752         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
7753         * time/adjtime.c (__adjtime): Likewise.
7754         * time/dysize.c (dysize): Likewise.
7755         * time/ftime.c (ftime): Likewise.
7756         * time/getitimer.c (__getitimer): Likewise.
7757         * time/gettimeofday.c (__gettimeofday): Likewise.
7758         * time/gmtime.c (__gmtime_r): Likewise.
7759         (gmtime): Likewise.
7760         * time/localtime.c (__localtime_r): Likewise.
7761         (localtime): Likewise.
7762         * time/offtime.c (__offtime): Likewise.
7763         * time/settimeofday.c (__settimeofday): Likewise.
7764         * time/stime.c (stime): Likewise.
7765         * time/strftime_l.c (tm_diff): Likewise.
7766         (iso_week_days): Likewise.
7767         * time/strptime.c (strptime): Likewise.
7768         * time/time.c (time): Likewise.
7769         * time/timespec_get.c (timespec_get): Likewise.
7770         * time/tzset.c (tzset_internal): Likewise.
7771         (compute_change): Likewise.
7772         (__tz_compute): Likewise.
7773         * wcsmbs/btowc.c (__btowc): Likewise.
7774         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
7775         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
7776         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
7777         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
7778         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
7779         * wcsmbs/wcscat.c (__wcscat): Likewise.
7780         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7781         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
7782         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
7783         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7784         * wcsmbs/wcsdup.c (wcsdup): Likewise.
7785         * wcsmbs/wcslen.c (__wcslen): Likewise.
7786         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
7787         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
7788         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
7789         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
7790         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7791         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
7792         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7793         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7794         * wcsmbs/wcstok.c (wcstok): Likewise.
7795         * wcsmbs/wctob.c (wctob): Likewise.
7796         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
7797         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7798         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
7799         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
7800         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
7801         * wcsmbs/wmemset.c (__wmemset): Likewise.
7802         * wctype/wcfuncs.c (__towlower): Likewise.
7803         (__towupper): Likewise.
7805         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
7806         (lll_unlock_elision): Add adapt_count parameter.
7808 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7810         * sysdeps/nptl/configure.ac: Do not give errors based on the
7811         results of top-level configure tests.
7812         * sysdeps/nptl/configure: Regenerated.
7814         * configure.ac (libc_cv_Bgroup): Remove configure test.
7815         * configure: Regenerated.
7816         * config.make.in (have-Bgroup): Remove variable.
7818         * configure.ac (sizeof_long_double): Remove configure test.
7819         * configure: Regenerated.
7820         * config.make.in (sizeof-long-double): Remove variable.
7822         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
7823         * configure: Regenerated.
7824         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
7825         variable.
7826         (exceptions): Likewise.
7827         * sysdeps/arm/configure: Regenerated.
7828         * config.make.in (exceptions): Remove variable.
7829         * Makeconfig (uses-callbacks): Use -fexceptions instead of
7830         $(exceptions).
7831         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
7832         (CFLAGS-vdprintf_chk.c): Likewise.
7833         (CFLAGS-printf_chk.c): Likewise.
7834         (CFLAGS-fprintf_chk.c): Likewise.
7835         (CFLAGS-vprintf_chk.c): Likewise.
7836         (CFLAGS-vfprintf_chk.c): Likewise.
7837         (CFLAGS-gets_chk.c): Likewise.
7838         (CFLAGS-fgets_chk.c): Likewise.
7839         (CFLAGS-fgets_u_chk.c): Likewise.
7840         (CFLAGS-fread_chk.c): Likewise.
7841         (CFLAGS-fread_u_chk.c): Likewise.
7842         (CFLAGS-wprintf_chk.c): Likewise.
7843         (CFLAGS-fwprintf_chk.c): Likewise.
7844         (CFLAGS-vwprintf_chk.c): Likewise.
7845         (CFLAGS-vfwprintf_chk.c): Likewise.
7846         (CFLAGS-fgetws_chk.c): Likewise.
7847         (CFLAGS-fgetws_u_chk.c): Likewise.
7848         * libio/Makefile (CFLAGS-fileops.c): Likewise.
7849         (CFLAGS-fputc.c): Likewise.
7850         (CFLAGS-fputwc.c): Likewise.
7851         (CFLAGS-freopen64.c): Likewise.
7852         (CFLAGS-freopen.c): Likewise.
7853         (CFLAGS-fseek.c): Likewise.
7854         (CFLAGS-fseeko64.c): Likewise.
7855         (CFLAGS-fseeko.c): Likewise.
7856         (CFLAGS-ftello64.c): Likewise.
7857         (CFLAGS-ftello.c): Likewise.
7858         (CFLAGS-fwide.c): Likewise.
7859         (CFLAGS-genops.c): Likewise.
7860         (CFLAGS-getc.c): Likewise.
7861         (CFLAGS-getchar.c): Likewise.
7862         (CFLAGS-getwc.c): Likewise.
7863         (CFLAGS-getwchar.c): Likewise.
7864         (CFLAGS-iofclose.c): Likewise.
7865         (CFLAGS-iofflush.c): Likewise.
7866         (CFLAGS-iofgetpos64.c): Likewise.
7867         (CFLAGS-iofgetpos.c): Likewise.
7868         (CFLAGS-iofgets.c): Likewise.
7869         (CFLAGS-iofgetws.c): Likewise.
7870         (CFLAGS-iofputs.c): Likewise.
7871         (CFLAGS-iofputws.c): Likewise.
7872         (CFLAGS-iofread.c): Likewise.
7873         (CFLAGS-iofsetpos64.c): Likewise.
7874         (CFLAGS-iofsetpos.c): Likewise.
7875         (CFLAGS-ioftell.c): Likewise.
7876         (CFLAGS-iofwrite.c): Likewise.
7877         (CFLAGS-iogetdelim.c): Likewise.
7878         (CFLAGS-iogetline.c): Likewise.
7879         (CFLAGS-iogets.c): Likewise.
7880         (CFLAGS-iogetwline.c): Likewise.
7881         (CFLAGS-ioputs.c): Likewise.
7882         (CFLAGS-ioseekoff.c): Likewise.
7883         (CFLAGS-ioseekpos.c): Likewise.
7884         (CFLAGS-iosetbuffer.c): Likewise.
7885         (CFLAGS-iosetvbuf.c): Likewise.
7886         (CFLAGS-ioungetc.c): Likewise.
7887         (CFLAGS-ioungetwc.c): Likewise.
7888         (CFLAGS-oldfileops.c): Likewise.
7889         (CFLAGS-oldiofclose.c): Likewise.
7890         (CFLAGS-oldiofgetpos64.c): Likewise.
7891         (CFLAGS-oldiofgetpos.c): Likewise.
7892         (CFLAGS-oldiofsetpos64.c): Likewise.
7893         (CFLAGS-oldiofsetpos.c): Likewise.
7894         (CFLAGS-peekc.c): Likewise.
7895         (CFLAGS-putc.c): Likewise.
7896         (CFLAGS-putchar.c): Likewise.
7897         (CFLAGS-putwc.c): Likewise.
7898         (CFLAGS-putwchar.c): Likewise.
7899         (CFLAGS-rewind.c): Likewise.
7900         (CFLAGS-wfileops.c): Likewise.
7901         (CFLAGS-wgenops.c): Likewise.
7902         (CFLAGS-oldiofopen.c): Likewise.
7903         (CFLAGS-iofopen.c): Likewise.
7904         (CFLAGS-iofopen64.c): Likewise.
7905         (CFLAGS-oldtmpfile.c): Likewise.
7906         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
7907         (CFLAGS-fprintf.c): Likewise.
7908         (CFLAGS-printf.c): Likewise.
7909         (CFLAGS-vfwprintf.c): Likewise.
7910         (CFLAGS-vfscanf.c): Likewise.
7911         (CFLAGS-vfwscanf.c): Likewise.
7912         (CFLAGS-fscanf.c): Likewise.
7913         (CFLAGS-scanf.c): Likewise.
7914         (CFLAGS-isoc99_vfscanf.c): Likewise.
7915         (CFLAGS-isoc99_vscanf.c): Likewise.
7916         (CFLAGS-isoc99_fscanf.c): Likewise.
7917         (CFLAGS-isoc99_scanf.c): Likewise.
7918         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
7919         (CFLAGS-isoc99_fwscanf.c): Likewise.
7920         (CFLAGS-isoc99_vwscanf.c): Likewise.
7921         (CFLAGS-isoc99_vfwscanf.c): Likewise.
7923         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
7924         after mkstemp64.
7925         * login/tst-utmp.c (do_prepare): Likewise.
7926         * rt/tst-aio.c (do_prepare): Likewise.
7927         * rt/tst-aio64.c (do_prepare): Likewise.
7929 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7931         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7932         (__lll_lock_elision): Remove adapt_count decrement...
7933         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7934         (__lll_trylock_elision): Likewise.
7935         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7936         (__lll_unlock_elision): ... to here. And utilize
7937         new adapt_count parameter.
7938         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7939         (__lll_unlock_elision): Update to include adapt_count
7940         parameter.
7941         (lll_unlock_elision): Pass pointer to adapt_count
7942         variable.
7944 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7946         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
7947         Add elision adapt_count parameter to list of arguments.
7948         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7949         (lll_unlock_elision): Update with new parameter list
7950         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7951         (lll_unlock_elision): Likewise.
7952         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
7953         (lll_unlock_elision): Likewise.
7955 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7957         [BZ #19122]
7958         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
7959         attribute_hidden.
7961         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
7962         attribute_hidden.
7963         [IS_IN (rtld)] (__strdup): Likewise.
7964         [IS_IN (rtld)] (__strerror_r): Likewise.
7965         [IS_IN (rtld)] (__strsep_g): Likewise.
7966         [IS_IN (rtld)] (memchr): Likewise.
7967         [IS_IN (rtld)] (memcmp): Likewise.
7968         [IS_IN (rtld)] (memcpy): Likewise.
7969         [IS_IN (rtld)] (memmove): Likewise.
7970         [IS_IN (rtld)] (memset): Likewise.
7971         [IS_IN (rtld)] (rawmemchr): Likewise.
7972         [IS_IN (rtld)] (stpcpy): Likewise.
7973         [IS_IN (rtld)] (strchr): Likewise.
7974         [IS_IN (rtld)] (strcmp): Likewise.
7975         [IS_IN (rtld)] (strlen): Likewise.
7976         [IS_IN (rtld)] (strnlen): Likewise.
7977         [IS_IN (rtld)] (strsep): Likewise.
7979         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
7980         attribute_hidden.
7981         [IS_IN (rtld)] (__strtoul_internal): Likewise.
7983         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
7984         attribute_hidden.
7985         [IS_IN (rtld)] (__libc_sigaction): Likewise.
7987         * include/setjmp.h (__longjmp): Add attribute_hidden.
7988         [IS_IN (rtld)] (__sigsetjmp): Likewise.
7990         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
7991         Add attribute_hidden.
7993         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
7994         [IS_IN (rtld)] (__open): Likewise.
7995         [IS_IN (rtld)] (__fcntl): Likewise.
7997         * include/dirent.h (__opendirat): Add attribute_hidden.
7998         (__getdents): Likewise.
7999         (__getdents64): Likewise.
8000         (__alloc_dir): Likewise.
8001         [IS_IN (rtld)] (__closedir): Likewise.
8002         [IS_IN (rtld)] (__fdopendir): Likewise.
8003         [IS_IN (rtld)] (__readdir): Likewise.
8004         [IS_IN (rtld)] (__readdir64): Likewise.
8005         [IS_IN (rtld)] (__rewinddir): Likewise.
8007         * include/dlfcn.h (_dl_catch_error): Moved to ...
8008         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
8009         attribute_hidden.
8011         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
8012         (_itoa_word): Likewise.
8014         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
8015         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
8016         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
8017         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
8018         (_dl_higher_prime_number): Likewise.
8019         (_dl_debug_printf_c): Likewise.
8020         (_dl_signal_cerror): Likewise.
8021         (_dl_receive_error): Likewise.
8022         (_dl_reloc_bad_type): Likewise.
8023         (_dl_resolve_conflicts): Likewise.
8024         (_dl_check_all_versions): Likewise.
8025         (_dl_check_map_versions): Likewise.
8026         (_dl_sort_fini): Likewise.
8027         (_dl_debug_initialize): Likewise.
8028         (_dl_init_paths): Likewise.
8029         (_dl_show_auxv): Likewise.
8030         (_dl_next_ld_env_entry): Likewise.
8031         (_dl_important_hwcaps): Likewise.
8032         (_dl_load_cache_lookup): Likewise.
8033         (_dl_update_slotinfo): Likewise.
8034         (_dl_show_scope): Likewise.
8036         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
8037         attribute_hidden.
8038         (_wordcopy_fwd_dest_aligned): Likewise.
8039         (_wordcopy_bwd_aligned): Likewise.
8040         (_wordcopy_bwd_dest_aligned): Likewise.
8042         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8043         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8044         Likewise.
8045         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8046         Likewise.
8047         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
8049 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8051         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
8052         GCC 5 requirement.
8054 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8056         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
8057         test.
8058         * sysdeps/i386/configure: Regenerated.
8059         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
8060         code unconditional.
8062         * configure.ac (libc_cv_asm_previous_directive): Remove configure
8063         test.
8064         (libc_cv_asm_popsection_directive): Likewise.
8065         * configure: Regenerated.
8066         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
8067         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
8068         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
8069         (__make_section_unallocated): Make definition unconditional.
8070         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
8071         Remove conditional definition.
8072         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
8073         (__make_section_unallocated): Likewise.
8075         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
8076         * configure: Regenerated.
8077         * config.make.in (static-libgcc): Remove variable.
8078         * Makerules (build-shlib-helper): Use -static-libgcc instead of
8079         $(static-libgcc).
8080         (build-module-helper): Likewise.
8082         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
8083         * configure: Regenerated.
8085 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8087         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
8088         (struct char_buffer): New type.
8089         (char_buffer_start, char_buffer_size, char_buffer_error)
8090         (char_buffer_rewind, char_buffer_add): New functions.
8091         (ADDW): Remove macro, replaced by the char_buffer_add function.
8092         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
8093         of extend_alloca.  Make control flow more explicit.
8095 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8097         [BZ #19137]
8098         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8099         Add -fomit-frame-pointer.
8100         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
8102 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8104         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
8105         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
8106         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
8107         only if !__GNUC_PREREQ (5,0).
8108         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
8109         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8110         (INTERNAL_SYSCALL_NCS): Likewise.
8111         (LOADREGS_0): New macro for GCC 5.
8112         (ASMARGS_0): Likewise.
8113         (LOADREGS_1): Likewise.
8114         (ASMARGS_1): Likewise.
8115         (LOADREGS_2): Likewise.
8116         (ASMARGS_2): Likewise.
8117         (LOADREGS_3): Likewise.
8118         (ASMARGS_3): Likewise.
8119         (LOADREGS_4): Likewise.
8120         (ASMARGS_4): Likewise.
8121         (LOADREGS_5): Likewise.
8122         (ASMARGS_5): Likewise.
8123         (LOADREGS_6): Likewise.
8124         (ASMARGS_6): Likewise.
8126 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8128         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
8129         -fomit-frame-pointer.
8130         (CFLAGS-mmap64.c): Likewise.
8131         (CFLAGS-semtimedop.c): Likewise.
8132         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
8133         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
8134         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8135         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8137 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8139         [BZ #18928]
8140         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
8141         _dl_pointer_guard member.
8142         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
8143         initializer.
8144         (security_init): Always set up pointer guard.
8145         (process_envvars): Do not process LD_POINTER_GUARD.
8147 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
8149         [BZ #19134]
8150         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
8151         (.LC2): Likewise.
8152         (.LC3): Likewise.
8153         (__lround): Do not add 0.5 to integer or out-of-range arguments.
8155 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8157         [BZ #19129]
8158         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8159         r0 and r1.
8161 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8163         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8165 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8167         * include/stap-probe.h: Fix macro definition formatting.
8169 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8171         [BZ #19074]
8172         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8173         load and store num_ifs.
8175 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8177         [BZ #18822]
8178         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8179         (__sched_getaffinity_new): Add libc_hidden_proto and
8180         libc_hidden_def.
8182 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8184         [BZ #19007]
8185         * scripts/localplt.awk: Also allow GOT references.
8186         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8187         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8188         with "+ REL R_386_GLOB_DAT".
8189         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8190         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8192 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8194         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8195         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8196         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8197         Likewise.
8198         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8199         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8200         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8201         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8202         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8203         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8204         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8205         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8206         Likewise.
8207         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8209 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8211         [BZ #19125]
8212         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8213         <math_private.h> and <stdint.h>.
8214         (__llround): Avoid conversions to and from long long int, and
8215         subtractions, where those might raise spurious exceptions.
8216         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8217         <math_private.h> and <stdint.h>.
8218         (__llroundf): Avoid conversions to and from long long int, and
8219         subtractions, where those might raise spurious exceptions.
8221 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8223         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8224         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8225         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8226         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8227         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8228         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8229         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8230         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8231         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8232         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8233         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8234         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8235         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8236         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8237         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8238         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8239         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8240         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8241         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8242         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8243         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8244         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8245         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8246         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8247         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8248         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8249         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8250         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8251         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8252         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8253         (__xstat64_conv): Likewise.
8254         (__xstat32_conv): Likewise.
8256 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8258         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8259         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8260         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8261         <sysdeps/unix/sysv/linux/sysdep.h>.
8262         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8263         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8264         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8265         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8266         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8267         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8268         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8269         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8270         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8274         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8275         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8276         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8278         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8279         (sysdep-dl-routines): Add sysdep.
8280         [$(subdir) == nptl] (libpthread-routines): Likewise.
8281         [$(subdir) == rt] (librt-routines): Likewise.
8282         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8283         PIC when branching to SYSCALL_ERROR_LABEL.
8284         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8285         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8286         <sysdeps/unix/sysv/linux/sysdep.h>.
8287         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8288         (SYSCALL_ERROR_ERRNO): Removed.
8289         (SYSCALL_ERROR_HANDLER): Changed to empty.
8290         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8291         (__syscall_error): New prototype.
8292         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8293         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8295 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8297         [BZ #19124]
8298         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8299         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8300         _dl_runtime_resolve_avx.
8301         (_dl_runtime_profile_avx512): Make it a hidden alias of
8302         _dl_runtime_profile_avx.
8304 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8306         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8307         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8308         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8309         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8311         [BZ #16422]
8312         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8313         New configure test.
8314         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8315         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8316         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8317         <math_private.h> and <stdint.h>.
8318         (__llrint): Avoid conversions to long long int where those might
8319         raise spurious exceptions.
8320         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8321         <math_private.h> and <stdint.h>.
8322         (__llrintf): Avoid conversions to long long int where those might
8323         raise spurious exceptions.
8325 2015-10-12  Andreas Schwab  <schwab@suse.de>
8327         [BZ #18969]
8328         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8329         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8330         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8331         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8332         $(gen-locales).
8333         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8334         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8335         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8336         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8337         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8338         $(gen-locales).
8339         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8340         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8341         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8342         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8343         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8344         ($(objpfx)tst-ftell-active-handler.out)
8345         ($(objpfx)tst-ftell-append.out)
8346         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8347         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8348         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8349         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8350         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8351         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8352         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8353         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8354         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8355         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8356         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8357         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8358         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8359         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8360         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8361         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8362         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8363         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8364         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8365         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8366         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8367         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8368         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8369         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8370         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8371         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8372         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8373         $(gen-locales).
8374         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8375         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8376         $(gen-locales).
8377         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8378         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8379         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8380         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8381         $(gen-locales).
8382         * libio/tst_wprintf2.c (main): Use explicit locale.
8383         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8385 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8387         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8388         __msg_sig_post.
8389         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8391 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8393         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8394         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8396         * sysdeps/arm/libm-test-ulps: Regenerated.
8398         [BZ #15470]
8399         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8401         [BZ #16399]
8402         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8403         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8404         and <fix-fp-int-convert-overflow.h>.
8405         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8406         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8407         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8408         and <fix-fp-int-convert-overflow.h>.
8409         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8410         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8411         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8412         <fix-fp-int-convert-overflow.h>.
8413         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8414         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8415         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8416         <fix-fp-int-convert-overflow.h>.
8417         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8418         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8419         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8420         and <fix-fp-int-convert-overflow.h>.
8421         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8422         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8423         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8424         <limits.h> and <fix-fp-int-convert-overflow.h>.
8425         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8426         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8427         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8428         and <fix-fp-int-convert-overflow.h>.
8429         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8430         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8431         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8432         and <fix-fp-int-convert-overflow.h>.
8433         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8434         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8435         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8437 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8439         [BZ #18589]
8440         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8441         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8442         $(gen-locales).
8444 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8445             Phil Blundell <pb@pbcl.net>
8447         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8448         * nptl/tst-cancel26.c: New file.
8449         * nptl/tst-cancel27.c: Likewise.
8451 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8453         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8454         __ILP32__ isn't defined.
8455         (lrint): Likewise.
8456         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8457         (lrintf): Likewise.
8458         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8459         (lrintl): Likewise.
8460         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8461         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8462         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8464 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8466         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8467         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8469         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8470         file.
8471         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8472         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8474 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8476         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8477         configure test.
8478         * sysdeps/i386/configure: Regenerated.
8479         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8480         configure test.
8481         * sysdeps/x86_64/configure: Regenerated.
8482         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8483         Make code unconditional.
8485         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8486         test.
8487         * sysdeps/i386/configure: Regenerated.
8488         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8489         test.
8490         * sysdeps/x86_64/configure: Regenerated.
8491         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8492         Make code unconditional.
8493         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8494         Likewise.
8495         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8496         Likewise.
8497         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8498         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8499         code unconditional.
8500         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8501         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8502         code unconditional.
8503         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8504         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8505         code unconditional.
8506         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8507         code unconditional.
8508         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8509         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8510         code unconditional.
8511         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8512         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8513         code unconditional.
8514         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8515         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8516         code unconditional.
8517         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8518         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8519         code unconditional.
8520         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8521         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8523         [BZ #19095]
8524         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8525         mantissa to long int before shifting left.
8527 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8529         [BZ #19094]
8530         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
8531         <limits.h>.
8532         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8533         when result overflows but exception would not result from cast.
8534         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
8535         <limits.h>.
8536         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8537         when result overflows but exception would not result from cast.
8538         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
8539         <limits.h>.
8540         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8541         when result overflows but exception would not result from cast.
8542         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8543         <limits.h>.
8544         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8545         when result overflows but exception would not result from cast.
8546         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8547         <limits.h>.
8548         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8549         when result overflows but exception would not result from cast.
8550         * math/libm-test.inc (lrint_test_data): Add more tests.
8551         (llrint_test_data): Likewise.
8553 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8555         [BZ #18872]
8556         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8557         Move out from under [$(run-built-tests) = yes] conditional.
8558         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8559         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8561 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
8563         [BZ #18589]
8564         * string/Makefile (tests): Add bug-strcoll2.
8565         (LOCALES): Add cs_CZ.UTF-8.
8566         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
8568         [BZ #18589]
8569         * string/bug-strcoll2.c: New file.
8570         * locale/categories.def: Revert commit
8571         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
8572         * locale/langinfo.h: Likewise.
8573         * locale/localeinfo.h: Likewise.
8574         * locale/C-collate.c: Likewise.
8575         * locale/programs/ld-collate.c (collate_output): Likewise.
8576         * string/strcoll_l.c (STRDIFF): Likewise.
8577         (STRCOLL): Likewise.
8578         * wcsmbs/wcscoll_l.c: Likewise.
8580 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8582         * math/libm-test.inc (lround_test_data): Do not expect the absence
8583         of "inexact" for some tests with non-integer arguments.
8584         (llround_test_data): Likewise.
8586         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
8587         test.
8588         (libc_cv_cc_sse2avx): Likewise.
8589         * sysdeps/i386/configure: Regenerated.
8590         * sysdeps/i386/i686/multiarch/Makefile
8591         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
8592         [$(subdir) = math].
8593         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
8594         code unconditional.
8595         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8596         Likewise.
8597         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
8598         Likewise.
8599         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8600         Likewise.
8601         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
8602         test.
8603         (libc_cv_cc_sse2avx): Likewise.
8604         * sysdeps/x86_64/configure: Regenerated.
8605         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
8606         unconditional.
8607         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
8608         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
8609         unconditional.
8610         (_dl_runtime_profile)
8611         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
8612         conditional code.
8613         * sysdeps/x86_64/fpu/multiarch/Makefile
8614         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
8615         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8616         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8617         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8618         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8619         * sysdeps/x86_64/fpu/multiarch/e_log.c
8620         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8621         * sysdeps/x86_64/fpu/multiarch/s_atan.c
8622         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8623         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8624         Likewise.
8625         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8626         Likewise.
8627         * sysdeps/x86_64/fpu/multiarch/s_sin.c
8628         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8629         * sysdeps/x86_64/fpu/multiarch/s_tan.c
8630         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8631         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
8632         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
8633         (HAVE_SSE2AVX_SUPPORT): Likewise.
8635 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
8637         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
8638         instead of #pragma optimize.
8640 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8642         [BZ #17195]
8643         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
8644         as is similarly done in systrim and _int_free already.
8646 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8648         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
8650 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8652         [BZ #19088]
8653         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
8654         <limits.h>.
8655         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8656         overflows but exception would not result from cast.
8657         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
8658         and <limits.h>.
8659         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8660         overflows but exception would not result from cast.
8661         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
8662         <limits.h>.
8663         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8664         overflows but exception would not result from cast.
8665         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
8666         <limits.h>.
8667         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8668         overflows but exception would not result from cast.
8669         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
8670         <limits.h>.
8671         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8672         overflows but exception would not result from cast.
8673         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
8674         <limits.h>.
8675         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8676         overflows but exception would not result from cast.
8677         * math/libm-test.inc (lround_test_data): Add more tests.
8678         (llround_test_data): Likewise.
8680 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
8682         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
8683         (CFLAGS-ialloc.c): Ditto.
8684         (CFLAGS-scheck.c): Ditto.
8686 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8688         [BZ #19086]
8689         * manual/filesys.texi (Storage Allocation): Fix argument order for
8690         posix_fallocate64.
8692 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8694         [BZ #19085]
8695         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
8696         exponent below 48 inside case for non-overflowing exponent.
8697         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8699 2015-10-07  Florian Weimer  <fweimer@redhat.com>
8701         * iconvdata/cp737.h (from_idx): Add const.
8702         * iconvdata/cp775.h (from_idx): Likewise.
8704 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8706         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
8707         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8708         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
8710         [BZ #19079]
8711         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
8712         file, conditioned on [!_LP64].
8713         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
8714         [!_LP64] (__lround): Do not define as function or alias.
8715         [!_LP64] (lround): Likewise.
8716         [!_LP64] (__lroundl): Likewise.
8717         [!_LP64] (lroundl): Likewise.
8718         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
8719         macro.
8720         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8721         Likewise.
8723 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8725         * math/libm-test.inc (lrint_test_data): Add more tests.
8726         (llrint_test_data): Likewise.
8727         (lround_test_data): Likewise.
8728         (llround_test_data): Likewise.
8730         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
8731         (llrint_test_data): Add tests used for lrint.
8733         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
8734         test.
8735         * sysdeps/i386/configure: Regenerated.
8736         * sysdeps/i386/i686/multiarch/Makefile
8737         [$(config-cflags-sse4) = yes]: Make code unconditional.
8738         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8739         Likewise.
8740         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
8741         Likewise.
8742         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
8743         test.
8744         * sysdeps/x86_64/configure: Regenerated.
8745         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
8746         Make code unconditional.
8747         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8748         Likewise.
8749         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
8750         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
8752         * scripts/rpm2dynsym.sh: Remove file.
8754 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8756         * configure.ac (libc_cv_cxx_thread_local): Define.
8757         * configure: Regenerate.
8758         * config.make.in (have-cxx-thread_local): Define.
8759         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
8760         (LDLIBS-tst-thread_local1): Define.
8761         (tests): Add tst-thread_local1.
8762         [have-cxx-thread_local != yes] (tests-unsupported): Add
8763         tst-thread_local1.
8764         * nptl/tst-thread_local1.cc: New file.
8766 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8768         [BZ #19078]
8769         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
8770         (u_thres): Likewise.
8771         (__expl): Determine whether to call __kernel_standard_l based on
8772         value of result, not argument.
8774         * math/libm-test.inc (scalb_test_data): Add more expectations for
8775         the "inexact" exception.
8777         [BZ #19077]
8778         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
8779         0.0L for argument 1.0L.
8781         [BZ #19076]
8782         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
8783         constant 0.0L when computing infinite result.
8785 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8787         [BZ #10432]
8788         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
8789         malloc_usable_size.
8791 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8793         [BZ #19018]
8794         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8795         Mangle function pointer before storing it.
8796         (__call_tls_dtors): Demangle function pointer before calling it.
8798 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8800         [BZ #19012]
8801         * iconv/gconv_db.c (gen_steps): Check for additional errors.
8802         Clean up on failure.
8804 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
8806         [BZ #19071]
8807         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
8808         long int variable to store possibly incremented high part of
8809         mantissa.
8810         * math/libm-test.inc (lround_test_data): Add tests used for
8811         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
8812         for tests requiring 64-bit long.  Do not condition tests on
8813         [TEST_FLOAT] unnecessarily.
8814         (llround_test_data): Add tests used for lround.  Add another
8815         expectation for the "inexact" exception.  Do not condition tests
8816         on [TEST_FLOAT] unnecessarily.
8818         [BZ #887]
8819         [BZ #19049]
8820         [BZ #19050]
8821         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
8822         * sysdeps/ieee754/dbl-64/e_log10.c: Include
8823         <fix-int-fp-convert-zero.h>.
8824         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8825         * sysdeps/ieee754/dbl-64/e_log2.c: Include
8826         <fix-int-fp-convert-zero.h>.
8827         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8828         * sysdeps/ieee754/dbl-64/s_erf.c: Include
8829         <fix-int-fp-convert-zero.h>.
8830         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8831         * sysdeps/ieee754/dbl-64/s_logb.c: Include
8832         <fix-int-fp-convert-zero.h>.
8833         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8834         * sysdeps/ieee754/flt-32/e_log10f.c: Include
8835         <fix-int-fp-convert-zero.h>.
8836         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8837         * sysdeps/ieee754/flt-32/e_log2f.c: Include
8838         <fix-int-fp-convert-zero.h>.
8839         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8840         * sysdeps/ieee754/flt-32/s_erff.c: Include
8841         <fix-int-fp-convert-zero.h>.
8842         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8843         * sysdeps/ieee754/flt-32/s_logbf.c: Include
8844         <fix-int-fp-convert-zero.h>.
8845         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8846         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
8847         <fix-int-fp-convert-zero.h>.
8848         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
8850         <fix-int-fp-convert-zero.h>.
8851         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8852         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
8853         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
8854         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
8855         file.
8856         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
8858 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8860         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8862 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
8864         [BZ #19059]
8865         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
8866         overflowing computation.
8867         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8868         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8869         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8870         Likewise.
8871         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8872         Likewise.
8873         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8874         Likewise.
8875         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8876         Likewise.
8877         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8878         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8879         Likewise.
8880         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8881         Likewise.
8882         * math/libm-test.inc (nexttoward_test_data): Add more tests.
8884         * nss/rewrite_field.c (__nss_rewrite_field): Use
8885         internal_function.
8886         * nss/valid_field.c (__nss_valid_field): Likewise.
8887         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
8889 2015-10-02  Florian Weimer  <fweimer@redhat.com>
8891         [BZ #18724]
8892         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
8893         (__nss_invalid_field_characters, __nss_valid_field)
8894         (__nss_valid_list_field, __nss_rewrite_field): Declare.
8895         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
8896         tst-field.c: New file.
8897         * nss/Makefile (routines): Add valid_field, rewrite_field.
8898         (tests-static): Define unconditionally.
8899         (tests): Include tests-static.
8900         [build-static-nss] (tests-static): Use append.
8901         [build-static-nss] (tests): Remove modification.
8902         * nss/getent.c (print_group): Call putgrent.  Report error.
8903         (print_gshadow): Call putsgent.  Report error.
8904         (print_passwd): Call putpwent.  Report error.
8905         (print_shadow): Call putspent.  Report error.
8906         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
8907         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
8908         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
8909         name, password, directory, shell fields for valid syntax.  Rewrite
8910         GECOS field to match syntax.
8911         * pwd/Makefile (tests): Add tst-putpwent.
8912         * pwd/tst-putpwent.c: New file.
8913         * grp/putgrent.c (putgrent): Convert to ISO function definition.
8914         Check grName, grpasswd, gr_mem fields for valid syntax.
8915         Change loop variable i to size_t.
8916         * grp/Makefile (tests): Add tst-putgrent.
8917         * grp/tst-putgrent.c: New file.
8918         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
8919         valid syntax.
8920         * shadow/Makefile (tests): Add tst-putspent.
8921         * shadow/tst-putspent.c: New file.
8922         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
8923         sg_mem fields for valid syntax.
8924         * gshadow/Makefile (tests): Add tst-putsgent.
8925         * gshadow/tst-putsgent.c: New file.
8927 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8929         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
8930         assembly instructions.
8932 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8934         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
8935         prefix from operands.
8937 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
8939         [BZ #16347]
8940         [BZ #19046]
8941         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
8942         <libc-internal.h>.
8943         (MAXLGM): Do not use diagnostic control macros.
8944         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
8945         threshold for ldbl-128ibm.
8946         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
8947         instead of multiplying by log then subtracting.
8948         * math/auto-libm-test-in: Add more tests of lgamma.
8949         * math/auto-libm-test-out: Regenerated.
8951         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
8952         (TYPE_HEX_DIG): Likewise.
8953         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
8954         precisions when printing floating-point numbers.
8955         (check_float_internal): Likewise.
8957 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8959         [BZ #16620]
8960         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
8961         of log (10) rounded downward to 48 bits.
8962         (log10_low): Use corresponding low part of log (10).
8964         [BZ #19032]
8965         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
8966         compute result as (x - x) / (x - x) not as 0 / 0.
8967         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8968         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
8970         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8971         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
8972         and expm1.
8973         * math/auto-libm-test-out: Regenerated.
8974         * math/libm-test.inc (acos_test_data): Add more tests.
8975         (asin_test_data): Likewise.
8976         (asinh_test_data): Likewise.
8977         (atan_test_data): Likewise.
8978         (atanh_test_data): Likewise.
8979         (atan2_test_data): Likewise.
8980         (cbrt_test_data): Likewise.
8981         (ceil_test_data): Likewise.
8982         (copysign_test_data): Likewise.
8983         (cos_test_data): Likewise.
8984         (cosh_test_data): Likewise.
8985         (erf_test_data): Likewise.
8986         (erfc_test_data): Likewise.
8987         (exp_test_data): Likewise.
8988         (exp10_test_data): Likewise.
8989         (exp2_test_data): Likewise.
8990         (expm1_test_data): Likewise.
8991         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8993 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
8995         [BZ #19006]
8996         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
8997         to ...
8998         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
8999         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
9000         to ...
9001         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
9002         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
9003         to ...
9004         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
9005         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
9006         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
9007         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
9008         to ...
9009         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
9010         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9011         Moved to ...
9012         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
9013         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9014         Moved to ...
9015         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
9016         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
9017         to ...
9018         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
9019         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9020         Moved to ...
9021         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
9022         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
9023         to ...
9024         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
9025         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
9026         Removed.
9027         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
9028         Likewise.
9029         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
9030         Likewise.
9031         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
9032         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
9033         Likewise.
9034         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9035         Likewise.
9036         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9037         Likewise.
9038         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9039         Likewise.
9040         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9041         Likewise.
9042         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
9043         Likewise.
9044         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
9045         Likewise.
9046         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
9047         Likewise.
9048         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
9049         Likewise.
9050         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
9051         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
9052         Likewise.
9053         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9054         Likewise.
9055         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9056         Likewise.
9057         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9058         Likewise.
9059         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
9060         Likewise.
9061         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9062         Replace ../i486/pthread_cond_timedwait.S with
9063         ../pthread_cond_timedwait.S.
9065 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9067         * math/libm-test.inc (acos_test_data): Refine expectations for
9068         errno and "inexact" exceptions.
9069         (acosh_test_data): Likewise.
9070         (asin_test_data): Likewise.
9071         (asinh_test_data): Likewise.
9072         (atan_test_data): Likewise.
9073         (atanh_test_data): Likewise.
9074         (atan2_test_data): Likewise.
9075         (cbrt_test_data): Likewise.
9076         (ceil_test_data): Likewise.
9077         (copysign_test_data): Likewise.
9078         (cosh_test_data): Likewise.
9079         (erf_test_data): Likewise.
9080         (erfc_test_data): Likewise.
9081         (exp_test_data): Likewise.
9082         (exp10_test_data): Likewise.
9083         (exp2_test_data): Likewise.
9084         (expm1_test_data): Likewise.
9085         (fabs_test_data): Likewise.
9086         (floor_test_data): Likewise.
9087         (fma_test_data): Likewise.
9088         (fmax_test_data): Likewise.
9089         (fmin_test_data): Likewise.
9090         (fmod_test_data): Likewise.
9091         (fpclassify_test_data): Likewise.
9092         (frexp_test_data): Likewise.
9093         (hypot_test_data): Likewise.
9094         (ilogb_test_data): Likewise.
9095         (isgreater_test_data): Likewise.
9096         (isgreaterequal_test_data): Likewise.
9097         (isinf_test_data): Likewise.
9098         (isless_test_data): Likewise.
9099         (islessequal_test_data): Likewise.
9100         (islessgreater_test_data): Likewise.
9101         (isnan_test_data): Likewise.
9102         (isnormal_test_data): Likewise.
9103         (issignaling_test_data): Likewise.
9104         (isunordered_test_data): Likewise.
9105         (j0_test_data): Likewise.
9106         (j1_test_data): Likewise.
9107         (jn_test_data): Likewise.
9108         (lgamma_test_data): Likewise.
9109         (lrint_test_data): Likewise.
9110         (llrint_test_data): Likewise.
9111         (log_test_data): Likewise.
9112         (log10_test_data): Likewise.
9113         (log1p_test_data): Likewise.
9114         (log2_test_data): Likewise.
9115         (logb_test_data): Likewise.
9116         (lround_test_data): Likewise.
9117         (llround_test_data): Likewise.
9118         (modf_test_data): Likewise.
9119         (nearbyint_test_data): Likewise.
9120         (nextafter_test_data): Likewise.
9121         (nexttoward_test_data): Likewise.
9122         (pow_test_data): Likewise.
9123         (remainder_test_data): Likewise.
9124         (remquo_test_data): Likewise.
9125         (rint_test_data): Likewise.
9126         (round_test_data): Likewise.
9127         (signbit_test_data): Likewise.
9128         (sinh_test_data): Likewise.
9129         (sqrt_test_data): Likewise.
9130         (tanh_test_data): Likewise.
9131         (tgamma_test_data): Likewise.
9132         (trunc_test_data): Likewise.
9133         (y0_test_data): Likewise.
9134         (y1_test_data): Likewise.
9135         (yn_test_data): Likewise.
9136         (significand_test_data): Likewise.
9138 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
9140         * manual/filesys.texi (Storage Allocation): Document that
9141         posix_fallocate emulation fails when fd is open with O_WRONLY.
9143 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
9145         [BZ #19016]
9146         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
9147         allow more cases with X^2 + Y^2 >= 0.5.
9148         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
9149         normal element in sum instead of special-casing based on values of
9150         arguments.
9151         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
9152         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
9153         -1 as normal element in sum instead of special-casing based on
9154         values of arguments.
9155         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
9156         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
9157         (__x2y2m1): Update comment.
9158         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9159         as normal element in sum instead of special-casing based on values
9160         of arguments.
9161         * math/s_clog.c (__clog): Handle more cases using log1p without
9162         hypot.
9163         * math/s_clog10.c (__clog10): Likewise.
9164         * math/s_clog10f.c (__clog10f): Likewise.
9165         * math/s_clog10l.c (__clog10l): Likewise.
9166         * math/s_clogf.c (__clogf): Likewise.
9167         * math/s_clogl.c (__clogl): Likewise.
9168         * math/auto-libm-test-in: Add more tests of clog and clog10.
9169         * math/auto-libm-test-out: Regenerated.
9170         * sysdeps/i386/fpu/libm-test-ulps: Update.
9171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9173 2015-09-28  Martin Sebor  <msebor@redhat.com>
9175         [BZ #18969]
9176         * string/Makefile (LOCALES): Define.
9177         (gen-locales.mk): Include.
9178         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9179         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9180         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9181         on setlocale failure.
9183 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9185         [BZ #18985]
9186         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9187         (__strftime_internal): Likewise.
9188         * time/tst-strftime.c (do_bz18985): New test.
9189         (do_test): Call it.
9191 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9193         [BZ #18956]
9194         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9195         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9196         extracting high part.
9197         * math/auto-libm-test-in: Add another test of pow.
9198         * math/auto-libm-test-out: Regenerated.
9199         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9201 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9203         [BZ #18825]
9204         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9205         New macro.
9206         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9207         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9208         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9209         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9210         DBL_NARROW_EVAL, reloading the PIC register as needed.
9211         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9212         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9213         FLT_NARROW_EVAL.  Use separate return path for case when first
9214         argument is NaN.
9215         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9216         DEFINE_LDBL_MIN.
9217         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9218         PIC register.
9219         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9220         math_check_force_underflow_nonneg.
9221         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9222         underflow for subnormal result.
9223         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9224         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9225         math_check_force_underflow_nonneg.
9226         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9227         math_check_force_underflow.
9228         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9229         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9230         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9231         DEFINE_LDBL_MIN.
9232         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9233         * math/auto-libm-test-in: Add more tests of pow.
9234         * math/auto-libm-test-out: Regenerated.
9236 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9238         * nss/bug17079.c (init_test_items): Add diagnostic for
9239         inconsistent entries.
9240         (test_buffer_size): Skip inconsistent entries.
9242 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9244         [BZ #13304]
9245         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9246         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9247         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9249         [BZ #13304]
9250         * sysdeps/microblaze/s_fma.c: New file.
9251         * sysdeps/microblaze/s_fmaf.c: Likewise.
9252         * sysdeps/microblaze/sfp-machine.h: Likewise.
9254 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9256         [BZ #17250]
9257         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9258         member.
9260 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9262         [BZ #18803]
9263         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9264         (MO): New macro.
9265         (__ieee754_hypot) [PIC]: Load PIC register.
9266         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9267         DBL_NARROW_EVAL.
9268         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9269         math_check_force_underflow_nonneg in case where result might be
9270         tiny.
9271         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9272         Likewise.
9273         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9274         Likewise.
9275         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9276         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9277         * math/auto-libm-test-in: Add more tests of hypot.
9278         * math/auto-libm-test-out: Regenerated.
9280 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9282         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9284 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9286         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9287         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9288         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9289         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9290         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9291         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9292         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9294         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9295         LOAD_PIC_REG.
9297         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9298         (FLT_CHECK_FORCE_UFLOW): Likewise.
9299         (DBL_CHECK_FORCE_UFLOW): Likewise.
9300         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9301         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9302         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9303         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9304         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9305         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9306         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9307         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9308         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9309         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9310         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9311         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9312         (flt_min): Replace with use of DEFINE_FLT_MIN.
9313         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9314         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9315         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9316         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9317         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9318         (flt_min): Replace with use of DEFINE_FLT_MIN.
9319         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9320         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9321         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9322         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9323         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9324         (flt_min): Replace with use of DEFINE_FLT_MIN.
9325         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9326         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9327         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9328         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9329         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9330         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9331         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9332         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9333         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9334         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9335         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9336         (flt_min): Replace with use of DEFINE_FLT_MIN.
9337         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9338         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9339         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9340         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9341         main computation.
9342         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9343         (flt_min): Replace with use of DEFINE_FLT_MIN.
9344         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9345         main computation.
9346         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9347         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9348         (MO): New macro.
9349         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9350         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9351         (flt_min): Replace with use of DEFINE_FLT_MIN.
9352         (MO): New macro.
9353         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9354         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9355         (__log1pl): Use MO.
9357         [BZ #19003]
9358         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9359         $(config-cflags-nofma).
9361 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9363         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9365 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9367         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9368         (TWO127): Likewise.
9370         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9371         (min_of_type): Likewise.
9372         (math_check_force_underflow): Likewise.
9373         (math_check_force_underflow_nonneg): Likewise.
9374         (math_check_force_underflow_complex): Likewise.
9375         * math/e_exp2l.c (__ieee754_exp2l): Use
9376         math_check_force_underflow_nonneg.
9377         * math/k_casinh.c (__kernel_casinh): Likewise.
9378         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9379         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9380         * math/s_catan.c (__catan): Use
9381         math_check_force_underflow_complex.
9382         * math/s_catanf.c (__catanf): Likewise.
9383         * math/s_catanh.c (__catanh): Likewise.
9384         * math/s_catanhf.c (__catanhf): Likewise.
9385         * math/s_catanhl.c (__catanhl): Likewise.
9386         * math/s_catanl.c (__catanl): Likewise.
9387         * math/s_ccosh.c (__ccosh): Likewise.
9388         * math/s_ccoshf.c (__ccoshf): Likewise.
9389         * math/s_ccoshl.c (__ccoshl): Likewise.
9390         * math/s_cexp.c (__cexp): Likewise.
9391         * math/s_cexpf.c (__cexpf): Likewise.
9392         * math/s_cexpl.c (__cexpl): Likewise.
9393         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9394         * math/s_clog10.c (__clog10): Likewise.
9395         * math/s_clog10f.c (__clog10f): Likewise.
9396         * math/s_clog10l.c (__clog10l): Likewise.
9397         * math/s_clogf.c (__clogf): Likewise.
9398         * math/s_clogl.c (__clogl): Likewise.
9399         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9400         * math/s_csinf.c (__csinf): Likewise.
9401         * math/s_csinh.c (__csinh): Likewise.
9402         * math/s_csinhf.c (__csinhf): Likewise.
9403         * math/s_csinhl.c (__csinhl): Likewise.
9404         * math/s_csinl.c (__csinl): Likewise.
9405         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9406         * math/s_csqrtf.c (__csqrtf): Likewise.
9407         * math/s_csqrtl.c (__csqrtl): Likewise.
9408         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9409         * math/s_ctanf.c (__ctanf): Likewise.
9410         * math/s_ctanh.c (__ctanh): Likewise.
9411         * math/s_ctanhf.c (__ctanhf): Likewise.
9412         * math/s_ctanhl.c (__ctanhl): Likewise.
9413         * math/s_ctanl.c (__ctanl): Likewise.
9414         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9415         instead of volatile.
9416         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9417         math_check_force_underflow.
9418         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9419         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9420         volatile when forcing underflow.
9421         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9422         math_check_force_underflow_nonneg.
9423         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9424         Likewise.
9425         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9426         math_check_force_underflow.
9427         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9428         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9429         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9430         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9431         math_check_force_underflow_nonneg.
9432         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9433         math_check_force_underflow.
9434         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9435         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9436         instead of volatile.
9437         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9438         math_check_force_underflow.
9439         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9440         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9441         math_check_force_underflow_nonneg.
9442         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9443         math_check_force_underflow.
9444         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9445         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9446         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9447         math_check_force_underflow_nonneg.
9448         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9449         Likewise.
9450         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9451         math_check_force_underflow.
9452         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9453         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9454         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9455         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9456         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9457         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9458         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9459         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9460         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9461         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9462         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9463         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9464         Likewise.
9465         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9466         math_check_force_underflow_nonneg.
9467         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9468         Likewise.
9469         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9470         math_check_force_underflow.
9471         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9472         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9473         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9474         Likewise.
9475         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9476         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9477         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9478         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9479         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9480         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9481         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9482         instead of volatile.
9483         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9484         math_check_force_underflow.
9485         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9486         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9487         math_check_force_underflow.
9488         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9489         Likewise.
9490         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9491         Use math_check_force_underflow_nonneg.
9492         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9493         math_check_force_underflow.
9494         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9495         Likewise.
9496         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9497         Likewise.
9498         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9499         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9500         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9501         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9502         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9503         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9504         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9505         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9506         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9507         math_check_force_underflow_nonneg.
9508         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9509         math_check_force_underflow.
9510         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9511         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9512         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9513         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9514         math_check_force_underflow_nonneg.
9515         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9516         math_check_force_underflow.
9517         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9518         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9519         instead of volatile.
9520         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9521         math_check_force_underflow.
9523         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9524         * stdlib/strtod_l.c: Include <math_private.h>.
9525         (overflow_value): Use math_narrow_eval.
9526         (underflow_value): Likewise.
9527         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9528         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9529         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
9530         (__ieee754_gamma_r): Likewise.
9531         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
9532         Likewise.
9533         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9534         Likewise.
9535         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9536         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
9537         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9538         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9539         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9540         (__ieee754_gammaf_r): Likewise.
9541         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9542         Likewise.
9543         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9544         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9545         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9546         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9547         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9548         volatile.
9549         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9550         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9551         math_narrow_eval.
9552         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9553         Likewise.
9554         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9555         Likewise.
9556         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9557         Likewise.
9558         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9559         volatile.
9560         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9561         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9562         math_narrow_eval.
9563         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9564         Likewise.
9565         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9566         Likewise.
9568 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
9570         * nptl/Versions: Remove ignored symbols.
9572 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9574         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
9575         * nss/Makefile (tests): Update.
9577 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9579         * nss/bug18287.c: New file.
9580         * nss/Makefile (tests): Add bug18287.
9582 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9584         * mach/Versions (__mach_host_self_): Add symbol.
9586 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9588         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
9589         vm_page_size.
9591 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9593         Really fix sysdeps/i386/fpu/s_scalbn.S build
9595         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
9596         (libc: GLIBC_2_22): Remove unused version set.
9598 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9600         * config.make.in (enable-timezone-tools): New variable.
9601         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
9602         (enable_timezone_tools): Export to generated files.
9603         * configure: Regenerate.
9604         * INSTALL: Regenerate.
9605         * manual/install.texi (--disable-timezone-tools): Document new flag.
9606         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
9607         ifeq ($(enable-timezone-tools),yes) check.
9609 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9611         * timezone/Makefile: Revert previous change.
9613         [BZ #18980]
9614         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
9615         (DEFINE_DBL_MIN): Likewise.
9616         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9617         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9618         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9619         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9620         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
9621         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9622         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9623         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
9624         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
9625         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9626         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9627         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
9628         (flt_min): Replace with use of DEFINE_FLT_MIN.
9629         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9630         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
9631         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9632         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9633         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
9634         (flt_min): Replace with use of DEFINE_FLT_MIN.
9635         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9636         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
9637         (flt_min): Replace with use of DEFINE_FLT_MIN.
9638         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9639         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
9640         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
9641         (__ieee754_hypot): Use DBL_NARROW_EVAL.
9642         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
9643         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
9644         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
9645         (__ieee754_pow): Use DBL_NARROW_EVAL.
9646         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
9647         (__ieee754_powf): Use FLT_NARROW_EVAL.
9648         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
9649         (__ieee754_expf_sse2): Convert double-precision result to single
9650         precision.
9651         * sysdeps/i386/fpu/libm-test-ulps: Update.
9653 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9655         * timezone/Makefile: Ignore unused variable errors due to private.h
9656         (time_t_min) and (time_t_max).
9657         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
9658         Likewise.
9660 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9662         [BZ #18981]
9663         * sysdeps/i386/fpu/i386-math-asm.h: New file.
9664         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
9665         (__ieee754_scalb): Use DBL_NARROW_EVAL.
9666         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
9667         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
9668         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
9669         (__scalbn): Use DBL_NARROW_EVAL.
9670         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
9671         (__scalbnf): Use FLT_NARROW_EVAL.
9673 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9675         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
9676         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
9677         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
9678         * stdio-common/printf_fp.c (___printf_fp):
9679         Use signbit to get the sign. Use isinf macro to allow inlining.
9680         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
9681         * stdio-common/printf_size.c (__printf_size): Likewise.
9683 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9685         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
9687 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9689         [BZ #18980]
9690         * sysdeps/generic/math_private.h: Include <float.h>.
9691         (math_narrow_eval): New macro.
9692         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9693         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
9694         math_narrow_eval on overflowing return value.
9695         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
9696         Likewise.
9697         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9698         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
9699         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
9700         Likewise.
9701         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9703 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9705         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
9706         * math/Makefile: Remove isinf_ns.c.
9707         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
9708         * math/multc3.c (__multc3): Likewise.
9709         * math/s_casin.c (__casin): Likewise.
9710         * math/s_casinf.c (__casinf): Likewise.
9711         * math/s_casinl.c (__casinl): Likewise.
9712         * math/s_cproj.c (__cproj): Likewise.
9713         * math/s_cprojf.c (__cprojf): Likewise.
9714         * math/s_cprojl.c (__cprofl): Likewise.
9715         * math/s_ctan.c (__ctan): Likewise.
9716         * math/s_ctanf.c (__ctanf): Likewise.
9717         * math/s_ctanh.c (__ctanh): Likewise.
9718         * math/s_ctanhf.c (__ctanhf): Likewise.
9719         * math/s_ctanhl.c (__ctanhl): Likewise.
9720         * math/s_ctanl.c (__ctanl): Likewise.
9721         * math/w_fmod.c (__fmod): Likewise.
9722         * math/w_fmodf.c (__fmodf): Likewise.
9723         * math/w_fmodl.c (_fmodl): Likewise.
9724         * math/w_remainder.c (__remainder): Likewise.
9725         * math/w_remainderf.c (__remainderf): Likewise.
9726         * math/w_remainderl.c (__remainderl): Likewise.
9727         * math/w_scalb.c (__scalb): Likewise.
9728         * math/w_scalbf.c (__scalbf): Likewise.
9729         * math/w_scalbl.c (__scalbl): Likewise.
9730         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
9731         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
9732         with isinf.
9733         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
9734         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
9735         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
9736         __isinf_nsf with isinf.
9737         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
9738         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
9739         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
9740         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
9741         with isinf.
9742         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
9743         __isinf_nsl with isinf.
9744         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
9745         with isinf.
9746         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
9747         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
9748         __isinf_nsl with isinf.
9749         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
9750         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
9751         with isinf.
9753 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9755         * resolv/base64.c (rcsid): Remove unused static.
9756         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
9757         static.  (tqpi1): Likewise.
9758         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
9759         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
9760         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
9761         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
9762         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
9763         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
9764         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
9765         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
9766         Likewise.
9768 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
9770         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
9771         <nptl/pthreadP.h>.
9772         (_longjmp_unwind): Use __libc_ptf_call.
9773         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
9775 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
9777         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
9778         * sysdeps/arm/__longjmp.S: Likewise.
9780 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9782         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
9783         Use __builtin_signbit.
9784         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
9785         Use __builtin_signbitf.
9786         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
9787         Use __builtin_signbitl.
9788         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9789         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
9791 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9793         [BZ #15367]
9794         [BZ #17441]
9796         * math/Makefile: Build test-snan.c with -fsignaling-nans.
9797         * math/math.h (fpclassify): Use __builtin_fpclassify when
9798         available.  (signbit): Use __builtin_signbit(f/l).
9799         (isfinite): Use__builtin_isfinite.  (isnormal): Use
9800         __builtin_isnormal.  (isnan): Use __builtin_isnan.
9801         (isinf): Use __builtin_isinf_sign.
9803 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9805         * benchtests/Makefile: Add bench-math-inlines, link with libm.
9806         * benchtests/bench-math-inlines.c: New benchmark.
9807         * benchtests/bench-util.h: New file.
9808         * benchtests/bench-util.c: New file.
9809         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
9811 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
9813         * elf/tst-dlmopen1.c: Define TEST_SO.
9814         (do_test): Use TEST_SO.
9816         * elf/dl-load.c: Include libc-internal.h.
9817         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
9819 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9821         [BZ #17887]
9822         * time/strptime_l.c (__strptime_internal): Make %z accept
9823         [+-]HH:MM time zones.
9825 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9827         [BZ #17886]
9828         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
9829         valid time zone.
9831 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
9833         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
9834         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
9835         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9836         (__ASSUME_FDATASYNC): Delete.
9838 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9840         * conform/linknamespace.pl: Require weak undefined symbols to be
9841         in the standard namespace.
9842         (%strong_syms): Rename to %seen_syms.
9843         (%strong_seen): Rename to %seen_where.
9845 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
9847         [BZ #18970]
9848         * misc/error.c (error): Replace pthread_setcancelstate with
9849         __pthread_setcancelstate.
9850         (error_at_line): Likewise.
9851         * posix/wordexp.c (parse_comm): Likewise.
9852         * stdlib/fmtmsg.c (fmtmsg): Likewise.
9853         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
9854         (__pthread_setcancelstate): This.
9855         (pthread_setcancelstate): Add an alias.
9856         * nptl/nptl-init.c (pthread_functions): Replace
9857         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
9858         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
9859         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
9860         hidden_proto.
9861         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
9862         it with hidden_def.
9863         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
9864         (pthread_setcancelstate): Renamed to ...
9865         (__pthread_setcancelstate): This.
9866         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
9867         __libc_ptf_call with __pthread_setcancelstate.
9869 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9870             Andreas Schwab  <schwab@suse.de>
9872         [BZ #17118]
9873         * math/s_ctan.c (__ctan): Determine sign of zero real part of
9874         result when imaginary part of argument is infinite using sine and
9875         cosine.
9876         * math/s_ctanf.c (__ctanf): Likewise.
9877         * math/s_ctanl.c (__ctanl): Likewise.
9878         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
9879         of result when real part of argument is infinite using sine and
9880         cosine.
9881         * math/s_ctanhf.c (__ctanhf): Likewise.
9882         * math/s_ctanhl.c (__ctanhl): Likewise.
9883         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
9884         (ctanh_test_data): Add more tests of ctanh.
9886 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9888         [BZ #15384]
9889         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
9890         bit-mask as in subtraction.
9891         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
9892         Likewise.
9893         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
9894         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
9895         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
9897         [BZ #18951]
9898         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
9899         underflow exception for small results.
9900         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9901         Likewise.
9902         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9903         Likewise.
9904         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9905         Likewise.
9906         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9907         Likewise.
9908         * math/auto-libm-test-in: Add more tests of tgamma.
9909         * math/auto-libm-test-out: Regenerated.
9911 2015-09-17  Andreas Schwab  <schwab@suse.de>
9913         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
9915 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9917         [BZ #18977]
9918         * math/bits/mathcalls.h
9919         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
9920         not declare.
9921         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
9922         Likewise.
9923         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
9924         Likewise.
9925         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
9926         Likewise.
9927         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
9928         Likewise.
9929         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
9930         Likewise.
9931         * conform/data/math.h-data
9932         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
9933         function.
9934         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
9935         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
9936         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
9937         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
9938         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
9939         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
9940         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
9941         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
9942         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
9943         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
9944         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
9946         [BZ #6803]
9947         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
9948         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
9949         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
9950         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
9951         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
9952         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
9953         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
9954         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
9955         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9956         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
9957         Likewise.
9958         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9959         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
9960         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
9961         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
9962         long_double_symbol calls.
9963         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
9964         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
9965         strong alias of __ldexpl.
9966         (scalbnl): Define using long_double_symbol.
9967         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
9968         Remove alias.
9969         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
9970         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
9971         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
9972         (scalbln_test_data): Add more errno expectations.
9974 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
9976         Cache the host port like we cache the task port.  This way we do not
9977         need to call the kernel just to get the port.  Furthermore, we no
9978         longer increase the reference count on every invocation of
9979         `mach_host_self'.
9981         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9982         Protect declarations against the macro expansion.
9983         * mach/mach_init.c (__mach_host_self_): New variable.
9984         (mach_init): Initialize `__mach_host_self_'.
9985         * mach/mach_init.h (__mach_host_self_): New declaration.
9986         (__mach_host_self, mach_host_self): New macros.
9987         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
9988         Release reference.
9990 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9992         [BZ #4404]
9993         * po/de.po: Update from Translation Project.
9995         [BZ #16415]
9996         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
9997         (__expm1l): Remove code to handle positive infinity and overflow.
9998         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
9999         variable.
10000         (__expm1l): Remove code to handle positive infinity and overflow.
10002 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
10003             Paul Pluzhnikov  <ppluzhnikov@google.com>
10005         [BZ #18872]
10006         * stdio-common/Makefile (tst-printf-bz18872): New test.
10007         (tst-printf-bz18872-mem.out): Likewise.
10008         * stdio-common/tst-printf-bz18872.sh: Generate new test.
10009         * stdio-common/vfprintf.c: Fix memory leaks.
10011 2015-09-16  Andreas Schwab  <schwab@suse.de>
10013         [BZ #17244]
10014         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
10015         Remove extra va_start/va_end calls.
10017         [BZ #17243]
10018         * posix/execl.c (execl): Add missing va_end.
10019         * posix/execle.c (execle): Likewise.
10020         * posix/execlp.c (execlp): Likewise.
10022 2015-09-15  Roland McGrath  <roland@hack.frob.com>
10024         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
10025         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
10027 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
10029         [BZ #18967]
10030         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
10031         undefine around includes of <bits/mathcalls.h>.
10032         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
10033         not declare function.
10034         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
10035         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
10036         (scalb): Likewise.
10037         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
10038         not define macro.
10039         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
10040         variable.
10041         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10042         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10043         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10045         [BZ #18857]
10046         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
10047         return non-finite argument without doing ordered comparisons on
10048         it.
10050         [BZ #16296]
10051         * math/fenv.h (fegetround): Use __attribute_pure__.
10052         * include/fenv.h (__fegetround): Likewise.
10054         [BZ #18595]
10055         * math/s_ctan.c (__ctan): Force underflow exception for results
10056         whose real or imaginary part has small absolute value.
10057         * math/s_ctanf.c (__ctanf): Likewise.
10058         * math/s_ctanh.c (__ctanh): Likewise.
10059         * math/s_ctanhf.c (__ctanhf): Likewise.
10060         * math/s_ctanhl.c (__ctanhl): Likewise.
10061         * math/s_ctanl.c (__ctanl): Likewise.
10062         * math/auto-libm-test-in: Do not allow missing underflow for ctan
10063         and ctanh.  Add more tests of ctan and ctanh.
10065         [BZ #15918]
10066         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
10067         handling of cases where one argument is an infinity.
10069         [BZ #18875]
10070         [BZ #18966]
10071         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
10072         (MO): New macro.
10073         (__ieee754_exp10): For small results, force underflow exception
10074         and remove excess range and precision from return value.
10075         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
10076         (MO): New macro.
10077         (__ieee754_exp10f): For small results, force underflow exception
10078         and remove excess range and precision from return value.
10079         * math/auto-libm-test-in: Add more tests of exp10.
10080         * math/auto-libm-test-out: Regenerated.
10082 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
10084         [BZ #18875]
10085         [BZ #18961]
10086         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
10087         (MO): New macro.
10088         (__ieee754_exp): For small results, force underflow exception and
10089         remove excess range and precision from return value.
10090         (__exp_finite): Likewise.
10091         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
10092         (MO): New macro.
10093         (__ieee754_expf): For small results, force underflow exception and
10094         remove excess range and precision from return value.
10095         (__expf_finite): Likewise.
10096         * math/auto-libm-test-in: Add more tests of exp.
10097         * math/auto-libm-test-out: Regenerated.
10099         [BZ #16521]
10100         [BZ #18875]
10101         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
10102         small results.
10103         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
10104         (MO): New macro.
10105         (__ieee754_exp2): For small results, force underflow exception and
10106         remove excess range and precision from return value.
10107         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
10108         (MO): New macro.
10109         (__ieee754_exp2f): For small results, force underflow exception
10110         and remove excess range and precision from return value.
10111         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
10112         (MO): New macro.
10113         (__ieee754_exp2l): Force underflow exception for small results.
10114         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10115         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10116         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
10117         (MO): New macro.
10118         (__ieee754_exp2l): Force underflow exception for small results.
10119         * math/auto-libm-test-in: Add more tests or exp2.
10120         * math/auto-libm-test-out: Regenerated.
10122 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
10124         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
10126         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
10127         /dev/null.
10129 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10131         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10132         io fs process)): Drop spurious backslash.
10134 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
10137         Use sysinfo system call instead of parsing /proc/meminfo.
10138         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
10139         Likewise.
10141 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
10143         [BZ #16985]
10144         * programs/localedef.c (main): Display argv[remaining] when
10145         output_path is NULL.
10147 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10149         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10150         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
10151         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
10152         tanh.
10153         * math/auto-libm-test-out: Regenerated.
10154         * sysdeps/i386/fpu/libm-test-ulps: Update.
10155         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10156         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10159 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10161         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10162         Use 'override' keyword to freeze the value here, preventing
10163         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10165 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10167         [BZ #14912]
10168         * sysdeps/aarch64/bits/atomic.h: Move to ...
10169         * sysdeps/aarch64/atomic-machine.h: ...here.
10170         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10171         _AARCH64_ATOMIC_MACHINE_H.
10172         * sysdeps/alpha/bits/atomic.h: Move to ...
10173         * sysdeps/alpha/atomic-machine.h: ...here.
10174         * sysdeps/arm/bits/atomic.h: Move to ...
10175         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10176         * bits/atomic.h: Move to ...
10177         * sysdeps/generic/atomic-machine.h: ...here.
10178         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10179         * sysdeps/i386/bits/atomic.h: Move to ...
10180         * sysdeps/i386/atomic-machine.h: ...here.
10181         * sysdeps/ia64/bits/atomic.h: Move to ...
10182         * sysdeps/ia64/atomic-machine.h: ...here.
10183         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10184         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10185         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10186         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10187         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10188         * sysdeps/microblaze/bits/atomic.h: Move to ...
10189         * sysdeps/microblaze/atomic-machine.h: ...here.
10190         * sysdeps/mips/bits/atomic.h: Move to ...
10191         * sysdeps/mips/atomic-machine.h: ...here.
10192         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10193         * sysdeps/powerpc/bits/atomic.h: Move to ...
10194         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10195         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10196         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10197         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10198         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10199         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10200         <atomic-machine.h> instead of <bits/atomic.h>.
10201         * sysdeps/s390/bits/atomic.h: Move to ...
10202         * sysdeps/s390/atomic-machine.h: ...here.
10203         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10204         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10205         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10206         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10207         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10208         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10209         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10210         * sysdeps/tile/bits/atomic.h: Move to ...
10211         * sysdeps/tile/atomic-machine.h: ...here.
10212         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10213         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10214         <sysdeps/tile/atomic-machine.h> instead of
10215         <sysdeps/tile/bits/atomic.h>.
10216         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10217         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10218         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10219         <sysdeps/tile/atomic-machine.h> instead of
10220         <sysdeps/tile/bits/atomic.h>.
10221         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10222         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10223         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10224         <sysdeps/arm/atomic-machine.h> instead of
10225         <sysdeps/arm/bits/atomic.h>.
10226         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10227         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10228         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10229         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10230         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10231         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10232         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10233         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10234         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10235         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10236         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10237         * sysdeps/x86_64/bits/atomic.h: Move to ...
10238         * sysdeps/x86_64/atomic-machine.h: ...here.
10239         * include/atomic.h: Include <atomic-machine.h> instead of
10240         <bits/atomic.h>.
10242         * sysdeps/mips/mips32/libm-test-ulps: Update.
10243         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10245         [BZ #18952]
10246         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10247         not convert non-integer negative arguments to int to determine the
10248         value of signgam.
10249         * math/auto-libm-test-in: Add more tests of lgamma.
10250         * math/auto-libm-test-out: Regenerated.
10252         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10253         cosh, csqrt, erfc, expm1 and lgamma.
10254         * math/auto-libm-test-out: Regenerated.
10255         * sysdeps/i386/fpu/libm-test-ulps: Update.
10256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10258 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10260         [BZ #2542]
10261         [BZ #2543]
10262         [BZ #2558]
10263         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10264         __lgamma_neg for arguments from -28.0 to -2.0.
10265         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10266         __lgamma_negf for arguments from -15.0 to -2.0.
10267         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10268         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10269         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10270         Call __lgamma_negl for arguments from -33.0 to -2.0.
10271         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10272         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10273         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10274         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10275         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10276         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10277         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10278         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10279         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10280         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10281         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10282         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10283         (__lgamma_neg): Likewise.
10284         (__lgamma_negl): Likewise.
10285         (__lgamma_product): Likewise.
10286         (__lgamma_productl): Likewise.
10287         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10288         * math/auto-libm-test-in: Add more tests of lgamma.
10289         * math/auto-libm-test-out: Regenerated.
10290         * sysdeps/i386/fpu/libm-test-ulps: Update.
10291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10293 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10295         [BZ #18675]
10296         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10298 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10300         [BZ #14912]
10301         * bits/libc-lock.h: Move to ...
10302         * sysdeps/generic/libc-lock.h: ...here.
10303         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10304         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10305         * sysdeps/mach/hurd/libc-lock.h: ...here.
10306         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10307         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10308         * sysdeps/mach/bits/libc-lock.h: Move to ...
10309         * sysdeps/mach/libc-lock.h: ...here.
10310         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10311         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10312         * sysdeps/nptl/libc-lock.h: ...here.
10313         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10314         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10315         * sysdeps/nptl/libc-lockP.h: ...here.
10316         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10317         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10318         <bits/libc-lock.h>.
10319         * dirent/scandir-tail.c: Likewise.
10320         * dlfcn/dlerror.c: Likewise.
10321         * elf/dl-close.c: Likewise.
10322         * elf/dl-iteratephdr.c: Likewise.
10323         * elf/dl-lookup.c: Likewise.
10324         * elf/dl-open.c: Likewise.
10325         * elf/dl-support.c: Likewise.
10326         * elf/dl-writev.h: Likewise.
10327         * elf/rtld.c: Likewise.
10328         * grp/fgetgrent.c: Likewise.
10329         * gshadow/fgetsgent.c: Likewise.
10330         * gshadow/sgetsgent.c: Likewise.
10331         * iconv/gconv_conf.c: Likewise.
10332         * iconv/gconv_db.c: Likewise.
10333         * iconv/gconv_dl.c: Likewise.
10334         * iconv/gconv_int.h: Likewise.
10335         * iconv/gconv_trans.c: Likewise.
10336         * include/link.h: Likewise.
10337         * inet/getnameinfo.c: Likewise.
10338         * inet/getnetgrent.c: Likewise.
10339         * inet/getnetgrent_r.c: Likewise.
10340         * intl/bindtextdom.c: Likewise.
10341         * intl/dcigettext.c: Likewise.
10342         * intl/finddomain.c: Likewise.
10343         * intl/gettextP.h: Likewise.
10344         * intl/loadmsgcat.c: Likewise.
10345         * intl/localealias.c: Likewise.
10346         * intl/textdomain.c: Likewise.
10347         * libidn/idn-stub.c: Likewise.
10348         * libio/libioP.h: Likewise.
10349         * locale/duplocale.c: Likewise.
10350         * locale/freelocale.c: Likewise.
10351         * locale/newlocale.c: Likewise.
10352         * locale/setlocale.c: Likewise.
10353         * login/getutent_r.c: Likewise.
10354         * login/getutid_r.c: Likewise.
10355         * login/getutline_r.c: Likewise.
10356         * login/utmp-private.h: Likewise.
10357         * login/utmpname.c: Likewise.
10358         * malloc/mtrace.c: Likewise.
10359         * misc/efgcvt.c: Likewise.
10360         * misc/error.c: Likewise.
10361         * misc/fstab.c: Likewise.
10362         * misc/getpass.c: Likewise.
10363         * misc/mntent.c: Likewise.
10364         * misc/syslog.c: Likewise.
10365         * nis/nis_call.c: Likewise.
10366         * nis/nis_callback.c: Likewise.
10367         * nis/nss-default.c: Likewise.
10368         * nis/nss_compat/compat-grp.c: Likewise.
10369         * nis/nss_compat/compat-initgroups.c: Likewise.
10370         * nis/nss_compat/compat-pwd.c: Likewise.
10371         * nis/nss_compat/compat-spwd.c: Likewise.
10372         * nis/nss_nis/nis-alias.c: Likewise.
10373         * nis/nss_nis/nis-ethers.c: Likewise.
10374         * nis/nss_nis/nis-grp.c: Likewise.
10375         * nis/nss_nis/nis-hosts.c: Likewise.
10376         * nis/nss_nis/nis-network.c: Likewise.
10377         * nis/nss_nis/nis-proto.c: Likewise.
10378         * nis/nss_nis/nis-pwd.c: Likewise.
10379         * nis/nss_nis/nis-rpc.c: Likewise.
10380         * nis/nss_nis/nis-service.c: Likewise.
10381         * nis/nss_nis/nis-spwd.c: Likewise.
10382         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10383         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10384         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10385         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10386         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10387         * nis/nss_nisplus/nisplus-network.c: Likewise.
10388         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10389         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10390         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10391         * nis/nss_nisplus/nisplus-service.c: Likewise.
10392         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10393         * nis/ypclnt.c: Likewise.
10394         * nptl/libc_pthread_init.c: Likewise.
10395         * nss/getXXbyYY.c: Likewise.
10396         * nss/getXXent.c: Likewise.
10397         * nss/getXXent_r.c: Likewise.
10398         * nss/nss_db/db-XXX.c: Likewise.
10399         * nss/nss_db/db-netgrp.c: Likewise.
10400         * nss/nss_db/nss_db.h: Likewise.
10401         * nss/nss_files/files-XXX.c: Likewise.
10402         * nss/nss_files/files-alias.c: Likewise.
10403         * nss/nsswitch.c: Likewise.
10404         * posix/regex_internal.h: Likewise.
10405         * posix/wordexp.c: Likewise.
10406         * pwd/fgetpwent.c: Likewise.
10407         * resolv/res_hconf.c: Likewise.
10408         * resolv/res_libc.c: Likewise.
10409         * shadow/fgetspent.c: Likewise.
10410         * shadow/lckpwdf.c: Likewise.
10411         * shadow/sgetspent.c: Likewise.
10412         * socket/opensock.c: Likewise.
10413         * stdio-common/reg-modifier.c: Likewise.
10414         * stdio-common/reg-printf.c: Likewise.
10415         * stdio-common/reg-type.c: Likewise.
10416         * stdio-common/vfprintf.c: Likewise.
10417         * stdio-common/vfscanf.c: Likewise.
10418         * stdlib/abort.c: Likewise.
10419         * stdlib/cxa_atexit.c: Likewise.
10420         * stdlib/fmtmsg.c: Likewise.
10421         * stdlib/random.c: Likewise.
10422         * stdlib/setenv.c: Likewise.
10423         * string/strsignal.c: Likewise.
10424         * sunrpc/auth_none.c: Likewise.
10425         * sunrpc/bindrsvprt.c: Likewise.
10426         * sunrpc/create_xid.c: Likewise.
10427         * sunrpc/key_call.c: Likewise.
10428         * sunrpc/rpc_thread.c: Likewise.
10429         * sysdeps/arm/backtrace.c: Likewise.
10430         * sysdeps/generic/ldsodefs.h: Likewise.
10431         * sysdeps/generic/stdio-lock.h: Likewise.
10432         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10433         * sysdeps/i386/backtrace.c: Likewise.
10434         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10435         * sysdeps/m68k/backtrace.c: Likewise.
10436         * sysdeps/mach/hurd/cthreads.c: Likewise.
10437         * sysdeps/mach/hurd/dirstream.h: Likewise.
10438         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10439         * sysdeps/nptl/malloc-machine.h: Likewise.
10440         * sysdeps/nptl/stdio-lock.h: Likewise.
10441         * sysdeps/posix/dirstream.h: Likewise.
10442         * sysdeps/posix/getaddrinfo.c: Likewise.
10443         * sysdeps/posix/system.c: Likewise.
10444         * sysdeps/pthread/aio_suspend.c: Likewise.
10445         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10446         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10447         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10448         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10449         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10450         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10451         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10452         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10453         * sysdeps/unix/sysv/linux/system.c: Likewise.
10454         * sysdeps/x86_64/backtrace.c: Likewise.
10455         * time/alt_digit.c: Likewise.
10456         * time/era.c: Likewise.
10457         * time/tzset.c: Likewise.
10458         * wcsmbs/wcsmbsload.c: Likewise.
10459         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10460         instead of <bits/libc-lock.h> in comment.
10462 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10464         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10465         Only use .set mips2 if the current ISA is below mips2.
10466         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10467         Likewise.
10468         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10469         mips32r2 if the current ISA is below mips32r2.
10470         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10471         (TLS_IE): Updated to use the TLD_RDHWR macro.
10472         (TLS_LE): Likewise.
10473         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10474         __ASSEMBLER__ condition.
10476 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10478         Fix parallel build of before-compile targets.
10480         * sysdeps/mach/Makefile ($(patsubst
10481         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10482         mach-before-compile target.
10483         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10484         io fs process)): Move rule to dedicated hurd-before-compile target.
10486 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10488         Fix rules generating headers in hurd/ and mach/ when initial make call
10489         has subdir= explicitly set.
10491         * sysdeps/mach/Makefile ($(patsubst
10492         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10493         calling $(MAKE).
10494         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10495         io fs process)): Force subdir to hurd when calling $(MAKE).
10496         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10497         subdir to mach when calling $(MAKE).
10499 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10501         Check sysheaders when looking for Mach and Hurd headers
10503         * sysdeps/mach/configure.ac: Add sysheaders check.
10504         * sysdeps/mach/configure: Regenerate.
10505         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10506         * sysdeps/mach/hurd/configure: Regenerate.
10508 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10510         [BZ #18921]
10511         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10512         Fix inverted sense of test of 'o_directory_works' value.
10513         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10514         Bernhard Voelker <mail@bernhard-voelker.de>.
10516 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10518         [BZ #14912]
10519         * bits/linkmap.h: Move to ...
10520         * sysdeps/generic/linkmap.h: ...here.
10521         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10522         * sysdeps/aarch64/linkmap.h: ...here.
10523         * sysdeps/arm/bits/linkmap.h: Move to ...
10524         * sysdeps/arm/linkmap.h: ...here.
10525         * sysdeps/hppa/bits/linkmap.h: Move to ...
10526         * sysdeps/hppa/linkmap.h: ...here.
10527         * sysdeps/ia64/bits/linkmap.h: Move to ...
10528         * sysdeps/ia64/linkmap.h: ...here.
10529         * sysdeps/mips/bits/linkmap.h: Move to ...
10530         * sysdeps/mips/linkmap.h: ...here.
10531         * sysdeps/s390/bits/linkmap.h: Move to ...
10532         * sysdeps/s390/linkmap.h: ...here.
10533         * sysdeps/sh/bits/linkmap.h: Move to ...
10534         * sysdeps/sh/linkmap.h: ...here.
10535         * sysdeps/x86/bits/linkmap.h: Move to ...
10536         * sysdeps/x86/linkmap.h: ...here.
10537         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
10539 2015-09-04  Andreas Schwab  <schwab@suse.de>
10541         [BZ #18635]
10542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10543         (__makecontext): Terminate FDE before return label.
10544         (__novec_makecontext): Likewise.
10546 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10548         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10549         first member of struct sv in syscall macro.
10551 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10553         [BZ #14912]
10554         * bits/stdio-lock.h: Move to ...
10555         * sysdeps/generic/stdio-lock.h: ...here.
10556         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10557         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10558         * sysdeps/nptl/stdio-lock.h: ...here.
10559         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10560         * include/libio.h: Include <stdio-lock.h> instead of
10561         <bits/stdio-lock.h>.
10562         * sysdeps/nptl/fork.c: Likewise.
10563         * sysdeps/pthread/flockfile.c: Likewise.
10564         * sysdeps/pthread/ftrylockfile.c: Likewise.
10565         * sysdeps/pthread/funlockfile.c: Likewise.
10567         [BZ #14912]
10568         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
10569         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
10570         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
10571         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
10572         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
10573         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10574         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
10576 2015-09-03  Roland McGrath  <roland@hack.frob.com>
10578         * elf/Makefile (test-xfail-tst-protected1a): New variable.
10579         (test-xfail-tst-protected1b): New variable.
10581 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
10583         [BZ #14912]
10584         * bits/libc-tsd.h: Move to ...
10585         * sysdeps/generic/libc-tsd.h: ...here.
10586         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
10587         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
10588         * sysdeps/mach/hurd/libc-tsd.h: ...here.
10589         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
10590         * include/ctype.h: Include <libc-tsd.h> instead of
10591         <bits/libc-tsd.h>.
10592         * include/rpc/rpc.h: Likewise.
10593         * locale/localeinfo.h: Likewise.
10594         * sunrpc/rpc_thread.c: Likewise.
10595         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10596         * sysdeps/nptl/malloc-machine.h: Likewise.
10598         * Makefile (headers): Remove bits/libc-lock.h.
10599         * libio/Makefile (headers): Remove bits/stdio-lock.h.
10601         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
10602         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
10603         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
10604         <bits/stdio-lock.h>.
10605         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
10606         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
10608 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10610         [BZ #18757]
10611         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
10612         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
10613         BZ #18757.
10615 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10617         * malloc/mtrace.pl: Filter out NULL entries.
10619 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
10621         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
10622         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
10623         macro.
10625         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
10626         (TCP_CC_INFO): Likewise.
10627         (TCP_SAVE_SYN): Likewise.
10628         (TCP_SAVED_SYN): Likewise.
10630 2015-08-31  Brett Neumeier <brett@neumeier.us>
10632         [BZ #18870]
10633         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
10635 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
10637         [BZ #18873]
10638         Fix broken overflow check in posix_fallocate
10639         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
10640         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10641         Fix parenthesization typo.
10643 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
10645         [BZ #18887]
10646         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
10647         tst-mntent-blank-passno.
10648         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
10649         * misc/tst-mntent-blank-corrupt.c: New test.
10650         * misc/tst-mntent-blank-passno.c: New test ripped from ...
10651         * misc/tst-mntent.c (do_test): ... here.
10653 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
10655         [BZ #4404]
10656         * po/de.po: Fix SIGALRM typo.
10658 2015-08-28  James Perkins  <james@loowit.net>
10660         * time/tst-strptime2.c (tests): Replace short list of test
10661         strings for strptime %z specifier with code which exhaustively
10662         tests every combination of sign and 0 to 5 digits. Tests for
10663         rejection of invalid strings.
10665 2015-08-28  James Perkins  <james@loowit.net>
10667         [BZ #16141]
10668         * time/strptime_l.c (__strptime_internal): Fix %z minutes
10669         calculation, removing incorrect decimal time rounding, so that
10670         all minute values result in a valid seconds value.
10671         * time/strptime_l.c (__strptime_internal): Extend %z time zone
10672         offset range limits to UTC-99:59 through UTC+99:59 to parse
10673         current and historical use cases.
10674         * time/tst-strptime2.c (tests): Modify and add tests for the
10675         strptime %z input field descriptor, specifically conversion of
10676         minutes to seconds and validating an offset range of -9959 to
10677         +9959.
10679 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10680             Dmitry V. Levin  <ldv@altlinux.org>
10682         [BZ #18877]
10683         * posix/Makefile (tests): Add tst-mmap-offset.
10684         * posix/tst-mmap.c: New file.
10685         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
10686         offset calculation for negative values.
10688 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10690         * sysdeps/i386/init-arch.h: New file.
10691         * sysdeps/i386/i586/init-arch.h: Likewise.
10692         * sysdeps/i386/i686/init-arch.h: Likewise.
10693         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
10694         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
10695         * sysdeps/x86/cpu-features.h (bit_I586): New.
10696         (bit_I686): Likewise.
10697         (bit_CX8): Likewise.
10698         (bit_CMOV): Likewise.
10699         (index_CX8): Likewise.
10700         (index_CMOV): Likewise.
10701         (index_I586): Likewise.
10702         (index_I686): Likewise.
10703         (reg_CX8): Likewise.
10704         (reg_CMOV): Likewise.
10705         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
10706         available at compile-time.
10707         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
10708         available at compile-time.
10709         * sysdeps/x86/init-arch.h (USE_I586): New macro.
10710         (USE_I686): Likewise.
10712 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10714         * sysdeps/i386/bcopy.S: New file.
10715         * sysdeps/i386/bzero.S: Likewise.
10716         * sysdeps/i386/memcpy.S: Likewise.
10717         * sysdeps/i386/memmove.S: Likewise.
10718         * sysdeps/i386/mempcpy.S: Likewise.
10719         * sysdeps/i386/memset.S: Likewise.
10720         * sysdeps/i386/bzero.c: Removed.
10721         * sysdeps/i386/memset.c: Likewise.
10722         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
10723         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
10724         * sysdeps/i386/i586/memset_chk.S: Likewise.
10725         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
10726         * sysdeps/i386/memcpy_chk.S: Here.
10727         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
10728         * sysdeps/i386/memmove_chk.S: Here.
10729         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
10730         * sysdeps/i386/mempcpy_chk.S: Likewise.
10731         * sysdeps/i386/i686/memset_chk.S: Moved to ...
10732         * sysdeps/i386/memset_chk.S: Likewise.
10734 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
10736         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
10737         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
10738         file, move DIAG_POP_NEEDS_COMMENT to end of file.
10739         * soft-fp/fmadf4.c: Ditto.
10740         * soft-fp/fmatf4.c: Ditto.
10742 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10744         * sysdeps/i386/i586/Implies: Removed.
10745         * sysdeps/i386/i686/Implies: Likewise.
10747 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10749         * sysdeps/i386/i486/strlen.S: Moved to ...
10750         * sysdeps/i386/strlen.S: Here.
10752 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10754         * sysdeps/i386/i486/strcat.S: Moved to ...
10755         * sysdeps/i386/strcat.S: Here.
10757 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10759         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
10760         * sysdeps/i386/pthread_spin_trylock.S: Here.
10761         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
10762         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
10764 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10766         * sysdeps/i386/i486/string-inlines.c: Moved to ...
10767         * sysdeps/i386/string-inlines.c: Here.
10769 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10771         * sysdeps/i386/i486/htonl.S: Moved ...
10772         * sysdeps/i386/htonl.S: here.
10774 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10776         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
10777         * sysdeps/i386/bits/atomic.h: Here.
10779 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10781         * sysdeps/i386/i486/Versions: Removed.
10783 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10785         [BZ #2898]
10786         * misc/mktemp.c: Add mkdtemp to the link_warning message.
10787         Based on patch by Aurelien Jarno.
10789 2015-08-26  Stan Shebs  <stanshebs@google.com>
10791         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
10792         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10794 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10796         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
10797         * sysdeps/powerpc/dl-procinfo.c:
10798         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
10799         feature so it shows when LD_SHOW_AUXV=1.
10801 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10803         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10804         (__arch_compare_and_exchange_val_32_acq): Remove and use common
10805         definition.  ISA 2.07B no longer requires full sync.
10807 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
10809         [BZ #18863]
10810         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
10811         (si_call_addr): Define.
10812         (si_syscall): Define.
10813         (si_arch): Define.
10815 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10817         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
10818         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
10819         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
10820         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10821         (__memset_zero_constant_len_parameter): New.
10822         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
10823         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10824         (__memset_zero_constant_len_parameter): Don't define if
10825         __memset_chk or USE_AS_BZERO are defined.
10827         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
10828         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
10829         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
10831         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
10832         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
10833         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
10834         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
10835         comments.
10836         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
10837         -mno-mmx for $(all-rtld-routines).
10838         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
10839         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
10840         i386.
10842 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10844         * sysdeps/generic/unwind.h
10845         (_Unwind_Word): Use __mode__(__unwind_word__)
10846         instead of __mode__(__word__).
10847         (_Unwind_Sword): Likewise.
10849         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10850         (MAX_NEEDED_INPUT): New define.
10851         (MAX_NEEDED_OUTPUT): New define.
10853         * NEWS: New item for IBM z13 string optimizations.
10855         * sysdeps/s390/multiarch/memrchr-c.c: New File.
10856         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
10857         * sysdeps/s390/multiarch/memrchr.c: Likewise.
10858         * sysdeps/s390/multiarch/Makefile
10859         (sysdep_routines): Add memrchr functions.
10860         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10861         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
10863         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
10864         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
10865         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
10866         * sysdeps/s390/multiarch/Makefile
10867         (sysdep_routines): Add wmemcmp functions.
10868         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10869         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
10870         * benchtests/bench-wmemcmp.c: New File.
10871         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
10873         * sysdeps/s390/multiarch/wmemset-c.c: New File.
10874         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
10875         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10876         * sysdeps/s390/multiarch/Makefile
10877         (sysdep_routines): Add wmemset functions.
10878         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10879         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
10880         * wcsmbs/wmemset.c: Use WMEMSET if defined.
10881         * string/test-memset.c: Add wmemset support.
10882         * wcsmbs/test-wmemset.c: New File.
10883         * wcsmbs/Makefile (strop-tests): Add wmemset.
10884         * benchtests/bench-memset.c: Add wmemset support.
10885         * benchtests/bench-wmemset.c: New File.
10886         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
10888         * sysdeps/s390/multiarch/memccpy-c.c: New File.
10889         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
10890         * sysdeps/s390/multiarch/memccpy.c: Likewise.
10891         * sysdeps/s390/multiarch/Makefile
10892         (sysdep_routines): Add memccpy functions.
10893         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10894         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
10895         * string/memccpy.c: Use MEMCCPY if defined.
10897         * sysdeps/s390/multiarch/memchr-vx.S: New File.
10898         * sysdeps/s390/multiarch/memchr.c: Likewise.
10899         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
10900         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
10901         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10902         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
10903         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
10904         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10905         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
10906         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
10907         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
10908         and rawmemchr functions.
10909         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10910         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
10911         and wmemchr.
10912         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
10913         * string/test-memchr.c: Add wmemchr support.
10914         * wcsmbs/test-wmemchr.c: New File.
10915         * wcsmbs/Makefile (strop-tests): Add wmemchr.
10916         * benchtests/bench-memchr.c: Add wmemchr support.
10917         * benchtests/bench-wmemchr.c: New File.
10918         * benchtests/Makefile (wcsmbs-bench): wmemchr.
10920         * sysdeps/s390/multiarch/strcspn-c.c: New File.
10921         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
10922         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10923         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
10924         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
10925         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
10926         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
10927         wcscspn functions.
10928         * sysdeps/s390/multiarch/ifunc-impl-list.c
10929         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
10930         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
10931         * string/test-strcspn.c: Add wcscspn support.
10932         * wcsmbs/test-wcscspn.c: New File.
10933         * wcsmbs/Makefile (strop-tests): Add wcscspn.
10934         * benchtests/bench-strcspn.c: Add wcscspn support.
10935         * benchtests/bench-wcscspn.c: New File.
10936         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
10938         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
10939         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
10940         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10941         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
10942         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
10943         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10944         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
10945         wcspbrk functions.
10946         * sysdeps/s390/multiarch/ifunc-impl-list.c
10947         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
10948         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
10949         * string/test-strpbrk.c: Add wcspbrk support.
10950         * wcsmbs/test-wcspbrk.c: New File.
10951         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
10952         * benchtests/bench-strpbrk.c: Add wcspbrk support.
10953         * benchtests/bench-wcspbrk.c: New File.
10954         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
10956         * sysdeps/s390/multiarch/strspn-c.c: New File.
10957         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
10958         * sysdeps/s390/multiarch/strspn.c: Likewise.
10959         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
10960         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
10961         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10962         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
10963         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
10964         wcsspn functions.
10965         * sysdeps/s390/multiarch/ifunc-impl-list.c
10966         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
10967         * string/test-strspn.c: Add wcsspn support.
10968         * wcsmbs/test-wcsspn.c: New File.
10969         * wcsmbs/Makefile (strop-tests): Add wcsspn.
10970         * benchtests/bench-strspn.c: Add wcsspn support.
10971         * benchtests/bench-wcsspn.c: New File.
10972         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
10974         * sysdeps/s390/multiarch/strrchr-c.c: New File.
10975         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
10976         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10977         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
10978         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
10979         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
10980         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
10981         wcsrchr functions.
10982         * sysdeps/s390/multiarch/ifunc-impl-list.c
10983         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
10984         * benchtests/bench-wcsrchr.c: New File.
10985         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
10987         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
10988         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
10989         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
10990         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
10991         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
10992         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
10993         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10994         wcschrnul functions.
10995         * sysdeps/s390/multiarch/ifunc-impl-list.c
10996         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
10997         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
10998         * string/test-strchr.c: Add wcschrnul support.
10999         * wcsmbs/test-wcschrnul.c: New File.
11000         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
11001         * benchtests/bench-strchr.c: Add wcschrnul support.
11002         * benchtests/bench-wcschrnul.c: New File.
11003         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
11005         * sysdeps/s390/multiarch/strchr-c.c: New File.
11006         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
11007         * sysdeps/s390/multiarch/strchr.c: Likewise.
11008         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
11009         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
11010         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11011         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
11012         wcschr functions.
11013         * sysdeps/s390/multiarch/ifunc-impl-list.c
11014         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
11015         * string/strchr.c (STRCHR): Define and use macro.
11016         * benchtests/bench-wcschr.c: New File.
11017         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
11019         * sysdeps/s390/multiarch/strncmp-c.c: New File.
11020         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
11021         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11022         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
11023         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
11024         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
11025         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
11026         wcsncmp functions.
11027         * sysdeps/s390/multiarch/ifunc-impl-list.c
11028         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
11029         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
11030         * benchtests/bench-strncmp.c: Add wcsncmp support.
11031         * benchtests/bench-wcsncmp.c: New File.
11032         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
11034         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
11035         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11036         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
11037         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
11038         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11039         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
11040         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
11041         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
11042         wcscmp functions.
11043         * sysdeps/s390/multiarch/ifunc-impl-list.c
11044         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
11045         * string/strcmp.c (STRCMP): Define and use macro.
11046         * benchtests/bench-wcscmp.c: New File.
11047         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
11048         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
11049         instead of _HAVE_STRING_ARCH_memchr.
11051         * sysdeps/s390/multiarch/strncat-c.c: New File.
11052         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
11053         * sysdeps/s390/multiarch/strncat.c: Likewise.
11054         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
11055         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
11056         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
11057         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
11058         wcsncat functions.
11059         * sysdeps/s390/multiarch/ifunc-impl-list.c
11060         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
11061         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
11062         * string/test-strncat.c: Add wcsncat support.
11063         * wcsmbs/test-wcsncat.c: New File.
11064         * wcsmbs/Makefile (strop-tests): Add wcsncat.
11065         * benchtests/bench-strncat.c: Add wcsncat support.
11066         * benchtests/bench-wcsncat.c: New File.
11067         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
11069         * sysdeps/s390/multiarch/strcat-c.c: New File.
11070         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
11071         * sysdeps/s390/multiarch/strcat.c: Likewise.
11072         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
11073         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
11074         * sysdeps/s390/multiarch/wcscat.c: Likewise.
11075         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
11076         wcscat functions.
11077         * sysdeps/s390/multiarch/ifunc-impl-list.c
11078         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
11079         * string/strcat.c (STRCAT): Define and use macro.
11080         * wcsmbs/wcscat.c: Use WCSCAT if defined.
11081         * string/test-strcat.c: Add wcscat support.
11082         * wcsmbs/test-wcscat.c: New File.
11083         * wcsmbs/Makefile (strop-tests): Add wcscat.
11084         * benchtests/bench-strcat.c: Add wcscat support.
11085         * benchtests/bench-wcscat.c: New File.
11086         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
11088         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
11089         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
11090         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11091         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
11092         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
11093         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
11094         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
11095         wcpncpy functions.
11096         * sysdeps/s390/multiarch/ifunc-impl-list.c
11097         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
11098         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
11099         * string/test-stpncpy.c: Add wcpncpy support.
11100         * wcsmbs/test-wcpncpy.c: New File.
11101         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
11102         * benchtests/bench-stpncpy.c: Add wcpncpy support.
11103         * benchtests/bench-wcpncpy.c: New File.
11104         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
11106         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
11107         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11108         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
11109         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
11110         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
11111         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
11112         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
11113         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11114         wcsncpy functions.
11115         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
11116         * sysdeps/s390/multiarch/ifunc-impl-list.c
11117         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
11118         * string/test-strncpy.c: Add wcsncpy support.
11119         * wcsmbs/test-wcsncpy.c: New File.
11120         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
11121         * benchtests/bench-strncpy.c: Add wcsncpy support.
11122         * benchtests/bench-wcsncpy.c: New File.
11123         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
11125         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
11126         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
11127         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11128         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
11129         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
11130         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
11131         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
11132         wcpcpy functions.
11133         * string/stpcpy.c: Use STPCPY if defined.
11134         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
11135         * sysdeps/s390/multiarch/ifunc-impl-list.c
11136         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
11137         * string/test-stpcpy.c: Add wcpcpy support.
11138         * wcsmbs/test-wcpcpy.c: New File.
11139         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
11140         * benchtests/bench-stpcpy.c: Add wcpcpy support.
11141         * benchtests/bench-wcpcpy.c: New File.
11142         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
11144         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
11145         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11146         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
11147         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
11148         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
11149         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
11150         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
11151         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
11152         wcscpy functions.
11153         * sysdeps/s390/multiarch/ifunc-impl-list.c
11154         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
11155         * benchtests/bench-wcscpy.c: New File.
11156         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
11158         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11159         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11160         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11161         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11162         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11163         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11164         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11165         wcsnlen functions.
11166         * sysdeps/s390/multiarch/ifunc-impl-list.c
11167         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11168         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11169         * string/test-strnlen.c: Add wcsnlen support.
11170         * wcsmbs/test-wcsnlen.c: New File.
11171         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11172         * benchtests/bench-strnlen.c: Add wcsnlen support.
11173         * benchtests/bench-wcsnlen.c: New File.
11174         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11176         * sysdeps/s390/multiarch/Makefile: New File.
11177         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11178         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11179         * sysdeps/s390/multiarch/strlen.c: Likewise.
11180         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11181         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11182         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11183         * string/strlen.c (STRLEN): Define and use macro.
11184         * sysdeps/s390/multiarch/ifunc-impl-list.c
11185         (IFUNC_VX_IMPL): New macro function.
11186         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11187         * benchtests/Makefile (wcsmbs-bench): New variable.
11188         (string-bench-all): Added wcsmbs-bench.
11189         * benchtests/bench-wcslen.c: New File.
11191         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11192         s390_vx_libc_ifunc2): New macro function.
11194         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11195         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11196         assembler support.
11197         * sysdeps/s390/configure: Regenerated.
11199         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11200         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11202         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11203         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11204         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11206         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11207         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11208         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11209         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11210         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11211         (memcmp, bcmp): Use __memcmp_default as alias source.
11212         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11213         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11214         Rename to __memcmp_default.
11215         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11216         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11217         (memcpy): Use __memcpy_default as alias source.
11218         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11219         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11220         Rename to __memcpy_default.
11221         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11222         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11223         (memset): Use __memset_default as alias source.
11224         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11225         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11226         Rename to __memset_default.
11227         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11228         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11229         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11230         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11231         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11232         (memcmp, bcmp): Use __memcmp_default as alias source.
11233         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11234         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11235         Rename to __memcmp_default.
11236         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11237         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11238         (memcpy): Use __memcpy_default as alias source.
11239         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11240         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11241         Rename to __memcpy_default.
11242         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11243         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11244         (memset): Use __memset_default as alias source.
11245         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11246         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11247         Rename to __memset_default.
11248         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11249         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11251         [BZ #18610]
11252         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11253         __ieee_instruction_pointer to __unused.
11254         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11255         __ieee_instruction_pointer.
11256         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11257         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11258         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11259         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11260         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11261         Mark dxc-field as reserved.
11263 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11265         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11266         if the weak reference is not null.
11268 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11270         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11272         [BZ #11214]
11273         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11275 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11277         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11278         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11279         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11280         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11281         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11282         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11283         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11284         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11285         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11286         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11287         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11288         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11289         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11290         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11291         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11292         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11293         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11294         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11296 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11298         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11299         register other than r0 for tabort, it has special meaning.
11300         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11301         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11302         transaction before starting syscall.
11304 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11306         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11308 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11310         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11312         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11313         * sysdeps/x86_64/rtld-memset.S: Likewise.
11314         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11315         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11316         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11317         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11319         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11321 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11323         * debug/strcpy_chk.c: Improve performance.
11324         * debug/stpcpy_chk.c: Likewise.
11325         * sysdeps/x86_64/strcpy_chk.S: Remove.
11326         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11328         [BZ #18240]
11329         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11331 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11333         [BZ #15128]
11334         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11335         ifuncmain8.
11336         (modules-names): Add ifuncmod8.
11337         ($(objpfx)ifuncmain8): New rule.
11338         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11339         <cpuid.h>.
11340         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11341         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11342         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11343         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11344         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11345         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11346         * sysdeps/x86_64/ifuncmain8.c: New file.
11347         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11348         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11349         Removed.
11350         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11351         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11352         Change rtld_savespace_sse to __glibc_unused2.
11353         (RTLD_CHECK_FOREIGN_CALL): Removed.
11354         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11355         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11356         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11358 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11360         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11362 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11364         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11365         Unconditionally set __fpcr to avoid uninialized warning.
11366         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11368 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11370         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11371         is corrupt.
11373         * malloc/arena.c (arena_get2): Drop unused argument.
11374         (arena_lock): Adjust.
11375         (arena_get_retry): Likewise.
11377 2015-08-24  Andreas Schwab  <schwab@suse.de>
11379         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11380         Don't define.
11381         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11382         (__ASSUME_IPC64): Don't undef.
11383         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11384         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11385         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11386         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11387         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11388         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11389         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11390         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11391         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11392         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11393         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11394         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11395         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11396         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11397         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11398         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11399         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11400         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11401         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11402         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11403         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11405 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11407         * manual/Makefile (install): Only build manual when perl is available.
11409 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11411         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11412         '#undef memcpy' by '#undef memchr'.
11414 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11416         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11417         memchr not point to the internal __GI_memchr implementation.
11419 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11421         * timezone/Makefile (CFLAGS-zdump.c): Remove
11422         -Wno-strict-prototypes.
11423         (CFLAGS-zic.c): Likewise.
11424         (CFLAGS-ialloc.c): Likewise.
11425         (CFLAGS-scheck.c): Likewise.
11427         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11428         -Wno-error=undef.
11430 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11432         * i386/i686/multiarch/strcasestr-c.c: Removed.
11433         * x86_64/multiarch/strcasestr.c: Likewise.
11434         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11435         Remove strcasestr.
11437 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11439         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11441         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11442         variables for high and low parts before possibly modifying them.
11444 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11446         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11447         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11448         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11449         of "multiarch/init-arch.h".
11450         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11451         * sysdeps/x86/init-arch.h: This.
11453 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11455         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11456         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11458 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11460         [BZ #17787]
11461         * manual/macros.texi: Add twoexp macro.
11462         * manual/filesys.texi: Fix exponents.
11463         * manual/llio.texi: Likewise.
11464         * manual/stdio.texi: Likewise.
11466 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11468         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11469         incorrect use.
11471 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11473         [BZ #18370]
11474         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11475         whose real or imaginary part has small absolute value.
11476         * math/s_csqrtf.c (__csqrtf): Likewise.
11477         * math/s_csqrtl.c (__csqrtl): Likewise.
11478         * math/auto-libm-test-in: Add more tests of csqrt.
11479         * math/auto-libm-test-out: Regenerated.
11480         * sysdeps/i386/fpu/libm-test-ulps: Update.
11482 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11484         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11485         __ppc_set_ppr_very_low): New functions.
11486         * manual/platform.texi: Add documentation about
11487         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11489 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11491         * string/stpncpy.c (stpncpy): Improve performance using
11492         __strnlen/memcpy/memset.
11494 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11496         [BZ #18796]
11497         * scripts/test-installation.pl: Don't add -lmvec to build options if
11498         libmvec wasn't built.
11500 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11502         [BZ #14341]
11503         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11504         case when there is a gap between DT_REL and DT_JMPREL sections.
11505         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11506         (LDFLAGS-tst-split-dynreloc): New.
11507         (tst-split-dynreloc-ENV): Likewise.
11508         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11509         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11511 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11513         [BZ #18822]
11514         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11515         attribute_hidden.
11516         (__xstat64_conv): Likewise.
11517         (__xstat32_conv): Likewise.
11519 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11521         [BZ #18822]
11522         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11523         Don't load %ebx when calling __setcontext.  Call __setcontext
11524         with HIDDEN_JUMPTARGET.
11525         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11526         libc_hidden_def.
11528 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11530         * sysdeps/i386/i686/Makefile
11531         [$(subdir) == string] (sysdep_routines): Moved to ...
11532         * sysdeps/i386/Makefile: Here.
11533         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
11534         * sysdeps/i386/cacheinfo.c: Here.
11535         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
11536         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
11537         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
11538         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
11540 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11542         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11543         __i586__ is defined.
11544         (HAS_I686): Defined to 1 if __i686__ is defined.
11546 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11548         * elf/Makefile [$(have-z-execstack) = yes]
11549         (CPPFLAGS-tst-execstack.c): New variable.
11551         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11552         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11553         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11554         UTMPX || _HAVE_UT_TV].
11555         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11556         UTMPX || _HAVE_UT_TV - 0].
11558 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11560         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11561         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11562         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
11564 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11566         * sysdeps/powerpc/dl-procinfo.c:
11567         (_dl_powerpc_cap_flags): Added missing strings for some
11568         hwcap features.
11569         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
11571 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
11573         Port the 0x7efe...feff pattern to GCC 6.
11574         See Steve Ellcey's bug report in:
11575         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
11576         * string/memrchr.c (MEMRCHR):
11577         * string/rawmemchr.c (RAWMEMCHR):
11578         * string/strchr.c (strchr):
11579         * string/strchrnul.c (STRCHRNUL):
11580         Rewrite code to avoid issues with signed shift overflow.
11582 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11584         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
11585         whether cpuid is available only if HAS_CPUID is 0.
11586         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
11587         (HAS_I586): Likewise.
11588         (HAS_I686): Likewise.
11590 2015-08-18  Zack Weinberg  <zackw@panix.com>
11592         * misc/Versions (libc): Add GLIBC_2.23.
11594 2015-08-18  Alan Modra  <amodra@gmail.com>
11596         [BZ #18421]
11597         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
11598         .Lp__global.
11599         (_start): Load %dp via .Lp__global.
11600         [!SHARED]: Use .section .rodata.
11602 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11604         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
11605         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
11607 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11609         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
11610         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
11612 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11614         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
11615         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
11617 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11619         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
11620         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
11622 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11624         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
11625         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
11627 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11629         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
11630         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
11632 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11634         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
11636 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11638         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
11639         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
11640         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11641         (__ASSUME_LWS_CAS): Delete.
11643 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11645         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
11646         * sysdeps/hppa/configure: Regenerated.
11647         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
11648         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
11649         * sysdeps/hppa/nptl/tls.h: Likewise.
11651 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
11653         [BZ #18823]
11654         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
11655         for scaling up small arguments.
11656         * math/s_csqrtf.c (__csqrtf): Likewise.
11657         * math/s_csqrtl.c (__csqrtl): Likewise.
11658         * math/auto-libm-test-in: Add more tests of csqrt.
11659         * math/auto-libm-test-out: Regenerated.
11661 2015-08-17  Andreas Schwab  <schwab@suse.de>
11663         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
11664         version set GLIBC_2.19.
11666 2015-08-16  Zack Weinberg  <zackw@panix.com>
11668         [BZ #18681]
11669         * misc/regexp.h: This interface is no longer supported.
11670         Remove all contents, leaving only an #error directive.
11671         * misc/regexp.c (loc1, loc2, locs, step, advance):
11672         Demote to compatibility symbols.
11674 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
11676         [BZ #18084]
11677         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
11678         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
11679         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11680         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
11681         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
11682         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
11683         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
11684         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
11685         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11687 2015-08-15  Zack Weinberg  <zackw@panix.com>
11689         [BZ #18795]
11690         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
11691         buffer length is known to be too large, not if it's known to be
11692         small enough.
11693         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
11694         overflow at runtime, involving a length parameter, twice: once
11695         with a compile-time constant length parameter, once without.
11697 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
11699         [BZ #18824]
11700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
11701         scaling x * y up instead of down.
11702         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11704         * math/auto-libm-test-in: Add more tests of fma.
11705         * math/auto-libm-test-out: Regenerated.
11707 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11709         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11711 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11713         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
11714         unnecessary movq.
11715         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
11716         Likewise.
11718 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
11720         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11721         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
11722         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
11723         and tgamma.
11724         * math/auto-libm-test-out: Regenerated.
11725         * sysdeps/i386/fpu/libm-test-ulps: Update.
11726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11728         [BZ #16520]
11729         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
11730         (__tanh): Force underflow exception for arguments with small
11731         absolute value.
11732         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
11733         (__tanhf): Force underflow exception for arguments with small
11734         absolute value.
11735         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
11736         (__tanhl): Force underflow exception for arguments with small
11737         absolute value.
11738         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
11739         (__tanhl): Force underflow exception for arguments with small
11740         absolute value.
11741         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
11742         (__tanhl): Force underflow exception for arguments with small
11743         absolute value.
11744         * math/auto-libm-test-in: Add more tests of tanh.
11745         * math/auto-libm-test-out: Regenerated.
11746         * sysdeps/i386/fpu/libm-test-ulps: Update.
11748 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11750         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
11751         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
11753 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11755         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
11756         <cpuid.h>.
11758 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11760         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
11761         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
11763 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11765         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
11766         Remove $(objpfx)init-arch.o.
11767         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
11768         init-arch.
11769         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
11770         (INIT_ARCH_EXT): Defined as empty.
11771         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
11772         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
11773         __init_cpu_features call.  Replace HAS_XXX with
11774         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11775         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
11776         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
11777         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
11778         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
11779         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11780         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
11781         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
11782         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11783         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
11784         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
11785         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11786         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
11787         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
11788         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11789         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
11790         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
11791         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11792         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11793         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
11794         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
11795         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11796         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
11797         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
11798         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11799         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
11800         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
11801         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11802         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
11803         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
11804         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11805         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
11806         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
11807         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11808         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
11809         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
11811 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11813         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
11814         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11815         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11816         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11817         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
11818         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
11819         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
11820         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
11821         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
11822         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
11823         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
11824         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
11825         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11826         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11827         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11828         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11829         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11830         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11831         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11832         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11833         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11834         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11835         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11836         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11837         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11838         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11839         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11840         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11841         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11842         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11843         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11844         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11845         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11846         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11847         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11848         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11849         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11850         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11851         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11852         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11853         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11854         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11855         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11857 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11859         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
11860         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11861         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11862         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11863         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11864         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
11865         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11866         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
11867         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11868         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11869         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11870         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
11871         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
11872         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
11873         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
11874         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
11875         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
11876         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
11877         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
11878         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
11879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11880         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
11881         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
11882         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11883         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11884         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
11885         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
11886         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
11887         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11888         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11889         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11890         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11891         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11892         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11893         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11894         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11895         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11896         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11897         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11898         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11899         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11900         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11901         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11903 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11905         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
11906         (dl_platform_init): Call init_cpu_features.
11907         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
11908         * sysdeps/i386/i686/cacheinfo.c
11909         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
11910         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
11911         * sysdeps/i386/i686/multiarch/Versions: Removed.
11912         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
11913         Removed.
11914         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
11915         * sysdeps/unix/sysv/linux/x86/Makefile
11916         (libpthread-sysdep_routines): Remove init-arch.
11917         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
11918         <sysdeps/x86_64/dl-procinfo.c> instead of
11919         sysdeps/generic/dl-procinfo.c>.
11920         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
11921         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
11922         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
11923         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
11924         [$(subdir) == elf] (tests-static): Add
11925         tst-get-cpu-features-static.
11926         * sysdeps/x86/Versions: New file.
11927         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
11928         * sysdeps/x86/cpu-features.c: Likewise.
11929         * sysdeps/x86/cpu-features.h: Likewise.
11930         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
11931         * sysdeps/x86/libc-start.c: Likewise.
11932         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11933         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
11934         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
11935         * sysdeps/x86_64/dl-procinfo.c: Likewise.
11936         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
11937         Assume USE_MULTIARCH is defined and don't check it.
11938         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
11939         (is_amd): Likewise.
11940         (max_cpuid): Likewise.
11941         (intel_check_word): Likewise.
11942         (__cache_sysconf): Don't call __init_cpu_features.
11943         (__x86_preferred_memory_instruction): Removed.
11944         (init_cacheinfo): Don't call __init_cpu_features. Replace
11945         __cpu_features with GLRO(dl_x86_cpu_features).
11946         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
11947         (dl_platform_init): Call init_cpu_features.
11948         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
11949         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
11950         * sysdeps/x86_64/multiarch/Versions: Removed.
11951         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
11952         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
11953         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
11954         Removed.
11955         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
11957 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11959         [BZ #18820]
11960         * libio/Makefile (test-fmemopen-mem): New test.
11961         * libio/test-fmemopen.c (do_bz18820): New test.
11962         * libio/fmemopen.c (__fmemopen): Fix memory leak.
11963         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
11965 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11967         [BZ #16734]
11968         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
11969         (FREE_BUF): Delete.
11970         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
11971         * libio/genops.c (_IO_setb): Use malloc and free directly.
11972         (_IO_default_doallocate, _IO_default_finish): Likewise.
11973         ( _IO_unbuffer_all): Likewise.
11974         ( libc_freeres_fn): Likewise.
11975         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11976         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11977         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
11978         (_IO_wdefault_doallocate): Likewise.
11980 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11982         [BZ #18086]
11983         * sysdeps/posix/nice.c (nice): Restore old errno.
11984         * posix/tst-nice.c (do_test): Add test for BZ #18086.
11986 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
11988         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
11990 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11992         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
11993         __bcopy and add a weak_alias to bcopy.
11994         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
11995         for static build.
11997         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
11998         cleanup macro usage.
11999         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
12000         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
12001         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12002         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
12003         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12004         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
12005         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
12006         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12007         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12008         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
12009         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12010         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
12011         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12012         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
12013         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12014         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
12015         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
12016         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
12017         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12019         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
12020         libc_hidden_def.
12021         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
12023         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
12024         (sysdep_routines): Add strstr-ppc64.
12025         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
12027 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
12029         [BZ #18778]
12030         * elf/Makefile (tests): Add Add tst-nodelete2.
12031         (modules-names): Add tst-nodelete2mod.
12032         (tst-nodelete2mod.so-no-z-defs): New.
12033         ($(objpfx)tst-nodelete2): Likewise.
12034         ($(objpfx)tst-nodelete2.out): Likewise.
12035         (LDFLAGS-tst-nodelete2): Likewise.
12036         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
12037         out of loop through all loaded libraries.
12038         * elf/tst-nodelete2.c: New file.
12039         * elf/tst-nodelete2mod.c: Likewise.
12040         * elf/tst-znodelete-zlib.cc: Delete.
12042 2015-08-11  Andreas Schwab  <schwab@suse.de>
12044         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
12045         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
12046         (__openat64_nocancel): Likewise.
12048 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
12050         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
12051         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
12052         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
12053         * math/auto-libm-test-out: Regenerated.
12054         * sysdeps/i386/fpu/libm-test-ulps: Update.
12055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12057 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12059         [BZ #18790]
12060         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
12061         threshold for returning +/- 1.
12062         * math/auto-libm-test-in: Add more tests of tanh.
12063         * math/auto-libm-test-out: Regenerated.
12064         * sysdeps/i386/fpu/libm-test-ulps: Update.
12066 2015-08-10  Andreas Schwab  <schwab@suse.de>
12068         [BZ #18781]
12069         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
12070         MORE_OFLAGS to oflag.
12071         * io/test-lfs.c (do_test): Test openat64.
12073 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12075         [BZ #18789]
12076         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
12077         smaller threshold for returning the argument.
12078         * math/auto-libm-test-in: Add more tests of sinh.
12079         * math/auto-libm-test-out: Regenerated.
12080         * sysdeps/i386/fpu/libm-test-ulps: Update.
12082 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12084         [BZ #18674]
12085         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
12086         break.
12088 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12090         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
12091         (generated): Don't add $(addprefix z.,$(tzfiles)).
12093 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12095         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
12096         * scripts/sysd-rules.awk: Likewise.
12098 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12100         * iconvdata/tst-tables.sh: Change echo -n to printf.
12101         * nss/db-Makefile: Likewise.
12102         * posix/tst-getconf.sh: Likewise.
12103         * stdio-common/tst-unbputc.sh: Likewise.
12105 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12107         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
12108         MADV_*_PAGES defines behind this feature check.
12110 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
12112         [BZ #18480]
12113         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
12114         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
12115         Define.
12116         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
12117         LOAD_REGS_5, LOAD_REGS_6): Update.
12118         (INTERNAL_SYSCALL): Update using new LOAD defines.
12119         (INTERNAL_SYSCALL_NCS): Likewise.
12120         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
12122 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12124         [BZ #16734]
12125         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
12127 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12129         [BZ #17905]
12130         * catgets/Makefile (tst-catgets-mem): New test.
12131         * catgets/catgets.c (catopen): Don't use unbounded alloca.
12132         * catgets/open_catalog.c (__open_catalog): Likewise.
12133         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
12135 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
12137         [BZ #18787]
12138         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
12139         clobber registers.
12140         (atomic_compare_and_exchange_val_acq): Use register asms to assign
12141         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
12142         Cast return to __typeof (oldval).
12144 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
12146         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
12147         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
12148         and delete sys/syscall.h include.
12150 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
12152         [BZ #16517]
12153         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
12154         (tan): Force underflow exception for arguments with small absolute
12155         value.
12156         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
12157         (__kernel_tanf): Force underflow exception for arguments with
12158         small absolute value.
12159         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12160         (__kernel_tanl): Force underflow exception for arguments with
12161         small absolute value.
12162         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12163         (__kernel_tanl): Force underflow exception for arguments with
12164         small absolute value.
12165         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12166         (__kernel_tanl): Force underflow exception for arguments with
12167         small absolute value.
12168         * math/auto-libm-test-in: Add more tests of tan.
12169         * math/auto-libm-test-out: Regenerated.
12171 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12173         Fix sysdeps/i386/fpu/s_scalbn.S build
12175         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12177 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12179         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12181 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12183         Fix gcrt0.o compilation
12185         When static-start-installed-name is different from
12186         start-installed-name, we must not use the shared objects.
12188         * csu/Makefile
12189         (extra-objs): Add gmon-start.o when building shared library and
12190         $(static-start-installed-name) is different from
12191         $(start-installed-name).
12192         $(objpfx)g$(static-start-installed-name): When building shared
12193         library and $(static-start-installed-name) is different from
12194         $(static-start-installed-name), revert to non-shared rule,
12195         i.e. using $(objpfx)% and gmon-start.o.
12197 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12199         [BZ #16519]
12200         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12201         (__ieee754_sinh): Force underflow exception for arguments with
12202         small absolute value.
12203         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12204         (__ieee754_sinhf): Force underflow exception for arguments with
12205         small absolute value.
12206         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12207         (__ieee754_sinhl): Force underflow exception for arguments with
12208         small absolute value.
12209         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12210         (__ieee754_sinhl): Force underflow exception for arguments with
12211         small absolute value.
12212         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12213         (__ieee754_sinhl): Force underflow exception for arguments with
12214         small absolute value.
12215         * math/auto-libm-test-in: Add more tests of sinh.
12216         * math/auto-libm-test-out: Regenerated.
12217         * sysdeps/i386/fpu/libm-test-ulps: Update.
12219 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12221         * libio/oldfileops.c: Include unistd.h.
12223 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12225         * stdlib/isomac.c: Include ctype.h.
12227 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12229         * dirent/tst-seekdir.c (main): Converted to ...
12230         (do_test): ... this.
12231         (TEST_FUNCTION): New macro.
12232         Include test-skeleton.c.
12233         * elf/tst-dlmodcount.c (main): Converted to ...
12234         (do_test): ... this.
12235         (TEST_FUNCTION): New macro.
12236         Include test-skeleton.c.
12237         * elf/tst-order-main.c (main): Converted to ...
12238         (do_test): ... this.
12239         (TEST_FUNCTION): New macro.
12240         Include test-skeleton.c.
12241         * elf/tst-pie2.c (main): Converted to ...
12242         (do_test): ... this.
12243         (TEST_FUNCTION): New macro.
12244         Include test-skeleton.c.
12245         * inet/tst-ether_aton.c (main): Converted to ...
12246         (do_test): ... this.
12247         (TEST_FUNCTION): New macro.
12248         Include test-skeleton.c.
12249         * misc/tst-mntent.c (main): Converted to ...
12250         (do_test): ... this.
12251         (TEST_FUNCTION): New macro.
12252         Include test-skeleton.c.
12253         * misc/tst-tsearch.c (main): Converted to ...
12254         (do_test): ... this.
12255         (TEST_FUNCTION): New macro.
12256         Include test-skeleton.c.
12257         * posix/tst-regexloc.c (main): Converted to ...
12258         (do_test): ... this.
12259         (TEST_FUNCTION): New macro.
12260         Include test-skeleton.c.
12261         * resolv/tst-aton.c (main): Converted to ...
12262         (do_test): ... this.
12263         (TEST_FUNCTION): New macro.
12264         Include test-skeleton.c.
12265         * stdio-common/test-fwrite.c (main): Converted to ...
12266         (do_test): ... this.
12267         (TEST_FUNCTION): New macro.
12268         Include test-skeleton.c.
12269         * stdio-common/tst-ferror.c (main): Converted to ...
12270         (do_test): ... this.
12271         (TEST_FUNCTION): New macro.
12272         Include test-skeleton.c.
12273         * stdio-common/tst-printf.c (main): Converted to ...
12274         (do_test): ... this.
12275         (TEST_FUNCTION): New macro.
12276         Include test-skeleton.c.
12277         * stdio-common/tst-printfsz.c (main): Converted to ...
12278         (do_test): ... this.
12279         (TEST_FUNCTION): New macro.
12280         Include test-skeleton.c.
12281         * stdlib/tst-strtod.c (main): Converted to ...
12282         (do_test): ... this.
12283         (TEST_FUNCTION): New macro.
12284         Include test-skeleton.c.
12285         * string/tst-strlen.c (main): Converted to ...
12286         (do_test): ... this.
12287         (TEST_FUNCTION): New macro.
12288         Include test-skeleton.c.
12289         * string/tst-svc.c (main): Converted to ...
12290         (do_test): ... this.
12291         (TEST_FUNCTION): New macro.
12292         Include test-skeleton.c.
12293         * time/tst-strptime.c (main): Converted to ...
12294         (do_test): ... this.
12295         (TEST_FUNCTION): New macro.
12296         Include test-skeleton.c.
12297         * timezone/tst-timezone.c (main): Converted to ...
12298         (do_test): ... this.
12299         (TEST_FUNCTION): New macro.
12300         Include test-skeleton.c.
12302 2015-08-05  Zack Weinberg  <zackw@panix.com>
12304         * misc/regexp.h: Update comments.
12306 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12308         [BZ #18635]
12309         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12310         before return label.
12312 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12314         [BZ #18661]
12315         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12316         when calling __errno_location.
12317         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12318         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12320 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12322         [BZ #18661]
12323         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12324         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12325         __gettimeofday.
12327 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12329         [BZ #18661]
12330         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12331         (__start_context): Don't use pop to restore %rdi so that stack
12332         is aligned to 16 bytes when calling __setcontext.
12334 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12336         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12337         only for libc.
12338         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12340 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12342         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12343         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12344         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12346 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12348         * string/memccpy.c (memccpy):
12349         Improve performance by using memchr/memcpy/__mempcpy.
12351 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12353         * string/strncpy.c (strncpy):
12354         Improve performance by using __strnlen/memcpy.
12356 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12358         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12359         Optimize to avoid an unnecessary FPCR read.
12361 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12363         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12364         Optimize to reduce FPCR/FPSR accesses.
12366 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12368         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12369         dead->data[category] != NULL.
12371 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12373         [BZ #18647]
12374         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12375         and |x| close to 1, use absolute value of x when computing log.
12376         * math/auto-libm-test-in: Add more tests of pow.
12377         * math/auto-libm-test-out: Regenerated.
12379 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12381         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12382         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12383         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12385 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12387         [BZ #18525]
12388         * locales/km_KH: Remove timezone definition.
12389         * locales/lo_LA: Likewise.
12390         * locales/my_MM: Likewise.
12391         * locales/nan_TW@latin: Likewise.
12392         * locales/th_TH: Likewise.
12393         * locales/uk_UA: Likewise.
12395 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12397         [BZ #18265]
12398         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12399         (wcsncat): Likewise.
12400         (wcscmp): Likewise.
12401         (wcsncmp): Likewise.
12403 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12405         * test-skeleton.c (usage): New function.
12406         (main): Call usage when opt is '?'.
12408 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12410         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12411         before first use.
12413 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12415         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12416         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12417         in there too.
12419 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12421         * version.h (RELEASE): Set to "development".
12422         (VERSION): Set to "2.22.90"
12424         * version.h (RELEASE): Set to "stable".
12425         (VERSION): Set to "2.22"
12426         * include/features.h (__GLIBC_MINOR__): Set to 22.
12428 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12430         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12431         Restructure macro to avoid "value computed is not used" warning.
12432         (atomic_compare_and_exchange_val_acq): Likewise.
12434 2015-08-04  Andreas Schwab  <schwab@suse.de>
12436         [BZ #18635]
12437         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12438         ret.
12439         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12441 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12443         * po/pl.po: Updated translation.
12444         * po/uk.po: Likewise.
12445         * po/fi.po: Likewise.
12446         * po/ko.po: Likewise.
12447         * po/ru.po: Likewise.
12448         * po/vi.po: Likewise.
12450 2015-07-31  Zack Weinberg  <zackw@panix.com>
12452         [BZ #18681]
12453         * regexp.h: Add unconditional #warning stating that this header
12454         will be removed soon.  Revise banner comment to match.
12455         (compile): Consistently use ERROR instead of RETURN to report
12456         errors (partial fix for bz#18681).
12457         * regexp.c: Don't include regexp.h. Remove some unnecessary
12458         declarations.
12460 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12462         * po/libc.pot: Regenerated.
12464 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12466         [BZ #18740]
12467         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12468         float-vlen4-arch-ext-cflags): Removed.
12469         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12470         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12472 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12474         [BZ #14113]
12475         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12476         aligned to __aligned__.
12477         (pthread_cond_t, pthread_rwlock_t): Likewise.
12479 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12481         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12483 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12485         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12486         (struct sigaction): Change sa_flags from a long to an int, and add
12487         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12489 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12491         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12492         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12493         sysdeps/generic/sysdep.h include.
12494         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12495         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12496         sysdeps/hppa/sysdep.h.
12497         (ENTRY, PSEUDO): Undefine before defining.
12499 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12501         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12502         from scratch to use INTERNAL_SYSCALL.
12504 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12506         [BZ #18078]
12507         * scripts/check-localplt.awk: Support alternate relocations.
12508         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12509         sections.
12510         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12511         malloc entries with + REL R_386_GLOB_DAT.
12512         * sysdeps/x86_64/localplt.data: New file.
12514 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12516         [BZ #18731]
12517         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12518         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12519         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12521 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12523         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12525 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12527         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
12528         directly in terms of __sync_fetch_and_add and delete (int) cast.
12530 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12532         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
12533         the -D_ASM_IA64_CURRENT_H flag.
12535 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12537         [BZ #18641]
12538         * pwd/pwd.h (putpwent): Delete __nonnull markings.
12540 2015-07-27  Andreas Schwab  <schwab@suse.de>
12542         * conform/conformtest.pl (checknamespace): Filter out string
12543         literals while tokenizing.
12545 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12547         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12548         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12549         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12551 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12553         * nptl/tst-join7mod.c: Add #include <string.h>.
12555 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12557         * sysdeps/nios2/libm-test-ulps: Update.
12559 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12561         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12562         Fix order of arguments to the rt_sigprocmask syscall.
12563         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
12564         Likewise.
12566 2015-07-24  Roland McGrath  <roland@hack.frob.com>
12568         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
12570 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12572         [BZ #18457]
12573         * nptl/Makefile (tests): New test case tst-join7.
12574         (modules-names): New test case module tst-join7mod.
12575         * nptl/tst-join7.c: New file.
12576         * nptl/tst-join7mod.c: New file.
12577         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
12578         all translation units in libc.so, libpthread.so and rtld.
12580 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12584 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12586         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
12587         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12588         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12589         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12590         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12591         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12592         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12593         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12594         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12595         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12596         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12597         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12598         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
12599         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
12600         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
12601         implementation.
12603 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12605         [BZ #17711]
12606         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12607         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
12608         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12609         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12610         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
12611         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12613 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12615         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
12616         instead of just saying load lock in the comments.
12618 2015-07-23  Roland McGrath  <roland@hack.frob.com>
12620         * sysdeps/unix/Subdirs: Moved ...
12621         * sysdeps/posix/Subdirs: ... here.
12622         * login/pty.h (struct termios, struct winsize): Add forward decls.
12623         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
12624         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
12625         * sysdeps/arm/nacl/libc.abilist: Updated.
12626         * sysdeps/nacl/libutil.abilist: New file.
12628         * bits/signum.h: Update comments to mention 1003.1-2013 too.
12629         (SIGWINCH): New macro.
12631         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
12632         * sysdeps/arm/nacl/libc.abilist: Add it.
12634 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12636         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
12638 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12640         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12641         Swap __glibc_reserved0 and sa_flags order.
12643 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12645         [BZ #18657]
12646         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
12647         are pending TLS destructor calls.
12648         * include/link.h (struct link_map): Add concurrency note for
12649         L_TLS_DTOR_COUNT.
12650         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12651         Don't touch the link map flag.  Atomically increment
12652         l_tls_dtor_count.
12653         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
12654         Avoid taking the load lock and don't touch the link map flag.
12655         * stdlib/tst-tls-atexit-nodelete.c: New test case.
12656         * stdlib/Makefile (tests): Use it.
12657         * stdlib/tst-tls-atexit.c (do_test): dlopen
12658         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
12659         to allow tst-tls-atexit-nodelete test case to use it.
12661 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12663         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
12664         to bits/types.h.
12665         (msgqnum_t): New typedef.
12666         (msglen_t): Likewise.
12667         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
12668         and msg_qbytes type to msglen_t.
12670 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12672         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
12673         pad0 to __glibc_reserved0.
12674         (struct stat64): Likewise.
12676 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12678         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12679         Change sa_flags from a long to an int and add __glibc_reserved0 before
12680         it for padding.
12682 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12684         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
12685         anonymous by deleting "siginfo" name.
12687 2015-07-21  Roland McGrath  <roland@hack.frob.com>
12689         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
12690         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
12691         rather than __nacl_irt_filename.
12692         * sysdeps/nacl/xstat.c (__xstat): Likewise.
12694         * NEWS: New item for arm-nacl port.
12695         * sysdeps/arm/nacl/libc.abilist: New file.
12696         * sysdeps/nacl/ld.abilist: New file.
12697         * sysdeps/nacl/libBrokenLocale.abilist: New file.
12698         * sysdeps/nacl/libanl.abilist: New file.
12699         * sysdeps/nacl/libcrypt.abilist: New file.
12700         * sysdeps/nacl/libdl.abilist: New file.
12701         * sysdeps/nacl/libm.abilist: New file.
12702         * sysdeps/nacl/libpthread.abilist: New file.
12703         * sysdeps/nacl/libresolv.abilist: New file.
12704         * sysdeps/nacl/librt.abilist: New file.
12706 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
12708         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
12709         __startcontext to initialize the new context.
12710         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
12711         up CFI directive to forbid further backtracing.
12713 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
12715         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
12716         reference.
12717         * charmaps/ANSI_X3.4-1968: Likewise.
12718         * charmaps/BS_4730: Likewise.
12719         * charmaps/BS_VIEWDATA: Likewise.
12720         * charmaps/CP1250: Likewise.
12721         * charmaps/CP1251: Likewise.
12722         * charmaps/CP1252: Likewise.
12723         * charmaps/CP1253: Likewise.
12724         * charmaps/CP1254: Likewise.
12725         * charmaps/CP1255: Likewise.
12726         * charmaps/CP1256: Likewise.
12727         * charmaps/CSN_369103: Likewise.
12728         * charmaps/EBCDIC-DK-NO: Likewise.
12729         * charmaps/GB_1988-80: Likewise.
12730         * charmaps/GREEK-CCITT: Likewise.
12731         * charmaps/GREEK7: Likewise.
12732         * charmaps/INIS-8: Likewise.
12733         * charmaps/ISIRI-3342: Likewise.
12734         * charmaps/ISO_2033-1983: Likewise.
12735         * charmaps/ISO_5427-EXT: Likewise.
12736         * locales/POSIX: Likewise.
12737         * locales/ar_SA: Likewise.
12738         * locales/be_BY: Likewise.
12739         * locales/be_BY@latin: Likewise.
12740         * locales/ca_ES: Likewise.
12741         * locales/cs_CZ: Likewise.
12742         * locales/da_DK: Likewise.
12743         * locales/de_BE: Likewise.
12744         * locales/de_CH: Likewise.
12745         * locales/de_LU: Likewise.
12746         * locales/en_AU: Likewise.
12747         * locales/en_BW: Likewise.
12748         * locales/en_CA: Likewise.
12749         * locales/en_DK: Likewise.
12750         * locales/en_GB: Likewise.
12751         * locales/en_IE: Likewise.
12752         * locales/en_NZ: Likewise.
12753         * locales/en_ZA: Likewise.
12754         * locales/en_ZW: Likewise.
12755         * locales/es_AR: Likewise.
12756         * locales/es_BO: Likewise.
12757         * locales/es_CL: Likewise.
12758         * locales/es_CO: Likewise.
12759         * locales/es_DO: Likewise.
12760         * locales/es_EC: Likewise.
12761         * locales/es_ES: Likewise.
12762         * locales/es_HN: Likewise.
12763         * locales/es_MX: Likewise.
12764         * locales/es_PA: Likewise.
12765         * locales/es_PE: Likewise.
12766         * locales/es_PY: Likewise.
12767         * locales/es_SV: Likewise.
12768         * locales/es_US: Likewise.
12769         * locales/es_UY: Likewise.
12770         * locales/es_VE: Likewise.
12771         * locales/et_EE: Likewise.
12772         * locales/fa_IR: Likewise.
12773         * locales/fo_FO: Likewise.
12774         * locales/fr_CA: Likewise.
12775         * locales/fr_CH: Likewise.
12776         * locales/gv_GB: Likewise.
12777         * locales/he_IL: Likewise.
12778         * locales/hr_HR: Likewise.
12779         * locales/id_ID: Likewise.
12780         * locales/is_IS: Likewise.
12781         * locales/it_CH: Likewise.
12782         * locales/iw_IL: Likewise.
12783         * locales/kl_GL: Likewise.
12784         * locales/ko_KR: Likewise.
12785         * locales/kw_GB: Likewise.
12786         * locales/lg_UG: Likewise.
12787         * locales/lt_LT: Likewise.
12788         * locales/lv_LV: Likewise.
12789         * locales/mi_NZ: Likewise.
12790         * locales/nhn_MX: Likewise.
12791         * locales/nl_BE: Likewise.
12792         * locales/pl_PL: Likewise.
12793         * locales/sk_SK: Likewise.
12794         * locales/sl_SI: Likewise.
12795         * locales/sv_FI: Likewise.
12796         * locales/tl_PH: Likewise.
12797         * locales/tr_TR: Likewise.
12798         * locales/vi_VN: Likewise.
12800 2015-07-21  Khem Raj  <raj.khem@gmail.com>
12802         [BZ #17475]
12803         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
12804         of tu_IN and bh_IN.
12806 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
12808         [BZ #18694]
12809         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
12810         bits/wordsize.h.
12811         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
12813 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12815         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
12816         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
12817         (spawn_thread): New function.
12818         (load): Rename to reg_dtor_and_close.  Move dlopen to...
12819         (do_test): ... here.  Use IS_LOADED to test for its
12820         availability.
12822 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
12824         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12826 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
12828         [BZ #18696]
12829         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
12830         si_addr_bnd.
12831         (si_lower): New.
12832         (si_upper): Likewise.
12834 2015-07-16  David S. Miller  <davem@davemloft.net>
12836         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12838 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12840         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
12841         buffer.
12842         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
12843         fail output information.
12845 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
12848         and strstr-ppc64..
12849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12850         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
12851         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
12852         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
12853         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
12855 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12857         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12858         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12859         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12860         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12862 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12864         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12865         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
12866         rtld_hidden_proto.
12867         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
12869 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12871         * tst-nodelete-opened.c (do_test): Add comment to clarify how
12872         the test can fail.
12874         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
12876         [BZ #18676]
12877         * elf/tst-nodelete-opened.c: New test case.
12878         * elf/tst-nodelete-opened-lib.c: New test case module.
12879         * elf/Makefile (tests, modules-names): Use them.
12880         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
12881         early.
12883 2015-07-15  David S. Miller  <davem@davemloft.net>
12885         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
12886         futex-intenal.h
12887         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
12888         * sysdeps/sparc/sparc64/Makefile: Likewise.
12889         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12890         Remove space from macro define.
12891         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
12893 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
12895         [BZ #17475]
12896         * locale/iso-639.def: Update Bhili and Tulu language codes as
12897         per iso639-3.
12899 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
12901         * elf/tst-leaks1.c (main): Converted to ...
12902         (do_test): ... this.
12903         (TEST_FUNCTION): New macro.
12904         Include test-skeleton.c.
12905         * localedata/tst-langinfo.c (main): Converted to ...
12906         (do_test): ... this.
12907         (TEST_FUNCTION): New macro.
12908         Include test-skeleton.c.
12909         * math/test-fpucw.c (main): Converted to ...
12910         (do_test): ... this.
12911         (TEST_FUNCTION): New macro.
12912         Include test-skeleton.c.
12913         * math/test-tgmath.c (main): Converted to ...
12914         (do_test): ... this.
12915         (TEST_FUNCTION): New macro.
12916         Include test-skeleton.c.
12917         * math/test-tgmath2.c (main): Converted to ...
12918         (do_test): ... this.
12919         (TEST_FUNCTION): New macro.
12920         Include test-skeleton.c.
12921         * setjmp/tst-setjmp.c (main): Converted to ...
12922         (do_test): ... this.
12923         (TEST_FUNCTION): New macro.
12924         Include test-skeleton.c.
12925         * stdio-common/tst-sscanf.c (main): Converted to ...
12926         (do_test): ... this.
12927         (TEST_FUNCTION): New macro.
12928         Include test-skeleton.c.
12929         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
12930         (do_test): ... this.
12931         (TEST_FUNCTION): New macro.
12932         Include test-skeleton.c.
12934         * elf/tst-audit9.c (main): Converted to ...
12935         (do_test): ... this.
12936         (TEST_FUNCTION): New macro.
12937         Include test-skeleton.c.
12939 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
12941         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
12943 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12945         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
12946         New variable.
12948 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12950         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12952 2015-07-14  Roland McGrath  <roland@hack.frob.com>
12954         * sysdeps/generic/dl-fileid.h: New file.
12955         * sysdeps/posix/dl-fileid.h: New file.
12956         * sysdeps/nacl/dl-fileid.h: New file.
12957         * include/link.h: Include <dl-fileid.h>.
12958         (struct link_map): Replace l_dev and l_ino with l_file_id.
12959         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
12960         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
12961         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
12963 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12965         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
12967 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12969         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
12970         Add iff $CXX is set.
12971         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
12972         Likewise.
12973         (tst-nodelete-zmodiff): Likewise.
12974         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
12976 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12978         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
12980 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12982         * sysdeps/aarch64/fpu/math_private.h
12983         (define math_opt_barrier): Add AArch64 version.
12984         (math_force_eval): Likewise.
12986 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12988         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
12990 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12992         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
12993         %ld with %jd and cast to intmax_t.
12994         (do_test_length_zero): Likewise.
12996 2015-07-10  Roland McGrath  <roland@hack.frob.com>
12998         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
13000 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
13002         * sysdeps/tile/libm-test-ulps: Regenerated.
13004         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
13005         Comment out the whole function, not just its body.
13007 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13009         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
13010         locks.
13012         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
13014 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13016         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
13017         (sem_assume_only_signals_cause_futex_EINTR): Remove.
13019 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13021         * sysdeps/nptl/futex-internal.h: New file.
13022         * sysdeps/nacl/futex-internal.h: New file.
13023         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
13024         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
13025         error checking.
13026         (setxid_unmark_thread): Likewise.
13027         (__nptl_setxid): Likewise.
13028         (__wait_lookup_done): Likewise.
13029         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
13030         * nptl/nptl-init.c (sighandler_setxid): Likewise.
13031         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
13032         * nptl/pthread_once.c (clear_once_control): Likewise.
13033         (__pthread_once_slow): Likewise.
13034         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13035         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
13036         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
13037         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13038         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
13039         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
13040         Likewise.
13041         (__pthread_rwlock_rdlock): Likewise.
13042         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13043         Likewise.
13044         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13045         Likewise.
13046         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13047         Likewise.
13048         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
13049         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
13050         Likewise.
13051         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
13052         __ASSUME_PRIVATE_FUTEX check.
13053         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
13054         Check that shared futexes are supported.
13055         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
13056         wrappers with error checking.
13057         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
13058         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
13059         * nptl/pthread_barrierattr_setpshared.c
13060         (pthread_barrierattr_setpshared): Check that shared futexes are
13061         supported.
13062         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
13063         Likewise.
13064         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
13065         Likewise.
13066         * nptl/sem_init.c (futex_private_if_supported): Remove.
13067         (__new_sem_init): Adapt and check that shared futexes are supported.
13068         * nptl/sem_open.c (sem_open): Likewise.
13069         * nptl/sem_post.c (futex_wake): Remove.
13070         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
13071         (do_futex_wait): Use futex wrappers with error checking.
13072         * nptl/sem_wait.c: Include lowlevellock.h.
13073         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
13074         Use futex_supports_pshared.
13075         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
13076         Use futex wrappers with error checking.
13077         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
13078         Likewise.
13079         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
13080         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
13081         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
13082         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
13083         (futex_wake): Likewise.
13084         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
13085         (do_futex_wait): Use futex wrappers with error checking.
13086         (__new_sem_wait_slow): Update EINTR handling.
13087         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
13089 2015-07-09  Martin Sebor  <msebor@redhat.com>
13091         [BZ #18435]
13092         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13093         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
13094         * nptl/Makefile (test-xfail-tst-once5): Define.
13096 2015-07-09  Roland McGrath  <roland@hack.frob.com>
13098         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
13099         * elf/dl-minimal.c: For readability, reorder some definitions and
13100         introduce more page breaks.  Include <stdio.h>.
13101         (__libc_fatal): New function.
13103         * include/unistd.h: Add rtld_hidden_proto for _exit.
13104         * posix/_exit.c: Add rtld_hidden_def.
13105         * sysdeps/mach/hurd/_exit.c: Likewise.
13106         * sysdeps/nacl/_exit.c: Likewise.
13107         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
13108         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
13110 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
13112         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13113         bndmov encoding with zero displacement.
13115 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13116             H.J. Lu  <hongjiu.lu@intel.com>
13118         [BZ #18134]
13119         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
13120         * sysdeps/i386/configure: Regenerated.
13121         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13122         (_dl_runtime_profile): Save and restore Intel MPX return bound
13123         registers when calling _dl_call_pltexit.  Add
13124         PRESERVE_BND_REGS_PREFIX before return.
13125         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
13126         (LRV_BND1_OFFSET): Likewise.
13127         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
13128         lrv_bnd1.
13129         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
13130         typo in bndmov encoding.
13131         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
13132         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
13133         branch instructions to preserve bounds.
13135 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13138         [GLIBC_2.22]: Add fmemopen.
13140 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13142         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
13143         returns an error, also try to use host port from __mach_host_self for
13144         the __vm_wire call.
13145         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
13147 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13149         [BZ #18400]
13150         [BZ #18648]
13151         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
13152         Fix pr_uid and pr_gid members.
13153         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
13154         definition to elf_greg_t.
13156 2015-07-08  Roland McGrath  <roland@hack.frob.com>
13158         [BZ #18383]
13159         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13160         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13161         * sysdeps/arm/configure: Regenerated.
13162         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13163         (test-xfail-tst-tlsalign-static): Variable removed.
13165         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13166         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13167         rather than explicit 'ln -s'.
13169         * resolv/rpc/netdb.h: New file.
13170         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13172 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13174         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13175         length buffers.
13176         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13177         test-skeleton.c.
13179         [BZ #6544]
13180         [BZ #11216]
13181         [BZ #12836]
13182         [BZ #13151]
13183         [BZ #13152]
13184         [BZ #14292]
13185         * include/stdio.h (fmemopen): Remove hidden prototype.
13186         (__fmemopen): Add new hidden prototype.
13187         * libio/Makefile: Add oldfmemopen object.
13188         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13189         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13190         compliance.
13191         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13192         symbol compatibility.
13193         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13194         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13195         fmemopen.
13196         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13197         on append and read mode.
13198         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13199         fmemopen.
13200         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13201         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13202         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13203         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13204         Likewise.
13205         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13206         [GLIBC_2.22]: Likewise.
13207         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13208         Likewise.
13209         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13210         Likewise.
13211         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13212         [GLIBC_2.22]: Likewise.
13213         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13214         [GLIBC_2.22]: Likewise.
13215         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13216         [GLIBC_2.22]: Likewise.
13217         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13218         [GLIBC_2.22]: Likewise.
13219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13220         [GLIBC_2.22]: Likewise.
13221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13222         [GLIBC_2.22]: Likewise.
13223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13224         [GLIBC_2.22]: Likewise.
13225         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13226         Likewise.
13227         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13228         Likewise.
13229         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13230         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13231         [GLIBC_2.22]: Likewise.
13232         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13233         [GLIBC_2.22]: Likewise.
13234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13235         [GLIBC_2.22]: Likewise.
13236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13237         [GLIBC_2.22]: Likewise.
13238         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13239         Likewise.
13240         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13241         Likewise.
13242         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13243         Likewise.
13244         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13245         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13247 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13249         [BZ #18643]
13250         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13251         IPV6_PATHMTU, and IPV6_DONTFRAG.
13253 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13255         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13256         and _IO_UNBUFFERED.
13257         * libio/oldfileops.c: Likewise.
13258         * libio/wfileops.c: Likewise.
13260 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13262         * nscd/selinux.c: Delete selinux/flask.h include.
13264 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13266         [BZ #18641]
13267         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13268         (putpwent): Likewise.
13269         (getpwnam): Likewise.
13270         (getpwent_r): Likewise.
13271         (getpwuid_r): Likewise.
13272         (getpwnam_r): Likewise.
13273         (fgetpwent_r): Likewise.
13275 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13277         [BZ #18557]
13278         * inet/rcmd.c (__validuser2_sa): Check user first to
13279         short-circuit host check.
13281 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13282             Mikhail Ilin  <m.ilin@samsung.com>
13284         [BZ #17833]
13285         * elf/Makefile (tests): Add tst-nodelete.
13286         (modules-names): Add tst-nodelete-uniquemod.
13287         (tst-nodelete-uniquemod.so-no-z-defs): New.
13288         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13289         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13290         ($(objpfx)tst-nodelete): Likewise.
13291         ($(objpfx)tst-nodelete.out): Likewise.
13292         (LDFLAGS-tst-nodelete): Likewise.
13293         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13294         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13295         implement forced object deletion.
13296         (_dl_close): Pass false to _dl_close_worker.
13297         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13298         * elf/tst-nodelete.cc: New file.
13299         * elf/tst-nodeletelib.cc: Likewise.
13300         * elf/tst-znodeletelib.cc: Likewise.
13301         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13303 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13305         [BZ #18508]
13306         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13307         Depend on $(libdl).
13308         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13309         is not called infinitely times.
13310         (backtrace_helper): New function.
13311         (trace_arg): New struct.
13312         (st1): Enlarge stack size.
13313         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13314         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13315         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13316         Likewise.
13318 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13320         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13322 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13324         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13325         Include sys/types.h instead of bits/types.h.
13326         Remove inclusion of bits/wordsize.h.
13328 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13330         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13331         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13332         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13333         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13334         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13335         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13337 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13339         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13340         link-defines.sym.
13341         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13342         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13343         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13344         and LR_SIZE.
13345         * sysdeps/i386/link-defines.sym: New file.
13347 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13349         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13350         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13351         ($(objpfx)tst-audit3): New rule.
13352         ($(objpfx)tst-audit3.out): Likewise.
13353         * sysdeps/i386/tst-audit3.c: New file.
13354         * sysdeps/i386/tst-audit3.h: Likewise.
13355         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13356         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13358 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13360         [BZ #18633]
13361         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13362         pointer in C code.
13363         (__strcat_c): Likewise.
13364         (__strcat_g): Likewise.
13366 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13368         [BZ #18592]
13369         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13371 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13373         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13374         New function.  (__ieee754_sqrtf): New function.
13375         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13376         New function.
13377         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13378         New function.
13380 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13382         * sysdeps/ieee754/support.c: Remove unused file.
13384 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13386         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13387         registers instead of d ones so the layout is kernel abi compatible.
13388         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13389         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13390         Likewise.
13392 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13394         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13396 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13398         [BZ #18619]
13399         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13400         and return argument in case of subnormal argument.
13402 2015-07-01  Martin Sebor  <msebor@redhat.com>
13404         [BZ #18435]
13405         * nptl/Makefile: Add tst-once5.cc.
13406         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13407         Remove macro redefinitions.
13408         * nptl/tst-once5.cc: New test.
13410 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13412         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13414         * sysdeps/arm/libm-test-ulps: Regenerated.
13416         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13417         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13419 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13421         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13422         lll_lock_wait_private and lll_futex_wake probes.
13424         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13425         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13426         Likewise.
13427         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13428         atomic_spin_nop.
13429         * sysdeps/x86_64/bits/atomic.h: Likewise.
13430         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13431         to atomic_spin_nop and move ...
13432         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13433         ... here and ...
13434         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13435         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13436         atomic_spin_nop instead of BUSY_WAIT_NOP.
13437         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13438         Likewise.
13439         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13440         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13441         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13442         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13443         instead of atomic_delay.
13445 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13447         [BZ #18613]
13448         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13449         X_ADJ not X when adjusting exponent.
13450         (__ieee754_gamma_r): Do intermediate computations in
13451         round-to-nearest then adjust overflowing and underflowing results
13452         as needed.
13453         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13454         of X_ADJ not X when adjusting exponent.
13455         (__ieee754_gammaf_r): Do intermediate computations in
13456         round-to-nearest then adjust overflowing and underflowing results
13457         as needed.
13458         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13459         log of X_ADJ not X when adjusting exponent.
13460         (__ieee754_gammal_r): Do intermediate computations in
13461         round-to-nearest then adjust overflowing and underflowing results
13462         as needed.  Use 1.0L not 1.0f as numerator of division.
13463         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13464         log of X_ADJ not X when adjusting exponent.
13465         (__ieee754_gammal_r): Do intermediate computations in
13466         round-to-nearest then adjust overflowing and underflowing results
13467         as needed.  Use 1.0L not 1.0f as numerator of division.
13468         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13469         of X_ADJ not X when adjusting exponent.
13470         (__ieee754_gammal_r): Do intermediate computations in
13471         round-to-nearest then adjust overflowing and underflowing results
13472         as needed.  Use 1.0L not 1.0f as numerator of division.
13473         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13474         to auto-libm-test-in.
13475         (tgamma_test): Use ALL_RM_TEST.
13476         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13477         tests of tgamma with spurious-overflow.
13478         * math/auto-libm-test-out: Regenerated.
13479         * math/gen-libm-have-vector-test.sh: Do not check for START.
13480         * sysdeps/i386/fpu/libm-test-ulps: Update.
13481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13483         [BZ #18612]
13484         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13485         arguments, just return 0.5 times the argument, with underflow
13486         forced as needed.
13487         * math/auto-libm-test-in: Add more tests of j1.
13488         * math/auto-libm-test-out: Regenerated.
13490         [BZ #16559]
13491         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13492         (__ieee754_j1): Force underflow exception for small results.
13493         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13494         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13495         (__ieee754_j1f): Force underflow exception for small results.
13496         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13497         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13498         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13499         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13500         (__ieee754_j1l): Force underflow exception for small results.
13501         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13502         * math/auto-libm-test-in: Add more tests of j1 and jn.
13503         * math/auto-libm-test-out: Regenerated.
13505         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13506         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13507         (PF_MPLS): Likewise.
13508         (AF_IB): Likewise.
13509         (AF_MPLS): Likewise.
13510         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13511         value and macro.
13512         (MS_RMT_MASK): Include MS_LAZYTIME.
13514 2015-06-26  Mel Gorman  <mgorman@suse.de>
13516         [BZ #18502]
13517         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13518         already minimal.
13520 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13522         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13523         (DT_MIPS_NUM): Update.
13524         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13525         DT_MIPS_RLD_MAP_REL.
13527 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
13529         [BZ #16559]
13530         [BZ #18602]
13531         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13532         round-to-nearest internally then recompute results that
13533         underflowed to zero in the original rounding mode.
13534         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13535         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13536         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13537         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13538         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13539         * sysdeps/i386/fpu/libm-test-ulps: Update.
13540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13542 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13544         * NEWS: Fixed description of link with vector math library.
13546 2015-06-25  Andreas Schwab  <schwab@suse.de>
13548         [BZ #18549]
13549         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13550         * libio/test-fmemopen.c (do_test): Add test for it.
13552 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13554         [BZ #17841]
13555         * Makeconfig (no-pie-ldflag): New.
13556         (+link): Set to $(+link-pie) if default to PIE.
13557         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13558         * config.make.in (build-pie-default): New.
13559         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13560         is default.  AC_SUBST.
13561         * configure: Regenerated.
13562         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13564 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13566         * nptl/descr.h (struct pthread): Change type of field setxid_futex
13567         to 'unsigned int'.
13569         * resolv/gai_misc.h (struct waitlist): Change type of field
13570         counterp to 'volatile unsigned int *'.
13571         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
13572         FUTEXADDR and OLDVAL.
13573         * resolv/getaddrinfo_a.c (getaddrinfo_a):
13574         Give local variable TOTAL type 'volatile unsigned int'.
13575         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13576         * resolv/gai_suspend.c (gai_suspend):
13577         Give local variable CNTR type 'unsigned int'.
13579         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
13580         counterp to 'volatile unsigned int *'.
13581         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
13582         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
13583         (aio_suspend): Give local variable CNTR type 'unsigned int'.
13584         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
13585         Give local variable TOTAL type 'volatile unsigned int'.
13586         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13588 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13590         [BZ #18383]
13591         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
13592         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
13593         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
13594         comment for i386/x86-64.
13595         (test-xfail-tst-tlsalign-extern-static): Removed.
13597 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13599         * math/test-double.h: New file.
13600         * math/test-float.h: Likewise.
13601         * math/test-ldouble.h: Likewise.
13602         * math/test-math-inline.h: Likewise.
13603         * math/test-math-no-inline.h: Likewise.
13604         * math/test-math-scalar.h: Likewise.
13605         * math/test-math-vector.h: Likewise.
13606         * math/test-vec-loop.h: Remove file.  Contents moved into
13607         test-math-vector.h.
13608         * math/libm-test.inc (MATHCONST): Do not document macro.
13609         * math/test-double.c: Include test-double.h, test-math-no-inline.h
13610         and test-math-scalar.h.
13611         (FUNC): Remove macro.
13612         (FUNC_TEST): Likewise.
13613         (FLOAT): Likewise.
13614         (MATHCONST): Likewise.
13615         (PRINTF_EXPR): Likewise.
13616         (PRINTF_XEXPR): Likewise.
13617         (PRINTF_NEXPR): Likewise.
13618         (TEST_DOUBLE): Likewise.
13619         (TEST_MATHVEC): Likewise.
13620         (__NO_MATH_INLINES): Likewise.
13621         * math/test-float.c: Include test-float.h, test-math-no-inline.h
13622         and test-math-scalar.h.
13623         (FUNC): Remove macro.
13624         (FUNC_TEST): Likewise.
13625         (FLOAT): Likewise.
13626         (MATHCONST): Likewise.
13627         (PRINTF_EXPR): Likewise.
13628         (PRINTF_XEXPR): Likewise.
13629         (PRINTF_NEXPR): Likewise.
13630         (TEST_FLOAT): Likewise.
13631         (TEST_MATHVEC): Likewise.
13632         (__NO_MATH_INLINES): Likewise.
13633         * math/test-idouble.c: Include test-double.h, test-math-inline.h
13634         and test-math-scalar.h.
13635         (FUNC): Remove macro.
13636         (FUNC_TEST): Likewise.
13637         (FLOAT): Likewise.
13638         (MATHCONST): Likewise.
13639         (PRINTF_EXPR): Likewise.
13640         (PRINTF_XEXPR): Likewise.
13641         (PRINTF_NEXPR): Likewise.
13642         (TEST_DOUBLE): Likewise.
13643         (TEST_MATHVEC): Likewise.
13644         (TEST_INLINE): Likewise.
13645         (__NO_MATH_INLINES): Likewise.
13646         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
13647         test-math-scalar.h.
13648         (FUNC): Remove macro.
13649         (FUNC_TEST): Likewise.
13650         (FLOAT): Likewise.
13651         (MATHCONST): Likewise.
13652         (PRINTF_EXPR): Likewise.
13653         (PRINTF_XEXPR): Likewise.
13654         (PRINTF_NEXPR): Likewise.
13655         (TEST_FLOAT): Likewise.
13656         (TEST_MATHVEC): Likewise.
13657         (TEST_INLINE): Likewise.
13658         (__NO_MATH_INLINES): Likewise.
13659         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
13660         and test-math-scalar.h.
13661         (FUNC): Remove macro.
13662         (FUNC_TEST): Likewise.
13663         (FLOAT): Likewise.
13664         (MATHCONST): Likewise.
13665         (PRINTF_EXPR): Likewise.
13666         (PRINTF_XEXPR): Likewise.
13667         (PRINTF_NEXPR): Likewise.
13668         (TEST_LDOUBLE): Likewise.
13669         (TEST_MATHVEC): Likewise.
13670         (TEST_INLINE): Likewise.
13671         (__NO_MATH_INLINES): Likewise.
13672         * math/test-ldouble.c: Include test-ldouble.h,
13673         test-math-no-inline.h and test-math-scalar.h.
13674         (FUNC): Remove macro.
13675         (FUNC_TEST): Likewise.
13676         (FLOAT): Likewise.
13677         (MATHCONST): Likewise.
13678         (PRINTF_EXPR): Likewise.
13679         (PRINTF_XEXPR): Likewise.
13680         (PRINTF_NEXPR): Likewise.
13681         (TEST_LDOUBLE): Likewise.
13682         (TEST_MATHVEC): Likewise.
13683         (__NO_MATH_INLINES): Likewise.
13684         * math/test-double-vlen2.h: Include test-double.h,
13685         test-math-no-inline.h and test-math-vector.h.
13686         (FLOAT): Remove macro.
13687         (FUNC): Likewise.
13688         (MATHCONST): Likewise.
13689         (PRINTF_EXPR): Likewise.
13690         (PRINTF_XEXPR): Likewise.
13691         (PRINTF_NEXPR): Likewise.
13692         (TEST_DOUBLE): Likewise.
13693         (TEST_MATHVEC): Likewise.
13694         (__NO_MATH_INLINES): Likewise.
13695         (CNCT): Likewise.
13696         (CONCAT): Likewise.
13697         (WRAPPER_NAME): Likewise.
13698         (WRAPPER_DECL): Likewise.
13699         (WRAPPER_DECL_ff): Likewise.
13700         (WRAPPER_DECL_fFF): Likewise.
13701         (VECTOR_WRAPPER): Likewise.
13702         (VECTOR_WRAPPER_ff): Likewise.
13703         (VECTOR_WRAPPER_fFF): Likewise.
13704         (VEC_LEN): New macro.
13705         * math/test-double-vlen4.h: Include test-double.h,
13706         test-math-no-inline.h and test-math-vector.h.
13707         (FLOAT): Remove macro.
13708         (FUNC): Likewise.
13709         (MATHCONST): Likewise.
13710         (PRINTF_EXPR): Likewise.
13711         (PRINTF_XEXPR): Likewise.
13712         (PRINTF_NEXPR): Likewise.
13713         (TEST_DOUBLE): Likewise.
13714         (TEST_MATHVEC): Likewise.
13715         (__NO_MATH_INLINES): Likewise.
13716         (CNCT): Likewise.
13717         (CONCAT): Likewise.
13718         (WRAPPER_NAME): Likewise.
13719         (WRAPPER_DECL): Likewise.
13720         (WRAPPER_DECL_ff): Likewise.
13721         (WRAPPER_DECL_fFF): Likewise.
13722         (VECTOR_WRAPPER): Likewise.
13723         (VECTOR_WRAPPER_ff): Likewise.
13724         (VECTOR_WRAPPER_fFF): Likewise.
13725         (VEC_LEN): New macro.
13726         * math/test-double-vlen8.h: Include test-double.h,
13727         test-math-no-inline.h and test-math-vector.h.
13728         (FLOAT): Remove macro.
13729         (FUNC): Likewise.
13730         (MATHCONST): Likewise.
13731         (PRINTF_EXPR): Likewise.
13732         (PRINTF_XEXPR): Likewise.
13733         (PRINTF_NEXPR): Likewise.
13734         (TEST_DOUBLE): Likewise.
13735         (TEST_MATHVEC): Likewise.
13736         (__NO_MATH_INLINES): Likewise.
13737         (CNCT): Likewise.
13738         (CONCAT): Likewise.
13739         (WRAPPER_NAME): Likewise.
13740         (WRAPPER_DECL): Likewise.
13741         (WRAPPER_DECL_ff): Likewise.
13742         (WRAPPER_DECL_fFF): Likewise.
13743         (VECTOR_WRAPPER): Likewise.
13744         (VECTOR_WRAPPER_ff): Likewise.
13745         (VECTOR_WRAPPER_fFF): Likewise.
13746         (VEC_LEN): New macro.
13747         * math/test-float-vlen4.h: Include test-float.h,
13748         test-math-no-inline.h and test-math-vector.h.
13749         (FLOAT): Remove macro.
13750         (FUNC): Likewise.
13751         (MATHCONST): Likewise.
13752         (PRINTF_EXPR): Likewise.
13753         (PRINTF_XEXPR): Likewise.
13754         (PRINTF_NEXPR): Likewise.
13755         (TEST_FLOAT): Likewise.
13756         (TEST_MATHVEC): Likewise.
13757         (__NO_MATH_INLINES): Likewise.
13758         (CNCT): Likewise.
13759         (CONCAT): Likewise.
13760         (WRAPPER_NAME): Likewise.
13761         (WRAPPER_DECL): Likewise.
13762         (WRAPPER_DECL_ff): Likewise.
13763         (WRAPPER_DECL_fFF): Likewise.
13764         (VECTOR_WRAPPER): Likewise.
13765         (VECTOR_WRAPPER_ff): Likewise.
13766         (VECTOR_WRAPPER_fFF): Likewise.
13767         (VEC_LEN): New macro.
13768         * math/test-float-vlen8.h: Include test-float.h,
13769         test-math-no-inline.h and test-math-vector.h.
13770         (FLOAT): Remove macro.
13771         (FUNC): Likewise.
13772         (MATHCONST): Likewise.
13773         (PRINTF_EXPR): Likewise.
13774         (PRINTF_XEXPR): Likewise.
13775         (PRINTF_NEXPR): Likewise.
13776         (TEST_FLOAT): Likewise.
13777         (TEST_MATHVEC): Likewise.
13778         (__NO_MATH_INLINES): Likewise.
13779         (CNCT): Likewise.
13780         (CONCAT): Likewise.
13781         (WRAPPER_NAME): Likewise.
13782         (WRAPPER_DECL): Likewise.
13783         (WRAPPER_DECL_ff): Likewise.
13784         (WRAPPER_DECL_fFF): Likewise.
13785         (VECTOR_WRAPPER): Likewise.
13786         (VECTOR_WRAPPER_ff): Likewise.
13787         (VECTOR_WRAPPER_fFF): Likewise.
13788         (VEC_LEN): New macro.
13789         * math/test-float-vlen16.h: Include test-float.h,
13790         test-math-no-inline.h and test-math-vector.h.
13791         (FLOAT): Remove macro.
13792         (FUNC): Likewise.
13793         (MATHCONST): Likewise.
13794         (PRINTF_EXPR): Likewise.
13795         (PRINTF_XEXPR): Likewise.
13796         (PRINTF_NEXPR): Likewise.
13797         (TEST_FLOAT): Likewise.
13798         (TEST_MATHVEC): Likewise.
13799         (__NO_MATH_INLINES): Likewise.
13800         (CNCT): Likewise.
13801         (CONCAT): Likewise.
13802         (WRAPPER_NAME): Likewise.
13803         (WRAPPER_DECL): Likewise.
13804         (WRAPPER_DECL_ff): Likewise.
13805         (WRAPPER_DECL_fFF): Likewise.
13806         (VECTOR_WRAPPER): Likewise.
13807         (VECTOR_WRAPPER_ff): Likewise.
13808         (VECTOR_WRAPPER_fFF): Likewise.
13809         (VEC_LEN): New macro.
13810         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
13811         test-vec-loop.h.
13812         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13813         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13814         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13815         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13816         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13817         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13818         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13820 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13822         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
13823         (__getlogin_r): ... this.
13825 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13827         [BZ #18594]
13828         * math/s_ccosh.c (__ccosh): Compare with least normal value
13829         instead of comparing class with FP_SUBNORMAL.
13830         * math/s_ccoshf.c (__ccoshf): Likewise.
13831         * math/s_ccoshl.c (__ccoshl): Likewise.
13832         * math/s_cexp.c (__cexp): Likewise.
13833         * math/s_cexpf.c (__cexpf): Likewise.
13834         * math/s_cexpl.c (__cexpl): Likewise.
13835         * math/s_csin.c (__csin): Likewise.
13836         * math/s_csinf.c (__csinf): Likewise.
13837         * math/s_csinh.c (__csinh): Likewise.
13838         * math/s_csinhf.c (__csinhf): Likewise.
13839         * math/s_csinhl.c (__csinhl): Likewise.
13840         * math/s_csinl.c (__csinl): Likewise.
13841         * math/s_ctan.c (__ctan): Likewise.
13842         * math/s_ctanf.c (__ctanf): Likewise.
13843         * math/s_ctanh.c (__ctanh): Likewise.
13844         * math/s_ctanhf.c (__ctanhf): Likewise.
13845         * math/s_ctanhl.c (__ctanhl): Likewise.
13846         * math/s_ctanl.c (__ctanl): Likewise.
13847         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
13848         csin, csinh, ctan and ctanh.
13849         * math/auto-libm-test-out: Regenerated.
13850         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
13851         * sysdeps/i386/fpu/libm-test-ulps: Update.
13852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13854 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13856         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
13857         return value is wrong, print the expected value too.
13859 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13861         [BZ #18585]
13862         * elf/readlib.c (is_gdb_python_file): New.
13863         (process_file): Don't issue errors on filenames with -gdb.py
13864         suffix.
13866 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13868         * math/auto-libm-test-in: Add more tests of csin and csinh.
13869         * math/auto-libm-test-out: Regenerated.
13870         * math/libm-test.inc (csin_test_data): Remove tests moved to
13871         auto-libm-test-in.
13872         (csinh_test_data): Likewise.
13874         [BZ #18593]
13875         * math/s_csin.c (__csin): Negate before rather than after possibly
13876         overflowing multiplication.
13877         * math/s_csinf.c (__csinf): Likewise.
13878         * math/s_csinh.c (__csinh): Likewise.
13879         * math/s_csinhf.c (__csinhf): Likewise.
13880         * math/s_csinhl.c (__csinhl): Likewise.
13881         * math/s_csinl.c (__csinl): Likewise.
13882         * math/auto-libm-test-in: Add some tests of csin and csinh.
13883         * math/auto-libm-test-out: Regenerated.
13884         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
13885         (csinh_test_data): Likewise.
13886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13888         [BZ #18586]
13889         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
13890         underflow exception for small results.
13892 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13894         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
13896         variable and included header.
13897         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
13898         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
13899         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
13900         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
13901         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
13902         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13903         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13904         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
13905         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
13906         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
13907         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
13908         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
13909         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
13910         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
13911         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
13912         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
13914 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13916         [BZ #16526]
13917         [BZ #16538]
13918         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
13919         (__sin): Force underflow exception for arguments with small
13920         absolute value.
13921         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
13922         (__kernel_sinf): Force underflow exception for arguments with
13923         small absolute value.
13924         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
13925         (__kernel_sincosl): Force underflow exception for arguments with
13926         small absolute value.
13927         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
13928         (__kernel_sinl): Force underflow exception for arguments with
13929         small absolute value.
13930         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
13931         (__kernel_sincosl): Force underflow exception for arguments with
13932         small absolute value.
13933         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
13934         (__kernel_sinl): Force underflow exception for arguments with
13935         small absolute value.
13936         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
13937         (__kernel_sinl): Force underflow exception for arguments with
13938         small absolute value.
13939         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
13940         (__kernel_sinf): Force underflow exception for arguments with
13941         small absolute value.
13942         * math/auto-libm-test-in: Add more tests of sin and sincos.
13943         * math/auto-libm-test-out: Regenerated.
13945         [BZ #18245]
13946         [BZ #18583]
13947         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
13948         (__kernel_standard_l): Use feholdexcept and fesetenv around
13949         conversion to double instead of special-casing overflow and
13950         underflow.
13951         * math/libm-test.inc (fmod_test_data): Add more tests.
13952         (remainder_test_data): Likewise.
13953         (sqrt_test_data): Likewise.
13955 2015-06-23  Torvald Riegel  <triegel@redhat.com>
13957         [BZ #17403]
13958         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
13959         atomic_read_barrier, atomic_write_barrier): Define.
13960         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
13961         atomic_read_barrier, atomic_write_barrier): Define.
13963 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13965         * math/Makefile [$(PERL) != no]
13966         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
13967         dependency on libm-test.stmp below the inclusion of Rules.
13969 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
13971         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13972         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
13973         and included header.
13974         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
13975         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
13976         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
13977         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
13978         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
13979         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
13980         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13981         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13982         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
13983         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
13984         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
13985         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
13986         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
13987         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
13988         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
13989         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
13990         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
13991         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
13992         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
13994 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13996         [BZ #18371]
13997         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
13998         intermediate but not final result might underflow.
13999         * math/s_csqrtf.c (__csqrtf): Likewise.
14000         * math/s_csqrtl.c (__csqrtl): Likewise.
14001         * math/auto-libm-test-in: Add more tests of csqrt.
14002         * math/auto-libm-test-out: Regenerated.
14003         * sysdeps/i386/fpu/libm-test-ulps: Update.
14005         [BZ #18219]
14006         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
14007         threshold on absolute value of exponent for which scaling is used.
14008         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14009         * math/auto-libm-test-in: Add more tests of exp2.
14010         * math/auto-libm-test-out: Regenerated.
14012 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
14014         [BZ #17977]
14015         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
14016         when initializing interface list, based on the bug analysis
14017         and the patch proposed by Eric Newton.
14018         * resolv/tst-res_hconf_reorder.c: New test.
14019         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
14020         tst-res_hconf_reorder.
14021         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
14022         and $(shared-thread-library).
14023         (tst-res_hconf_reorder-ENV): New variable.
14025         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
14026         in comment.
14028 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
14030         [BZ #16353]
14031         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
14032         (__expm1): Force underflow exception for arguments with small
14033         absolute value.
14034         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
14035         (__expm1f): Force underflow exception for arguments with small
14036         absolute value.
14037         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
14038         (__expm1): Force underflow exception for arguments with small
14039         absolute value.
14040         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
14041         (__expm1f): Force underflow exception for arguments with small
14042         absolute value.
14043         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14044         Check for small arguments before calling __expm1.
14045         * math/auto-libm-test-in: Do not mark underflow exceptions as
14046         possibly missing for bug 16353.
14047         * math/auto-libm-test-out: Regenerated.
14049 2015-06-22  Andreas Schwab  <schwab@suse.de>
14051         [BZ #18513]
14052         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
14053         PTR queries.
14055 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
14057         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
14059         * string/strcoll_l.c: Remove unused struct element idxnow.
14061 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
14063         [BZ #18569]
14064         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
14065         underflow and return argument in case of subnormal argument.
14066         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14067         Likewise.
14068         * math/auto-libm-test-in: Add more tests of expm1.
14069         * math/auto-libm-test-out: Regenerated.
14071         [BZ #16361]
14072         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14073         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14074         tiny results.
14075         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14076         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14077         tiny results.
14078         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
14079         mark underflow exceptions as possibly missing for bug 16361.
14080         * math/auto-libm-test-out: Regenerated.
14082 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
14084         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
14085         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
14086         Remove variable.
14087         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14088         (test-xfail-XOPEN2K8/utmpx.h/conform).
14090         * conform/conformtest.pl ($xerrors): New variable.
14091         (note_error): New function.
14092         (compiletest): New argument $xfail.  Use not_error.
14093         (runtest): Likewise.
14094         (top level): Handle xfail- lines.  Update calls to compiletest and
14095         runtest.  Handle xfail- and optional- in headers listed with
14096         allow-header.
14097         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
14098         (O_EXEC): Likewise.
14099         (O_SEARCH): Likewise.
14100         * conform/data/stropts.h-data (ioctl): Likewise.
14101         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
14102         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
14103         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
14104         (msghdr.msg_controllen): Likewise.
14105         (cmsghdr.cmsg_len): Likewise.
14106         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
14107         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
14108         variable.
14109         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14110         (test-xfail-XPG4/stropts.h/conform): Likewise.
14111         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14112         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14113         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14114         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14115         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14116         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14117         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14118         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14119         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14120         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14121         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14122         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14123         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14124         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14125         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14126         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14127         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14128         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14129         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14131 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14133         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
14134         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
14135         definitions for proper unfolding of __MATHDECL_VEC.
14137 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14139         * benchtests/bench-strcoll.c:
14140         Include string.h.
14141         (main): Remove unused variable res.
14143 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14145         * timezone/Makefile (%/UTC %/Universal):
14146         Generate test-result files for UTC and Universal.
14148 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14150         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14152 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
14154         [BZ #16350]
14155         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
14156         for arguments with small absolute value.
14157         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
14158         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14159         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14160         (__asinh): Force underflow exception for arguments with small
14161         absolute value.
14162         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14163         (__asinhf): Force underflow exception for arguments with small
14164         absolute value.
14165         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14166         (__asinhl): Force underflow exception for arguments with small
14167         absolute value.
14168         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14169         (__asinhl): Force underflow exception for arguments with small
14170         absolute value.
14171         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14172         (__asinhl): Force underflow exception for arguments with small
14173         absolute value.
14174         * math/auto-libm-test-in: Do not mark underflow exceptions as
14175         possibly missing for bug 16350.
14176         * math/auto-libm-test-out: Regenerated.
14178         * include/bits/ipc.h: Remove file.
14179         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14180         variable.
14181         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14182         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14183         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14184         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14185         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14186         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14187         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14188         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14189         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14191         * math/auto-libm-test-in: Remove spurious underflow allowance for
14192         tests of cexp.
14193         * math/auto-libm-test-out: Regenerated.
14195         [BZ #18558]
14196         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14197         unconditional definition.
14198         (MCAST_BLOCK_SOURCE): Likewise.
14199         (MCAST_UNBLOCK_SOURCE): Likewise.
14200         (MCAST_LEAVE_GROUP): Likewise.
14201         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14202         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14203         (MCAST_MSFILTER): Likewise.
14204         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14205         Remove variable.
14206         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14207         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14208         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14209         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14210         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14212 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14214         * NEWS: Mention addition of x86_64 vector sincosf.
14215         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14216         * math/test-float-vlen4.h: Likewise.
14217         * math/test-float-vlen8.h: Likewise.
14218         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14219         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14220         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14221         * sysdeps/x86_64/fpu/Versions: New versions added.
14222         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14223         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14224         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14225         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14226         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14227         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14228         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14229         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14230         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14231         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14232         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14233         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14234         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14235         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14236         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14237         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14238         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14239         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14240         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14241         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14242         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14243         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14244         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14245         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14247         * NEWS: Mention addition of x86_64 vector sincos.
14248         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14249         * math/math.h (__MATHDECL_VEC): New macro.
14250         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14251         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14252         declaration under condition.
14253         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14254         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14255         TEST_VEC_LOOP change.
14256         * math/test-double-vlen4.h: Likewise.
14257         * math/test-double-vlen8.h: Likewise.
14258         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14259         * math/test-float-vlen4.h: Likewise.
14260         * math/test-float-vlen8.h: Likewise.
14261         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14262         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14263         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14264         * sysdeps/x86_64/fpu/Versions: New versions added.
14265         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14266         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14267         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14268         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14269         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14270         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14271         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14272         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14273         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14274         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14275         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14276         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14277         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14278         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14279         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14280         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14281         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14282         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14283         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14284         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14285         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14286         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14287         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14288         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14290         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14291         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14292         redirections for powf.
14293         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14294         * sysdeps/x86_64/fpu/Versions: New versions added.
14295         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14296         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14297         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14298         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14299         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14300         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14301         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14302         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14303         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14304         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14305         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14306         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14307         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14308         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14309         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14310         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14311         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14312         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14313         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14314         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14315         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14316         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14317         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14318         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14319         * math/test-float-vlen16.h: Fixed 2 argument macro.
14320         * math/test-float-vlen4.h: Likewise.
14321         * math/test-float-vlen8.h: Likewise.
14322         * NEWS: Mention addition of x86_64 vector powf.
14324 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14326         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14327         and redefine.
14328         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14329         and redefine.
14330         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14331         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14332         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14334         [BZ #18553]
14335         * resource/getpriority.c (getpriority): Rename to __getpriority
14336         and define as weak alias of __getpriority.
14337         * resource/setpriority.c (setpriority): Rename to __setpriority
14338         and define as weak alias of __setpriority.
14339         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14340         __getpriority and define as weak alias of __getpriority.
14341         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14342         __setpriority and define as weak alias of __setpriority.
14343         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14344         strong name.
14345         (setpriority): Use __setpriority as strong name.
14346         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14347         __getpriority and define as weak alias of __getpriority.
14348         * include/sys/resource.h (__getpriority): Declare.  Use
14349         libc_hidden_proto.
14350         (__setpriority): Likewise.
14351         (getpriority): Don't use libc_hidden_proto.
14352         (setpriority): Likewise.
14353         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14354         getpriority.  Call __setpriority instead of setpriority.
14355         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14356         Remove variable.
14358         [BZ #18547]
14359         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14360         as weak alias of __getttynam.  Use prototype function definition.
14361         Call __setttyent, __getttyent and __endttyent instead of
14362         setttyent, getttyent and endttyent.
14363         (getttyent): Rename to __getttyent and define as weak alias of
14364         __getttyent.  Call __setttyent instead of setttyent.  Call
14365         __fgets_unlocked instead of fgets_unlocked.
14366         (setttyent): Rename to __setttyent and define as weak alias of
14367         __setttyent.
14368         (endttyent): Rename to __endttyent and define as weak alias of
14369         __endttyent.
14370         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14371         (__setttyent): Likewise.
14372         (__endttyent): Likewise.
14373         (getttyent): Don't use libc_hidden_proto.
14374         (setttyent): Likewise.
14375         (endttyent): Likewise.
14376         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14377         __endttyent instead of setttyent, getttyent and endttyent.
14378         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14379         Remove variable.
14381         [BZ #18546]
14382         * socket/recv.c (__recv): Use libc_hidden_def.
14383         * socket/socket.c (__socket): Likewise.
14384         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14385         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14386         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14387         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14388         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14389         libc_hidden_def.
14390         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14391         libc_hidden_weak.
14392         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14393         Use libc_hidden_proto.
14394         (__recv): Likewise.
14395         * socket/Versions (libc): Export __recv and __socket at version
14396         GLIBC_PRIVATE.
14397         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14398         instead of recv.
14399         (init_mq_netlink): Call __socket instead of socket.
14400         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14401         Remove variable.
14403         [BZ #18545]
14404         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14405         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14406         hidden_weak.
14407         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14408         define as alias of __mq_timedsend.  Use hidden_weak.
14409         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14410         __mq_timedsend as strong name.
14411         (mq_timedreceive): Use __mq_timedreceive as strong name.
14412         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14413         (__mq_timedreceive): Likewise.
14414         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14415         __mq_timedreceive instead of mq_timedreceive.
14416         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14417         instead of mq_timedsend.
14418         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14419         Remove variable.
14421         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14422         hidden_def and hidden_weak instead of libc_hidden_def and
14423         libc_hidden_weak.
14424         (top level): Refer to hidden_def in comment.
14425         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14426         macro.  Use it instead of libc_hidden_def.
14427         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14428         specify __GI_* name explicitly.
14429         (mq_timedreceive): Likewise.
14430         (mq_setattr): Likewise.
14432         [BZ #18544]
14433         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14434         __pthread_barrier_init and define as weak alias of
14435         __pthread_barrier_init.
14436         * sysdeps/sparc/nptl/pthread_barrier_init.c
14437         (pthread_barrier_init): Likewise.
14438         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14439         __pthread_barrier_wait and define as weak alias of
14440         __pthread_barrier_wait.
14441         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14442         (pthread_barrier_wait): Likewise.
14443         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14444         (pthread_barrier_wait): Likewise.
14445         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14446         (pthread_barrier_wait): Likewise.
14447         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14448         (pthread_barrier_wait): Likewise.
14449         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14450         __pthread_barrier_wait at version GLIBC_PRIVATE.
14451         * include/pthread.h (__pthread_barrier_init): Declare.
14452         (__pthread_barrier_wait): Likewise.
14453         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14454         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14455         (helper_thread): Likewise.
14456         (init_mq_netlink): Call __pthread_barrier_init instead of
14457         pthread_barrier_init.
14459         [BZ #18542]
14460         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14461         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14462         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14463         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14464         vswscanf.
14465         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14466         Remove variable.
14468         [BZ #18540]
14469         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14470         strong alias of _IO_fflush.  Use libc_hidden_def.
14471         * libio/iofflush_u.c (fflush_unlocked): Rename to
14472         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14473         Use libc_hidden_weak.
14474         * include/stdio.h (__fflush_unlocked): Declare.  Use
14475         libc_hidden_proto.
14476         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14477         fflush_unlocked.
14478         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14479         Remove variable.
14481         [BZ #18539]
14482         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14483         define as weak alias of __addseverity.
14484         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14485         Remove variable.
14486         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14487         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14488         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14490         [BZ #18536]
14491         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14492         (__tfind): Likewise.
14493         (__tdelete): Likewise.
14494         (__twalk): Likewise.
14495         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14496         __twalk to GLIBC_PRIVATE.
14497         * include/search.h (__tsearch): Use libc_hidden_proto.
14498         (__tfind): Likewise.
14499         (__tdelete): Likewise.
14500         (__twalk): Likewise.
14501         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14502         Call __tdelete instead of tdelete.
14503         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14504         tfind.  Call __tsearch instead of tsearch.
14505         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14506         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14507         Remove variable.
14508         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14510         [BZ #18534]
14511         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14512         (dprintf): Define as a weak alias of __dprintf, not a strong
14513         alias.
14514         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14515         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14516         dprintf.
14517         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14518         Remove variable.
14519         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14520         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14522         [BZ #18533]
14523         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14524         not a strong alias.
14525         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14526         Remove variable.
14528         [BZ #18532]
14529         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
14530         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
14531         (in6addr_loopback): Rename to __in6addr_loopback and define as
14532         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
14533         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
14534         libc_hidden_proto.
14535         (__in6addr_any): Likewise.
14536         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
14537         in6addr_any.
14538         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
14539         variable.
14540         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14542 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14544         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14545         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14546         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14547         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14548         redirections for pow.
14549         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14550         * sysdeps/x86_64/fpu/Versions: New versions added.
14551         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14552         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14553         build of SSE, AVX2 and AVX512 IFUNC versions.
14554         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14555         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14556         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14557         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14558         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14559         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14560         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14561         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14562         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
14563         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
14564         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
14565         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
14566         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
14567         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
14568         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14569         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14570         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14571         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14572         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14573         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14574         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14575         * NEWS: Mention addition of x86_64 vector pow.
14577         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14578         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14579         redirections for expf.
14580         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14581         * sysdeps/x86_64/fpu/Versions: New versions added.
14582         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14583         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14584         build of SSE, AVX2 and AVX512 IFUNC versions.
14585         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
14586         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
14587         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
14588         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
14589         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
14590         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
14591         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
14592         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
14593         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
14594         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
14595         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
14596         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
14597         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
14598         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14599         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14600         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14601         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14602         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14603         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14604         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14605         * NEWS: Mention addition of x86_64 vector expf.
14607         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
14608         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
14609         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14610         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14611         redirections for exp.
14612         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14613         * sysdeps/x86_64/fpu/Versions: New versions added.
14614         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14615         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14616         build of SSE, AVX2 and AVX512 IFUNC versions.
14617         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
14618         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
14619         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
14620         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
14621         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
14622         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
14623         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
14624         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
14625         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
14626         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
14627         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
14628         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
14629         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
14630         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14631         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14632         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14633         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14634         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14635         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14636         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14637         * NEWS: Mention addition of x86_64 vector exp.
14639         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14640         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14641         redirections for logf.
14642         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14643         * sysdeps/x86_64/fpu/Versions: New versions added.
14644         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14645         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14646         build of SSE, AVX2 and AVX512 IFUNC versions.
14647         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
14648         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
14649         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
14650         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
14651         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
14652         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
14653         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
14654         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
14655         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
14656         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
14657         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
14658         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
14659         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
14660         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14661         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14662         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14663         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14664         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14665         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14666         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14667         * NEWS: Mention addition of x86_64 vector logf.
14669         * bits/libm-simd-decl-stubs.h: Added stubs for log.
14670         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
14671         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14672         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14673         redirections for log.
14674         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14675         * sysdeps/x86_64/fpu/Versions: New versions added.
14676         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14677         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14678         build of SSE, AVX2 and AVX512 IFUNC versions.
14679         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
14680         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
14681         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
14682         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
14683         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
14684         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
14685         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
14686         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
14687         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
14688         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
14689         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
14690         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
14691         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
14692         test.
14693         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14694         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14695         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14696         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14697         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14698         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14699         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14700         * NEWS: Mention addition of x86_64 vector log.
14702 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14704         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
14705         cfi_adjust_cfa_offset argument.
14706         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
14707         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
14709         [BZ #18034]
14710         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
14711         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
14712         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
14713         ordering using ldar.
14714         (_dl_tlsdesc_dynamic): Likewise.
14715         (_dl_tlsdesc_return_lazy): Likewise.
14716         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
14717         relaxed atomics instead of volatile and synchronize with release store.
14718         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
14719         volatile.
14720         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14722 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
14724         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14725         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
14726         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14727         * sysdeps/x86_64/fpu/Versions: New versions added.
14728         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14729         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14730         build of SSE, AVX2 and AVX512 IFUNC versions.
14731         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
14732         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
14733         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
14734         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
14735         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
14736         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
14737         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
14738         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
14739         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
14740         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
14741         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
14742         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
14743         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
14744         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14745         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14746         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14747         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14748         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14749         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14750         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14751         * NEWS: Mention addition of x86_64 vector sinf.
14753 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
14755         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
14756         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
14757         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
14758         Remove variable.
14759         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14760         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14762 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14764         [BZ #18530]
14765         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
14766         strong alias of _IO_fputs.  Use libc_hidden_def.
14767         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
14768         and define as weak alias of __fputs_unlocked.  Use
14769         libc_hidden_weak.
14770         * include/stdio.h (__fputs_unlocked): Declare.  Use
14771         libc_hidden_proto.
14772         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
14773         fputs_unlocked.
14775         [BZ #18529]
14776         * resolv/netdb.h [__USE_POSIX]: Change condition to
14777         [__USE_XOPEN2K].
14778         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
14779         not expect.
14780         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
14781         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
14782         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
14783         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
14784         [XPG4 || UNIX98] (AI_ALL): Likewise.
14785         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
14786         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
14787         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
14788         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
14789         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
14790         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
14791         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
14792         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
14793         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
14794         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
14795         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
14796         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
14797         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
14798         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
14799         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
14800         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14801         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14802         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
14803         [XPG4 || UNIX98] (gai_strerror): Likewise.
14804         [XPG4 || UNIX98] (getaddrinfo): Likewise.
14805         [XPG4 || UNIX98] (getnameinfo): Likewise.
14807         [BZ #18528]
14808         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
14809         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
14810         __USE_XOPEN2K8].
14811         (getgrent): Likewise.
14812         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
14813         expect.
14814         [XPG3 || POSIX2008] (endgrent): Likewise.
14815         [XPG3] (setgrent): Likewise.
14816         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
14817         variable.
14818         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14820         [BZ #18527]
14821         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
14822         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
14823         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
14824         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
14825         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
14826         * include/unistd.h (__getlogin_r): Declare.  Use
14827         libc_hidden_proto.
14828         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
14829         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
14830         variable.
14831         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14832         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14833         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14835 2015-06-12  Martin Sebor  <msebor@redhat.com>
14837         [BZ #18512]
14838         * Makerules (check-install-supported): New target.
14839         (install): Add check-install-supported as a dependency.
14840         * manual/install.texi (Installing the C Library): Document
14841         that overriding prefix and exec_prefix is not supported.
14842         Mention DESTDIR.
14843         * INSTALL: Regenerate from the above.
14845 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14847         [BZ #18519]
14848         * posix/Versions (libc): Export __libc_pread at version
14849         GLIBC_PRIVATE.
14850         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
14851         instead of pread.
14852         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
14853         variable.
14855         [BZ #18522]
14856         * misc/efgcvt_r.c
14857         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
14858         (cvt_symbol): Use weak_alias instead of strong_alias.
14859         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
14860         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
14861         Remove variable.
14862         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14863         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14865         [BZ #18520]
14866         * inet/herrno.c (h_errno): Rename to __h_errno.
14867         (__libc_h_errno): Define as alias of __h_errno not h_errno.
14868         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
14869         to __h_errno instead of h_errno.
14870         * nptl/herrno.c (h_errno): Rename to __h_errno.
14871         (__h_errno_location): Refer to __h_errno not h_errno.
14872         * resolv/Versions (h_errno): Rename to __h_errno.
14873         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
14874         Remove variable.
14875         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14877 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
14879         * configure.ac: More strict check for AVX512 assembler support.
14880         * configure: Regenerated.
14882         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
14883         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
14884         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14885         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
14886         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14887         * sysdeps/x86_64/fpu/Versions: New versions added.
14888         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14889         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14890         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14891         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
14892         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
14893         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
14894         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
14895         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
14896         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
14897         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
14898         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
14899         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
14900         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
14901         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
14902         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
14903         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
14904         test.
14905         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14906         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14907         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14908         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14909         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14910         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14911         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14912         * NEWS: Mention addition of x86_64 vector sin.
14914 2015-06-11  Florian Weimer  <fweimer@redhat.com>
14916         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
14917         comment.
14919 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14921         [BZ #18479]
14922         * nptl/pt-interp.c: New file.
14923         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
14924         Add pt-interp.
14925         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
14926         $(common-objpfx)runtime-linker.h.
14928 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
14930         * Makeconfig (+interp): Remove unused variable.
14931         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
14932         only.  Depend on $(common-objpfx)runtime-linker.h instead of
14933         $(elf-objpfx)runtime-linker.h.
14934         ($(elf-objpfx)runtime-linker.h): Rename to
14935         $(common-objpfx)runtime-linker.h and move ...
14936         * Makerules [$(build-shared) = yes]: ... here.
14937         * elf/interp.c: Include <runtime-linker.h> instead of
14938         <elf/runtime-linker.h>.
14940 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14942         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
14943         (__gettimeofday_syscall): Remove vsyscall fallback.
14944         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
14945         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
14946         Add syscall fallback function.
14947         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
14948         if vDSO is not present.
14949         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
14950         fallback function.
14951         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14952         present.
14953         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
14954         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14956 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
14958         [BZ #18497]
14959         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
14960         of wcscmp.
14961         (wcscmp): Define as weak alias of WCSCMP.
14962         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
14963         wcscoll.
14964         (USE_HIDDEN_DEF): Define.
14965         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
14966         __wcscoll.  Don't use libc_hidden_weak.
14967         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
14968         wcscmp.
14969         * sysdeps/i386/i686/multiarch/wcscmp-c.c
14970         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
14971         __GI_wcscmp.
14972         (weak_alias): Undefine and redefine.
14973         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
14974         __wcscmp and define as weak alias of __wcscmp.
14975         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
14976         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
14977         (__wcscoll): Likewise.
14978         (wcscmp): Don't use libc_hidden_proto.
14979         (wcscoll): Likewise.
14980         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
14981         wcscoll.
14982         * posix/regexec.c (check_node_accept_bytes): Likewise.
14983         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
14984         variable.
14985         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14986         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14988         [BZ #18507]
14989         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
14990         __fstatvfs and define as weak alias of __fstatvfs.  Use
14991         libc_hidden_weak.
14992         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
14993         and define as weak alias of __statvfs.  Use libc_hidden_weak.
14994         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
14995         Define as alias of __fstatvfs, not fstatvfs.
14996         (fstatvfs64): Likewise.
14997         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
14998         Define as alias of __statvfs, not statvfs.
14999         (statvfs64): Likewise.
15000         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
15001         Remove variable.
15003 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15006         (HAVE_GETCPU_VSYSCALL): Define.
15007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15008         (HAVE_GETCPU_VSYSCALL): Likewise.
15009         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
15010         * sysdeps/unix/sysv/linux/sched_getcpu.c
15011         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
15012         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
15013         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
15014         prototype.
15015         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15016         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
15017         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
15018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
15019         Define.
15020         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
15021         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15022         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
15023         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15025 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
15027         * sysdeps/x86_64/fpu/Makefile: New file.
15028         * sysdeps/x86_64/fpu/Versions: New file.
15029         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
15030         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
15031         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
15032         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
15033         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
15034         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
15035         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
15036         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
15037         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
15038         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
15039         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
15040         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
15041         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
15042         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15043         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15044         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
15045         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
15046         * sysdeps/x86_64/configure.ac: Options for libmvec build.
15047         * sysdeps/x86_64/configure: Regenerated.
15048         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
15049         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
15050         * manual/install.texi (Configuring and compiling): Document
15051         --disable-mathvec.
15052         * INSTALL: Regenerated.
15053         * NEWS: Mention addition of libmvec and x86_64 vector cos.
15055         * math/Makefile: Added rules for vector tests.
15056         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
15057         declaration under condition.
15058         * math/test-double-vlen2.h: New file.
15059         * math/test-double-vlen4.h: New file.
15060         * math/test-double-vlen8.h: New file.
15061         * math/test-vec-loop.h: Added initialization macro.
15062         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
15063         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
15064         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
15065         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
15066         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
15067         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
15068         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
15069         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
15070         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
15071         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
15072         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
15074         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15075         * sysdeps/x86_64/fpu/Versions: New versions added.
15076         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
15077         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
15078         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
15079         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
15080         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
15081         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
15082         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
15083         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
15084         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
15085         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
15086         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
15087         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
15088         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
15089         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15090         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15091         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15092         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
15093         * NEWS: Mention addition of x86_64 vector cosf.
15095         * math/Makefile: Added CFLAGS for new tests.
15096         * math/test-float-vlen16.h: New file.
15097         * math/test-float-vlen4.h: New file.
15098         * math/test-float-vlen8.h: New file.
15099         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
15100         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
15101         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15102         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
15103         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
15104         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
15105         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
15106         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
15107         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
15108         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
15109         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
15111 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
15113         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
15114         * locale/programs/ld-ctype.c: Likewise.
15116 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
15118         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
15119         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
15120         bit_ZMM16_31_state): New macro.
15121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15122         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
15124 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
15126         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
15128 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
15130         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
15132 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
15134         [BZ #18498]
15135         * libio/memstream.c (open_memstream): Rename to __open_memstream
15136         and define as weak alias of __open_memstream.
15137         * include/stdio.h (__open_memstream): Declare.  Use
15138         libc_hidden_proto.
15139         (open_memstream): Don't use libc_hidden_proto.
15140         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
15141         open_memstream.
15142         * posix/getopt.c (_getopt_internal_r): Likewise.
15143         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
15144         variable.
15145         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15146         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15147         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15149         [BZ #18496]
15150         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
15151         instead of wcrtomb.
15153         [BZ #18483]
15154         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
15155         [__USE_XOPEN2K8].  Remove redundant #endif.
15156         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
15157         Remove redundant #if.
15158         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15159         Remove variable.
15160         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15161         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15163         [BZ #18495]
15164         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15165         (__iswlower): Likewise.
15166         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15167         (__iswlower): Likewise.
15168         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15169         instead of towlower.
15170         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15171         instead of iswlower.  Call __towupper instead of towupper.
15172         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15173         instead of iswalnum.
15175 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15177         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15178         errors to stderr.
15180 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15182         [BZ #15661]
15183         [BZ #17322]
15184         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15185         Check for overflow properly.  Check for O_APPEND.  Ignore large
15186         file system block sizes.  Add comments about problems.
15187         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15188         * manual/filesys.texi (Storage Allocation): New node.
15190 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15192         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15193         cancellable syscalls.
15194         (SYS_ify): Add guard to no redefine it.
15195         (INLINE_SYSCALL): Likewise.
15196         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15197         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15198         SYSCALL_CANCEL instead.
15199         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15200         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15201         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15202         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15203         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15204         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15205         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15206         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15207         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15208         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15209         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15210         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15211         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15212         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15213         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15214         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15215         Likewise.
15216         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15217         (__libc_pread64): Likewise.
15218         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15219         (__libc_preadv): Likewise.
15220         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15221         (__libc_readv64): Likewise.
15222         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15223         (__libc_pwrite): Likewise.
15224         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15225         (__libc_pwrite64): Likewise.
15226         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15227         (__libc_pwritev): Likewise.
15228         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15229         (__libc_pwritev64): Likewise.
15230         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15231         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15232         (sync_file_range): Likewise.
15233         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15234         Likewise.
15235         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15236         Likewise.
15237         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15238         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15239         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15240         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15241         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15242         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15243         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15244         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15246         Likewise.
15247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15248         (__libc_read64): Likewise.
15249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15250         Likewise.
15251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15252         Likewise.
15253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15254         Likewise.
15255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15256         Likewise.
15257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15258         (__libc_pread64): Likewise.
15259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15260         Likewise.
15261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15262         (__libc_pwrite64): Likewise.
15263         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15264         (sync_file_range): Likewise.
15265         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15266         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15267         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15268         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15269         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15270         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15271         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15272         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15273         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15274         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15275         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15276         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15277         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15278         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15279         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15280         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15281         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15282         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15283         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15284         Likewise.
15285         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15286         Likewise.
15287         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15288         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15289         Likewise.
15290         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15291         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15292         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15293         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15294         Likewise.
15295         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15296         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15297         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15298         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15299         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15301 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15303         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15304         Include dl-vdso.
15305         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15306         Use VDSO routines for gettimeofday, clock_gettime if
15307         available.
15308         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15309         Declare VDSO symbols.
15310         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15311         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15312         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15313         * sysdeps/unix/sysv/linux/arm/Versions: Add
15314         __vdso_clock_gettime.
15316 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15318         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15319         be an inline implementation regardless of library is built within.
15320         (open_not_cancel_2): Likewise.
15321         (__read_nocancel): Likewise.
15322         (__write_nocancel): Likewise.
15323         (openat_not_cancel): Likewise.
15324         (openat_not_cancel_3): Likewise.
15325         (openat64_not_cancel): Likewise.
15326         (openat64_not_cancel_3): Likewise.
15327         (__close_nocancel): Likewise.
15328         (pause_not_cancel): Likewise.
15329         (nanosleep_not_cancel): Likewise.
15330         (sigsuspend_not_cancel): Likewise.
15332 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15334         [BZ #14958]
15335         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15336         wake-up.
15337         (__pthread_rwlock_rdlock_slow): Likewise.
15338         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15339         Likewise.
15340         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15341         Likewise.
15342         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15343         * nptl/tst-rwlock16.c: New file.
15344         * nptl/Makefile (tests): Add new test.
15346 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15348         [BZ #18324]
15349         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15350         missing wake-up of readers.
15351         * nptl/tst-rwlock15.c: New file.
15352         * nptl/Makefile (tests): Add new test.
15354 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15356         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15357         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15358         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15359         and __nacl_supply_interface_rtld.
15360         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15361         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15362         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15363         Add __nacl_supply_interface_rtld.
15364         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15366 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15368         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15369         isfinite.
15370         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15371         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15373 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15375         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15376         __signbit* with standard C99 macros.
15377         * math/e_exp10l.c: Likewise.
15378         * math/e_exp2l.c: Likewise.
15379         * math/e_scalb.c: Likewise.
15380         * math/e_scalbf.c: Likewise.
15381         * math/e_scalbl.c: Likewise.
15382         * math/s_ldexp.c: Likewise.
15383         * math/s_ldexpf.c: Likewise.
15384         * math/s_ldexpl.c: Likewise.
15385         * math/w_atan2.c: Likewise.
15386         * math/w_atan2f.c: Likewise.
15387         * math/w_atan2l.c: Likewise.
15388         * math/w_cosh.c: Likewise.
15389         * math/w_coshf.c: Likewise.
15390         * math/w_coshl.c: Likewise.
15391         * math/w_exp10.c: Likewise.
15392         * math/w_exp10f.c: Likewise.
15393         * math/w_exp10l.c: Likewise.
15394         * math/w_exp2.c: Likewise.
15395         * math/w_exp2f.c: Likewise.
15396         * math/w_exp2l.c: Likewise.
15397         * math/w_fmod.c: Likewise.
15398         * math/w_fmodf.c: Likewise.
15399         * math/w_fmodl.c: Likewise.
15400         * math/w_hypot.c: Likewise.
15401         * math/w_hypotf.c: Likewise.
15402         * math/w_hypotl.c: Likewise.
15403         * math/w_jnl.c: Likewise.
15404         * math/w_lgamma.c: Likewise.
15405         * math/w_lgamma_r.c: Likewise.
15406         * math/w_lgammaf.c: Likewise.
15407         * math/w_lgammaf_r.c: Likewise.
15408         * math/w_lgammal.c: Likewise.
15409         * math/w_lgammal_r.c: Likewise.
15410         * math/w_pow.c: Likewise.
15411         * math/w_powf.c: Likewise.
15412         * math/w_powl.c: Likewise.
15413         * math/w_remainder.c: Likewise.
15414         * math/w_remainderf.c: Likewise.
15415         * math/w_remainderl.c: Likewise.
15416         * math/w_scalb.c: Likewise.
15417         * math/w_scalbf.c: Likewise.
15418         * math/w_scalbl.c: Likewise.
15419         * math/w_scalbln.c: Likewise.
15420         * math/w_scalblnf.c: Likewise.
15421         * math/w_scalblnl.c: Likewise.
15422         * math/w_sinh.c: Likewise.
15423         * math/w_sinhf.c: Likewise.
15424         * math/w_sinhl.c: Likewise.
15425         * math/w_tgamma.c: Likewise.
15426         * math/w_tgammaf.c: Likewise.
15427         * math/w_tgammal.c: Likewise.
15428         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15429         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15430         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15431         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15432         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15433         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15434         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15435         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15436         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15437         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15438         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15439         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15440         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15441         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15442         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15443         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15444         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15445         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15446         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15447         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15448         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15449         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15450         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15452         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15453         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15454         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15455         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15456         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15457         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15458         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15459         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15460         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15461         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15462         * stdio-common/printf_fp.c: Likewise.
15463         * stdio-common/printf_fphex.c: Likewise.
15464         * stdio-common/printf_size.c: Likewise.
15466 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15468         [BZ #18470]
15469         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15470         strnlen.
15471         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15472         Remove variable.
15473         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15474         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15475         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15476         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15477         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15478         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15479         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15480         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15481         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15482         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15484         [BZ #18468]
15485         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15486         weak alias of __wmemchr.  Use libc_hidden_weak.
15487         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15488         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15489         instead of wmemchr.
15491 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15493         [BZ #18383]
15494         * elf/tst-tlsalign-extern.c: New file.
15495         * elf/tst-tlsalign-extern-static.c: New file.
15496         * elf/tst-tlsalign-vars.c: New file.
15497         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15498         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15499         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15500         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15501         (test-xfail-tst-tlsalign-extern-static): New variable.
15503 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15505         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15506         Use variable name _sc_err instead of err.
15507         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15508         instead of ret.
15509         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15510         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15511         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15512         (INLINE_SYSCALL): Likewise.
15514         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15515         * include/string.h (__strnlen): Use libc_hidden_proto.
15516         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15517         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15518         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15519         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15520         (libc_hidden_def): Undefine and redefine.
15521         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15522         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15523         __GI_strnlen.
15524         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15525         libc_hidden_def.
15526         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
15528         [BZ #18469]
15529         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
15530         weak alias of __towlower.  Use libc_hidden_weak.
15531         (towupper): Rename to __towupper and define as weak alias of
15532         __towupper.  Use libc_hidden_weak.
15533         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
15534         (__towupper): Likewise.
15535         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
15536         __towlower instead of towlower.
15538 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15540         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
15541         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15543 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15545         * sysdeps/aarch64/libm-test-ulps: Update.
15547 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15549         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15550         Define.
15551         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15553         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15554         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15555         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15556         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15557         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15559 2015-06-01  Martin Sebor  <msebor@redhat.com>
15561         [BZ #18116]
15562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15563         (__setcontext): Use extended four-operand version of mtsf whenever
15564         possible.
15565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15566         (__novec_swapcontext): Likewise.
15568 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15570         * benchtests/scripts/compare_bench.py: New file.
15571         * benchtests/scripts/import_bench.py (mean): New function.
15572         (split_list): Likewise.
15573         (do_for_all_timings): Likewise.
15574         (compress_timings): Likewise.
15576         * benchtests/scripts/import_bench.py: New file.
15577         * benchtests/scripts/validate_benchout.py: Import import_bench
15578         instead of jsonschema.
15579         (validate_bench): Remove function.
15580         (main): Use import_bench.
15582 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
15584         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
15585         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
15587 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15591 2015-05-28  Roland McGrath  <roland@hack.frob.com>
15593         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
15594         set THREAD_SELF->tid to a magic value and futex-wake it.
15595         Pass its address to the thread_exit system call.
15596         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
15597         bit is clear.
15598         * sysdeps/nacl/lowlevellock.h: New file.
15599         * sysdeps/nacl/lll_timedwait_tid.c: New file.
15601         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
15602         Add TIMEOUT to current time, don't subtract it.
15604 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
15606         [BZ #2981]
15607         [BZ #18422]
15608         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
15609         ($(objpfx)tst-audit2.out): Also depend on
15610         $(objpfx)tst-auditmod9b.so.
15611         * elf/tst-audit2.c: Include <dlfcn.h>.
15612         (calloc_called): New.
15613         (calloc): Allow to be called more than once.
15614         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
15616 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
15618         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
15619         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
15621 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
15623         * stdlib/monetary.h: Fix comment.
15625 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
15627         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
15628         Avoid using variables in #defines that might cause shadowing.
15629         (INTERNAL_VSYSCALL_CALL): Likewise.
15631 2015-05-26  Roland McGrath  <roland@hack.frob.com>
15633         * sysdeps/nacl/lll_timedlock_wait.c: New file.
15635         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
15636         * nptl/lll_timedlock_wait.c: ... to this new file.
15637         * nptl/Makefile (libpthread-routines): Add it.
15638         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
15639         * nptl/lll_timedwait_tid.c: ... to this new file.
15640         * nptl/Makefile (libpthread-routines): Add it.
15641         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
15642         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
15643         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
15644         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
15645         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
15646         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
15647         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
15648         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
15649         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
15650         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
15652 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15654         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
15655         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15656         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15657         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
15658         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15659         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15660         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15662         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15663         * sysdeps/unix/sysv/linux/tile/sysdep.h
15664         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15665         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
15666         using vDSO syscall macro.
15668 2015-05-26  Andriy Rysin  <arysin@gmail.com>
15670         [BZ #17293]
15671         * uk_UA: Fix sorting order for Ukrainian locale
15673 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
15675         * stdlib/monetary.h: Fix comment.
15677 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15679         [BZ #18234]
15680         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
15681         st_mtim and st_ctim members.
15682         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
15683         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
15684         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
15685         (struct stat64): Likewise.
15686         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
15687         (struct stat64): Likewise.
15688         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
15689         (struct stat64): Likewise.
15691 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15693         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
15694         Define and include sysdep-vdso.h.
15695         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
15696         Likewise.
15697         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
15698         Likewise.
15699         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
15700         Define with VDSO_SYMBOL and use PTR_MANGLE.
15701         (__vdso_clock_gettime): Likewise.
15702         (__vdso_clock_getres): Likewise.
15703         (_libc_vdso_platform_setup): Likewise.
15704         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15705         Likewise.
15706         (_libc_vdso_platform_setup): Likewise.
15707         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
15708         Likewise.
15709         (__vdso_clock_gettime): Likewise.
15710         (__vdso_clock_getres): Likewise.
15711         (__vdso_get_tbfreq): Likewise.
15712         (__vdso_getcpu): Likewise.
15713         (__vdso_time): Likewise.
15714         (__vdso_sigtramp_rt64): Likewise.
15715         (__vdso_signtramp32): Likewise.
15716         (__vdso_sigtramp_rt32): Likewise.
15717         (_libc_vdso_platform_setup): Likewise.
15718         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
15719         Likewise.
15720         (__vdso_clock_gettime): Likewise.
15721         (__vdso_clock_getres): Likewise.
15722         (_libc_vdso_platform_setup): Likewise.
15723         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
15724         Likewise.
15725         (__vdso_clock_gettime): Likewise.
15726         (_libc_vdso_platform_setup): Likewise.
15727         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15728         Likewise.
15729         (__vdso_getcpu): Likewise.
15730         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
15731         Use VDSO_SYMBOL macro to define.
15732         (__vdso_clock_gettime): Likewise.
15733         (__vdso_clock_getres): Likewise.
15734         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
15735         Likewise.
15736         (__vdso_clock_gettime): Likewise.
15737         (__vdso_clock_getres): Likewise.
15738         (__vdso_get_tbfreq): Likewise.
15739         (__vdso_getcpu): Likewise.
15740         (__vdso_time): Likewise.
15741         (__vdso_sigtramp_rt64): Likewise.
15742         (__vdso_signtramp32): Likewise.
15743         (__vdso_sigtramp_rt32): Likewise.
15744         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
15745         Likewise.
15746         (__vdso_clock_gettime): Likewise.
15747         (__vdso_clock_getres): Likewise.
15748         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
15749         Likewise.
15750         (__vdso_clock_gettime): Likewise.
15751         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15752         Likewise.
15753         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
15754         macro.
15755         (INTERNAL_VSYSCALL): Likewise.
15756         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
15757         Remove macro.
15758         (INTERNAL_VSYSCALL): Likewise.
15759         (INTERNAL_VSYSCALL_NCS): Likewise.
15760         (INTERNAL_VSYSCALL_CALL): New macro.
15761         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
15763         Likewise.
15764         (INTERNAL_VSYSCALL): Likewise.
15765         (INTERNAL_VSYSCALL_NCS): Likewise.
15766         (INTERNAL_VSYSCALL_CALL): New macro.
15767         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15769         (INLINE_VSYSCALL): Remove macro.
15770         (INTERNAL_VSYSCALL): Remove macro.
15771         (INTERNAL_VSYSCALL_NCS): Remove macro.
15772         (INTERNAL_VSYSCALL_CALL): New macro.
15773         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
15774         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
15775         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15776         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
15777         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15779         (INLINE_VSYSCALL): Remove macro.
15780         (INTERNAL_VSYSCALL): Likewise.
15781         (INTERNAL_VSYSCALL_NCS): Likewise.
15782         (INTERNAL_VSYSCALL_CALL): New macro.
15783         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
15784         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
15785         PTR_DEMANGLE on vDSO pointer.
15786         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15787         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
15788         macro.
15789         (INTERNAL_SYSCALL): Likewise.
15790         (INTERNAL_VSYSCALL_NCS): Remove macro.
15791         (INTERNAL_VSYSCALL_CALL): New macro.
15792         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
15793         Remove macro.
15794         (INTERNAL_VSYSCALL): Likewise.
15795         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
15796         sysdep-vdso.h instead of libc-vdso.h.
15797         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
15798         definition.
15799         (INLINE_VSYSCALL): Likewise.
15800         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
15801         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
15802         definition.
15803         (INLINE_VSYSCALL): Likewise.
15804         (INTERNAL_VSYSCALL): Likewise.
15805         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15806         * sysdeps/unix/sysv/linux/timespec_get.c
15807         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15808         (timespec_get): Use ANSI prototype.
15809         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
15810         and definition for Linux.
15812 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15814         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
15815         * include/libc-symbols.h: libmvec_hidden_* macro series added.
15817 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15819         [BZ #2981]
15820         [BZ #18410]
15821         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
15822         for missing DT_PLTRELSZ.
15824 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
15826         Remove obsolete aliases that broke 'locale -a'
15827         [BZ #18412]
15828         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
15829         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
15830         breaking some applications that use 'locale -a' output.
15831         Change the encoding of this file from Latin-1 to ASCII to avoid
15832         other potential problems with people grepping this file.
15834 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15836         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
15837         -fasynchronous-unwind-tables.
15838         (CFLAGS-sendto.c): Likewise.
15839         (CFLAGS-sendmsg.c): Likewise.
15840         (CFLAGS-connect.c): Likewise.
15841         (CFLAGS-recvmsg.c): Likewise.
15842         (CFLAGS-recvfrom.c): Likewise.
15843         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
15844         (SOCKETCALL): New macro: non-cancellable socketcall.
15845         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
15846         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
15847         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
15848         * sysdeps/unix/sysv/linux/accept.c: New file.
15849         * sysdeps/unix/sysv/linux/bind.c: Likewise.
15850         * sysdeps/unix/sysv/linux/connect.c: Likewise.
15851         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
15852         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
15853         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
15854         * sysdeps/unix/sysv/linux/listen.c: Likewise.
15855         * sysdeps/unix/sysv/linux/recv.c: Likewise.
15856         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
15857         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15858         * sysdeps/unix/sysv/linux/send.c: Likewise.
15859         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15860         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
15861         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
15862         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
15863         * sysdeps/unix/sysv/linux/socket.c: Likewise.
15864         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
15865         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
15866         prototype.
15867         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
15868         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15869         instead of __internal_xxx function.
15870         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
15871         prototype.
15872         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
15873         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15874         instead of __internal_xxx function.
15875         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
15876         prototype.
15877         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
15878         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15879         instead of __internal_xxx function.
15880         * sysdeps/unix/sysv/linux/accept.S: Remove file.
15881         * sysdeps/unix/sysv/linux/bind.S: Likewise.
15882         * sysdeps/unix/sysv/linux/connect.S: Likewise.
15883         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
15884         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
15885         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
15886         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
15887         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
15888         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
15889         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
15890         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
15891         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15892         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
15893         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
15894         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
15895         * sysdeps/unix/sysv/linux/listen.S: Likewise.
15896         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
15897         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
15898         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
15899         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
15900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
15901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
15902         * sysdeps/unix/sysv/linux/recv.S: Likewise.
15903         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
15904         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
15905         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
15906         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15907         * sysdeps/unix/sysv/linux/send.S: Likewise.
15908         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
15909         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
15910         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
15911         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
15912         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
15913         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
15914         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
15915         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
15916         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
15917         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
15918         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
15919         socketcall is implemented in GLIBC.
15921 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15923         * soft-fp/fmadf4.c: Include <libc-internal.h>.
15924         (__fma): Ignore uninitialized warnings around packing.
15925         * soft-fp/fmasf4.c: Include <libc-internal.h>.
15926         (__fmaf): Ignore uninitialized warnings around packing.
15927         * soft-fp/fmatf4.c: Include <libc-internal.h>.
15928         (__fmal): Ignore uninitialized warnings around packing.
15930         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
15931         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15932         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
15933         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15935         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
15936         switch statement into default case.
15937         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
15939         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
15940         a conditional in forcing "inexact".
15941         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15942         Likewise.
15944 2015-05-22  Roland McGrath  <roland@hack.frob.com>
15946         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15947         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
15948         for each INTERNAL_SYSCALL use.
15950 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15952         [BZ #438]
15953         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
15954         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
15955         variable.
15957         [BZ #18444]
15958         * string/basename.c (basename): Rename to __basename and define as
15959         weak alias of __basename.  Use libc_hidden_weak.
15960         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
15961         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
15962         __basename instead of basename.
15963         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
15964         Remove variable.
15965         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15967 2015-05-18  Florian Weimer  <fweimer@redhat.com>
15969         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
15970         (_IO_JUMPS_FILE_plus): New.
15971         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
15972         _IO_CAST_FIELD_ACCESS.
15973         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
15974         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
15975         * libio/freopen.c (freopen): Likewise.
15976         * libio/freopen64.c (freopen64): Likewise.
15977         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
15978         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
15979         * libio/iofwide.c (_IO_fwide): Likewise.
15980         * libio/memstream.c (open_memstream): Likewise.
15981         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15982         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15983         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15985 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
15987         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
15988         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
15989         NADJ.
15990         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
15991         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
15992         NADJ.
15993         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
15994         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
15995         NADJ.
15997         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
15998         (p == 4) case.
16000         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
16001         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
16002         Remove variable.
16003         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16004         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16005         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16007 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16009         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
16010         Adjust jump table label generation macros.
16012 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16014         * stdio-common/vfprintf.c (vfprintf): Move local variables
16015         args_malloced, specs, specs_malloced, and the code after
16016         do_positional to the printf_positional function.
16017         (printf_positional): New function.
16019 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16021         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
16022         function.
16023         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
16024         STEP4_TABLE, process_arg): Move macro definitions
16025         out of the vfprintf function.  (Cosmetic change only.)
16027 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
16029         * benchtests/Makefile (stdio-common-bench): Define.
16030         (benchset): Add stdio-common-bench.
16031         * sprintf-inputs: New file.
16032         * sprintf-source.c: New file.
16034 2015-05-21  Andreas Schwab  <schwab@suse.de>
16036         [BZ #13028]
16037         [BZ #17053]
16038         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
16039         of struct __res_state.
16040         * resolv/res_send.c (__libc_res_nsend): Likewise.
16041         (get_nsaddr): New function.
16042         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
16043         statp directly.
16045 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
16047         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
16048         -D_POSIX_C_SOURCE=199506L.
16050         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
16052         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
16053         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
16054         Do not mention otherwise.
16055         [POSIX] (_XOPEN_VERSION): Do not expect.
16056         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
16057         [POSIX] (_POSIX2_C_BIND): Likewise.
16058         [POSIX] (_POSIX2_VERSION): Likewise.
16059         [POSIX] (_XOPEN_XPG2): Likewise.
16060         [POSIX] (_XOPEN_XPG3): Likewise.
16061         [POSIX] (_XOPEN_XPG4): Likewise.
16062         [POSIX] (_XOPEN_UNIX): Likewise.
16063         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
16064         [POSIX] (_POSIX_BARRIERS): Likewise.
16065         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
16066         [POSIX] (_POSIX_CPUTIME): Likewise.
16067         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
16068         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
16069         [POSIX] (_POSIX_SHELL): Likewise.
16070         [POSIX] (_POSIX_SPAWN): Likewise.
16071         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
16072         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
16073         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
16074         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
16075         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
16076         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
16077         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
16078         [POSIX] (_XBS5_LP64_OFF64): Likewise.
16079         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
16080         [POSIX] (_POSIX_TIMEOUTS): Likewise.
16081         [POSIX] (_POSIX2_PBS): Likewise.
16082         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
16083         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
16084         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
16085         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
16086         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
16087         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
16088         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
16089         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
16090         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
16091         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
16092         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
16093         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
16094         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
16095         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
16096         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
16097         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
16098         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
16099         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
16100         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
16101         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
16102         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
16103         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
16104         [POSIX] (_SC_2_C_BIND): Likewise.
16105         [POSIX] (_SC_2_C_VERSION): Likewise.
16106         [POSIX] (_SC_2_PBS): Likewise.
16107         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
16108         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
16109         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
16110         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
16111         [POSIX] (_SC_2_PBS_TRACK): Likewise.
16112         [POSIX] (_SC_ATEXIT_MAX): Likewise.
16113         [POSIX] (_SC_BARRIERS): Likewise.
16114         [POSIX] (_SC_BASE): Likewise.
16115         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
16116         [POSIX] (_SC_DEVICE_IO): Likewise.
16117         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
16118         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
16119         [POSIX] (_SC_FD_MGMT): Likewise.
16120         [POSIX] (_SC_FIFO): Likewise.
16121         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
16122         [POSIX] (_SC_FILE_LOCKING): Likewise.
16123         [POSIX] (_SC_FILE_SYSTEM): Likewise.
16124         [POSIX] (_SC_IOV_MAX): Likewise.
16125         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
16126         [POSIX] (_SC_NETWORKING): Likewise.
16127         [POSIX] (_SC_PAGE_SIZE): Likewise.
16128         [POSIX] (_SC_PASS_MAX): Likewise.
16129         [POSIX] (_SC_PIPE): Likewise.
16130         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
16131         [POSIX] (_SC_REGEXP): Likewise.
16132         [POSIX] (_SC_SHELL): Likewise.
16133         [POSIX] (_SC_SIGNALS): Likewise.
16134         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
16135         [POSIX] (_SC_SPIN_LOCKS): Likewise.
16136         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
16137         [POSIX] (_SC_USER_GROUPS): Likewise.
16138         [POSIX] (_SC_USER_GROUPS_R): Likewise.
16139         [POSIX] (_SC_STREAMS): Likewise.
16140         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
16141         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
16142         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
16143         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
16144         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
16145         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
16146         [POSIX] (_PC_FILESIZEBITS): Likewise.
16147         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
16148         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
16149         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
16150         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
16151         [POSIX] (uid_t): Likewise.
16152         [POSIX] (gid_t): Likewise.
16153         [POSIX] (off_t): Likewise.
16154         [POSIX] (pid_t): Likewise.
16155         [POSIX] (cuserid): Allow.
16156         (_SC_2_CHAR_TERM): Require constant.
16157         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
16158         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16159         variable.
16161 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16163         * sysdeps/nacl/pthread-pids.h: New file.
16164         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16165         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16167         * nptl/pthread-pids.h: New file.
16168         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16169         * nptl/nptl-init.c: Include <pthread-pids.h>.
16170         (__pthread_initialize_minimal_internal):
16171         Call __pthread_initialize_pids instead of set_tid_address syscall.
16173         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16174         * sysdeps/posix/usleep.c: ... here.
16176 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16178         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16179         call_pselect6 object.
16180         [$(subdir) = io]: Remove call_sync_file_range object.
16181         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16182         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16183         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16184         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16186 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16188         * math/s_cproj.c: Add include "math_private.h".
16189         * math/s_cprojf.c: Likewise.
16190         * math/s_cprojl.c: Likewise.
16192 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16194         [BZ #18244]
16195         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16196         high mantissa bit when testing whether P is a NaN.
16197         * math/libm-test.inc (remainder_test_data): Add more tests.
16198         (remquo_test_data): Likewise.
16200         [BZ #18049]
16201         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16202         below -32, return the argument, with underflow if subnormal.
16203         * math/auto-libm-test-in: Add more tests of atanh.
16204         * math/auto-libm-test-out: Regenerated.
16206 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16208         [BZ #18434]
16209         * nptl/tst-sem15.c: New file.
16210         * nptl/Makefile (tests): Add it.
16211         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16212         s/<</>>/ to fix typo in EOVERFLOW check.
16213         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16215 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16217         * manual/strings.texi (envz_remove): Fix typo in safety
16218         annotations.
16220 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16221             Steve Ellcey  <sellcey@imgtec.com>
16223         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16224         in order to avoid strict alias warnings.
16225         (iruserok_af): Ditto for ra.
16227 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16229         [BZ #17581]
16230         * malloc/hooks.c
16231         (magicbyte): Convert to a function and avoid returning 0x01.
16232         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16233         (mem2chunk_check): Fix unsigned comparisons to zero.
16234         Hoist defs of sz and magic.
16236 2015-05-19  Richard Henderson  <rth@redhat.com>
16238         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16240         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16242 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16244         [BZ #16159]
16245         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16246         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16247         (reused_arena): Find a non-corrupt arena.
16248         (heap_trim): Pass arena to unlink.
16249         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16250         malloc_printerr.
16251         (top_check): Likewise.
16252         (free_check): Likewise.
16253         (realloc_check): Likewise.
16254         * malloc/malloc.c (malloc_printerr): Add arena argument.
16255         (unlink): Likewise.
16256         (munmap_chunk): Adjust.
16257         (ARENA_CORRUPTION_BIT): New macro.
16258         (arena_is_corrupt): Likewise.
16259         (set_arena_corrupt): Likewise.
16260         (sysmalloc): Use mmap if there are no usable arenas.
16261         (_int_malloc): Likewise.
16262         (__libc_malloc): Don't fail if arena_get returns NULL.
16263         (_mid_memalign): Likewise.
16264         (__libc_calloc): Likewise.
16265         (__libc_realloc): Adjust for additional argument to
16266         malloc_printerr.
16267         (_int_free): Likewise.
16268         (malloc_consolidate): Likewise.
16269         (_int_realloc): Likewise.
16270         (_int_memalign): Don't touch corrupt arenas.
16271         * malloc/tst-malloc-backtrace.c: New test case.
16273         * Makefile (summarize-tests): Fix return value on success.
16275         * manual/string.texi (Envz Functions): Add envz_remove.
16277 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16279         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16280         (invalid_name): New function, broken out of ...
16281         (__opendirat): ... here.  Call it.
16282         (need_isdir_precheck): New function, broken out of ...
16283         (__opendirat): ... here.  Call it.
16284         Use __fxstatat64, not __xstatat64.
16285         (opendir_oflags): New function, broken out of ...
16286         (__opendirat): ... here.  Call it.
16287         (opendir_tail): New function, broken out of ...
16288         (__opendirat): ... here.  Call it.
16289         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16290         opendir_tail, rather than punting to __opendirat.
16291         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16293 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16295         * .gitignore: Ignore generated *.pyc.
16297 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16299         * include/stdio.h: Define __need_wint_t.
16300         * test-skeleton.c: Avoid `for' loop initial declaration.
16301         * nptl/tst-initializers1.c: Use test-skeleton.c.
16303 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16305         [BZ #18418]
16306         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16308 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16310         [BZ #16352]
16311         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16312         (__ieee754_atanh): Force underflow exception for results with
16313         small absolute value.
16314         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16315         (__ieee754_atanhf): Force underflow exception for results with
16316         small absolute value.
16317         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16318         (__ieee754_atanh): Force underflow exception for results with
16319         small absolute value.
16320         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16321         (__ieee754_atanhf): Force underflow exception for results with
16322         small absolute value.
16323         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16324         (__ieee754_atanhl): Force underflow exception for results with
16325         small absolute value.
16326         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16327         (__ieee754_atanhl): Force underflow exception for results with
16328         small absolute value.
16329         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16330         (__ieee754_atanhl): Force underflow exception for results with
16331         small absolute value.
16332         * math/auto-libm-test-in: Do not allow missing underflow
16333         exceptions from atanh.
16334         * math/auto-libm-test-out: Regenerated.
16336         [BZ #18221]
16337         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16338         2**-28 as threshold for returning x or +/- 1/x.
16339         * math/auto-libm-test-in: Add more tests of tan.
16340         * math/auto-libm-test-out: Regenerated.
16342         [BZ #18220]
16343         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16344         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16345         * math/auto-libm-test-in: Add another test of lgamma.
16346         * math/auto-libm-test-out: Regenerated.
16348 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16350         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16351         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16352         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16353         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16354         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16355         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16356         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16357         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16358         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16359         (log1): Use fabs.  (my_log2): Use fabs.
16360         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16361         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16362         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16363         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16364         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16365         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16366         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16367         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16368         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16369         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16370         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16372 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16374         [BZ #18217]
16375         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16376         as threshold for returning 1 - x.
16377         * math/auto-libm-test-in: Add more tests of erfc.
16378         * math/auto-libm-test-out: Regenerated.
16380 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16382         [BZ #18196]
16383         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16384         threshold for large arguments.
16385         * math/auto-libm-test-in: Add another test of atan.
16386         * math/auto-libm-test-out: Regenerated.
16388         [BZ #16339]
16389         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16390         (__log1p): Force underflow exception for results with small
16391         absolute value.
16392         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16393         (__log1pf): Force underflow exception for results with small
16394         absolute value.
16395         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16396         (__log1p): Force underflow exception for results with small
16397         absolute value.
16398         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16399         (__log1pf): Force underflow exception for results with small
16400         absolute value.
16401         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16402         (__log1pl): Force underflow exception for results with small
16403         absolute value.
16404         * math/auto-libm-test-in: Do not allow missing underflow
16405         exceptions from log1p.
16406         * math/auto-libm-test-out: Regenerated.
16408 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16409             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16411         [BZ #16704]
16412         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16414 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16416         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16417         (libmvec): New variable.
16418         * configure.ac: Added option for mathvec build.
16419         * configure: Regenerated.
16420         * mathvec/Depend: New file.
16421         * mathvec/Makefile: New file.
16422         * shlib-versions: Added libmvec.
16423         * math/Makefile: Added rule for libm.so installation.
16425         * bits/math-vector.h: New file.
16426         * bits/libm-simd-decl-stubs.h: New header.
16427         * math/Makefile (headers): Added new header
16428         libm-simd-decl-stubs.h.
16429         * math/math.h (__MATHCALL_VEC): New macro.
16431         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16432         for conditions in testing functions.
16433         * math/Makefile: Added call of libm-have-vector-test.sh.
16434         * math/libm-test.inc (HAVE_VECTOR): New macros.
16436         * math/libm-test.inc: START refactored.
16437         * math/test-double.c (TEST_MATHVEC): Add define.
16438         * math/test-float.c: Likewise.
16439         * math/test-idouble.c: Likewise.
16440         * math/test-ifloat.c: Likewise.
16441         * math/test-ildoubl.c: Likewise.
16442         * math/test-ldouble.c: Likewise.
16443         * sysdeps/generic/math-tests-arch.h
16444         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16445         architecture check.
16447         * math/test-double.c (FUNC_TEST): New macro.
16448         * math/test-float.c: Likewise.
16449         * math/test-idouble.c: Likewise.
16450         * math/test-ifloat.c: Likewise.
16451         * math/test-ildoubl.c: Likewise.
16452         * math/test-ldouble.c: Likewise.
16453         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16455 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16457         * sysdeps/nacl/fdopendir.c: New file.
16459         * dirent/scandir-tail.c: New file.
16460         * dirent/scandir64-tail.c: New file.
16461         * dirent/Makefile (routines): Add them.
16462         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16463         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16464         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16465         [!SCANDIR] (SCANDIR_TAIL): New macro.
16466         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16467         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16468         (SCANDIRAT): Macro removed.
16469         (SCANDIR_TAIL): New macro.
16470         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16471         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16472         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16473         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16474         (READDIR): Macro removed.
16475         (SCANDIR_TAIL): New macro.
16476         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16477         (SCANDIR_TAIL): New macro.
16479         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16480         * dirent/scandir-cancel.c: ... to this new file.
16481         * dirent/Makefile (routines): Add it.
16482         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16483         * sysdeps/unix/sysv/linux/i386/scandir64.c
16484         (SKIP_SCANDIR_CANCEL): Macro removed.
16485         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16487         * dirent/tst-scandir.c: New file.
16488         * dirent/tst-scandir64.c: New file.
16489         * dirent/Makefile (tests): Add them.
16491 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16493         [BZ #18409]
16494         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16496 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16498         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16499         list.
16501 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16503         * benchtests/bench-strcoll.c: New benchmark.
16504         * benchtests/Makefile: Generate locales and run benchmark.
16505         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16506         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16507         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16508         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16509         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16510         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16511         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16512         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16513         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16514         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16515         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16516         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16517         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16518         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16519         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16520         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16521         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16522         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16523         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16524         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16525         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16526         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
16527         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
16528         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
16530 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
16532         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
16533         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16535 2015-05-12  Roland McGrath  <roland@hack.frob.com>
16537         * posix/uname-values.h: New file.
16538         * posix/uname.c: Include that instead of <config-name.h>.
16539         * sysdeps/nacl/uname-values.h: New file.
16540         * sysdeps/arm/nacl/uname-values.h: New file.
16542 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16544         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16545         splitting into fields.
16547 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16549         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16550         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16551         * locale/localeinfo.h: Add enum collation_encoding_type.
16552         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16553         * programs/ld-collate.c (collate_output): Add encoding type info.
16554         * string/strcoll_l.c (STRDIFF): New function.
16555         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16556         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16558 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16560         [BZ #18397]
16561         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16562         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
16563         <fpu_control.h> instead of <math/fpu_control.c>.
16564         * sysdeps/mips/mips32/fpu/Makefile: New file.
16566 2015-05-11  Andreas Schwab  <schwab@suse.de>
16568         [BZ #18007]
16569         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
16570         nss_endgrent.
16571         (_nss_compat_endgrent): Call nss_endgrent.
16572         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
16573         nss_endpwent.
16574         (_nss_compat_endpwent): Call nss_endpwent.
16575         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
16576         needent, call nss_setspent only if non-zero.
16577         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
16578         (internal_endspent): Don't call nss_endspent.
16579         (_nss_compat_endspent): Call nss_endspent.
16580         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
16581         Remove.  All uses removed.
16582         (internal_setent): Remove parameter stayopen, add parameter
16583         stream.  Use it instead of global variable.
16584         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
16585         (internal_endent, internal_getent): Add parameter stream.  Use it
16586         instead of global variable.
16587         (CONCAT(_nss_files_end,ENTNAME))
16588         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
16589         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
16590         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
16591         uses removed.
16592         (internal_setent, internal_endent): Add parameter stream.  Use it
16593         instead of global variable.
16594         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
16595         stream.
16596         (get_next_alias): Add parameter stream.
16597         (_nss_files_getaliasent_r): Pass global stream.
16598         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
16599         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
16600         (_nss_files_gethostbyname4_r): Pass local stream to
16601         internal_setent, internal_getent and internal_endent.  Remove
16602         locking.
16604 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16606         * tst-strfmon1.c (tests): Update expected currency symbol.
16608 2015-05-08  Roland McGrath  <roland@hack.frob.com>
16610         * sysdeps/nacl/gethostname.c: New file.
16612 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
16614         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
16615         and sinh.
16616         * math/auto-libm-test-out: Regenerated.
16617         * sysdeps/i386/fpu/libm-test-ulps: Update.
16618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16620 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
16622         [BZ #18125]
16623         * stdlib/tst-setcontext3.c: New file.
16624         * stdlib/tst-setcontext3.sh: New file.
16625         * stdlib/Makefile (tests): Add tst-setcontext3.
16626         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
16627         to verify test program created output file.
16628         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
16629         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
16630         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
16631         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
16633 2015-05-06  Roland McGrath  <roland@hack.frob.com>
16635         [BZ #18383]
16636         * elf/tst-tlsalign.c: New file.
16637         * elf/tst-tlsalign-static.c: New file.
16638         * elf/tst-tlsalign-lib.c: New file.
16639         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
16640         (tests-static): Add tst-tlsalign-static.
16641         (modules-names): Add tst-tlsalign-lib.
16642         (test-xfail-tst-tlsalign): New variable.
16643         (test-xfail-tst-tlsalign-static): New variable.
16645         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
16646         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
16648 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
16650         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
16651         csqrt, erfc, sin and sincos.
16652         * math/auto-libm-test-out: Regenerated.
16653         * sysdeps/i386/fpu/libm-test-ulps: Update.
16654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16656 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16658         * sysdeps/aarch64/libm-test-ulps: Update.
16660 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
16662         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
16663         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
16664         * math/auto-libm-test-out: Regenerated.
16665         * sysdeps/i386/fpu/libm-test-ulps: Update.
16666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16668 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16670         [BZ #18265]
16671         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
16672         (wcsncpy): Likewise.
16674 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16676         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16677         Assume __ASSUME_FALLOCATE is always true.
16678         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16679         (__posix_fallocate64_l64): Likweise.
16680         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
16681         (posix_fallocate): Likewise.
16682         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
16683         (__posix_fallocate64_l64): Likewise.
16684         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16685         [!__ASSUME_FALLOCATE]: Add comment.
16687 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16689         * sysdeps/unix/sysv/linux/i386/Makefile
16690         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
16691         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
16692         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
16693         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16694         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16695         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
16696         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
16698 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
16700         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
16701         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
16702         tgamma.
16703         * math/auto-libm-test-out: Regenerated.
16704         * sysdeps/i386/fpu/libm-test-ulps: Update.
16705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16707 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16709         * math/auto-libm-test-in: Add more tests of tgamma.
16710         * math/auto-libm-test-out: Regenerated.
16711         * sysdeps/i386/fpu/libm-test-ulps: Update.
16712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16714         * math/auto-libm-test-in: Add more tests of tanh.
16715         * math/auto-libm-test-out: Regenerated.
16716         * sysdeps/i386/fpu/libm-test-ulps: Update.
16717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16719         * math/auto-libm-test-in: Add more tests of tan.
16720         * math/auto-libm-test-out: Regenerated.
16721         * sysdeps/i386/fpu/libm-test-ulps: Update.
16722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16724         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
16725         * math/auto-libm-test-out: Regenerated.
16726         * sysdeps/i386/fpu/libm-test-ulps: Update.
16727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16729         * math/auto-libm-test-in: Add another test of pow.
16730         * math/auto-libm-test-out: Regenerated.
16731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16733         * math/auto-libm-test-in: Add more tests of lgamma.
16734         * math/auto-libm-test-out: Regenerated.
16735         * sysdeps/i386/fpu/libm-test-ulps: Update.
16736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16738         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
16739         log1p.
16740         * math/auto-libm-test-out: Regenerated.
16741         * sysdeps/i386/fpu/libm-test-ulps: Update.
16742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16744 2015-05-01  Mark Wielaard  <mjw@redhat.com>
16746         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
16747         Elf64_Chdr structs and ELFCOMPRESS constants.
16749 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16751         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
16752         expm1.
16753         * math/auto-libm-test-out: Regenerated.
16754         * sysdeps/i386/fpu/libm-test-ulps: Update.
16755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16757         * math/auto-libm-test-in: Add more tests of erf and erfc.
16758         * math/auto-libm-test-out: Regenerated.
16759         * sysdeps/i386/fpu/libm-test-ulps: Update.
16760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16762 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16764         * config.h.in (HAVE_AARCH64_BE): Add.
16766 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
16768         * math/auto-libm-test-in: Add more tests of csqrt.
16769         * math/auto-libm-test-out: Regenerated.
16770         * sysdeps/i386/fpu/libm-test-ulps: Update.
16771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16773         * math/auto-libm-test-in: Add more tests of cosh and sinh.
16774         * math/auto-libm-test-out: Regenerated.
16775         * sysdeps/i386/fpu/libm-test-ulps: Update.
16776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16778         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
16780 2015-04-29  Roland McGrath  <roland@hack.frob.com>
16782         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
16783         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
16785         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
16786         (euidaccess, eaccess): Define as weak aliases.
16788         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
16789         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
16790         but __suseconds_t is often 'long int' so some sources assume that
16791         type is being used (e.g. they use %ld to print tv_usec).
16793 2015-04-29  Florian Weimer  <fweimer@redhat.com>
16795         [BZ #18007]
16796         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
16797         (CVE-2014-8121)
16798         * nss/tst-nss-getpwent.c: New file.
16799         * nss/Makefile (tests): Add new test.
16801 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
16803         [BZ #18346]
16804         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
16805         exponents less than 48 as cases where high part of mantissa needs
16806         examining to determine whether argument is integral.
16807         * math/libm-test.inc (round_test_data): Add more tests.
16809 2015-04-28  Mark Wielaard  <mjw@redhat.com>
16811         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
16813 2015-04-27  David S. Miller  <davem@davemloft.net>
16815         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
16816         __tls_get_addr.
16817         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16819 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
16821         [BZ#18333]
16822         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
16824 2015-04-27  Florian Weimer  <fweimer@redhat.com>
16826         [BZ#18333]
16827         * time/tzset.c (parse_tzname): Return error on memory allocation
16828         failure.
16829         * test-skeleton.c (struct temp_name_list): Change type of name
16830         member to non-const.
16831         (add_temp_file): Create a copy of the file name.
16832         (delete_temp_files): Deallocate memory.
16833         (create_temp_file): Add comment.
16835 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16837         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
16838         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
16840 2015-04-24  Roland McGrath  <roland@hack.frob.com>
16842         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
16843         * sysdeps/arm/configure: Regenerated.
16845 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16847         [BZ #17715]
16848         * time/tzfile.c (__tzfile_read): Check for large values of
16849         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
16850         * time/tzset.c (__tzstring_len): New function, based on the old
16851         __tzstring function.
16852         (__tzstring): Call __tzstring_len.
16853         (parse_tzname): New helper function extracted from
16854         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
16855         the input string.
16856         (parse_offset): New helper function extracted from
16857         __tzset_parse_tz.  Replace switch with fallthrough with
16858         initialization before sscanf.
16859         (parse_rule): Likewise.
16860         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
16861         new-style function definition.
16862         * timezone/Makefile (tests): Add tst-tzset.
16863         (tst-tzset.out): Dependencies on time zone files.
16864         (tst-tzset-ENV): Set TZDIR.
16865         (testdata/XT%): Copy crafted time zone files.
16866         * timezone/README: Mention crafted time zone files.
16867         * timezone/testdata/XT1, timezone/testdata/XT2,
16868         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
16869         files.
16870         * timezone/tst-tzset.c: New test.
16872 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16874         * Makeconfig (+gccwarn): Remove -Winline.
16876 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16878         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
16880 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16882         * NEWS: Mention sysconf() cache information support for s390.
16883         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
16885 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
16887         * math/k_casinh.c (__kernel_casinh): Use __copysign.
16888         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
16889         (__nearbyint): Likewise.
16890         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
16891         (copysignl): Likewise.
16893 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
16895         [BZ #18287]
16896         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
16897         based on padding.  (CVE-2015-1781)
16899 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16901         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
16902         libc-vdso.h.
16903         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
16904         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
16905         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
16906         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16907         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16908         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
16909         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
16910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16911         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16912         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
16913         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16914         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16915         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16916         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
16917         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16918         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
16919         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
16920         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
16921         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
16922         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
16923         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
16924         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
16925         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
16927 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
16929         * stdlib/setenv.c (__add_to_environ):
16930         Dump core quickly if setenv (..., NULL, ...) is called.
16931         This time, do it the right way, and pacify GCC with a pragma.
16933 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16935         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
16936         IMAP->l_prev cannot be null, and #if out the code for the contrary
16937         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
16938         believe that NS (&_dl_ns[NSID]) could point outside the array.
16940         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
16941         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16942         before using NSID as an index.
16944 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
16946         [BZ #17825]
16947         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16948         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
16949         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16951 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16953         Add preliminary port to Google Native Client on ARM.
16954         * abi-tags (.*-.*-nacl.*): New entry.
16955         * sysdeps/arm/nacl: New directory.
16956         * sysdeps/nacl: New directory.
16958 2015-04-16  David S. Miller  <davem@davemloft.net>
16960         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
16961         lowlevellock-futex.h
16963 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
16965         * sysdeps/tile/configure.ac: New file.
16966         * sysdeps/tile/configure: Regenerated.
16968 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16970         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
16971         conditionals for weak_alias and libc_hidden_weak.
16972         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16973         libc_hidden_weak and weak_alias.
16974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
16975         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
16976         and weak_alias for static one.
16978 2015-04-15  David S. Miller  <davem@davemloft.net>
16980         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16982 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16984         [BZ #18206]
16985         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
16986           Use signed comparision instead of substraction to avoid
16987           overflow bug.
16988         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
16989           Take the sign of ret.
16990         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
16991           Do not expect precise return values. Only the sign matters.
16992         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
16993         * wcsmbs/test-wcsncmp.c: New File.
16994         * string/test-strncmp.c: Add wcsncmp support.
16996 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16998         [BZ #6792]
16999         * math/w_log1p.c: New file.
17000         * math/w_log1pf.c: Likewise.
17001         * math/w_log1pl.c: Likewise.
17002         * math/Makefile (libm-calls): Add w_log1p.
17003         * math/s_log1pl.c (log1pl): Remove weak_alias.
17004         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
17005         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
17006         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
17007         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
17008         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
17009         [NO_LONG_DOUBLE] (log1pl): Likewise.
17010         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
17011         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
17012         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
17013         (log1p): Remove long_double_symbol.
17014         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
17015         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
17016         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
17017         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
17018         remove weak_alias for corresponding log1p function.
17019         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
17020         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
17021         * sysdeps/ia64/fpu/w_log1p.c: New file.
17022         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
17023         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
17024         * math/libm-test.inc (log1p_test_data): Add errno expectations.
17026 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
17028         [BZ #18247]
17029         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
17030         decimal exponent by 1.
17031         * stdlib/tst-strtod-round-data: Add more tests.
17032         * stdlib/tst-strtod-round.c (tests): Regenerated.
17034 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
17036         * math/auto-libm-test-in: Add more tests of clog and clog10.
17037         * math/auto-libm-test-out: Regenerated.
17038         * sysdeps/i386/fpu/libm-test-ulps: Update.
17039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17041 2015-04-09  Roland McGrath  <roland@hack.frob.com>
17043         * Makeconfig (module-cppflags): Exclude all .v.i files.
17044         (skip-module-cppflags): Variable removed.
17046         * configure.ac (libc_config_ok): Initialize before reading
17047         preconfigure scripts, not after.
17048         * configure: Regenerated.
17050         * test-skeleton.c (TIMEOUT): Move #define to top level.
17051         (main): Grok environment variable TEST_DIRECT.  If set, print
17052         test expectation details into that file and then behave as if
17053         given --direct.
17055 2015-04-09  Florian Weimer  <fweimer@redhat.com>
17057         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
17058         warning on 32-bit.
17060 2015-04-08  David S. Miller  <davem@davemloft.net>
17062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17064 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17066         * math/auto-libm-test-in: Add more tests of atanh.
17067         * math/auto-libm-test-out: Regenerated.
17068         * sysdeps/i386/fpu/libm-test-ulps: Update.
17069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17071         * math/auto-libm-test-in: Add more tests of atan.
17072         * math/auto-libm-test-out: Regenerated.
17073         * sysdeps/i386/fpu/libm-test-ulps: Update.
17074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17076 2015-04-08  Florian Weimer  <fweimer@redhat.com>
17078         * elf/pldd.c (main): Rewrite to use struct
17079         scratch_buffer instead of extend_alloca.
17080         * elf/pldd-xx.c (find_maps): Likewise.
17081         * grp/initgroups.c: Include <scratch_buffer.h> instead of
17082         <alloca.h>.
17083         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
17084         scratch_buffer instead of extend_alloca.
17085         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
17086         grp/compat-initgroups.c.
17087         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
17088         Rewrite to use struct scratch_buffer instead of extend_alloca.
17089         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
17090         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17092 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17094         * math/auto-libm-test-in: Add more tests of cbrt.
17095         * math/auto-libm-test-out: Regenerated.
17096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17098         * math/auto-libm-test-in: Add more tests of cabs.
17099         * math/auto-libm-test-out: Regenerated.
17100         * sysdeps/i386/fpu/libm-test-ulps: Update.
17101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17103         [BZ #18210]
17104         [BZ #18211]
17105         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
17106         (__ieee754_atan2): Set FE_TONEAREST mode for internal
17107         computations.
17108         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
17109         clog10.
17110         * math/auto-libm-test-out: Regenerated.
17111         * sysdeps/i386/fpu/libm-test-ulps: Update.
17112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17114         [BZ #18197]
17115         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
17116         (atan): Set FE_TONEAREST mode for internal computations.
17117         * math/auto-libm-test-in: Add more tests of atan.
17118         * math/auto-libm-test-out: Regenerated.
17120 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
17122         [BZ #17930]
17123         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
17125 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17127         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17129 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17131         * include/scratch_buffer.h: New file.
17132         * malloc/scratch_buffer_grow.c: Likewise.
17133         * malloc/scratch_buffer_grow_preserve.c: Likewise.
17134         * malloc/scratch_buffer_set_array_size.c: Likewise.
17135         * malloc/tst-scratch_buffer.c: Likewise.
17136         * malloc/Makefile (routines): Add scratch_buffer_grow.
17137         (tests): Add test case.
17138         * malloc/Versions (GLIBC_PRIVATE): Export
17139         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
17140         __libc_scratch_buffer_set_array_size.
17142 2015-04-06  Richard Henderson  <rth@redhat.com>
17144         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
17145         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17147         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
17148         unsigned int before printing.
17150 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17152         [BZ #17596]
17153         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
17154         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17156 2015-04-02  Florian Weimer  <fweimer@redhat.com>
17158         * include/libc-internal.h (libc_max_align_t): Define.
17160 2015-04-02  Andreas Schwab  <schwab@suse.de>
17162         [BZ #16850]
17163         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17165 2015-04-02  Mel Gorman  <mgorman@suse.de>
17167         [BZ #17195]
17168         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17169         as well as the main arena.
17171 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17173         [BZ #18185]
17174         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17175         sharing L2 cache to 2 for Silvermont/Knights Landing.
17177 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17179         [BZ #17711]
17180         * config.make.in (have-protected-data): New.
17181         * configure.ac: Check linker support for protected data symbol.
17182         * configure: Regenerated.
17183         * elf/Makefile (modules-names): Add tst-protected1moda and
17184         tst-protected1modb if $(have-protected-data) is yes.
17185         (tests): Add tst-protected1a and tst-protected1b if
17186         $(have-protected-data) is yes.
17187         ($(objpfx)tst-protected1a): New.
17188         ($(objpfx)tst-protected1b): Likewise.
17189         (tst-protected1modb.so-no-z-defs): Likewise.
17190         * elf/tst-protected1a.c: New file.
17191         * elf/tst-protected1b.c: Likewise.
17192         * elf/tst-protected1mod.h: Likewise.
17193         * elf/tst-protected1moda.c: Likewise.
17194         * elf/tst-protected1modb.c: Likewise.
17196 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17198         [BZ #17711]
17199         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17200         indicates it is called from do_lookup_x on relocation against
17201         protected data, skip the data definion in the executable from
17202         copy reloc.
17203         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17204         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17205         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17206         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17207         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17208         otherwise to 0.
17209         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17210         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17211         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17212         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17213         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17214         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17216 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17218         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17219         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17221 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17223         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17224         THREAD_SETMEM_NC.
17225         * sysdeps/x86_64/nptl/tls.h: Ditto.
17227 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17229         * dlfcn/tststatic.c (main): Converted to ...
17230         (do_test): ... this.
17231         (TEST_FUNCTION): New macro.
17232         Include test-skeleton.c.
17234 2015-03-26  Alan Modra  <amodra@gmail.com>
17236         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17237         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17238         zero for undefined weak.
17239         (elf_machine_plt_conflict): Similarly.
17241 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17243         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17244         atanh.
17245         * math/auto-libm-test-out: Regenerated.
17246         * sysdeps/i386/fpu/libm-test-ulps: Update.
17247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17249         * math/auto-libm-test-in: Add another test of asin.
17250         * math/auto-libm-test-out: Regenerated.
17251         * sysdeps/i386/fpu/libm-test-ulps: Update.
17252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17254         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17255         Remove macro.
17256         (LLL_EBX_REG): Likewise.
17257         (LLL_ENTER_KERNEL): Likewise.
17259         * math/auto-libm-test-in: Add more tests of asin.
17260         * math/auto-libm-test-out: Regenerated.
17261         * sysdeps/i386/fpu/libm-test-ulps: Update.
17262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17264         [BZ #18138]
17265         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17266         libc_do_syscall_args): New structure.
17267         (INTERNAL_SYSCALL_MAIN_0): New macro.
17268         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17269         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17270         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17271         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17272         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17273         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17274         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17275         Replace conditional definitions by conditional definitions of ....
17276         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17277         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17278         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17279         (libpthread-sysdep_routines): Add libc-do-syscall.
17280         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17281         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17282         to __NR_futex not 240.
17284 2015-03-25  Alan Modra  <amodra@gmail.com>
17286         * NEWS: Advertise TLS optimization.
17287         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17288         (DT_PPC_NUM): Increment.
17289         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17290         (CHECK_STATIC_TLS): Use here.
17291         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17292         TLS descriptors.
17293         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17294         * sysdeps/powerpc/dl-tls.c: New file.
17295         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17296         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17297         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17298         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17303 2015-03-25  Alan Modra  <amodra@gmail.com>
17305         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17306         for overlapping .opd entries" to "support...".
17307         * sysdeps/powerpc/powerpc64/configure: Regenerate
17309 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17311         * math/auto-libm-test-in: Add more tests of acos.
17312         * math/auto-libm-test-out: Regenerated.
17313         * sysdeps/i386/fpu/libm-test-ulps: Update.
17314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17316         * math/auto-libm-test-in: Add more tests of expm1.
17317         * math/auto-libm-test-out: Regenerated.
17318         * sysdeps/i386/fpu/libm-test-ulps: Update.
17319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17321 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17323         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17324         * math/auto-libm-test-out: Regenerated.
17325         * sysdeps/i386/fpu/libm-test-ulps: Update.
17326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17328         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17331         * math/auto-libm-test-in: Add more tests of log2.
17332         * math/auto-libm-test-out: Regenerated.
17333         * sysdeps/i386/fpu/libm-test-ulps: Update.
17334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17336 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17338         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17339         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17340         _IO_IS_APPENDING bit in READ_WRITE instead.
17342 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17344         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17345         (__determine_cpumask_size): Replace extend_alloca with a
17346         variable-length array.  Do not treat res == 0 as an error.
17348 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17350         [BZ #18100]
17351         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17352         and integer overflow.
17353         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17354         (main): Add integer overflow tests.
17355         * manual/pattern.texi (Calling Wordexp): Document additional use
17356         for WRDE_SYNTAX.
17358 2015-03-23  Alan Modra  <amodra@gmail.com>
17360         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17361         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17362         and false branch of conditional.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17364         Likewise.
17366 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17368         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17369         libc-modules.h
17370         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17371         unused declaration of _hurd_intr_rpc_msg_in_trap.
17372         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17373         defined instead of whether it is non-zero.
17374         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17375         input constraint instead of both input and output constraint.  Use ecx
17376         clobber instead of %ecx.
17377         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17378         mutex_unlock): Use a statement expression instead of an expression list.
17379         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17380         type to vm_size_t instead of vm_address_t.
17381         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17382         defined instead of whether it is non-zero.
17383         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17384         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17385         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17386         comparisons with mapaddr.
17387         * nscd/nscd-client.h: Include <time.h>.
17388         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17389         9th parameter to __vm_region instead of int.
17390         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17391         * scripts/check-local-headers.sh (exclude): Add device/,
17392         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17393         cthreads.h.
17395 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17397         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17398         to account for alignment padding.
17399         * sysdeps/arm/memmove.S: Likewise.
17401 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17403         * sysdeps/unix/sysv/linux/generic/README: New file.
17405 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17407         [BZ #18138]
17408         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17409         (futex_abstimed_wait)
17410         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17411         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17412         of lll_futex_timed_wait.
17414 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17416         [BZ #17542]
17417         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17419 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17421         [BZ #17090]
17422         [BZ #17620]
17423         [BZ #17621]
17424         [BZ #17628]
17425         * NEWS: Update.
17426         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17427         entries with Static TLS too.  Skip entries past the end of the
17428         allocated DTV, from Alan Modra.
17429         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17430         Static TLS DTV entry set up from...
17431         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17432         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17433         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17434         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17435         for Static TLS.
17436         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17437         that the slot we find is associated with the given map before
17438         using its generation count.
17439         * nptl_db/db_info.c: Include ldsodefs.h.
17440         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17441         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17442         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17443         (link_map::l_tls_offset): New struct field.
17444         (dtv_t::counter): Likewise.
17445         (rtld_global): New struct.
17446         (_rtld_global): New rtld variable.
17447         (dl_tls_dtv_slotinfo_list): New rtld global field.
17448         (dtv_slotinfo_list): New struct.
17449         (dtv_slotinfo): Likewise.
17450         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17451         (td_lookup): Rename to...
17452         (td_mod_lookup): ... this.  Use new mod parameter instead of
17453         LIBPTHREAD_SO.
17454         * nptl_db/td_thr_tlsbase.c: Include link.h.
17455         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17456         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17457         addresses even if the DTV is out of date or missing them.
17458         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17459         index zero-length arrays.
17460         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17461         (td_lookup): Make it a macro implemented in terms of...
17462         (td_mod_lookup): ... this declaration.
17463         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17464         (DB_MAIN_VARIABLE): Likewise.
17466 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17468         [BZ #18134]
17469         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17471 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17473         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17475 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17477         [BZ #18128]
17478         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17479         (atomic_add, atomic_increment_and_test)
17480         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17482 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17484         * stdlib/setenv.c (__add_to_environ):
17485         Dump core quickly if setenv (..., NULL, ...) is called.
17487 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17489         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17490         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17491         all the necessary asm magic in one place.
17492         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17493         using those.
17495 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17497         [BZ #14906]
17498         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17499         traced file mtime. Use consistent log message.
17500         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17501         (register_traced_file): Call install_watches. Always set mtime.
17502         (invalidate_cache): Iterate over all trace files. Call install_watches.
17503         (inotify_check_files): Don't inline. Handle watching parent
17504         directories and configuration file movement in and out.
17505         (handle_inotify_events): New function.
17506         (main_loop_poll): Call handle_inotify_events.
17507         (main_loop_epoll): Likewise.
17508         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17509         (struct traced_file): Use array of inotify fds. Add parent directory,
17510         and basename.
17511         (struct database_dyn): Remove unused file_mtime.
17512         (init_traced_file): New inline function.
17513         (define_traced_file): New macro.
17514         * nss/nss_db/db-init.c: Use define_traced_file.
17515         (_nss_db_init): Use init_traced_file.
17516         * nss/nss_files/files-init.c: Use define_traced_file.
17517         (_nss_files_init): Use init_traced_file.
17519 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17521         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17522         [_LIBC]: Do not include <stdlib.h>.
17523         [!_LIBC] (abort): Remove declaration.
17524         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17525         _FP_STATIC_ASSERT instead of conditionally calling abort.
17526         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
17527         (_FP_EXTEND_CNAN): Likewise.
17528         (FP_TRUNC): Likewise.
17529         (__FP_CLZ): Likewise.
17530         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
17532 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
17534         * manual/string.texi (XPG basename): Fix prototype.
17536 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17538         [BZ #18080]
17539         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
17540         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17541         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
17542         (__setcontext): Likewise.
17543         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17544         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17545         Call rt_sigprocmask syscall one time to set new signal mask
17546         and retrieve the current signal mask instead of two calls.
17547         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17548         (__swapcontext): Likewise.
17549         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17550         * stdlib/tst-setcontext2.c: New file.
17552 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17554         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17556 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17558         [BZ #18093]
17559         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17560         the wrong size.
17562 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17564         [BZ #18043]
17565         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
17567 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17569         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
17570         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
17571         Remove define.
17572         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
17573         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
17574         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
17575         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
17576         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
17577         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
17578         define.
17579         * nptl_db/td_symbol_list.c (td_lookup): Remove
17580         HAVE_ASM_GLOBAL_DOT_NAME code.
17581         * sysdeps/powerpc/powerpc64/configure.ac: Remove
17582         HAVE_ASM_GLOBAL_DOT_NAME check.
17583         * sysdeps/powerpc/powerpc64/configure: Regenerate.
17584         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
17585         (DOT_LABEL): Remove define.
17586         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
17587         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
17588         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
17589         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
17590         (__TLS_GET_ADDR): Likewise.
17591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
17592         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
17594 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
17596         [BZ #18111]
17597         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
17598         (_FPU_SETCW): Initialize cw from fpsr before storing.
17599         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
17600         (fesetexceptflag): Rewrite using fpu_control.h.
17601         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
17603 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
17605         [BZ #18110]
17606         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
17607         asms.
17608         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17610 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
17612         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
17613         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
17614         abort.
17615         (_FP_FMA): Likewise.
17616         (_FP_DIV): Likewise.
17618 2015-03-10  Roland McGrath  <roland@hack.frob.com>
17620         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
17621         with 0 in that case.
17622         * Makefile (summarize-tests): New canned sequence, factored out of
17623         commands for targets tests and xtests.  Display summary lines that
17624         don't start with PASS: or XFAIL: rather than ones that do start with
17625         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
17626         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
17627         do start with ERROR: or FAIL:.
17628         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
17629         (except for [$(build-shared) = yes]).
17630         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
17631         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
17632         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
17633         * nptl/Makefile: Revert 2015-03-04 changes.
17634         [$(CXX) empty] (tests-unsupported): New variable.
17635         * debug/Makefile: Likewise.
17637         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
17638         gnulib file.  Replace __attribute with __attribute__ throughout.
17640 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
17642         * sysdeps/hppa/fpu/libm-test-ulps: Update.
17644 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17646         [BZ #18104]
17647         * math/auto-libm-test-in: Add another test of pow.
17648         * math/auto-libm-test-out: Regenerated.
17650 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17652         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
17653         $(config-cflags-nofma).
17655 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17657         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
17658         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
17659         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
17660         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
17661         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
17662         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
17663         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
17664         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
17665         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
17666         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
17667         Add comment on closing #endif.
17669 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17671         * posix/wordexp.c (CHAR_IN_SET): New macro.
17672         (parse_param): Use it.
17674 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17676         * sysdeps/powerpc/fpu/libm-test-ulps: update.
17678 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17680         [BZ #18043]
17681         * posix/wordexp.c (parse_param): Fix buffer overflow.
17682         * posix/wordexp-test.c (test_case): Add test case.
17684 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17686         [BZ #18042]
17687         * posix/wordexp.c (parse_backtick): Fix off-by-one.
17688         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
17690 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17692         [BZ #18043]
17693         * posix/wordexp-test.c (test_case): Add test for BZ #18043
17694         (do_bz18043): Delete.
17695         (at_page_end): New.
17696         (testit): Refactor to have words at the edge of unreadable page.
17698 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17700         [BZ #16734]
17701         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
17702         Cleanup read-only streams as well.
17703         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
17705 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17707         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
17708         <bits/libc-lockP.h>
17710 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
17712         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
17713         on [__KERNEL__].
17714         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
17715         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
17716         * soft-fp/op-common.h (_FP_DECL): Likewise.
17718 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17720         * elf/ifuncdep2.c (global): Replace
17721         __attribute__((visibility("protected"))) with
17722         asm (".protected global").
17723         * elf/ifuncmod1.c (global): Likewise.
17724         * elf/ifuncmod5.c (global): Likewise.
17726 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
17728         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
17729         <asm/sfp-machine.h> instead of <sfp-machine.h>.
17731 2015-03-06  Roland McGrath  <roland@hack.frob.com>
17733         * manual/install.texi (Configuring and compiling):
17734         Document test-wrapper-env-only.
17735         * INSTALL: Regenerated.
17737 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17739         [BZ #18043]
17740         * posix/wordexp.c (parse_param): Fix buffer overflow.
17741         * posix/wordexp-test.c (do_bz18043): Add test case.
17743 2015-03-06  Vincent Bernat  <vincent@bernat.im>
17745         * time/tst-strptime2.c (do_test): Ensure failing tests are
17746         reported correctly.
17747         * time/tst-strptime3.c (do_test): Likewise.
17749 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
17751         Fix aio_error thread-safety.
17752         * sysdeps/pthread/aio_error.c: New file
17753         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
17754         synchronization.
17756 2015-03-06  Florian Weimer  <fweimer@redhat.com>
17758         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
17759         (group_number, vfprintf): Use it.
17760         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
17761         (JUMP, REF): Use it.
17762         (WORK_BUFFER_SIZE): New enum constant.
17763         (process_arg, vfprintf): Use it.
17765 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
17767         * manual/errno.texi (Error Messages): Complete example function
17768         by adding missing #define.
17769         (program_invocation_name): Add statement indicating GNU
17770         extension and reference which header file declares the variable.
17771         (program_invocation_short_name): Likewise.
17773 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
17775         * manual/errno.texi (Error Messages): Delete strerror ISO C89
17776         compatibility note.
17778 2015-03-05  Roland McGrath  <roland@hack.frob.com>
17780         * Makeconfig (test-wrapper-env-only): New variable.
17781         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
17782         then use that with $(test-wrapper-env-only) rather than using
17783         $(test-wrapper-env) $(run-program-env) $($*-ENV).
17785 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17787         [BZ #18082]
17788         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
17789         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
17790         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
17791         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
17792         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
17793         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
17794         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
17795         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
17796         Likewise.
17797         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
17798         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
17799         Likewise.
17800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
17801         Likewise.
17802         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
17803         Likewise.
17804         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
17805         Likewise.
17806         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
17807         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
17808         Likewise.
17809         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
17810         Likewise.
17811         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
17812         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
17814 2015-03-04  Roland McGrath  <roland@hack.frob.com>
17816         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
17817         (ETH_ALEN): New macro.
17818         (struct ether_addr): Use it for length of ether_addr_octet.
17820         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
17821         (setdb): Don't call __nss_configure_lookup for "rpc".
17822         (do_test): Don't call test_rpc.
17823         (output_rpcent, test_rpc): Functions moved ...
17824         * sunrpc/test-rpcent.c: ... to this new file.
17825         * sunrpc/Makefile (tests): Add it.
17827         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
17828         __xpg_sigpause.
17829         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
17830         * nptl/tst-signal6.c: Likewise.
17831         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
17832         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
17834         * configure.ac (libc_cv_cxx_link_ok): New check.
17835         Reset CXX to empty if it fails to link.
17836         * configure: Regenerated.
17837         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
17838         bug-atexit3-lib only if $(CXX) is nonempty.
17839         * nptl/Makefile (tests): Likewise for tst-cancel24.
17840         (tests, tests-static): Likewise for tst-cancel24-static.
17841         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
17842         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
17843         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
17844         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
17846 2015-03-04  Andreas Schwab  <schwab@suse.de>
17848         [BZ #17631]
17849         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
17850         for non-GCC compilers.
17851         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17852         Likewise.
17854 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17856         [BZ #17776]
17857         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
17858         integer before bitwise and assembly operations.
17859         (feclearexcept): Likewise.
17860         * math/test-fenvinline.c: New file.
17861         * math/Makefile: Add test-fenvinline test.
17863 2015-03-03  Alan Modra  <amodra@gmail.com>
17865         [BZ #16512]
17866         * scripts/localplt.awk: Strip off symbol version.
17867         * NEWS: Mention bug fix.
17869 2015-03-02  Roland McGrath  <roland@hack.frob.com>
17871         * sysdeps/pthread/timer_routines.c
17872         (timer_free_list, thread_free_list, thread_active_list): Make static.
17874 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
17876         [BZ #17779]
17877         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17878         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17879         Undefine.
17880         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17881         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17882         Likewise.
17883         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17884         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17885         Likewise.
17887 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17889         [BZ #18036]
17890         * posix/fnmatch_loop.c (END): Detect invalid pattern.
17891         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
17893 2015-03-02  Andreas Schwab  <schwab@suse.de>
17895         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
17896         variable name.
17898 2015-03-02  Florian Weimer  <fweimer@redhat.com>
17900         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
17901         Return error status.
17903 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
17905         [BZ #15969]
17906         * locale/findlocale.c (_nl_find_locale): Introduce const
17907         version of loc_name and drop unsafe type casts.
17909 2015-02-27  Roland McGrath  <roland@hack.frob.com>
17911         * dlfcn/tststatic2.c (main): Converted to ...
17912         (do_test): ... this.
17913         (TEST_FUNCTION): New macro.
17914         Include test-skeleton.c.
17916 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
17918         [BZ #17711]
17919         * elf/Makefile (tests): Add vismain only if PIE is enabled.
17920         (tests-pie): Add vismain.
17921         (CFLAGS-vismain.c): New.
17922         * elf/vismain.c: Add comments for PIE requirement.
17924 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17926         [BZ #18046]
17927         [BZ #18047]
17928         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
17929         0x1p-56L as threshold for just returning the argument.
17930         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
17931         0x1p-32L as threshold for just returning the argument.
17932         * math/auto-libm-test-in: Add more tests of atanh.
17933         * math/auto-libm-test-out: Regenerated.
17934         * sysdeps/i386/fpu/libm-test-ulps: Update.
17935         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
17937 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17939         * string/bcopy.c (bcopy): Call memmove for performance.
17941 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17943         * string/bzero.c (__bzero): Call memset for performance.
17945 2015-02-27  John David Anglin  <dave.anglin@bell.net>
17947         [BZ #18068]
17948         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
17949         to 00100000.
17951 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17953         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
17955 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17957         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17958         (__kernel_standard): Use CSTR macro when setting exc.name.
17959         * sysdeps/ieee754/Makefile [$(subdir) = math]
17960         (CFLAGS-k_standard.c): Remove variable.
17962         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
17963         setting p and q from "else if" to "else".
17964         (qzero): Likewise.
17965         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
17966         (qone): Likewise.
17967         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
17968         (qzerof): Likewise.
17969         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
17970         (qonef): Likewise.
17971         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
17972         (qzero): Likewise.
17973         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
17974         (qone): Likewise.
17976         [BZ #18038]
17977         [BZ #18039]
17978         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
17979         return pi/2 for arguments below 0x1p-113L.
17980         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
17981         return pi/2 for arguments below 0x1p-106L.
17982         * math/auto-libm-test-in: Add more tests of acos.
17983         * math/auto-libm-test-out: Regenerated.
17985         [BZ #16351]
17986         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
17987         (MO): New macro.
17988         (__ieee754_asin): Force underflow exception for results with small
17989         absolute value.
17990         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
17991         (MO): New macro.
17992         (__ieee754_asinf): Force underflow exception for results with
17993         small absolute value.
17994         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
17995         (__ieee754_asin): Force underflow exception for results with small
17996         absolute value.
17997         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
17998         (__ieee754_asinf): Force underflow exception for results with
17999         small absolute value.
18000         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
18001         (__ieee754_asinl): Force underflow exception for results with
18002         small absolute value.
18003         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
18004         (__ieee754_asinl): Force underflow exception for results with
18005         small absolute value.
18006         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
18007         (__ieee754_asinl): Force underflow exception for results with
18008         small absolute value.
18009         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18010         Include <math.h>.
18011         * math/auto-libm-test-in: Do not mark underflow exceptions as
18012         possibly missing for bug 16351.
18013         * math/auto-libm-test-out: Regenerated.
18015         [BZ #18030]
18016         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
18017         of power of 2 down when low part has opposite sign.
18018         * math/libm-test.inc (logb_test_data): Add more tests.
18020 2015-02-26  Andreas Schwab  <schwab@suse.de>
18022         [BZ #18032]
18023         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
18024         over collating symbol inside a bracket expression.  Minor cleanup.
18025         * posix/tst-fnmatch3.c (do_test): Add test case.
18027 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18029         [BZ #18029]
18030         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
18031         Adjust exponent of power of 2 down when low part has opposite
18032         sign.
18033         * math/libm-test.inc (ilogb_test_data): Add more tests.
18035 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
18037         [BZ #15969]
18038         * locale/findlocale.c (_nl_find_locale): Fix constness error in
18039         the previous change.
18041         [BZ #15969]
18042         * locale/findlocale.c (_nl_find_locale): Retry archive search
18043         after alias expansion.
18045 2015-02-25  Roland McGrath  <roland@hack.frob.com>
18047         * iconv/tst-iconv3.c (main): Converted to ...
18048         (do_test): ... this.
18049         (TEST_FUNCTION): New macro.
18050         Include test-skeleton.c.
18052         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
18053         (convert): Make function static.
18054         (test_unalign): Likewise.  Add const to argument pointee types.
18055         (main): Replace with static function do_test.
18056         Print "Succeeded." only if RET is zero.
18057         (TEST_FUNCTION): New macro.
18058         Include test-skeleton.c.
18060         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
18061         returns a null pointer.
18063 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18065         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
18066         to __memcpy_ppc only for static builds.
18068 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
18070         [BZ #18020]
18071         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
18072         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
18073         * math/auto-libm-test-in: Add more tests of asinh.
18074         * math/auto-libm-test-out: Regenerated.
18075         * sysdeps/i386/fpu/libm-test-ulps: Update.
18076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18078 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
18080         [BZ #15850]
18081         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
18082         and ip6_mtuinfo definitions here.
18083         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
18084         in this define too.  Update comment.
18086 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
18088         * elf/sprof.c (load_shobj): Tweak error message to match others.
18090 2015-02-24  Kevin Easton  <kevin@guarana.org>
18092         [BZ #16145] (partial fix)
18093         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
18094         to reduce lock contention.
18096 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
18098         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
18099         (struct timex): Update time comment.
18100         (ADJ_SETOFFSET): Define.
18102 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18104         [BZ #18019]
18105         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18106         2**56 not 2**28 as threshold for log (2x) formula.
18107         * math/auto-libm-test-in: Add more tests of acosh.
18108         * math/auto-libm-test-out: Regenerated.
18109         * sysdeps/i386/fpu/libm-test-ulps: Update.
18110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18112 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18114         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
18115         parenthesis around the buf assignment.
18116         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
18118 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18120         [BZ #16783]
18121         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
18122         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
18123         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
18124         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18125         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18126         * math/libm-test.inc (scalb_test_data): Add more tests.
18128 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18130         [BZ #17916]
18131         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
18132         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
18134 2015-02-24  Eric Rannaud  <e@nanocritical.com>
18136         [BZ #17523]
18137         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
18138         * io/bits/fcntl2.h (open): Use it.
18139         (openat): Likewise.
18140         * io/open.c (__libc_open): Likewise.
18141         * io/open64.c (__libc_open64): Likewise.
18142         * io/open64_2.c (__open64_2): Likewise.
18143         * io/open_2.c (__open_2): Likewise.
18144         * io/openat.c (__openat): Likewise.
18145         * io/openat64.c (__openat64): Likewise.
18146         * io/openat64_2.c (__openat64_2): Likewise.
18147         * io/openat_2.c (__openat_2): Likewise.
18148         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
18149         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18150         * sysdeps/posix/open64.c (__libc_open64): Likewise.
18151         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18152         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18153         (__open_nocancel): Likewise.
18154         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18155         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18156         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
18158 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18160         [BZ #14841]
18161         * resolv/gethnamaddr.c (getanswer): Skip logging if
18162         RES_USE_DNSSEC is set.
18163         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18165 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18167         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18169 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18171         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18172         201304L, for Unicode 7.
18174 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18176         [BZ #17836]
18177         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18178         shared library.  Add gmon-start.os otherwise.
18179         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18180         $(objpfx)gmon-start.os if builing shared library.
18181         ($(objpfx)g$(static-start-installed-name)): Likewise.
18183 2015-02-23  Andreas Schwab  <schwab@suse.de>
18185         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18187 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18189         [BZ #17269]
18190         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18191         (enlarge_userbuf): Likewise.
18193 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18195         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18196         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18197         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18198         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18200 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18202         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18203         expression inside statement expression.
18205 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18207         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18208         <sysdeps/nptl/lowlevellock.h> and remove macros and
18209         functions that are now defined there.
18210         (SYS_futex): Remove.
18211         (lll_compare_and_swap): Remove.
18212         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18214 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18216         [BZ #17999]
18217         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18218         instead of scandirat.
18219         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18220         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18221         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18222         __scandirat.
18223         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18224         (__scandirat): Declare.  Use libc_hidden_proto.
18225         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18226         Remove variable.
18227         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18229 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18231         [BZ #15319]
18232         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18233         (MO): New macro.
18234         (__ieee754_atan2): For results with small absolute value, force
18235         underflow exception and remove excess range and precision from
18236         return value.
18237         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18238         (MO): New macro.
18239         (__ieee754_atan2f): For results with small absolute value, force
18240         underflow exception and remove excess range and precision from
18241         return value.
18242         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18243         (MO): New macro.
18244         (__atan): For results with small absolute value, force underflow
18245         exception and remove excess range and precision from return value.
18246         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18247         (MO): New macro.
18248         (__atanf): For results with small absolute value, force underflow
18249         exception and remove excess range and precision from return value.
18250         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18251         <math.h>.
18252         (__ieee754_atan2): Force underflow exception for results with
18253         small absolute value.
18254         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18255         <math_private.h>.
18256         (atan): Force underflow exception for results with small absolute
18257         value.
18258         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18259         (__atanf): Force underflow exception for results with small
18260         absolute value.
18261         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18262         <math.h>.
18263         (__atanl): Force underflow exception for results with small
18264         absolute value.
18265         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18266         (__atanl): Force underflow exception for results with small
18267         absolute value.
18268         * sysdeps/x86/fpu/bits/mathinline.h
18269         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18270         (__ieee754_atan2): Only define inline for long double.
18271         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18272         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18273         * math/auto-libm-test-in: Do not mark underflow exceptions as
18274         possibly missing for bug 15319.  Add more tests of atan2.
18275         * math/auto-libm-test-out: Regenerated.
18276         * math/libm-test.inc (casin_test_data): Do not mark underflow
18277         exceptions as possibly missing for bug 15319.
18278         (casinh_test_data): Likewise.
18279         * sysdeps/i386/fpu/libm-test-ulps: Update.
18281 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18283         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18284         * sysdeps/mips/bits/endian.h: Fix comments.
18286 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18288         [BZ #17996]
18289         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18290         (hdestroy_r): Likewise.
18291         (hsearch_r): Likewise.
18292         (__hcreate_r): Declare and use libc_hidden_proto.
18293         (__hdestroy_r): Likewise.
18294         (__hsearch_r): Likewise.
18295         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18296         (hcreate): Call __hcreate_r instead of hcreate_r.
18297         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18298         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18299         as weak alias of __hcreate_r.
18300         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18301         __hdestroy_r.
18302         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18303         __hsearch_r.
18304         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18305         Remove variable.
18306         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18307         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18308         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18309         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18311 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18313         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18314         arena_lock into a single arena_get.
18316 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18318         * dl-reloc.c: Inlucde libc-internal.h.
18319         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18320         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18321         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18322         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18323         (grow_heap): Likewise.
18324         * malloc/malloc.c: Include libc-internal.h.
18325         (do_check_malloc): Call powerof2.
18326         (sysmalloc): Use pagesize. Call ALIGN_UP.
18327         (systrim): Use pagesize.
18328         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18329         (__libc_valloc): Use pagesize.
18330         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18332 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18334         [BZ #17991]
18335         * include/sys/resource.h (__getrlimit64): Declare.  Use
18336         libc_hidden_proto.
18337         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18338         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18339         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18340         getrlimit64.
18341         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18342         __getrlimit64.
18343         [!getrlimit64] (getrlimit64): Define as weak alias of
18344         __getrlimit64.  Use libc_hidden_weak.
18345         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18346         using __getrlimit64 not __new_getrlimit64.
18347         (__GI_getrlimit64): Likewise.
18348         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18349         Likewise.
18350         (__GI_getrlimit64): Likewise.
18351         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18353         (getrlimit): Add __getrlimit64 alias.
18354         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18355         Likewise.
18356         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18357         Remove variable.
18358         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18359         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18361 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18363         * libio/fileops.c: Add missing sys/mman.h
18364         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18366 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18368         * manual/math.texi (Errors in Math Functions): Clarify goals
18369         regarding inexact and underflow exceptions.
18371 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18373         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18374         * sysdeps/mips/memset.S: Ditto.
18376 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18378         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18380 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18382         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18383         (__v1longjmp): Remove versioned symbol.
18384         (__v1siglongjmp): Remove alias and versioned symbol.
18385         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18386         (__v2siglongjmp): Likewise.
18388 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18390         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18392 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18394         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18396 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18398         [BZ #17987]
18399         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18400         zero result does not depend on the sign resulting from
18401         subtraction.
18402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18403         Likewise.
18404         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18405         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18406         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18407         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18408         * math/libm-test.inc (remquo_test_data): Add more tests.
18410 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18412         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18413         Problem reported by J William Piggott.
18415 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18417         [BZ #17978]
18418         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18419         products 4 * y and 2 * y where those would overflow.
18420         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18421         Likewise.
18422         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18423         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18424         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18425         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18426         * math/libm-test.inc (remquo_test_data): Add more tests.
18428         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18430         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18431         [defined _COMPILING_NEWLIB].
18432         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18433         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18435         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18436         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18438 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18440         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18441         acquired.
18443 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18445         [BZ #17792]
18446         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18447         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18448         HOST_STACK_END_ADDR): Likewise.
18450 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18452         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18453         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18454         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18456 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18458         * sysdeps/generic/c++-types.data: New file.
18459         * sysdeps/generic/ld.abilist: New file.
18460         * sysdeps/generic/libBrokenLocale.abilist: New file.
18461         * sysdeps/generic/libanl.abilist: New file.
18462         * sysdeps/generic/libc.abilist: New file.
18463         * sysdeps/generic/libcrypt.abilist: New file.
18464         * sysdeps/generic/libdl.abilist: New file.
18465         * sysdeps/generic/libm.abilist: New file.
18466         * sysdeps/generic/libpthread.abilist: New file.
18467         * sysdeps/generic/libresolv.abilist: New file.
18468         * sysdeps/generic/librt.abilist: New file.
18470 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18472         [BZ #17569]
18473         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18474         Compute absolute value of x as modified by fmod, not original
18475         value of x.
18476         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18477         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18478         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18479         RUN_TEST_ffI_f1_mod8.
18480         (remquo_test_data): Add more tests.
18482 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18484         * sysdeps/init_array/pt-crti.S: New file.
18486 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18488         [BZ #17967]
18489         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18490         __builtin_fmaf instead of relying on contraction of a * b + c.
18492 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18494         [BZ #17969]
18495         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18496         node.
18498 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18500         [BZ #17964]
18501         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18502         __builtin_fma instead of relying on contraction of a * b + c.
18504 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18506         * Makeconfig (ASFLAGS): Add -Werror=undef.
18507         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18508         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18509         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18511         * Makeconfig (after-link): New variable.
18512         (+link-pie, +link-pie-tests): Use it.
18513         (+link-static, +link-static-tests): Likewise.
18514         (+link, +link-tests): Likewise.
18515         * Makerules (build-module, build-module-asneeded): Likewise.
18516         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18517         Likewise.
18518         * elf/Makefile ($(objpfx)ld.so): Likewise.
18520 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18522         [BZ #17965]
18523         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18524         both struct timeval and struct timespec.
18526 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18528         [BZ #16560]
18529         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18530         and redefine.
18531         (__ieee754_exp2l): Do not multiply small fractional parts by
18532         M_LN2l.
18533         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
18534         small argument.
18535         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18536         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18537         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
18538         * math/auto-libm-test-in: Add more tests of exp2.
18539         * math/auto-libm-test-out: Regenerated.
18541 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18543         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18544         unaligned path.
18546 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18548         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18549         little endian.
18551 2015-02-12  Andreas Schwab  <schwab@suse.de>
18553         [BZ #15790]
18554         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18555         Filter out elision flags from value returned in kind.
18556         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18557         * nptl/tst-pthread-mutexattr.c: New file.
18559 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18561         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18562         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
18563         into gnu-gnu, and update comment to refer to abi-tags.
18565 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
18567         [BZ #15467]
18568         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
18569         (__sincos): Set errno to EDOM for infinite argument.
18570         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
18571         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
18572         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
18573         (__sincosl): Set errno to EDOM for infinite argument.
18574         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
18575         (__sincosl): Set errno to EDOM for infinite argument.
18576         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
18577         (__sincosl): Set errno to EDOM for infinite argument.
18578         * math/libm-test.inc (sincos_test_data): Test errno setting.
18580 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
18582         * string/strxfrm_l.c: Remove #define STRCMP.
18583         * string/strcoll_l.c: Remove #define STRLEN.
18584         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
18585         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
18587 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
18589         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
18590         * sysdeps/mips/mips32/sfp-machine.h: ... here.
18591         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
18592         * sysdeps/mips/mips64/Makefile: ... here.
18593         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
18594         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
18595         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
18596         * sysdeps/mips/mips64/sfp-machine.h: ... here.
18597         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
18598         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
18599         * sysdeps/mips/mips64/n64/Implies: Likewise.
18601 2015-02-10  Roland McGrath  <roland@hack.frob.com>
18603         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
18604         <sys/time.h>, <string.h>, and <errno.h>.
18605         (dest_offset, dest_address, value, zero): Remove unused variables.
18606         (ldouble): Remove typedef.
18607         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
18608         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
18609         1).  Fix code style.
18610         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
18611         (check): Function removed.
18612         (CHECK): New macro.
18613         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
18614         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
18615         Don't call set_sigaction_FP and remove_sigaction_FP here.
18616         (ldouble_test): Just use 'long double' as macro argument, no need for
18617         the 'ldouble' typedef.
18618         (do_test): Set up SIGFPE handler at start, using plain signal rather
18619         than sigaction.  Fix code style.
18621 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
18623         [BZ #17949]
18624         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
18625         jump label.
18627 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18629         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
18630         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18632         * sysdeps/powerpc/configure.ac: Remove file.
18633         * sysdeps/powerpc/configure: Likewise.
18635         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18636         [sysdep_routines]: Remove wordcopy-power6 object.
18637         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
18638         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
18639         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
18640         (__memmove_ppc32): Likewise.
18641         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
18642         file.
18643         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
18644         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
18645         Remove preprocessor.
18647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18648         [sysdep_routines]: Remove wide chars objects.
18649         [wcsmbs]: New rule for wide char objects.
18651         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18652         Remove wordcopy-power6 obejct.
18653         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
18654         Use local call for wordcopy and memcpy symbols.
18655         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
18656         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
18657         implementation for loader.
18658         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
18660         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18661         Remove wordcopy-power7 object.
18662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
18663         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
18664         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
18665         (_wordcopy_fwd_dest_aligned): Likewise.
18666         (_wordcopy_bwd_aligned): Likewise.
18667         (_wordcopy_bwd_dest_aligned): Likewise.
18669         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
18670         Rewrite to call __memmove_ppc instead of include default
18671         implementation.
18673         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18674         Remove wide chars objects.
18675         [wcsmbs]: New rule for wide char objects.
18677 2015-02-09  Andreas Schwab  <schwab@suse.de>
18679         [BZ #17912]
18680         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18681         in terms of __O_DIRECTORY.
18683 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18685         * time/getdate.c: Include <stdbool.h>.
18686         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
18687         call PTR_MANGLE.
18688         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
18689         PTR_DEMANGLE.
18691 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
18693         Add ersatz _Static_assert on older C hosts
18694         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
18695         pre-C11 C platform that is not known to support _Static_assert.
18697 2015-02-07  Richard Braun  <rbraun@sceen.net>
18699         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
18700         sigstate.
18701         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
18703 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18705         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
18706         priority against unexistent AIO_PRIO_DELTA_MAX.
18707         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
18708         instead of int.
18709         * misc/fchflags.c (fchflags): Likewise.
18710         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
18711         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
18712         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
18713         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
18714         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
18715         Declare macros.
18716         [__USE_MISC] (chflags, fchflags): Declare functions.
18717         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
18718         EINVAL when nfds is greater than FD_SETSIZE.
18719         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
18720         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
18721         45.
18722         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
18723         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
18724         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
18725         MACH_RCV_TIMED_OUT.
18726         * hurd/hurd/signal.h (_hurd_self_sigstate,
18727         _hurd_critical_section_lock, _hurd_critical_section_unlock):
18728         Explicit casts from void *.
18729         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
18730         * abi-tags: Rename gnu-gnu os into gnu.
18732         [BZ #4719]
18733         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
18734         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
18735         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
18736         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
18737         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
18738         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
18740         [BZ #17944]
18741         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
18742         duplicates ADDR->sun_path with sockaddr LEN limitation.
18743         * sysdeps/mach/hurd/connect.c: Include <string.h>
18744         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
18745         * sysdeps/mach/hurd/sendmsg.c: Likewise.
18746         * sysdeps/mach/hurd/sendto.c: Likewise.
18747         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
18748         implementing it by hand.
18750 2015-02-06  Roland McGrath  <roland@hack.frob.com>
18752         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
18753         Use sfi_breg on ldr.
18754         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
18755         Likewise.
18757         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
18758         it's defined.
18759         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
18760         Test SIGSETXID only if it's defined.
18762         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
18764         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
18765         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
18767         * nptl/tst-align2.c: Moved ...
18768         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
18769         * nptl/Makefile (tests): Remove tst-align2.
18770         * sysdeps/unix/sysv/linux/Makefile
18771         [$(subdir) = nptl] (tests): Add tst-align-clone.
18772         * nptl/tst-getpid1.c: Moved ...
18773         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
18774         * nptl/tst-getpid2.c: Moved ...
18775         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
18776         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
18777         * sysdeps/unix/sysv/linux/Makefile
18778         [$(subdir) = nptl] (tests): ... here.
18779         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
18780         * sysdeps/unix/sysv/linux/Makefile
18781         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
18783         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
18784         Drop trailing \n from perror argument.  Use return rather than exit.
18786         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
18787         on [SA_SIGINFO].
18788         * nptl/tst-cancel21.c (do_test): Likewise.
18789         * debug/tst-backtrace6.c: Include <signal.h> first thing.
18790         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
18791         [!SA_SIGINFO]: Make it a stub test.
18793         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
18794         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
18796         * posix/tst-getlogin.c: Move to ...
18797         * login/tst-getlogin.c: ... here.
18798         * posix/Makefile (tests): Move tst-getlogin to ...
18799         * login/Makefile (tests): ... here.
18801         * libio/tst-atime.c (do_test): Move local variables SV and E
18802         inside [ST_NOATIME] conditional.
18804         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
18806         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
18808         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
18809         (wait_code): New function replaces macro.
18810         Call nanosleep rather than syscall.
18812         * nptl/pt-system.c: Rewritten.  Put everything under
18813         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18814         Use IFUNC to redirect when possible.
18816         * nptl/pt-longjmp.c: Rewritten.  Put everything under
18817         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18818         Use IFUNC to redirect when possible.
18820         * nptl/pt-fork.c: Rewritten.  Put everything under
18821         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18822         Use IFUNC to redirect when possible.
18823         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
18825         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
18826         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
18827         unconditionally nowadays.  This included the only reference to
18828         __vdso_clock_gettime that appears outside libc proper.
18829         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
18830         Remove version set (containing only __vdso_clock_gettime).
18831         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18832         Add attribute_hidden.
18833         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18834         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
18835         libc_hidden_data_def.
18836         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18837         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18839         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
18840         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
18841         setrpcent, and getrpcport to ...
18842         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
18843         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
18844         getrpcbynumber_r, and getrpcent_r to ...
18845         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
18846         * inet/getrpcbyname.c: Moved ...
18847         * sunrpc/getrpcbyname.c: ... here.
18848         * inet/getrpcbyname_r.c: Moved ...
18849         * sunrpc/getrpcbyname_r.c: ... here.
18850         * inet/getrpcbynumber.c: Moved ...
18851         * sunrpc/getrpcbynumber.c: ... here.
18852         * inet/getrpcbynumber_r.c: Moved ...
18853         * sunrpc/getrpcbynumber_r.c: ... here.
18854         * inet/getrpcent.c: Moved ...
18855         * sunrpc/getrpcent.c: ... here.
18856         * inet/getrpcent_r.c: Moved ...
18857         * sunrpc/getrpcent_r.c: ... here.
18858         * inet/Makefile (routines): Move those to ...
18859         * sunrpc/Makefile (routines): ... here.
18860         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
18861         the $(subdirs) list.
18862         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
18863         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
18864         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
18865         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
18867         * elf/Makefile (routines): Include $(all-dl-routines), not just
18868         $(dl-routines).
18869         (rtld-routines): Likewise.  Use = rather than :=.
18870         * sysdeps/aarch64/Makefile [$(subdir) = elf]
18871         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
18872         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
18873         * sysdeps/arm/Makefile: Likewise.
18874         * sysdeps/i386/Makefile: Likewise.
18875         * sysdeps/x86_64/Makefile: Likewise.
18876         * sysdeps/hppa/Makefile [$(subdir) = elf]
18877         (sysdep_routines, sysdep-rtld-routines): Don't add
18878         $(sysdep-dl-routines) to these.
18879         * sysdeps/ia64/Makefile: Likewise.
18880         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
18881         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
18882         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
18883         Don't add dl-static to these; sysdep-dl-routines alone is enough.
18884         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
18885         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
18886         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
18887         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
18888         * sysdeps/powerpc/Makefile [$(subdir) = elf]
18889         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
18890         these; sysdep-dl-routines alone is enough.
18892 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
18894         [BZ #17932]
18895         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
18896         where multiplication results in zero and third argument is finite
18897         and nonzero.
18898         * math/auto-libm-test-in: Add more tests of fma.
18899         * math/auto-libm-test-out: Regenerated.
18901         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
18902         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
18903         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
18904         (_FP_CMP_EQ): Likewise.
18905         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
18907         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
18908         extra argument CHECK_NAN.  Redefine as wrapper around
18909         _FP_EXTEND_CNAN.
18911 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
18913         * version.h (RELEASE): Set to "stable".
18914         (VERSION): Set to "2.21"
18915         * include/features.h (__GLIBC_MINOR__): Set to 21.
18917         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
18919 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18920             Paul Eggert  <eggert@cs.ucla.edu>
18922         [BZ #16618]
18923         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
18924         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
18925         size in bytes. Store needed elements in wpmax. Use needed size
18926         in bytes for extend_alloca.
18928 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
18930         * manual/install.texi: Latest tested versions are GCC 4.9.2,
18931         binutls 2.25, and texinfo 5.2.
18932         * INSTALL: Regenerate.
18933         * sysdeps/nios2/configure: Regenerate.
18934         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
18935         * manual/contrib.texi: Update.
18936         * po/be.po: Update.
18937         * po/bg.po: Update.
18938         * po/ca.po: Update.
18939         * po/cs.po: Update.
18940         * po/da.po: Update.
18941         * po/de.po: Update.
18942         * po/el.po: Update.
18943         * po/eo.po: Update.
18944         * po/es.po: Update.
18945         * po/fi.po: Update.
18946         * po/fr.po: Update.
18947         * po/gl.po: Update.
18948         * po/hr.po: Update.
18949         * po/hu.po: Update.
18950         * po/ia.po: Update.
18951         * po/id.po: Update.
18952         * po/it.po: Update.
18953         * po/ja.po: Update.
18954         * po/ko.po: Update.
18955         * po/lt.po: Update.
18956         * po/nb.po: Update.
18957         * po/nl.po: Update.
18958         * po/pl.po: Update.
18959         * po/pt_BR.po: Update.
18960         * po/ru.po: Update.
18961         * po/rw.po: Update.
18962         * po/sk.po: Update.
18963         * po/sl.po: Update.
18964         * po/sv.po: Update.
18965         * po/tr.po: Update.
18966         * po/uk.po: Update.
18967         * po/vi.po: Update.
18968         * po/zh_CN.po: Update.
18969         * po/zh_TW.po: Update.
18971         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
18972         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
18973         * sysdeps/hppa/dl-irel.h: Remove #warning.
18974         * sysdeps/hppa/entry.h: Provide prototype for
18975         __canonicalize_funcptr_for_compare and cast argument.
18976         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
18977         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
18978         * sysdeps/hppa/sotruss-lib.c: New file.
18979         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
18980         (atomic_compare_and_exchange_val_acq): Use __typeof__.
18981         (atomic_compare_and_exchange_bool_acq): Likewise.
18982         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
18983         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
18985         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18986         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
18987         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
18989 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
18991         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
18992         called function in non-PIC case.
18994 2015-01-31  David S. Miller  <davem@davemloft.net>
18996         * sysdeps/sparc/sparc32/bits/atomic.h
18997         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
18998         unlock not after it.
18999         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
19000         volatile register usage warnings from the compiler.
19002         * sysdeps/sparc/nptl/sem_init.c: Delete.
19003         * sysdeps/sparc/nptl/sem_post.c: Delete.
19004         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
19005         * sysdeps/sparc/nptl/sem_wait.c: Delete.
19006         * sysdeps/sparc/sparc32/sem_init.c: New file.
19007         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
19008         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
19009         padding explicitly initialized.
19010         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
19011         padding for in-semaphore spinlock.
19012         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
19013         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
19014         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
19015         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
19016         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
19017         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
19018         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
19019         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
19020         version.
19021         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
19022         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
19024 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
19026         [BZ #17801]
19027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19028         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
19029         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
19030         New.
19031         (index_AVX_Fast_Unaligned_Load): Likewise.
19032         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
19033         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
19034         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
19035         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
19036         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
19037         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
19038         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
19039         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
19040         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
19042 2015-01-29  Andreas Schwab  <schwab@suse.de>
19044         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
19046 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
19048         [BZ #17892]
19049         * nscd/nscd_stat.c (send_stats): Initialize DATA.
19051 2015-01-28  Martin Sebor  <msebor@redhat.com>
19053         * math/README.libm-test: Clarify. Add "How to read the test output."
19055 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
19057         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
19058         Define to 0.
19060 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
19062         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
19063         (__HAVE_64B_ATOMICS): Define to 0.
19065 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19067         [BZ #17885]
19068         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
19069         value to set as new flag.
19071         [BZ #16576]
19072         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
19073         and use _ARCH_PPCSQ instead.
19074         (__ieee754_sqrt): Likewise.
19075         (__ieee754_sqrtf): Likewise.
19076         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
19077         _ARCH_PPCSQ is defined.
19078         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
19079         fsqrt instruction.
19080         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
19081         _ARCH_PPCSQ is defined.
19082         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
19083         fsqrts instruction.
19084         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
19086 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19088         * iconv/loop.c: Suppress array out of bound warning caused by GCC
19089         bug (GCC BZ #64739).
19091 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
19093         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
19094         Mark _retval as used.
19095         (lll_futex_wake_unlock): Likewise.
19096         (lll_futex_timed_wait_requeue_pi): Likewise.
19098         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19099         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
19100         register variables.
19102         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
19103         libm_hidden_def.
19105         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
19106         (__bswap_64): Mark as __always_inline.
19108 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
19110         [BZ #15378]
19111         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
19112         when none of the search directories exist.
19114 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19116         [BZ #17869]
19117         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
19118         power8 in .machine directive.
19120         [BZ #17868]
19121         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
19122         set dependency from opd value.
19124 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19127         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
19128         architecture.
19130 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19132         [BZ #17870]
19133         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
19134         with uint64_t.
19135         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
19136         (uint64_t) 1.
19137         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
19138         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
19139         Replace 1UL with (uint64_t) 1.
19140         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
19141         int with uint64_t.
19143 2015-01-23  Roland McGrath  <roland@hack.frob.com>
19145         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
19146         (if_freenameindex): Likewise.
19148         * resource/getrlimit64.c: Add missing libc_hidden_def.
19150 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
19152         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
19153         __label__.
19154         (_FP_FMA): Likewise.
19155         (_FP_TO_INT_ROUND): Likewise.
19156         (_FP_FROM_INT): Likewise.
19158 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19160         [BZ #16418]
19161         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19162         Make code racy and cancel safe.
19164 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19166         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19167         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19168         attribution.
19170         * pwd/tst-getpw.c: Rewrite.
19172         [BZ #17702]
19173         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19174         (modules-names): Add moddummy1 and moddummy2.
19175         ($(objpfx)tst-rec-dlopen): Define.
19176         * dlfcn/moddummy1.c: New file.
19177         * dlfcn/moddummy2.c: New file.
19178         * dlfcn/tst-rec-dlopen.c: New file.
19179         * elf/dl-cache.c (_dl_load_cache_lookup):
19180         Return char*. Copy result with alloca/strcpy/strdup.
19181         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19182         returns char*. Free cached. If not saving realname
19183         free cached.
19184         * elf/dl-open.c (dl_open_worker): Do not assert that
19185         _r_debug->r_state is RT_CONSISTENT.
19186         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19187         returns char*.
19189 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19190             Carlos O'Donell  <carlos@redhat.com>
19192         [BZ #12674]
19193         * nptl/sem_waitcommon.c: New file.
19194         * nptl/sem_wait.c: Include sem_waitcommon.c.
19195         (__sem_wait_cleanup, do_futex_wait): Remove.
19196         (__new_sem_wait): Adapt.
19197         (__new_sem_trywait): New function.
19198         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19199         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19200         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19201         (sem_timedwait): Adapt.
19202         * nptl/sem_post.c (__new_sem_post): Adapt.
19203         (futex_wake): New function.
19204         (__old_sem_post): Add release MO fence.
19205         * nptl/sem_open.c (sem_open): Adapt.
19206         * nptl/sem_init.c (__new_sem_init): Adapt.
19207         (futex_private_if_supported): New function.
19208         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19209         (__old_sem_getvalue): Add using previous code.
19210         * sysdeps/nptl/internaltypes.h: Adapt.
19211         * nptl/tst-sem13.c (do_test): Adapt.
19212         * nptl/tst-sem11.c (main): Adapt.
19213         * nptl/sem_trywait.c: Remove.
19214         * nptl/DESIGN-sem.txt: Remove.
19215         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19216         (gen-as-const-headers): Remove structsem.sym.
19217         * nptl/structsem.sym: Remove.
19218         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19219         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19220         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19221         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19222         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19223         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19224         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19225         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19226         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19227         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19228         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19229         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19230         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19231         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19232         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19233         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19234         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19235         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19236         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19237         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19238         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19239         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19241 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19243         * INSTALL: Regenerated.
19245         * po/libc.pot: Regenerated.
19247 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19248             Sandra Loosemore  <sandra@codesourcery.com>
19249             Andrew Jenner  <andrew@codesourcery.com>
19250             Joseph Myers  <joseph@codesourcery.com>
19251             Nathan Sidwell  <nathan@codesourcery.com>
19253         * NEWS: Mention new Nios II port.
19254         * sysdeps/nios2/Implies: New file.
19255         * sysdeps/nios2/Makefile: New file.
19256         * sysdeps/nios2/Subdirs: New file.
19257         * sysdeps/nios2/Versions: New file.
19258         * sysdeps/nios2/__longjmp.S: New file.
19259         * sysdeps/nios2/abort-instr.h: New file.
19260         * sysdeps/nios2/backtrace.c: New file.
19261         * sysdeps/nios2/bits/endian.h: New file.
19262         * sysdeps/nios2/bits/fenv.h: New file.
19263         * sysdeps/nios2/bits/link.h: New file.
19264         * sysdeps/nios2/bits/setjmp.h: New file.
19265         * sysdeps/nios2/bsd-_setjmp.S: New file.
19266         * sysdeps/nios2/bsd-setjmp.S: New file.
19267         * sysdeps/nios2/configure: New generated file.
19268         * sysdeps/nios2/configure.ac: New file.
19269         * sysdeps/nios2/crti.S: New file.
19270         * sysdeps/nios2/crtn.S: New file.
19271         * sysdeps/nios2/dl-init.c: New file.
19272         * sysdeps/nios2/dl-machine.h: New file.
19273         * sysdeps/nios2/dl-sysdep.h: New file.
19274         * sysdeps/nios2/dl-tls.h: New file.
19275         * sysdeps/nios2/dl-trampoline.S: New file.
19276         * sysdeps/nios2/gccframe.h: New file.
19277         * sysdeps/nios2/gmp-mparam.h: New file.
19278         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19279         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19280         * sysdeps/nios2/ldsodefs.h: New file.
19281         * sysdeps/nios2/libc-tls.c: New file.
19282         * sysdeps/nios2/libm-test-ulps: New file.
19283         * sysdeps/nios2/machine-gmon.h: New file.
19284         * sysdeps/nios2/math-tests.h: New file.
19285         * sysdeps/nios2/math_private.h: New file.
19286         * sysdeps/nios2/memusage.h: New file.
19287         * sysdeps/nios2/nptl/Makefile: New file.
19288         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19289         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19290         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19291         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19292         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19293         * sysdeps/nios2/nptl/tls.h: New file.
19294         * sysdeps/nios2/preconfigure: New file.
19295         * sysdeps/nios2/s_fma.c: New file.
19296         * sysdeps/nios2/s_fmaf.c: New file.
19297         * sysdeps/nios2/setjmp.S: New file.
19298         * sysdeps/nios2/sfp-machine.h: New file.
19299         * sysdeps/nios2/sotruss-lib.c: New file.
19300         * sysdeps/nios2/stackguard-macros.h: New file.
19301         * sysdeps/nios2/stackinfo.h: New file.
19302         * sysdeps/nios2/start.S: New file.
19303         * sysdeps/nios2/sysdep.h: New file.
19304         * sysdeps/nios2/tls-macros.h: New file.
19305         * sysdeps/nios2/tst-audit.h: New file.
19306         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19307         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19308         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19309         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19310         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19311         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19312         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19313         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19314         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19315         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19316         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19317         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19318         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19319         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19320         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19321         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19322         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19323         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19324         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19325         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19326         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19327         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19328         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19329         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19330         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19331         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19332         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19333         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19334         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19335         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19336         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19337         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19338         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19339         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19340         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19341         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19342         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19343         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19344         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19345         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19346         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19347         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19348         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19349         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19351 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19353         [BZ #17844]
19354         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19355         (getutent): Use weak_alias in non SHARED case
19356         and default_symbol_version in SHARED case.
19357         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19358         (getutent_r, pututline): Likewise.
19359         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19360         (getutid): Likewise.
19361         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19362         (getutid_r): Likewise.
19363         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19364         (getutline): Likewise.
19365         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19366         (getutline_r): Likewise.
19367         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19368         (updwtmp): Likewise.
19370 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19372         [BZ #17848]
19373         * sysdeps/s390/s390-32/memcmp.S
19374         (memcmp_g5): Rename to __memcmp_g5.
19375         * sysdeps/s390/s390-32/memcpy.S
19376         (memcpy_g5): Rename to __memcpy_g5.
19377         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19378         (memcpy_mvcle) Rename to __memcpy_mvcle.
19379         * sysdeps/s390/s390-32/memset.S
19380         (memset_g5): Rename to __memset_g5.
19381         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19382         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19383         and use prefixed functions.
19384         * sysdeps/s390/s390-32/multiarch/memcmp.S
19385         (memcmp_z196): Rename to __memcmp_z196.
19386         (memcmp_z10): Rename to __memcmp_z10.
19387         (memcmp): Set alias to __memcmp_g5.
19388         (bcmp): Set alias to __memcmp_g5.
19389         * sysdeps/s390/s390-32/multiarch/memcpy.S
19390         (memcpy_z196): Rename to __memcpy_z196.
19391         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19392         (memcpy_z10): Rename to __memcpy_z10.
19393         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19394         (memcpy): Set alias to __memcpy_g5.
19395         * sysdeps/s390/s390-32/multiarch/memset.S
19396         (memset_z196): Rename to __memset_z196.
19397         Jump to __memset_mvcle instead of memset_mvcle.
19398         (memset_z10): Rename to __memset_z10.
19399         Jump to __memset_mvcle instead of memset_mvcle.
19400         (memset_mvcle) Rename to __memset_mvcle.
19401         (memset): Set alias to __memset_g5.
19402         * sysdeps/s390/s390-64/memcmp.S
19403         (memcmp_z900): Rename to __memcmp_z900.
19404         * sysdeps/s390/s390-64/memcpy.S
19405         (memcpy_z900): Rename to __memcpy_z900.
19406         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19407         (memcpy_mvcle) Rename to __memcpy_mvcle.
19408         * sysdeps/s390/s390-64/memset.S
19409         (memset_z900): Rename to __memset_z900.
19410         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19411         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19412         and use prefixed functions.
19413         * sysdeps/s390/s390-64/multiarch/memcmp.S
19414         (memcmp_z196): Rename to __memcmp_z196.
19415         (memcmp_z10): Rename to __memcmp_z10.
19416         (memcmp): Set alias to __memcmp_z900.
19417         (bcmp): Set alias to __memcmp_z900.
19418         * sysdeps/s390/s390-64/multiarch/memcpy.S
19419         (memcpy_z196): Rename to __memcpy_z196.
19420         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19421         (memcpy_z10): Rename to __memcpy_z10.
19422         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19423         (memcpy): Set alias to __memcpy_z900.
19424         * sysdeps/s390/s390-64/multiarch/memset.S
19425         (memset_z196): Rename to __memset_z196.
19426         Jump to __memset_mvcle instead of memset_mvcle.
19427         (memset_z10): Rename to __memset_z10.
19428         Jump to __memset_mvcle instead of memset_mvcle.
19429         (memset_mvcle) Rename to __memset_mvcle.
19430         (memset): Set alias to __memset_z900.
19432 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19434         [BZ #17748]
19435         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19436         __fesetenv instead of fesetenv.
19438 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19440         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19441         macro.
19443 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19445         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19446         regression on LE.
19448         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19449         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19450         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19451         strncmp-power8 object.
19452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19453         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19454         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19455         * NEWS: Update.
19457 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19458             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19460         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19461         trailing byte check.
19463 2015-01-13  David S. Miller  <davem@davemloft.net>
19465         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19467 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19469         * login/logout.c (logout): Use memset rather than bzero.
19470         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19471         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19472         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19473         (_gethtbyaddr): Likewise.
19474         * locale/programs/simple-hash.c (bcopy): Macro removed.
19476 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19478         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19479         Add strcmp-power8 object.
19480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19481         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19482         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19483         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19484         __strcmp_power8 implementation.
19485         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19486         * NEWS: Update.
19488         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19489         Add strncpy-power8 and stpncpy-power8 objects.
19490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19491         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19492         implementations.
19493         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19494         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19495         __stpncpy_power8 implementation.
19496         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19497         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19498         __strncpy_power8 implementation.
19499         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19500         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19501         * NEWS: Update.
19503         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19504         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19505         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19507         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19508         strncat-power8 object.
19509         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19510         __strcat_power8 implementation.
19511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19512         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19513         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19514         optimized strcat for power8.
19516         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19517         strcpy-power8 and stpcpy-power8 objects.
19518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19519         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19520         implementations.
19521         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19522         multiarch stpcpy implementation for POWER8.
19523         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19524         multiarch strcpy implementation for POWER8.
19525         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19526         __strcpy_power8 function.
19527         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
19528         stpcpy for POWER8.
19529         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
19530         strcpy for POWER8.
19531         * NEWS: Update.
19533 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
19535         [BZ #16009]
19536         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
19537         weights and rules. Use do_xfrm_cached if data fits in cache,
19538         do_xfrm otherwise.  Moved former main loop to...
19539         * (do_xfrm_cached): New function.
19540         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
19541         find_idx, find_position and stack_push.
19542         * (find_idx): New function.
19543         * (find_position): Likewise.
19544         * localedata/sort-test.sh: Added test run for do_xfrm.
19545         * localedata/xfrm-test.c (main): Added command line option
19546         -nocache to run the test with strings that are too large for
19547         the STRXFRM cache.
19549 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19551         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19552         variable to lll_futex_wake call, not the value itself.
19554 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19556         [BZ #17803]
19557         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19558         twom64.  Adjust value to 0x1p-64L.
19559         (__scalblnl): Only return standard underflowing result for K <=
19560         -64 not K <= -63; adjust exponent for underflowing result by 64
19561         not 63.
19562         * math/libm-test.inc (scalbn_test_data): Add more tests.
19563         (scalbln_test_data): Likewise.
19565         [BZ #17834]
19566         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
19567         0x1p63L.
19568         (__scalblnl): Get new exponent of adjusted subnormal value from ES
19569         not HX.
19570         * math/libm-test.inc (scalbn_test_data): Add more tests.
19571         (scalbln_test_data): Likewise.
19573 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19574             Stefani Seibold  <stefani@seibold.net>
19576         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
19577         (sysdep_routines): Add dl-vdso here, ...
19578         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
19579         (sysdep_routines): ... not here.
19580         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
19581         fallback when vDSO is not presented.
19582         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19583         Define with libc_hidden_proto/libc_hidden_data_def definitions.
19584         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
19585         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
19586         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
19587         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
19588         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
19589         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
19590         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
19591         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
19592         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
19593         fallback configurable symbol when vDSO is not available.
19594         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
19595         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
19596         be able to redefine fallback symbol when vDSO is not available.
19597         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
19598         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
19600 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19602         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
19603         (TLS_INIT_TP): Add tm_capable initialization.
19604         (TLS_DEFINE_INIT_TP): Likewise.
19605         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
19606         TCB.
19607         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
19608         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
19609         calculation.
19610         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
19611         transactoion is lock elision is built and TCB tm_capable is set.
19612         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
19613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19614         (INTERNAL_SYSCALL_NCS): Likewise.
19615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19616         (INTERNAL_SYSCALL_NCS): Likewise.
19617         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
19619         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
19620         for powerpc.
19621         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19622         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
19623         and remove it for 32 bits case.
19624         [pthread_rwlock_t] (__rwelision): New field for lock elision.
19625         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
19626         initialization.
19627         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
19628         Disable lock elision with rdlocks if elision is not available.
19630         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
19631         (sysdep_routines): Add lock elision objects.
19632         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19633         [pthread_mutex_t] (__spins): Rework to add lock elision field.
19634         [pthread_mutex_t] (__elision): Add field.
19635         [__PTHREAD_SPINS]: Adjust to init lock elision field.
19636         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
19637         elision definitions for powerpc.
19638         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
19639         implementation of lock elision for powerpc.
19640         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
19641         implementation of timed lock elision for powerpc.
19642         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
19643         implementation of trylock with lock elision for powerpc.
19644         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
19645         implementaion of unlock for lock elision for powerpc.
19646         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
19647         automatic enable lock elision for mutexes.
19648         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
19649         transaction execution definitions for powerpc.
19650         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
19651         definitions.
19652         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
19653         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
19654         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
19655         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
19656         * NEWS: Update.
19658 2015-01-09  Roland McGrath  <roland@hack.frob.com>
19660         * sysdeps/posix/shm-directory.c: Use <> rather than ""
19661         for #include of <shm-directory.h>.
19663 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
19665         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
19666         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
19668 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
19670         [BZ #17791]
19671         * NEWS: Mention bug fix.
19672         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
19673         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
19674         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
19676 2015-01-09  Torvald Riegel <triegel@redhat.com>
19678         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
19680 2015-01-09  Torvald Riegel <triegel@redhat.com>
19682         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
19684 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19686         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
19687         pointer and cast to uintptr_t.
19689 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19691         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
19692         removed.
19693         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
19695 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19697         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
19698         of 0.
19700 2015-01-08  Roland McGrath  <roland@hack.frob.com>
19702         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
19703         <nptl/pthreadP.h> instead.
19704         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
19706         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
19707         already defined.
19708         [__SIGRTMIN] (init): Function removed.
19709         [__SIGRTMIN] (initialized): Variable removed.
19710         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
19711         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
19712         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
19713         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
19714         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
19715         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
19716         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
19717         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
19718         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
19719         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
19720         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
19721         * sysdeps/nptl/allocrtsig.c: New file.
19722         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
19723         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
19724         * sysdeps/generic/testrtsig.h: File removed.
19726         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
19727         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
19729         * nptl/nptl-init.c (pthread_functions): Conditionalize
19730         .ptr__nptl_setxid initialization on [SIGSETXID].
19732         * sysdeps/nptl/sys/procfs.h: New file.
19733         * nptl_db/Makefile (headers): Add it.
19734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
19736         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
19737         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
19738         * nptl/pthread_attr_setaffinity.c: Include it.
19739         * nptl/pthread_setattr_default_np.c: Likewise.
19740         * nptl/check-cpuset.h: New file.
19742 2015-01-08  Richard Henderson  <rth@redhat.com>
19744         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
19745         (CFLAGS-tst-execstack-prog.c): Likewise.
19746         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
19748 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
19749             Sandra Loosemore  <sandra@codesourcery.com>
19750             Andrew Jenner  <andrew@codesourcery.com>
19751             Joseph Myers  <joseph@codesourcery.com>
19752             Nathan Sidwell  <nathan@codesourcery.com>
19754         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
19755         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
19756         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
19757         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
19758         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
19759         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
19760         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
19761         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
19762         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
19763         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
19764         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
19765         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
19766         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
19767         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
19768         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
19769         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
19770         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
19772 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19774         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
19775         timespec struct member in syscall macro.
19776         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19777         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
19778         first timeval struct member in syscall macro.
19779         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
19781 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
19783         [BZ #17748]
19784         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
19785         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
19786         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
19787         __feupdateenv and define as weak alias of __feupdateenv.  Use
19788         libm_hidden_weak.
19789         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
19790         libm_hidden_def.
19791         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
19792         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
19793         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19794         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
19795         libm_hidden_def.
19796         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
19797         __feupdateenv and define as weak alias of __feupdateenv.  Use
19798         libm_hidden_weak.
19799         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
19800         libm_hidden_def.
19801         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
19802         __feupdateenv and define as weak alias of __feupdateenv.  Use
19803         libm_hidden_weak.
19804         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
19805         libm_hidden_def.
19806         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19807         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19808         (__feupdateenv): Likewise.
19809         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
19810         __feupdateenv and define as weak alias of __feupdateenv.  Use
19811         libm_hidden_weak.
19812         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19813         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
19814         libm_hidden_def.
19815         * sysdeps/tile/math_private.h (__feupdateenv): New inline
19816         function.
19817         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
19818         libm_hidden_def.
19819         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
19820         __feupdateenv instead of feupdateenv.
19821         (default_libc_feupdateenv_test): Likewise.
19822         (libc_feresetround_ctx): Likewise.
19824 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19826         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
19827         prototype.
19829 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
19831         * posix/regcomp.c (parse_bracket_exp): Initialize type to
19832         COLL_SYM in a couple of places to avoid uninitialized variable
19833         wanings on tilegx gcc 4.8.2.
19835 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19837         * sysdeps/aarch64/strcpy.S: New file.
19838         * sysdeps/aarch64/stpcpy.S: New file.
19839         * NEWS: Updated.
19841 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19843         * sysdeps/aarch64/strrchr.S: New file.
19844         * NEWS: Updated.
19846 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
19848         [BZ #17658]
19849         * stdlib/setenv.c: Fix memory leak when setting large,
19850         duplicate string.
19852 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
19854         [BZ #17273]
19855         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
19856         and tabs from buffer before parsing fstab entry.
19857         * misc/tst-mntent.c (main): Add test for mount entry with
19858         trailing spaces and tabs.
19860 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
19862         [BZ #17748]
19863         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
19864         * math/fesetround.c (fesetround): Rename to __fesetround and
19865         define as weak alias of __fesetround.  Use libm_hidden_weak.
19866         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
19867         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
19868         * sysdeps/arm/fesetround.c (fesetround): Likewise.
19869         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
19870         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
19871         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
19872         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
19873         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
19874         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
19875         __fesetround_inline.
19876         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
19877         __fesetround_inline instead of __fesetround.
19878         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
19879         __fesetround and define as weak alias of __fesetround.  Use
19880         libm_hidden_weak.  Call __fesetround_inline instead of
19881         __fesetround.
19882         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
19883         __fesetround and define as weak alias of __fesetround.  Use
19884         libm_hidden_weak.
19885         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
19886         Likewise.
19887         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
19888         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19889         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
19890         * sysdeps/tile/math_private.h (__fesetround): New inline function.
19891         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
19892         __fesetround and define as weak alias of __fesetround.  Use
19893         libm_hidden_weak.
19894         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
19895         __fesetround instead of fesetround.
19896         (default_libc_feholdexcept_setround): Likewise.
19897         (libc_feholdsetround_ctx): Likewise.
19898         (libc_feholdsetround_noex_ctx): Likewise.
19900         [BZ #17748]
19901         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
19902         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
19903         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19904         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19905         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19906         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
19907         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19908         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19909         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19910         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19911         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19912         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19913         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19914         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19915         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
19916         libm_hidden_def.
19917         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
19918         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
19919         Likewise.
19920         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19921         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19922         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19923         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19924         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
19925         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19926         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19927         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
19928         __fesetenv instead of fesetenv.
19929         (libc_feresetround_noex_ctx): Likewise.
19930         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19931         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19932         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
19933         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19934         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19935         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19936         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19937         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19938         (__feupdateenv): Likewise.
19939         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19940         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19941         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19942         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
19944 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19946         [BZ #17806]
19947         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
19948         addresses have been freed.
19950 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19952         * resolv/res_init.c (__res_vinit): Improve comments about nserv
19953         and nservall.
19955 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
19957         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
19958         Clean up check_pf allocation pattern. addresses
19960 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19962         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
19963         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
19964         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
19965         * nptl/pthread_exit.c (__pthread_exit): Likewise.
19966         * nptl/pthread_join.c (pthread_join): Likewise.
19967         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19968         * sysdeps/posix/waitid.c (__waitid): Likewise.
19969         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19970         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19971         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19972         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19973         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19974         Likewise.
19975         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19976         (__libc_pread64): Likewise.
19977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19978         (__libc_pwrite): Likewise.
19979         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19980         (__libc_pwrite64): Likewsie.
19981         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19982         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19983         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19984         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19985         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19986         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19987         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19989         Likewise.
19990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19991         (__libc_pread64): Likewise.
19992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
19993         Likewise.
19994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19995         (__libc_pwrite64): Likewise.
19996         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19997         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19998         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
19999         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
20000         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20001         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20002         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
20003         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20004         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20005         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20006         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
20007         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20008         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20009         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
20010         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20011         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20012         Likewise.
20014 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20016         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
20017         (CFLAGS-test-double.c): Likewise.
20018         (CFLAGS-test-ldouble.c): Likewise.
20019         (CPPFLAGS-test-ifloat.c): Likewise.
20020         (CPPFLAGS-test-idouble.c): Likewise.
20021         (CPPFLAGS-test-ildoubl.c): Likewise.
20022         (CFLAGS-test-test-fenv.c): Remove variable.
20023         (CFLAGS-test-misc.c): Likewise.
20025 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
20027         [BZ #17797]
20028         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
20029         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
20030         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
20031         CLOCKS_PER_SEC == 1000000.
20032         * time/clocktest.c (main): Replace %ld with %jd and cast to
20033         intmax_t.
20035 2015-01-05  Roland McGrath  <roland@hack.frob.com>
20037         * sysdeps/generic/unwind-resume.h: New file.
20038         * sysdeps/gnu/unwind-resume.c: Include it.
20039         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
20040         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
20041         argument list.
20042         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
20043         global rather than static.
20044         (_Unwind_Resume): Update user.
20045         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
20046         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
20047         rather than static.  Add __attribute__ ((cold)).
20048         (_Unwind_Resume, __gcc_personality_v0): Update callers.
20049         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
20050         * sysdeps/arm/arm-unwind-resume.S: New file.
20051         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
20052         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
20053         * sysdeps/arm/Makefile [$(subdir) = csu]
20054         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
20055         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20056         Add rt-arm-unwind-resume.
20057         [$(subdir) = nptl]
20058         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20059         Add pt-arm-unwind-resume.
20060         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
20061         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
20063 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20065         [BZ #17748]
20066         * include/fenv.h (__feholdexcept): Declare.  Use
20067         libm_hidden_proto.
20068         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
20069         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
20070         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20071         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
20072         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
20073         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
20074         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
20075         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20076         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
20077         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
20078         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20079         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
20080         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
20081         (feholdexcept): Likewise.
20082         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20083         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20084         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20085         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20086         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
20087         __feholdexcept instead of feholdexcept.
20088         (default_libc_feholdexcept_setround): Likewise.
20090 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20092         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
20093         to avoid using stl/str to align destination.
20095 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20097         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
20099 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20101         [BZ #17796]
20102         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
20103         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
20104         Define as weak alias not strong alias.
20106 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20108         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
20109         bltzal with addiupc.
20110         (RTLD_START): Ditto.
20112 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
20114         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
20115         for __vdso_* functions in declarations.
20116         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
20117         definitions.
20118         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
20119         INTERNAL_VSYSCALL): Use struct return types to check for error.
20121         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
20122         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
20123         function with cast from llround().
20124         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
20125         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20126         Define.
20128 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20130         [BZ #17793]
20131         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
20132         Define as weak alias not strong alias.
20134         [BZ #17635]
20135         * ctype/ctype-c99.c: New file.  isblank implementation moved from
20136         ...
20137         * ctype/ctype-extn.c: ... here.
20138         (__isblank_l): Move to ...
20139         * ctype/ctype-c99_l.c: ... here.  New file.
20140         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
20141         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
20142         Remove variable.
20143         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20144         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20145         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20146         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20147         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20149         [BZ #17777]
20150         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20151         (posix_fadvise64): Define as weak alias not strong alias.
20152         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20153         (posix_fallocate64): Likewise.
20154         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
20155         Remove variable.
20156         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20157         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20158         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20159         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20160         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20162 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20164         [BZ #16191]
20165         * NEWS: Mention bug fix.
20166         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20167         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20168         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20169         (HOST_STACK_END_ADDR): Likewise.
20171 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20173         [BZ #17748]
20174         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20175         * math/fegetround.c (fegetround): Rename to __fegetround and
20176         define as weak alias of __fegetround.  Use libm_hidden_weak.
20177         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20178         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20179         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20180         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20181         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20182         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20183         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20184         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20185         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20186         Undefine after rather than before function definition; use
20187         parentheses around function name in definition.
20188         (__fegetround): Also undefine macro after function definition.
20189         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20190         __fegetround and define as weak alias of __fegetround.  Use
20191         libm_hidden_weak.  Do not undefine as macro.
20192         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20193         Likewise.
20194         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20195         __fegetround and define as weak alias of __fegetround.  Use
20196         libm_hidden_weak.
20197         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20198         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20199         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20200         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20201         __fegetround and define as weak alias of __fegetround.  Use
20202         libm_hidden_weak.
20203         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20204         __fegetround instead of fegetround.
20206         [BZ #17782]
20207         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20208         Condition macro definition on [__USE_MISC].
20210         [BZ #17781]
20211         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20212         (struct sigaction): Change type of sa_flags field to int.
20214         [BZ #17780]
20215         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20216         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20217         __glibc_reserved0.
20219         * nptl/version.c (banner): Use single year in copyright notice.
20221         * NEWS: Update copyright dates.
20222         * catgets/gencat.c (print_version): Likewise.
20223         * csu/version.c (banner): Likewise.
20224         * debug/catchsegv.sh: Likewise.
20225         * debug/pcprofiledump.c (print_version): Likewise.
20226         * debug/xtrace.sh (do_version): Likewise.
20227         * elf/ldconfig.c (print_version): Likewise.
20228         * elf/ldd.bash.in: Likewise.
20229         * elf/pldd.c (print_version): Likewise.
20230         * elf/sotruss.sh: Likewise.
20231         * elf/sprof.c (print_version): Likewise.
20232         * iconv/iconv_prog.c (print_version): Likewise.
20233         * iconv/iconvconfig.c (print_version): Likewise.
20234         * locale/programs/locale.c (print_version): Likewise.
20235         * locale/programs/localedef.c (print_version): Likewise.
20236         * login/programs/pt_chown.c (print_version): Likewise.
20237         * malloc/memusage.sh (do_version): Likewise.
20238         * malloc/memusagestat.c (print_version): Likewise.
20239         * malloc/mtrace.pl: Likewise.
20240         * manual/libc.texinfo: Likewise.
20241         * nptl/version.c (banner): Likewise.
20242         * nscd/nscd.c (print_version): Likewise.
20243         * nss/getent.c (print_version): Likewise.
20244         * nss/makedb.c (print_version): Likewise.
20245         * posix/getconf.c (main): Likewise.
20246         * scripts/test-installation.pl: Likewise.
20247         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20249 2015-01-02  Will Newton  <will.newton@linaro.org>
20251         * sysdeps/arm/armv7/configure: Removed.
20252         * sysdeps/arm/armv7/configure.ac: Likewise.
20254 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20256         * All files with FSF copyright notices: Update copyright dates
20257         using scripts/update-copyrights.
20258         * intl/plural.c: Regenerated.
20259         * locale/programs/charmap-kw.h: Likewise.
20260         * locale/programs/locfile-kw.h: Likewise.
20262 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20264         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20266 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20268         [BZ #17748]
20269         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20270         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20271         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20272         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20273         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20274         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20275         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20276         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20277         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20278         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20279         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20280         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20281         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20282         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20283         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20284         libm_hidden_def.
20285         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20286         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20287         Likewise.
20288         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20289         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20290         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20291         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20292         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20293         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20294         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20295         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20296         __fegetenv instead of fegetenv.
20297         (libc_feholdsetround_noex_ctx): Likewise.
20299 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20301         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20302         (Elf_MIPS_ABIFlags_v0): New structure.
20303         (EF_MIPS_FP64): Define.
20304         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20305         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20306         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20307         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20308         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20309         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20310         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20311         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20312         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20313         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20314         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20315         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20316         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20317         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20318         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20319         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20320         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20321         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20322         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20323         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20324         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20325         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20326         field.
20327         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20328         EF_MIPS_FP64.
20329         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20330         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20331         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20332         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20333         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20334         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20335         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20336         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20337         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20338         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20339         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20340         record the current FP ABI extension.
20341         (mips-mode-switch): Define to show if kernel headers support mode
20342         switching.
20343         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20344         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20345         supported SYSV ABI version to 3.
20346         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20347         feature.
20349 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20350             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20352         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20353         path.
20354         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20356 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20358         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20359         __fegetround and redefine to call __fegetround.  Remove condition
20360         on [!__NO_MATH_INLINES].
20361         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20362         function.
20363         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20364         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20365         Remove macro.
20366         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20367         instead of <fenv_libc.h>.
20368         (__llrintl): Call fegetround instead of __fegetround.
20369         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20370         instead of <fenv_libc.h>.
20371         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20372         (__lrintl): Call fegetround instead of __fegetround.
20373         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20374         instead of <fenv_libc.h>.
20375         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20376         (__rintl): Call fegetround instead of __fegetround.
20378 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20380         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20381         arrays.
20383 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20385         [BZ #17775]
20386         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20387         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20388         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20390 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20392         * sysdeps/i386/tls-macros.h: Include <features.h>.
20393         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20394         (TLS_IE): Likewise.
20395         (TLS_LD): Likewise.
20396         (TLS_GD): Likewise.
20397         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20398         define for GCC >= 5.0.
20400 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20402         * math/test-fenv.c (test_single_exception, set_single_exc,
20403         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20404         feexcp_mask_test, feenable_test, fe_single_test): Add
20405         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20406         case where they are not used.
20407         * math/libm-test.inc: Likewise.
20408         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20409         unused in the absence of FP rounding/exception support.
20410         * stdio-common/tst-printf-round.c: Likewise.
20411         * stdlib/tst-strtod-round.c: Likewise.
20412         * stdlib/tst-strtod-underflow.c: Likewise.
20414 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20416         [BZ #17723]
20417         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20418         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20419         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20420         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20421         libm_hidden_weak.
20422         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20423         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20424         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20425         libm_hidden_def.
20426         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20427         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20428         libm_hidden_weak.
20429         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20430         Likewise.
20431         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20432         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20433         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20434         libm_hidden_weak.
20435         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20436         libm_hidden_def.
20437         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20438         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20439         (__feraiseexcept): Likewise.
20440         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20441         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20442         libm_hidden_weak.
20443         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20444         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20445         libm_hidden_def.
20446         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20447         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20448         Use libm_hidden_def.
20449         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20450         libm_hidden_def.
20451         (feraiseexcept): Define as weak not strong alias.  Use
20452         libm_hidden_weak.
20453         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20454         New inline function.  Factored out of ...
20455         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20456         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20457         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20458         feraiseexcept.
20459         * math/w_acos.c (__acos): Likewise.
20460         * math/w_asin.c (__asin): Likewise.
20461         * math/w_ilogb.c (__ilogb): Likewise.
20462         * math/w_j0.c (y0): Likewise.
20463         * math/w_j1.c (y1): Likewise.
20464         * math/w_jn.c (yn): Likewise.
20465         * math/w_log.c (__log): Likewise.
20466         * math/w_log10.c (__log10): Likewise.
20467         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20468         * sysdeps/aarch64/fpu/math_private.h
20469         (libc_feupdateenv_test_aarch64): Likewise.
20470         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20471         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20472         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20473         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20474         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20475         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20476         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20477         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20478         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20479         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20481 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20483         [BZ #17732]
20484         * io/test-utime.c (main): Replace %ld with %jd and cast to
20485         intmax_t.
20486         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20487         * nptl/tst-mutex5.c: Include <stdint.h>.
20488         (do_test): Replace %ld with %jd and cast to intmax_t.
20489         * posix/tst-regex.c (run_test): Likewise.
20490         (run_test_backwards): Likewise.
20491         * rt/tst-clock.c: Include <stdint.h>.
20492         (clock_test): Replace %ld with %jd and cast to intmax_t.
20493         * rt/tst-cpuclock1.c: Include <stdint.h>.
20494         (do_test): Replace %lu with %ju and cast to uintmax_t.
20495         * rt/tst-cpuclock2.c: Include <stdint.h>.
20496         (do_test): Replace %lu with %ju and cast to uintmax_t.
20497         * rt/tst-mqueue1.c: Include <stdint.h>.
20498         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20499         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20500         intmax_t.
20501         * rt/tst-mqueue4.c (do_test): Likewise.
20502         * rt/tst-timer4.c: Include <stdint.h>.
20503         (check_ts): Replace %ld with %jd and cast to intmax_t.
20504         (do_test): Likewise.
20505         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20506         and cast to intmax_t.
20507         * sysdeps/pthread/tst-timer.c (main): Likewise.
20508         * time/clocktest.c (main): Likewise.
20509         * time/tst-posixtz.c (do_test): Likewise.
20510         * timezone/tst-timezone.c (main): Likewise.
20512 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20513             H.J. Lu  <hongjiu.lu@intel.com>
20515         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20516         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20517         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20518         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20519         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20520         version if bit_Fast_Unaligned_Load is set.
20521         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20522         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20523         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20524         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20525         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20526         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20527         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20528         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
20529         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
20530         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
20531         to 4.
20532         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
20533         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
20534         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
20535         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
20537 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
20539         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
20540         instead of #if to avoid a Wundef warning.
20541         * stdlib/tst-limits.c (do_test): Likewise.
20543         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20544         parallel other exception macros.
20545         (fegetenv): Convert from macro to extern inline so that it applies
20546         retroactively to inline functions already seen by the compiler.
20547         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20549         * posix/Makefile (before-compile): Use $(objpfx) for
20550         posix-conf-vars-def.h.
20552 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20554         * posix/getconf.c (main): Use size_t for type of I.
20555         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20556         NSPEC.
20558         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20559         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20560         * posix/posix-envs.def: Likewise.
20561         * sysdeps/posix/sysconf.c: Likewise.
20562         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
20563         (specs): Remove array.
20564         * scripts/gen-posix-conf-vars.awk: Support generation of specs
20565         array.
20567         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
20568         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
20569         (__sysconf): Use CONF_IS_* macros.
20571         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
20572         ($(objpfx)posix-conf-vars-def.h): New target.
20573         * posix/posix-conf-vars.list: New file.
20574         * posix/posix-conf-vars.h: New file.
20575         * posix/confstr.c: Include posix-conf-vars.h.
20576         (confstr): Use CONF_IS_* macros.
20577         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
20578         CONF_IS_* macros.
20579         * scripts/gen-posix-conf-vars.awk: New file.
20581 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
20583         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
20584         fegetround): Add no-op macros to avoid linknamespace issues.
20586         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
20587         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
20589         * sysdeps/unix/sysv/linux/tile/sysdep.h
20590         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
20591         assembly-specific section to avoid a redefinition warning.
20593         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
20594         long before casting to pointer to avoid a cast warning.
20596 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
20598         * sysdeps/tile/tilegx/Implies: New file.
20600 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
20602         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
20604 2014-12-23  Florian Weimer  <fweimer@redhat.com>
20606         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
20608 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20610         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
20611         not define.
20612         * sysdeps/unix/sysv/linux/utimes.c: Do not include
20613         <kernel-features.h>.
20614         (__utimes) [__NR_utimes]: Make code unconditional.
20615         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
20616         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20617         (__ASSUME_UTIMES): Do not undefine.
20618         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20619         (__ASSUME_UTIMES): Likewise.
20620         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20621         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
20622         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
20623         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
20625 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20627         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
20629 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
20631         [BZ #17747]
20632         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
20633         alias to weak alias for j0l, y0l.
20634         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
20635         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
20637         [BZ #17746]
20638         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
20639         conversion.
20641 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20643         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
20644         to zero if not already defined.
20646 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20648         [BZ #17724]
20649         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
20650         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
20651         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
20652         (char *) casts added.
20653         * sysdeps/ieee754/k_standardf.c: New file.
20654         * sysdeps/ieee754/k_standardl.c: Likewise.
20655         * math/Makefile (libm-support): Remove k_standard.
20656         (libm-calls): Add k_standard.
20658 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20660         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20661         Optimize to avoid an unnecessary FPCR read.
20663 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20665         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20666         Optimize to reduce FPCR/FPSR accesses.
20668 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20670         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
20671         Call libc_fetestexcept_aarch64.
20673 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20675         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
20676         Call libc_fesetround_aarch64.
20678 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20680         [BZ #17733]
20681         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
20682         (__bind): Do not define as weak alias.
20683         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
20684         define.
20685         (__getsockname): Do not define as weak alias.
20687 2014-12-22  Will Newton  <will.newton@linaro.org>
20689         * manual/install.texi: Document that we require bison 2.7
20690         or above.
20691         * INSTALL: Regenerate.
20692         * configure.ac: Use AC_CHECK_PROG_VER instead of
20693         AC_PATH_PROG when checking for bison and check for
20694         version 2.7 or above.
20695         * configure: Regenerate.
20697 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
20699         [BZ #17745]
20700         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
20701         * sysdeps/tile/ffsll.c (ffsll): To here.
20703         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
20705 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20707         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
20708         if not defined.
20709         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
20710         definition.
20711         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20712         hidden ___tls_get_addr.
20713         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20714         hidden __tls_get_addr.
20715         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
20716         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
20717         Likewise.
20719 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20721         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
20722         _dl_init call.
20724 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20726         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
20727         from "call _dl_init@PLT".
20728         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
20730 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
20732         * manual/search.texi: (Array Sort Function): Clarify stable sorting
20733         guarantees.
20735 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
20737         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
20739 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20741         [BZ #17744]
20742         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
20743         strnlen.
20745 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20747         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
20748         of multu on MIPSr6.
20749         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
20750         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
20751         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
20752         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
20753         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
20755 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20757         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
20758         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
20759         (PTR_SUBU): Use subu for mips32r6/mips64r6.
20760         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
20761         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
20762         mips32r6/mips64r6.
20763         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
20765 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
20767         * string/strncat.c (STRNCAT): Simplify implementation.
20769 2014-12-19  David S. Miller  <davem@davemloft.net>
20771         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
20772         access the quad as both a long double and as a series of 4 words.
20774         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
20775         link_map->l_info array access.
20777 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20779         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
20781         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
20782         * math/atest-exp2.c (TIMEOUT): Likewise.
20783         * math/atest-sincos.c (TIMEOUT): Likewise.
20785 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20787         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
20788         -Wno-error with -fno-builtin-lround.
20790 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20792         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
20793         Contains futex constants and functions moved over from ...
20794         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
20795         <lowlevellock-futex.h>.
20796         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20797         (lll_timedwait_tid): Add comments and parentheses around macro
20798         arguments.
20800 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20802         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
20803         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
20804         (__lll_private_flag): Remove.
20805         (lll_futex_wait): Likewise.
20806         (lll_futex_timed_wait): Likewise.
20807         (lll_futex_wake): Likewise.
20808         (lll_futex_requeue): Likewise.
20809         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20810         (__lll_timedwait_tid): Spell out argument names.
20811         (lll_timedwait_tid): Add comments and parentheses around macro
20812         arguments.
20813         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
20814         LLL_SHARED and LLL_PRIVATE usable from assembly code.
20816 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20818         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
20819         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20820         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20821         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
20822         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
20823         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
20824         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
20825         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
20826         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
20827         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
20828         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
20829         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
20830         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
20831         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
20832         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
20833         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
20834         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
20835         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
20836         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
20838 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20840         * sysdeps/x86_64/x32/Makefile: New file.
20842 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20844         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
20845         1L with (mp_limb_t) 1.
20847 2014-12-17  Roland McGrath  <roland@hack.frob.com>
20849         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
20850         * nptl/libc_pthread_init.c: ... here.
20851         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
20852         * nptl/register-atfork.c: ... here.
20854         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
20855         Use pthread_sigmask rather than INTERNAL_SYSCALL.
20856         Use assert_perror to check its return value.
20857         (__gai_create_helper_thread): Likewise.
20859         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
20861         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
20863 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
20865         [BZ #17725]
20866         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
20867         __profil_counter.
20868         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
20869         Likewise.
20870         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
20871         Likewise.
20872         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
20873         Likewise.
20874         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
20875         (profil_counter): Likewise.
20876         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
20877         (profil_counter): Likewise.
20878         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
20879         Likewise.
20880         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
20881         Likewise.
20882         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
20883         (profil_counter): Likewise.
20884         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
20885         Likewise.
20886         [!__profil_counter] (profil_counter): Define as weak alias of
20887         __profil_counter.
20888         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
20889         (profil_counter): Rename to __profil_counter.
20890         [!__profil_counter] (profil_counter): Define as weak alias of
20891         __profil_counter.
20892         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
20893         (profil_counter): Rename to __profil_counter.
20894         [!__profil_counter] (profil_counter): Define as weak alias of
20895         __profil_counter.
20896         * sysdeps/posix/profil.c: Update comment referring to
20897         profil_counter.
20898         (__profil): Use __profil_counter instead of profil_counter.
20899         * sysdeps/posix/sprofil.c (profil_counter): Rename to
20900         __profil_counter.  Use __profil_counter_ushort and
20901         __profil_counter_uint in definitions.
20902         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
20903         instead of profil_counter_uint and profil_counter_ushort.
20905         [BZ #17722]
20906         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
20907         define as weak alias of __inet_makeaddr.
20908         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
20909         as weak alias of __inet_addr.
20910         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
20911         as weak alias of __inet_pton.  Use libc_hidden_weak.
20912         * include/arpa/inet.h (__inet_pton): Declare.  Use
20913         libc_hidden_proto.
20914         (inet_makeaddr): Don't use libc_hidden_proto.
20915         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
20916         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
20917         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
20918         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
20919         Remove variable.
20920         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20921         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20923 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
20925         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
20927 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20929         * stdio-common/bug-vfprintf-nargs.c (do_test):
20930         Cast value to intptr_t to avoid format warning
20931         for usage with PRIdPTR printing macro.
20933 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20935         * libio/tst-widetext.c (do_test):
20936         Use format type %td instead of %Zd for ptrdiff_t
20937         in order to avoid format warning.
20939 2014-12-17  Andreas Schwab  <schwab@suse.de>
20941         * nscd/mem.c (gc): Add size_t cast to match printf format.
20943 2014-12-16  Roland McGrath  <roland@hack.frob.com>
20945         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
20946         (init): Apply PTR_MANGLE to pointers before storing them.
20947         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
20948         before using them.
20950 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
20952         [BZ #17719]
20953         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
20954         define as weak alias of __memrchr.
20955         (__memrchr): Do not define as strong alias of memrchr.
20956         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20957         Remove variable.
20958         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20959         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20960         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20962         [BZ #17717]
20963         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
20964         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
20965         (if_indextoname): Rename to __if_indextoname and define as weak
20966         alias of __if_indextoname.  Use libc_hidden_weak.
20967         (if_freenameindex): Rename to __if_freenameindex and define as
20968         weak alias of __if_freenameindex.
20969         (if_nameindex): Rename to __if_nameindex and define as weak alias
20970         of __if_nameindex.
20971         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
20972         __if_nametoindex and define as weak alias of __if_nametoindex.
20973         Use libc_hidden_weak.
20974         (if_freenameindex): Rename to __if_freenameindex and define as
20975         weak alias of __if_freenameindex.
20976         (if_nameindex): Rename to __if_nameindex and define as weak alias
20977         of __if_nameindex.
20978         (if_indextoname): Rename to __if_indextoname and define as weak
20979         alias of __if_indextoname.  Use libc_hidden_weak.
20980         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
20981         __if_nametoindex and define as weak alias of __if_nametoindex.
20982         Use libc_hidden_weak.
20983         (if_freenameindex): Rename to __if_freenameindex and define as
20984         weak alias of __if_freenameindex.  Use libc_hidden_weak.
20985         (if_nameindex_netlink): Use __if_freenameindex instead of
20986         if_freenameindex.
20987         (if_nameindex): Rename to __if_nameindex and define as weak alias
20988         of __if_nameindex.  Use libc_hidden_weak.
20989         (if_indextoname): Rename to __if_indextoname and define as weak
20990         alias of __if_indextoname.  Use libc_hidden_weak.
20991         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
20992         libc_hidden_proto.
20993         [!_ISOMAC] (__if_freenameindex): Likewise.
20994         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
20995         if_nametoindex.
20996         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
20997         variable.
20998         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20999         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21000         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21001         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21002         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21003         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21004         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21006         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
21007         Remove variable.
21008         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21009         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21011 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21013         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
21014         subscript above bounds'
21016         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
21017         bounds.
21019 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
21021         * libio/tst-fopenloc.c: Use test-skeleton.c.
21023         * stdlib/tst-bsearch.c: Use test-skeleton.c.
21024         (entry): Rename to ITEM.
21025         (do_test, comp): Adjust.
21027         * stdio-common/tst-fseek.c: Use test-skeleton.c.
21029 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21031         * string/tester.c: Include <libc-internal.h>.
21032         (test_memset): Ignore -Wmemset-transposed-args.
21034 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21036         * misc/tst-mntent2.c (do_test): Fix warning.
21038 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21040         * elf/tst-unique4lib.cc(a): Mark as used.
21042 2014-12-16  Florian Weimer  <fweimer@redhat.com>
21044         [BZ #17630]
21045         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
21046         names.
21048 2014-12-16  Allan McRae  <allan@archlinux.org>
21050         * stdio-common/Makefile (tests): Re-add bug26.
21052 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
21054         [BZ #17657]
21055         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
21056         static array.
21058 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
21060         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
21061         (__lll_lock_wait): Likewise.
21062         (__lll_timedlock_wait): Likewise.
21063         (__lll_timedwait_tid): Likewise.
21064         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
21065         (__lll_robust_timedlock_wait): Likewise.
21066         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
21067         (lll_cond_trylock): Likewise.
21068         (__lll_lock): Likewise.
21069         (__lll_robust_lock): Likewise.
21070         (__lll_cond_lock): Likewise.
21071         (lll_robust_cond_lock): Likewise.
21072         (__lll_timedlock): Likewise.
21073         (__lll_robust_timedlock): Likewise.
21074         (__lll_unlock): Likewise.
21075         (__lll_robust_unlock): Likewise.
21076         (lll_wait_tid): Likewise.
21077         (lll_timedwait_tid): Likewise.
21079 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21081         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
21083 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21085         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
21087 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21089         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
21090         * stdio-common/tst-sprintf.c: Likewise.
21092 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21094         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
21096 2014-12-15  Jeff Law  <law@redhat.com>
21098         [BZ #16617]
21099         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
21100         on the heap.  (CVE-2012-3406)
21101         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
21102         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
21103         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
21105 2014-12-15  Will Newton  <will.newton@linaro.org>
21107         * manual/install.texi: Bump required version of texinfo
21108         to 4.7 from 4.5.
21109         * INSTALL: Regenerated.
21110         * configure.ac: Check for makeinfo version 4.7 and above.
21111         * configure: Regenerated.
21113 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21115         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
21116         PREFIX, string constant to insert between directory and name.
21117         * sysdeps/posix/shm_open.c: Update caller.
21118         * sysdeps/posix/shm_unlink.c: Likewise.
21119         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
21120         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
21121         (SEM_SHM_PREFIX): New macro.
21122         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
21123         [$(have-thread-library) = no].
21124         * nptl/Makefile (libpthread-routines): Add shm-directory.
21125         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
21126         * sysdeps/nptl/shm-directory.h: New file.
21127         * sysdeps/posix/shm-directory.c
21128         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
21129         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21130         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
21131         INTERNAL_SYSCALL.
21132         (__where_is_shmfs): Function removed.
21133         (mountpoint, defaultmount, defaultdir, __namedsem_once):
21134         Variables removed.
21135         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
21136         Use SHM_GET_NAME.
21137         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
21139         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
21140         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
21141         unconditional for use inside libpthread.
21142         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
21144 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21146         * nptl/pthread_getaffinity.c: New file.
21147         * nptl/pthread_setaffinity.c: New file.
21148         * nptl/pthread_getname.c: New file.
21149         * nptl/pthread_setname.c: New file.
21151         * nptl/pthread_create.c (START_THREAD_DEFN)
21152         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
21154 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21155             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21157         * resolv/res_send.c (send_vc): Disable warning resplen may
21158         be used uninitialized.
21160 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21162         * nptl/tst-mutex6.c
21163         (ATTR_NULL): New define checks ATTR against NULL.
21164         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21165         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21167 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21169         [BZ #17581]
21170         * malloc/hooks.c
21171         (mem2mem_check): Revert my previous change.
21172         (malloc_check_get_size): Revert my previous change.
21173         (mem2chunk_check): Revert my previous change.
21175 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21177         * sysdeps/posix/shm-directory.c: New file.
21178         * sysdeps/posix/shm-directory.h: New file.
21179         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21180         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21181         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21182         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21183         Transmute EPERM to EACCES.
21184         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21185         from ...
21186         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21187         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21189 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21191         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21192         pointer and cast to uintptr_t.
21193         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21194         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21195         Add cast to avoid warning.
21196         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21198 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21200         * nptl/semaphore.h: Move to ...
21201         * sysdeps/pthread/semaphore.h: ... here.
21202         * Makefile (installed-headers): Change nptl/semaphore.h to
21203         sysdeps/pthread/semaphore.h.
21205 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21207         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21208         generated error format strings.
21210         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21211         -Wformat-extra-args warnings for scanf formats.
21212         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21213         test of zero-length format (duh).
21214         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21215         corner-case scanf format test.
21216         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21217         generated fprintf format string.
21218         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21219         corner-case sprintf format tests.
21220         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21221         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21222         -Wformat-extra-args warnings throughout.
21223         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21224         (CFLAGS-scanf4.c): Likewise.
21225         (CFLAGS-scanf7.c): Likewise.
21226         (CFLAGS-tst-sprintf.c): Likewise.
21227         (CFLAGS-tst-printf.c): Likewise.
21228         (CFLAGS-tst-printfsz.c): Likewise.
21230 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21232         * include/cpio.h: New file.
21233         * include/fmtmsg.h: Likewise.
21235         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21236         corresponding format argument to size_t.
21237         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21238         arguments.
21239         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21240         corresponding format argument to size_t.
21241         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21242         arguments.
21243         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21244         corresponding format argument to size_t.
21245         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21246         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21247         (CFLAGS-tst-mbswcs2.c): Likewise.
21248         (CFLAGS-tst-mbswcs3.c): Likewise.
21249         (CFLAGS-tst-mbswcs4.c): Likewise.
21250         (CFLAGS-tst-mbswcs5.c): Likewise.
21251         (CFLAGS-tst-trans.c): Likewise.
21253 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21255         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21256         rather than assuming they won't contain any '%'s.
21258 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21260         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21261         inhibit_loop_to_libcall to avoid recursive calls.
21262         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21263         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21265 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21267         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21268         prototype.
21270 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21272         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21273         integer value instead of boolean.
21275 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21277         * malloc/malloc.c: Fix powerof2 check.
21279 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21281         * locale/programs/locfile.h (maybe_swap_uint32):
21282         Remove inline and add unused attribute.
21284 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21286         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21287         Truncating assembler expression to a .long expression.
21289 2014-12-11  Andreas Schwab  <schwab@suse.de>
21291         * elf/rtld.c (struct map_args): Constify str member.
21292         (do_preload): Constify fname argument.
21294 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21296         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21297         constants definition.
21299 2014-12-11  Andreas Schwab  <schwab@suse.de>
21301         [BZ #16657]
21302         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21303         FORCE_ELISION instead of DO_ELISION.
21304         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21305         Remove.
21306         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21307         Likewise.
21309         * iconvdata/gconv-modules: Remove duplicate entry.
21311 2014-12-11  Will Newton  <will.newton@linaro.org>
21313         Merge gettext 0.19.3 into intl/.
21315         This involves a number of cosmetic changes to comments
21316         and ANSI function definitions and prototypes throughout
21317         all the files. The gettext copyright header is used but
21318         with the date ranges taken from the glibc copy.
21320         * NEWS: Add gettext merge to 2.21.
21321         * intl/bindtextdom.c: Switch to gettext copyright.
21322         Use ANSI definitions and prototypes.
21323         Use gl_* locking primitives rather than __libc_* ones.
21324         Use __builtin_expect rather than __glibc_likely/unlikely.
21325         * intl/dcgettext.c: Switch to gettext copyright.
21326         Use ANSI definitions and prototypes.
21327         * intl/dcigettext.c: Switch to gettext copyright.
21328         Use ANSI definitions and prototypes.
21329         (INTDIV0_RAISES_SIGFPE): New define.
21330         Use gl_* locking primitives rather than __libc_* ones.
21331         Include eval-plural.h instead of plural-eval.c.
21332         Use __builtin_expect rather than __glibc_likely/unlikely.
21333         * intl/dcngettext.c: Switch to gettext copyright.
21334         Use ANSI definitions and prototypes.
21335         * intl/dgettext.c: Likewise.
21336         * intl/dngettext.c: Likewise.
21337         * intl/plural-eval.c: Renamed to...
21338         * intl/eval-plural.h: ...this.
21339         * intl/explodename.c: Switch to gettext copyright.
21340         Use ANSI definitions and prototypes.
21341         (_nl_explode_name): Use strchr instead of __rawmemchr.
21342         * intl/finddomain.c: Switch to gettext copyright.
21343         Use ANSI definitions and prototypes.
21344         Use gl_* locking primitives rather than __libc_* ones.
21345         (_nl_find_domain): Use malloc rather than alloca for
21346         allocation of temporary locale name.
21347         * intl/gettext.c: Switch to gettext copyright.
21348         Use ANSI definitions and prototypes.
21349         * intl/gettextP.h: Switch to gettext copyright.
21350         Use ANSI definitions and prototypes.
21351         Use gl_* locking primitives rather than __libc_* ones.
21352         * intl/gmo.h: Switch to gettext copyright.
21353         (struct sysdep_string): Move struct segment_pair outside of
21354         struct definition.
21355         * intl/hash-string.c: Use ANSI definitions and prototypes.
21356         * intl/hash-string.h: Switch to gettext copyright.
21357         Use ANSI definitions and prototypes.
21358         * intl/l10nflist.c: Switch to gettext copyright.
21359         Use ANSI definitions and prototypes.
21360         (_nl_normalize_codeset): Avoid integer overflow.
21361         * intl/loadinfo.h: Switch to gettext copyright.
21362         Use ANSI definitions and prototypes.
21363         (LIBINTL_DLL_EXPORTED): New define.
21364         (PATH_SEPARATOR): New define.
21365         * intl/loadmsgcat.c: Switch to gettext copyright.
21366         * intl/localealias.c: Switch to gettext copyright.
21367         Use ANSI definitions and prototypes.
21368         (_nl_expand_alias): Use PATH_SEPARATOR.
21369         * intl/ngettext.c: Switch to gettext copyright.
21370         Use ANSI definitions and prototypes.
21371         * intl/plural-exp.c: Likewise.
21372         * intl/plural-exp.h: Switch to gettext copyright.
21373         Use ANSI definitions and prototypes.
21374         (struct expression): Move definition of enum operator outside
21375         of struct definition.
21376         * intl/plural.c: Regenerate.
21377         * intl/plural.y: Switch to gettext copyright.
21378         Use ANSI definitions and prototypes.
21379         Port to bison 3.0.
21380         * intl/textdomain.c: Switch to gettext copyright.
21381         Use ANSI definitions and prototypes.
21382         Use gl_* locking primitives rather than __libc_* ones.
21384 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21386         * debug/warning-nop.c: Add used atrribute.
21388 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21390         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21392         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21393         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21394         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21396 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21397             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21399         [BZ #17634]
21400         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21401         Undefine after defining function.  Define as weak alias of
21402         __wcschr.  Use libc_hidden_weak.
21403         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21404         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21405         (libc_hidden_def): Also define __GI___wcschr alias.
21406         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21407         __wcschr and define as weak alias of __wcschr.
21408         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21409         __wcschr.
21410         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21411         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21412         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21413         libc_hidden_weak.  Do not use libc_hidden_def.
21414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21415         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21416         __GI___wcschr alias.
21417         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21418         [IS_IN (libc)] (wcschr): Define as macro expanding to
21419         __redirect_wcschr.
21420         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21421         [IS_IN (libc)] (__wcschr_power6): Likewise.
21422         [IS_IN (libc)] (__wcschr_power7): Likewise.
21423         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21424         instead of wcschr.
21425         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21426         __libc_wcschr.
21427         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21428         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21429         __wcschr and define as weak alias of __wcschr.  Use
21430         libc_hidden_builtin_def.
21431         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21432         as weak alias of __wcschr.  Use libc_hidden_weak.
21433         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21434         wcschr.
21435         * time/era.c (_nl_init_era_entries): Likewise.
21436         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21437         variable.
21438         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21439         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21441 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21443         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21444         format for long int variable.
21446 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21448         [BZ #10672]
21449         * manual/search.texi: (Array Sort Function): Remove claim how to make
21450         qsort stable.
21452 2014-12-10  Andreas Schwab  <schwab@suse.de>
21454         [BZ #12847]
21455         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21456         user-controlled locks.
21458 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21460         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21461         register.
21463 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21465         * configure.ac (--disable-werror): New configure option.
21466         (enable_werror): New AC_SUBST.
21467         * configure: Regenerated.
21468         * config.make.in (enable-werror): New variable.
21469         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21470         -Wno-error=undef.
21471         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21472         * manual/install.texi (Configuring and compiling): Document
21473         --disable-werror.
21474         * INSTALL: Regenerated.
21475         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21476         (CFLAGS-tst-chk2.c): Likewise.
21477         (CFLAGS-tst-chk3.c): Likewise.
21478         (CFLAGS-tst-chk4.cc): Likewise.
21479         (CFLAGS-tst-chk5.cc): Likewise.
21480         (CFLAGS-tst-chk6.cc): Likewise.
21481         (CFLAGS-tst-lfschk1.c): Likewise.
21482         (CFLAGS-tst-lfschk2.c): Likewise.
21483         (CFLAGS-tst-lfschk3.c): Likewise.
21484         (CFLAGS-tst-lfschk4.cc): Likewise.
21485         (CFLAGS-tst-lfschk5.cc): Likewise.
21486         (CFLAGS-tst-lfschk6.cc): Likewise.
21488         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21489         (main): Disable -Wdeprecated-declarations around calls to
21490         register_printf_function.
21492         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21493         (do_test): Disable -Wdiv-by-zero around some calls to
21494         fwrite_unlocked and fread_unlocked.
21496         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21497         (DIAG_POP_NEEDS_COMMENT): Likewise.
21498         (_DIAG_STR1): Likewise.
21499         (_DIAG_STR): Likewise.
21500         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21501         * stdio-common/bug21.c: Include <libc-internal.h>.
21502         (do_test): Disable -Wformat around call to sscanf.
21503         * stdio-common/scanf14.c: Include <libc-internal.h>.
21504         (main): Disable -Wformat around some calls to scanf functions.
21506 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21508         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21510 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21512         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21513         stack variable alignment.
21515 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21517         [BZ #17682]
21518         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21519         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21520         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21521         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21522         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21523         __getrlimit instead of getrlimit.
21524         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21525         __gettimeofday instead of gettimeofday.
21526         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21527         Likewise.
21528         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21529         Likewise.
21530         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21531         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
21532         Remove variable.
21533         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21534         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21536 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21538         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
21539         for wide-character tests.
21541 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21543         * io/openat64.c: #include <libc-internal.h>
21544         (__openat64): Prototypify.  Use ignore_value on MODE.
21545         * io/openat.c: Likewise.
21546         * misc/reboot.c: #include <libc-internal.h>
21547         (reboot): Prototypify.  Use ignore_value on HOWTO.
21548         * misc/ptrace.c: #include <libc-internal.h>
21549         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21551 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21553         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21554         XPG4, UNIX98 and XOPEN2K.
21555         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21556         Remove variable.
21557         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21559 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21561         * libio/fileops.c: Use ISO C style for function definitions.
21562         * libio/iofopen.c: Likewise.
21563         * libio/wfileops.c: Likewise.
21565         [BZ #17653]
21566         * libio/fileops.c (_IO_new_file_underflow): Unset cached
21567         offset on EOF.
21568         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
21569         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
21570         (fgets_func): Function pointer to fgets and fgetws.
21571         (do_ftell_test): Add test to verify ftell value after read
21572         EOF.
21573         (do_test): Set fgets_func.
21575         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
21576         O_TRUNC flag for w and w+ modes.
21577         (do_rewind_test): Likewise.
21578         (do_ftell_test): Likewise.
21579         (do_write_test): Likewise.
21581         [BZ #17647]
21582         * libio/fileops.c (do_ftell): Seek only when there are
21583         unflushed writes.
21584         * libio/wfileops.c (do_ftell_wide): Likewise.
21585         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
21586         test case.
21587         (do_one_test): Call it.
21589 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
21591         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
21592         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
21593         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
21594         Remove variable.
21595         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21596         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21597         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21599 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21601         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
21602         Remove variable.
21603         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21605         [BZ #17668]
21606         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
21607         as weak alias of __getifaddrs.  Use libc_hidden_weak.
21608         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21609         __freeifaddrs.  Use libc_hidden_weak.
21610         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
21611         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
21612         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21613         __freeifaddrs.  Use libc_hidden_weak.
21614         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
21615         __getifaddrs and define as weak alias of __getifaddrs.  Use
21616         libc_hidden_weak.
21617         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21618         __freeifaddrs.  Use libc_hidden_weak.
21619         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
21620         Remove variable.
21621         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21622         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21624 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21626         [BZ #17601]
21627         * sysdeps/mips/start.S (__start): Use indirect jump to call
21628         __libc_start_main.
21630 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21632         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
21634         * nptl/tst-mutex1.c: Include <stdbool.h>.
21635         [!ATTR] (ATTR_NULL): New macro.
21636         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
21637         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
21638         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
21640         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
21641         to char *.
21643         [BZ #17665]
21644         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
21645         Change conditional to [__USE_MISC].
21647         [BZ #17664]
21648         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
21649         fgets_unlocked.
21650         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
21651         __fgets_unlocked.
21652         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
21653         fgets_unlocked.
21654         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
21655         Remove variable.
21656         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21657         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21658         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21659         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21660         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21661         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21662         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21663         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21664         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21666         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
21668 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21670         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21671         Remove strpbrk objects.
21672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21673         (__libc_ifunc_impl_list): Remove strpbrk implementation.
21674         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
21675         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
21676         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
21677         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
21679         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21680         Remove strcspn objects.
21681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21682         (__libc_ifunc_impl_list): Remove strcspn implementation.
21683         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
21684         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
21685         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
21686         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
21688         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21689         Remove strspn objetcs.
21690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21691         (__libc_ifunc_impl_list): Remove strspn implementation.
21692         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
21693         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21694         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
21695         * sysdeps/powerpc/powerpc64/strspn.S: New file.
21697 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
21699         [BZ #17581]
21700         * malloc/hooks.c
21701         (mem2mem_check): Add a terminator to the chain of checking blocks.
21702         (malloc_check_get_size): Use it here.
21703         (mem2chunk_check): Ditto.
21705 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21707         * sysdeps/powerpc/powerpc64/strtok.S: New file.
21708         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
21710 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
21712         * bits/ioctl-types.h: Indent preprocessor directives correctly.
21714         * nptl/nptl-init.c: Include libc-internal.h.
21715         (__pthread_initialize_minimal_internal): Use ROUND_UP.
21717         * elf/ldconfig.c (search_dir): Expand comment.
21719 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
21721         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
21722         variable.
21723         (linknamespace-symlist-stdlibs-tests): Likewise.
21724         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
21725         instead of $(objpfx)symlist-stdlibs.
21726         (linknamespace-libs-isoc): New variable.
21727         (linknamespace-libs): Use $(linknamespace-libs-isoc).
21728         (linknamespace-libs-ISO): New variable.
21729         (linknamespace-libs-ISO99): Likewise.
21730         (linknamespace-libs-ISO11): Likewise.
21731         (linknamespace-libs-XPG3): Likewise.
21732         (linknamespace-libs-XPG4): Likewise.
21733         (linknamespace-libs-POSIX): Likewise.
21734         (linknamespace-libs-UNIX98): Likewise.
21735         (linknamespace-libs-XOPEN2K): Likewise.
21736         (linknamespace-libs-POSIX2008): Likewise.
21737         (linknamespace-libs-XOPEN2K8): Likewise.
21738         ($(objpfx)symlist-stdlibs): Replace by
21739         $(linknamespace-symlist-stdlibs-tests).  Use
21740         $(linknamespace-libs-$*) as set of libraries.
21741         ($(linknamespace-header-tests)): Update dependencies.  Use
21742         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
21743         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
21744         * conform/linknamespace.pl: Remove comment about considering
21745         definitions of symbols from irrelevant libraries.
21747 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
21749         [BZ #13862]
21750         * elf/dl-tls.c: Include <atomic.h>.
21751         (oom): Remove #ifdef SHARED/#endif.
21752         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
21753         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
21754         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
21755         big enough.
21756         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
21757         * nptl/Makefile (tests): Add tst-stack4.
21758         (modules-names): Add tst-stack4mod.
21759         ($(objpfx)tst-stack4): New.
21760         (tst-stack4mod.sos): Likewise.
21761         ($(objpfx)tst-stack4.out): Likewise.
21762         ($(tst-stack4mod.sos)): Likewise.
21763         (clean): Likewise.
21764         * nptl/tst-stack4.c: New file.
21765         * nptl/tst-stack4mod.c: Likewise.
21767 2014-11-27  J. Brown  <jb999@gmx.de>
21769         * sysdeps/x86/bits/string.h: Add recent CPUs.
21771 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21773         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
21774         sigblock.
21776         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
21777         feof.
21779         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
21780         variable.
21782 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21784         * nscd/connections.c: Include libc-internal.h because of macro
21785         usage ignore_value.
21787 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21789         * string/bits/string3.h (__warn_memset_zero_len): Don't
21790         declare for gcc newer than 5.0.
21791         (memset): Don't test for zero-length __LEN for gcc newer than
21792         5.0.
21794 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21796         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
21797         size_t for %zu format.
21799         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
21800         difference, not %ju.
21802 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21804         * include/libc-internal.h (ignore_value): New macro.
21805         * nscd/connections.c (restart): Wrap calls to setuid and setgid
21806         with ignore_value.
21808         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
21809         definition.
21811         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
21812         pthread_cleanup_push to void *.
21814         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
21815         Undefine.
21817         [BZ #16619]
21818         [BZ #16740]
21819         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
21820         instead of 1L << 52.
21822         * libio/bug-rewind.c (do_test): Check fwscanf return values.
21823         * libio/bug-rewind2.c (do_test): Likewise.
21825         * debug/test-stpcpy_chk-ifunc.c: Remove file.
21826         * debug/test-strcpy_chk-ifunc.c: Likewise.
21827         * wcsmbs/test-wcschr-ifunc.c: Likewise.
21828         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21829         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21830         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21831         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21832         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21833         * Rules [$(multi-arch) = no] (tests): Do not filter out
21834         $(tests-ifunc).
21835         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
21836         * debug/Makefile (tests-ifunc): Remove variable.
21837         (tests): Do not add $(tests-ifunc).
21838         * wcsmbs/Makefile (tests-ifunc): Remove variable.
21839         (tests): Do not add $(tests-ifunc).
21840         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
21841         [TEST_IFUNC]: Remove conditionals.
21842         * string/test-string.h (TEST_IFUNC): Remove macro.
21843         [TEST_IFUNC]: Remove conditionals.
21845         * string/test-strchr.c [!WIDE] (L): New macro.
21846         [WIDE] (L): Likewise.
21847         (check1): Use CHAR instead of char.  Use L on string and character
21848         constants.
21850 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
21852         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
21853         tests.
21854         * sysdeps/powerpc/bits/atomic.h
21855         (__arch_atomic_exchange_and_add_32_acq): Add definition.
21856         (__arch_atomic_exchange_and_add_32_rel): Likewise.
21857         (atomic_exchange_and_add_acq): Likewise.
21858         (atomic_exchange_and_add_rel): Likewise.
21859         * sysdeps/powerpc/powerpc32/bits/atomic.h
21860         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21861         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21862         * sysdeps/powerpc/powerpc64/bits/atomic.h
21863         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21864         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21866 2014-11-26  Torvald Riegel  <triegel@redhat.com>
21868         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
21869         Change synchronization of __sched_fifo_min_prio and
21870         __sched_fifo_max_prio.
21871         * nptl/pthread_mutexattr_getprioceiling.c
21872         (pthread_mutexattr_getprioceiling): Likewise.
21873         * nptl/pthread_mutexattr_setprioceiling.c
21874         (pthread_mutexattr_setprioceiling): Likewise.
21875         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21876         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
21877         Likewise.
21879 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21881         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
21882         void.
21884 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21886         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
21887         third argument const.
21889 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
21891         fnmatch: work around GCC compiler warning bug with uninit var
21892         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
21893         This works around a bug with x86-64 GCC 4.9.2 and earlier
21894         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
21895         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
21896         used uninitialized in this function [-Wmaybe-uninitialized]".
21898 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21900         * posix/bug-regex31.c (main): Return RES not 0.
21902 2014-11-25  Anton Blanchard <anton@samba.org>
21904         * sysdeps/powerpc/bits/atomic.h
21905         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
21907 2014-11-24  Sterling Augustine  <saugustine@google.com>
21909         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
21911 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
21913         [BZ #17608]
21914         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
21916 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
21918         [BZ #17633]
21919         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
21920         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
21921         variable.
21922         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21923         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21925 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21927         * string/strncpy.c (strncpy): Improve performance by using memset.
21929 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21931         * string/strcpy.c (strcpy):
21932         Improve performance by using strlen and memcpy.
21934 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
21936         * string/strcoll_l.c (get_next_seq): __always_inline.
21937         * string/strcoll_l.c (do_compare): __always_inline.
21939 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21941         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
21942         defined.
21943         * include/mqueue.h: Likewise.
21944         * include/stdlib.h: Likewise.
21946         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
21947         (get_null_defines): Adjust.
21948         * sunrpc/Makefile: Adjust comment.
21949         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
21950         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
21951         (CFLAGS-interp.c): Likewise.
21952         (CFLAGS-ldconfig.c): Likewise.
21953         (CPPFLAGS-.os): Likewise.
21954         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21955         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21956         * extra-modules.mk (extra-modules.mk): Likewise.
21957         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
21958         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
21959         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
21960         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
21961         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
21962         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
21963         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
21964         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
21965         * iconvdata/Makefile (CPPFLAGS): Likewise.
21966         (cpp-srcs-left): Add libof for all iconvdata routines.
21967         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
21968         * include/assert.h: Likewise.
21969         * include/ctype.h: Likewise.
21970         * include/errno.h: Likewise.
21971         * include/libc-symbols.h: Likewise.
21972         * include/math.h: Likewise.
21973         * include/netdb.h: Likewise.
21974         * include/resolv.h: Likewise.
21975         * include/stdio.h: Likewise.
21976         * include/stdlib.h: Likewise.
21977         * include/string.h: Likewise.
21978         * include/sys/stat.h: Likewise.
21979         * include/wctype.h: Likewise.
21980         * intl/l10nflist.c: Likewise.
21981         * libidn/idn-stub.c: Likewise.
21982         * libio/libioP.h: Likewise.
21983         * nptl/libc_multiple_threads.c: Likewise.
21984         * nptl/pthreadP.h: Likewise.
21985         * posix/regex_internal.h: Likewise.
21986         * resolv/res_hconf.c: Likewise.
21987         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
21988         * sysdeps/arm/memmove.S: Likewise.
21989         * sysdeps/arm/sysdep.h: Likewise.
21990         * sysdeps/generic/_itoa.h: Likewise.
21991         * sysdeps/generic/symbol-hacks.h: Likewise.
21992         * sysdeps/gnu/errlist.awk: Likewise.
21993         * sysdeps/gnu/errlist.c: Likewise.
21994         * sysdeps/i386/i586/memcpy.S: Likewise.
21995         * sysdeps/i386/i586/memset.S: Likewise.
21996         * sysdeps/i386/i686/memcpy.S: Likewise.
21997         * sysdeps/i386/i686/memmove.S: Likewise.
21998         * sysdeps/i386/i686/mempcpy.S: Likewise.
21999         * sysdeps/i386/i686/memset.S: Likewise.
22000         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22001         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22002         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
22003         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
22004         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22005         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22006         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
22007         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22008         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22009         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22010         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22011         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22012         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22013         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22014         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22015         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22016         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
22017         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
22018         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
22019         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22020         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22021         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22022         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22023         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22024         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22025         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22026         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
22027         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22028         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
22029         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22030         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22031         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22032         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22033         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22034         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22035         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22036         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22037         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22038         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22039         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22040         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22041         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22042         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22043         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22044         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22045         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22046         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
22047         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
22048         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22049         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22050         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22051         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
22052         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
22053         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22054         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22055         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
22056         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22057         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
22058         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
22059         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22060         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22061         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22062         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
22063         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22064         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22065         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
22066         * sysdeps/posix/closedir.c: Likewise.
22067         * sysdeps/posix/opendir.c: Likewise.
22068         * sysdeps/posix/readdir.c: Likewise.
22069         * sysdeps/posix/rewinddir.c: Likewise.
22070         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
22071         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
22072         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22073         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22074         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22075         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
22076         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
22077         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
22078         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
22079         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
22080         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
22081         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
22082         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
22083         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
22084         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
22085         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
22086         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
22087         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
22088         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
22089         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
22090         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
22091         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
22092         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
22093         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
22094         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
22095         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
22096         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
22097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
22098         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
22099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
22100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
22101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
22102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
22103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
22104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
22105         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
22106         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22107         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22108         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
22109         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
22110         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
22111         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
22112         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
22113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22114         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22115         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
22116         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
22117         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
22118         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
22119         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
22120         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
22121         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
22122         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22123         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
22124         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
22125         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
22126         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
22127         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
22128         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
22129         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
22130         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22131         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
22132         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22133         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
22134         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
22135         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22136         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
22137         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
22138         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
22139         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
22140         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22141         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
22142         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
22143         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
22144         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
22145         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
22146         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
22147         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
22148         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22149         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
22150         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
22151         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22152         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
22154         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22155         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
22156         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
22157         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22158         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22159         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22160         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22161         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22162         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22163         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22164         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22165         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22166         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22167         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22168         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22169         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22170         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22171         * sysdeps/unix/alpha/sysdep.S: Likewise.
22172         * sysdeps/unix/alpha/sysdep.h: Likewise.
22173         * sysdeps/unix/make-syscalls.sh: Likewise.
22174         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22175         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22176         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22177         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22178         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22179         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22180         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22181         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22182         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22183         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22184         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22185         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22186         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22187         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22188         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22189         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22190         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22191         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22192         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22193         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22194         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22195         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22196         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22197         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22198         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22199         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22200         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22203         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22204         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22206         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22207         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22208         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22210         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22211         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22212         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22213         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22214         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22215         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22216         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22217         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22218         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22219         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22220         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22221         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22222         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22223         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22224         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22225         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22226         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22227         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22228         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22229         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22230         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22232         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22233         * sysdeps/x86_64/memcpy.S: Likewise.
22234         * sysdeps/x86_64/memmove.c: Likewise.
22235         * sysdeps/x86_64/memset.S: Likewise.
22236         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22237         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22238         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22239         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22240         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22241         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22242         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22243         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22244         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22245         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22246         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22247         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22248         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22249         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22250         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22251         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22252         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22253         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22254         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22255         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22256         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22257         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22258         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22259         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22260         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22261         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22262         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22263         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22264         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22265         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22266         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22267         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22268         * sysdeps/x86_64/strcmp.S: Likewise.
22270         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22272         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22273         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22274         * elf/rtld-Rules: Likewise.
22275         * elf/setup-vdso.h: Likewise.
22276         * include/assert.h: Likewise.
22277         * include/bits/stdlib-float.h: Likewise.
22278         * include/errno.h: Likewise.
22279         * include/sys/stat.h: Likewise.
22280         * include/unistd.h: Likewise.
22281         * sysdeps/aarch64/setjmp.S: Likewise.
22282         * sysdeps/alpha/setjmp.S: Likewise.
22283         * sysdeps/arm/__longjmp.S: Likewise.
22284         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22285         * sysdeps/arm/setjmp.S: Likewise.
22286         * sysdeps/arm/sysdep.h: Likewise.
22287         * sysdeps/generic/_itoa.h: Likewise.
22288         * sysdeps/generic/dl-sysdep.h: Likewise.
22289         * sysdeps/generic/ldsodefs.h: Likewise.
22290         * sysdeps/i386/dl-tls.h: Likewise.
22291         * sysdeps/i386/setjmp.S: Likewise.
22292         * sysdeps/m68k/setjmp.c: Likewise.
22293         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22294         * sysdeps/mach/hurd/opendir.c: Likewise.
22295         * sysdeps/posix/getcwd.c: Likewise.
22296         * sysdeps/posix/opendir.c: Likewise.
22297         * sysdeps/posix/profil.c: Likewise.
22298         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22299         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22300         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22301         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22302         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22303         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22304         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22305         * sysdeps/s390/dl-tls.h: Likewise.
22306         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22307         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22308         * sysdeps/sh/sh3/setjmp.S: Likewise.
22309         * sysdeps/sh/sh4/setjmp.S: Likewise.
22310         * sysdeps/unix/alpha/sysdep.h: Likewise.
22311         * sysdeps/unix/arm/sysdep.S: Likewise.
22312         * sysdeps/unix/i386/sysdep.S: Likewise.
22313         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22314         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22315         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22316         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22317         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22318         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22319         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22320         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22321         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22322         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22323         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22324         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22325         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22328         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22329         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22330         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22331         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22332         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22333         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22334         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22335         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22336         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22337         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22338         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22339         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22340         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22341         * sysdeps/x86_64/setjmp.S: Likewise.
22343         * include/math.h: Use IS_IN instead of IS_IN_libm.
22344         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22345         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22346         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22347         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22348         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22349         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22350         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22351         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22352         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22353         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22354         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22355         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22356         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22357         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22358         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22359         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22360         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22361         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22362         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22363         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22364         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22365         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22366         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22367         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22368         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22369         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22370         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22371         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22372         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22373         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22374         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22375         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22376         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22378         Likewise.
22379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22380         Likewise.
22381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22382         Likewise.
22383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22384         Likewise.
22385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22386         Likewise.
22387         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22388         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22389         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22390         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22391         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22392         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22398         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22399         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22400         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22401         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22402         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22403         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22404         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22405         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22406         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22407         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22408         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22409         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22410         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22411         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22413         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22415         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22416         * nptl/pthreadP.h: Likewise.
22417         * nptl_db/structs.def: Likewise.
22418         * sysdeps/arm/sysdep.h: Likewise.
22419         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22420         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22421         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22422         * sysdeps/unix/alpha/sysdep.h: Likewise.
22423         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22424         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22425         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22426         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22427         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22428         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22429         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22430         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22431         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22432         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22433         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22434         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22435         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22436         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22441         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22442         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22443         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22444         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22445         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22446         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22447         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22448         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22450         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22451         * nptl/pthreadP.h: Likewise.
22452         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22453         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22454         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22455         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22456         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22457         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22458         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22459         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22460         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22461         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22462         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22463         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22465         Likewise.
22466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22467         Likewise.
22468         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22469         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22470         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22472         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22473         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22474         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22475         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22477         * dlfcn/dladdr.c: Use IS_IN.
22478         * dlfcn/dladdr1.c: Likewise.
22479         * dlfcn/dlclose.c: Likewise.
22480         * dlfcn/dlerror.c: Likewise.
22481         * dlfcn/dlinfo.c: Likewise.
22482         * dlfcn/dlmopen.c: Likewise.
22483         * dlfcn/dlopen.c: Likewise.
22484         * dlfcn/dlsym.c: Likewise.
22485         * dlfcn/dlvsym.c: Likewise.
22487         * include/ifaddrs.h: Use IS_IN.
22488         * inet/check_pf.c: Likewise.
22489         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22490         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22492         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22493         IS_IN_ldconfig.
22494         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22495         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22497         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22498         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22499         IS_IN (libc).
22501         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22503         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22504         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22505         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22506         * include/libc-symbols.h (IS_IN_LIB): New macro.
22507         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22508         * include/netdb.h: Likewise.
22509         * include/stap-probe.h: Remove all uses of IN_LIB.
22511         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22512         instead of IN_MODULE.
22513         * include/libc-symbols.h (IN_MODULE): Define using
22514         MODULE_NAME.
22515         (PASTE_NAME, PASTE_NAME1): New macros.
22516         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22517         of IN_LIB.
22518         (STAP_PROBE_ASM): Likewise.
22520 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22522         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22523         __mach_init in dlopened libc.
22525 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
22527         * sysdeps/arm/preconfigure.ac: Delete EABI check.
22528         * sysdeps/arm/preconfigure: Regenerate.
22530 2014-11-21  Roland McGrath  <roland@hack.frob.com>
22532         * nptl/pthread_create.c (__pthread_create_2_1): Set
22533         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
22534         when copying values from IATTR into PD.
22536 2014-11-21  Will Newton  <will.newton@linaro.org>
22537             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
22539         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
22540         Refactor inline-asm.  Also add comment.
22542         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22543         ElfW macro instead of hardcoded Elf64 types.
22544         (la_aarch64_gnu_pltenter): Likewise.
22545         * sysdeps/aarch64/dl-machine.h
22546         (elf_machine_runtime_setup): Use ElfW(Addr).
22548         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22549         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22550         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22551         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22552         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22553         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22554         (R_AARCH64_TLS_DTPMOD): This.
22555         (R_AARCH64_TLS_DTPREL64): Rename to ...
22556         (R_AARCH64_TLS_DTPREL): This.
22557         (R_AARCH64_TLS_TPREL64): Rename to ...
22558         (R_AARCH64_TLS_TPREL): This.
22559         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22560         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22561         R_AARCH64_TLS_TPREL64.
22562         (elf_machine_rela): Likewise.
22564 2014-11-21  Torvald Riegel  <triegel@redhat.com>
22566         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
22567         by setting it to 0.  64b atomics are not supported currently.
22569 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22571         [BZ #16469]
22572         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
22573         search domain names.
22575 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22577         [BZ #16469]
22578         * NEWS: Update.
22579         * resolv/res_query.c (__libc_res_nquerydomain): Retain
22580         trailing dot.
22581         * posix/tst-getaddrinfo5.c: New.
22582         * posix/Makefile (tests): Add it.
22584 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22586         [BZ #14498]
22587         * NEWS: Fixed.
22588         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
22589         after parsing line but before break_if_match.
22590         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
22591         if there is a protocol mismatch.
22593 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
22595         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
22596         because the potential race is on the user-supplied stream.
22598 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22600         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
22601         string literal if not passed a buffer.
22602         * manual/job.texi (ctermid): Update reasoning, note deviation
22603         from posix, suggest mtasurace when not passed a buffer, for
22604         future non-preliminary safety notes.
22606 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22608         * manual/users.texi (cuserid): Fix MT-Safety note for the case
22609         of not passing it a buffer.
22610         Reported by Peng Haitao.
22612 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22614         * manual/Makefile ($(objpfx)stamp-summary): Require
22615         check-safety.sh to pass.
22616         * manual/check-safety.sh: Wish for verification that every
22617         @deftypefn and @deftypefun is followed by a @safety remark.
22619 2014-11-20  Roland McGrath  <roland@hack.frob.com>
22621         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
22623         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
22624         PTHREAD_CANCEL_ASYNCHRONOUS.
22625         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
22626         send SIGCANCEL.
22628         * nptl/default-sched.h: New file.
22629         * sysdeps/unix/sysv/linux/default-sched.h: New file.
22630         * nptl/pthread_create.c: Include it.
22631         (__pthread_create_2_1): Use collect_default_sched instead of making
22632         Linux syscalls here directly.
22634 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22636         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
22637         __pthread_once): Use C11 atomics.
22639 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22641         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
22643 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22645         * include/atomic.h (__atomic_link_error, __atomic_check_size,
22646         atomic_thread_fence_acquire, atomic_thread_fence_release,
22647         atomic_thread_fence_seq_cst, atomic_load_relaxed,
22648         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
22649         atomic_compare_exchange_weak_relaxed,
22650         atomic_compare_exchange_weak_acquire,
22651         atomic_compare_exchange_weak_release,
22652         atomic_exchange_acquire, atomic_exchange_release,
22653         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
22654         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
22655         atomic_fetch_and_acquire,
22656         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
22658 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22660         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
22661         USE_ATOMIC_COMPILER_BUILTINS): Define.
22662         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
22663         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22664         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
22665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22666         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
22667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22668         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
22669         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22670         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
22671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22672         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
22673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22674         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
22675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22676         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
22677         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22678         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22679         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22680         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22681         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22682         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
22683         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22684         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22685         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22686         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
22687         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22688         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22689         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22690         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
22691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22692         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
22693         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22694         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
22695         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22696         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22697         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22698         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
22699         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22700         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
22701         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22703 2014-11-19  Roland McGrath  <roland@hack.frob.com>
22705         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
22706         the sched_priority value here.  It was already checked when the user
22707         called pthread_attr_setschedparam.
22709         * nptl/tst-bad-schedattr.c: New file.
22710         * nptl/Makefile (tests): Add it.
22712 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
22713             Florian Weimer  <fweimer@redhat.com>
22714             Joseph Myers  <joseph@codesourcery.com>
22715             Adam Conrad  <adconrad@0c3.net>
22716             Andreas Schwab  <schwab@suse.de>
22717             Brooks  <bmoses@google.com>
22719         [BZ #17625]
22720         * wordexp-test.c (__dso_handle): Add prototype.
22721         (__register_atfork): Likewise.
22722         (__app_register_atfork): New function.
22723         (registered_forks): New global.
22724         (register_fork): New function.
22725         (test_case): Add 3 new tests for WRDE_CMDSUB.
22726         (main): Call __app_register_atfork.
22727         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
22728         fork count is non-zero fail the test.
22729         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
22730         is set.
22731         (parse_dollars): Remove check for WRDE_NOCMD.
22732         (parse_dquote): Likewise.
22734 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22736         * Makeconfig (built-modules): List non-library modules to be
22737         built.
22738         (module-cppflags): Include libc-modules.h for
22739         everything except shlib-versions.v.i.
22740         (CPPFLAGS): Use it.
22741         (before-compile): Add libc-modules.h.
22742         ($(common-objpfx)libc-modules.h,
22743         $(common-objpfx)libc-modules.stmp): New targets.
22744         (common-generated): Add libc-modules.h and libc-modules.stmp.
22745         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
22746         * include/libc-symbols.h: Don't include libc-modules.h.
22747         * include/libc-modules.h: Remove file.
22748         * scripts/gen-libc-modules.awk: New script to generate
22749         libc-modules.h.
22750         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
22751         Depend on libc-modules.stmp.
22753         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
22755         * Makeconfig (in-module): Get value of libof set for the
22756         translation unit.
22757         (CPPFLAGS): Use $(in-module).
22758         * Makerules: Don't suffix routine names for nonlib.
22759         * include/libc-modules.h: New file.
22760         * include/libc-symbols.h: Include libc-modules.h
22761         (IS_IN): New macro to replace IS_IN_* macros.
22762         * elf/Makefile: Set libof-* for each routine.
22763         * elf/rtld-Rules: Likewise.
22764         * extra-modules.mk: Likewise.
22765         * iconv/Makefile: Likewise.
22766         * iconvdata/Makefile: Likewise.
22767         * locale/Makefile: Likewise.
22768         * malloc/Makefile: Likewise.
22769         * nss/Makefile: Likewise.
22770         * sysdeps/gnu/Makefile: Likewise.
22771         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
22772         * sysdeps/unix/sysv/linux/Makefile: Likewise.
22773         * sysdeps/s390/s390-64/Makefile: Likewise.
22774         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
22775         CPPFLAGS for nscd instead of nonlib.
22777 2014-11-18  Roland McGrath  <roland@hack.frob.com>
22779         * nptl/createthread.c: New file.
22781         * nptl/createthread.c: Moved ...
22782         * sysdeps/unix/sysv/linux/createthread.c: ... here.
22784         * nptl/createthread.c: Add proper top-line comment.
22785         (do_clone): Folded into ...
22786         (create_thread): ... here.  Take new arguments STOPPED_START and
22787         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
22788         increment __nptl_threads, do event-reporting logic, do
22789         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
22790         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
22791         resource cleanup if sched_setaffinity or sched_setscheduler fails,
22792         just send SIGCANCEL.
22793         * nptl/pthread_create.c: Forward-declare create_thread before
22794         including createthread.c.
22795         (start_thread): Use new macro START_THREAD_DEFN to replace defining
22796         declaration, and new macro START_THREAD_SELF to replace argument.
22797         Remove return statement.
22798         (report_thread_creation): New function.
22799         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
22800         synchronization logic, and __nptl_nthreads increment here, around
22801         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
22802         PD->parent_cancelhandling here, before create_thread.  When
22803         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
22804         __deallocate_stack, and ENOMEM translation here.
22806 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
22808         [BZ #17616]
22809         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
22810         (mptwo): Rename to __mptwo.
22811         (__inv): Use __mptwo instead of mptwo.
22812         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
22813         (mptwo): Rename to __mptwo.
22814         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
22815         of mpone and __mptwo instead of mptwo.
22816         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
22817         instead of mpone.
22818         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22819         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
22820         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
22821         of mpone and __mptwo instead of mptwo.
22822         (__mpranred): Use __mpone instead of mpone.
22823         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
22824         variable.
22825         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22826         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22827         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22828         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22829         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22830         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22831         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22832         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22833         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22834         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22835         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22836         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22837         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22838         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22839         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22840         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22841         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22842         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22843         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22845 2014-11-18  Tom de Vries  <tom@codesoucery.com>
22847         * manual/signal.texi (Primitives Interrupted by Signals): In section,
22848         replace BSD Handler xref with BSD Signal Handling.
22850 2014-11-17  Richard Henderson  <rth@redhat.com>
22852         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
22853         (_FP_PACK_RAW_2): Remove.
22854         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
22855         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
22856         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
22857         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
22858         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
22859         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
22860         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
22861         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
22862         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
22863         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
22864         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
22865         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
22866         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
22867         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
22868         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
22869         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
22871 2014-11-14  Roland McGrath  <roland@hack.frob.com>
22873         * signal/signal.h [__USE_MISC]
22874         (struct sigvec): Remove type.
22875         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
22876         (sigvec): Remove declaration.
22877         * sysdeps/posix/sigvec.c: Moved ...
22878         * signal/sigvec.c: ... here, replacing old file.
22879         (struct sigvec): New type, copied from old signal.h definition.
22880         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
22881         (__sigvec): Convert definition to prototype.
22882         (sigvec): Replace weak_alias with compat_symbol.
22883         * signal/Versions (libc: GLIBC_2.21): New version set.
22884         * include/signal.h: Remove __sigvec declaration.
22885         * sysdeps/unix/bsd/sigvec.c: Remove file.
22886         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
22887         * manual/signal.texi (BSD Handler): Remove subsection.
22888         Move siginterrupt up to ...
22889         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
22890         (Blocking in BSD): Fold subsection into its parent.
22891         * NEWS: Mention sigvec removal.
22893 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22895         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
22896         (DLA_FMS): Make definition conditional only on [__FMA4__].
22897         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
22898         definition.
22900         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
22901         Make definition conditional only on [PROF].
22902         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
22903         definition.
22904         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
22905         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
22907         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
22908         !__GNUC__].
22909         * include/signal.h (__sigpause): Move declaration above call to
22910         libc_hidden_proto.
22911         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
22912         variable.
22913         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22914         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22916 2014-11-14  David S. Miller  <davem@davemloft.net>
22918         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
22919         Define before including <string/memcpy.c> and <string/mempcpy.c>.
22921 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22923         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
22924         * configure: Regenerated.
22925         * manual/install.texi (Tools for Compilation): Document a
22926         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
22927         compiler verified to work.
22928         * INSTALL: Regenerated.
22930         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
22931         redeclare with asm name.
22932         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
22933         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
22934         including <string.h>.
22935         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22936         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
22937         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22938         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
22939         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22940         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22941         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22943 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
22945         * stdlib/strtol.c (__strtol): Use prototype definition.
22947         [BZ #17594]
22948         * stdlib/strtol.c (SYM__): New macro.
22949         (SYM__1): Likewise.
22950         (__strtol): Likewise.
22951         (strtol): Rename to __strtol and define as weak alias of
22952         __strtol.  Use libc_hidden_weak.
22954 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22956         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
22957         Use numbered labels in inline assembly.
22959 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22961         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
22962         Add setjmp LIBC_PROBE.
22963         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
22964         Likewise.
22965         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
22966         Add longjmp, longjmp_target LIBC_PROBE.
22967         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
22968         Likewise.
22970 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22972         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22973         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
22974         to get rid of unused variable warning.
22976 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22978         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
22979         Check for unwind_backtrace ==  NULL only in SHARED case.
22980         (__backchain_backtrace): Compile only in SHARED case.
22981         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
22982         Likewise.
22983         (__backchain_backtrace): Declare as static.
22985 2014-11-12  Roland McGrath  <roland@hack.frob.com>
22987         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
22988         (__libc_multiple_threads_ptr): Variable moved ...
22989         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
22991 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
22993         * conform/GlibcConform.pm: New file.
22994         * conform/conformtest.pl: Use GlibcConform module.
22995         * conform/linknamespace.pl: New file.
22996         * conform/list-header-symbols.pl: Likewise.
22997         * conform/Makefile (linknamespace-symlists-base): New variable.
22998         (linknamespace-symlists-tests): Likewise.
22999         (linknamespace-header-base): Likewise.
23000         (linknamespace-header-tests): Likewise.
23001         (tests-special): Add new tests.
23002         ($(linknamespace-symlists-tests)): New rule.
23003         (linknamespace-libs): New variable.
23004         ($(objpfx)symlist-stdlibs): New rule.
23005         ($(linknamespace-header-tests)): Likewise.
23006         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
23007         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
23008         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
23009         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
23010         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
23011         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
23012         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
23013         (test-xfail-ISO/math.h/linknamespace): Likewise.
23014         (test-xfail-ISO/signal.h/linknamespace): Likewise.
23015         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
23016         (test-xfail-ISO/time.h/linknamespace): Likewise.
23017         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23018         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
23019         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23020         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23021         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23022         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23023         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23024         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23025         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23026         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23027         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23028         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23029         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23030         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
23031         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
23032         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23033         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
23034         (test-xfail-XPG3/search.h/linknamespace): Likewise.
23035         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
23036         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23037         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
23038         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23039         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23040         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
23041         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23042         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23043         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
23044         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
23045         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23046         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
23047         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23048         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23049         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23050         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23051         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
23052         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
23053         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
23054         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
23055         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23056         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
23057         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23058         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
23059         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23060         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23061         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23062         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
23063         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
23064         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23065         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23066         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
23067         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23068         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23069         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
23070         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23071         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23072         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23073         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23074         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23075         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23076         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23077         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23078         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23079         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
23080         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23081         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23082         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23083         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
23084         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23085         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23086         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
23087         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23088         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23089         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23090         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23091         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23092         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23093         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
23094         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
23095         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23096         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
23097         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23098         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
23099         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23100         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23101         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23102         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
23103         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23104         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23105         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23106         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
23107         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
23108         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
23109         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23110         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23111         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23112         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23113         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
23114         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
23115         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23116         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23117         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23118         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23119         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23120         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23121         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23122         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23123         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23124         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23125         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
23126         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23127         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23128         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
23129         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23130         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23131         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23132         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23133         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23134         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23135         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23136         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23137         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23138         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23139         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23140         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23141         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23142         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23143         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
23144         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23145         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23146         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23147         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23148         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23149         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
23150         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23151         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23152         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23153         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23154         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23155         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23156         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23157         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23158         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23159         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23160         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23161         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23162         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23163         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23164         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23165         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23166         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23168         [BZ #17589]
23169         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23170         of fgets_unlocked.
23172         [BZ #17585]
23173         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23174         (memmem): Rename to __memmem and define as weak alias of
23175         __memmem.  Use libc_hidden_weak.
23176         (__memmem): Use libc_hidden_def.
23177         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23178         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23179         memmem.
23181         [BZ #17582]
23182         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23183         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23184         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23185         and define as weak alias of __fgets_unlocked.  Use
23186         libc_hidden_weak.
23187         (__fgets_unlocked): Use libc_hidden_def.
23188         * include/stdio.h (__fgets_unlocked): Declare.  Use
23189         libc_hidden_proto.
23190         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23191         __fgets_unlocked instead of fgets_unlocked.
23192         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23193         (GET_NPROCS_CONF_PARSER): Likewise.
23194         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23195         (GET_NPROCS_CONF_PARSER): Likewise.
23197         [BZ #17574]
23198         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23199         weak alias of __wmemset.  Use libc_hidden_weak.
23200         (__wmemset): Use libc_hidden_def.
23201         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23202         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23203         of wmemset.
23205         [BZ #17573]
23206         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23207         with asm name __mempcpy.
23208         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23210         [BZ #17572]
23211         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23212         and define as weak alias of __rawmemchr.
23213         (__rawmemchr): Do not define as strong alias of rawmemchr.
23215         [BZ #17571]
23216         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23217         alias of __qsort_r.
23218         (qsort): Call __qsort_r instead of qsort_r.
23219         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23220         (__qsort_r): Declare.  Call libc_hidden_proto.
23221         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23222         instead of qsort_r.
23223         * nscd/gai.c (__qsort_r): Define to qsort_r.
23224         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23225         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23226         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23228         [BZ #17570]
23229         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23230         define as weak alias of __malloc_info.
23232         [BZ #17584]
23233         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23234         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23235         (__rewinddir): Use libc_hidden_def.
23236         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23237         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23238         (__rewinddir): Use libc_hidden_def.
23239         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23240         weak alias of __rewinddir.  Don't use libc_hidden_def.
23241         (__rewinddir): Use libc_hidden_def.
23242         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23243         (__rewinddir): Use libc_hidden_proto.
23244         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23245         rewinddir.
23246         (__getcwd): Use __rewinddir instead of rewinddir.
23248         [BZ #17583]
23249         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23250         alias of __fileno.  Use libc_hidden_weak.
23251         (__fileno): Use libc_hidden_def.
23252         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23253         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23254         alias of __ftello.
23255         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23256         __ftello.
23257         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23258         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23259         libc_hidden_def.
23260         (fread_unlocked): Don't use libc_hidden_ver.
23261         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23262         and define as weak alias of __fread_unlocked.  Don't use
23263         libc_hidden_def.
23264         (__fread_unlocked): Use libc_hidden_def.
23265         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23266         (ftello): Don't use libc_hidden_proto.
23267         (__ftello): Declare.  Use libc_hidden_proto.
23268         (fread_unlocked): Don't use libc_hidden_proto.
23269         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23270         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23271         and __ftello instead of fileno, fread_unlocked and ftello.
23273 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23275         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23276         GOT12.
23277         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23278         Likewise.
23279         (_dl_start_user): Likewise.
23280         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23282 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23283             Siddhesh Poyarekar  <siddhesh@redhat.com>
23285         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23286         Move argv and envp down instead of moving argc up.
23287         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23289 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23291         [BZ #17506]
23292         * test-skeleton.c (main): Return successful if one of
23293         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23294         * string/tst-strcoll-overflow.c: Define expected status.
23296 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23298         [BZ #17475]
23299         * locale/iso-639.def: Define Bhili and Tulu language codes.
23301 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23303         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23305 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23307         [BZ #17555]
23308         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23310 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23312         * configure.ac: Updated check of minimal required version to
23313         2.22.
23314         * manual/install.texi (Tools for Compilation): Updated version
23315         number.
23316         * configure: Regenerated.
23317         * INSTALL: Likewise.
23319 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23321         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23322         __tls_get_addr.
23324 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23326         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23327         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23328         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23329         libc_hidden_weak.
23330         (waitpid): Define as alias of __waitpid.
23331         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23332         __waitpid.
23333         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23334         libc_hidden_weak.
23335         (waitpid): Define as alias of __waitpid.
23336         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23337         __libc_waitpid alias.
23338         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23339         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23340         Likewise.
23341         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23342         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23343         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23344         alias.
23345         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23346         __waitpid.
23347         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23348         libc_hidden_weak.
23349         (waitpid): Define as alias of __waitpid.
23351 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23353         * manual/llio.texi: Add comment that write safety has been
23354         fixed in Linux.
23356         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23357         (localplt-build-dso): Add elf/ld.so.
23358         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23359         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23360         and free for ld.so.
23361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23362         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23364         Likewise.
23365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23366         Likewise.
23367         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23368         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23369         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23370         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23371         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23372         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23373         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23374         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23375         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23376         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23377         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23379 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23381         [BZ #14132]
23382         * include/libc-symbols.h (INTUSE): Remove macro.
23383         (INTDEF): Likewise.
23384         (INTVARDEF): Likewise.
23385         (_INTVARDEF): Likewise.
23386         (INTDEF2): Likewise.
23387         (INTVARDEF2): Likewise.
23388         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23389         rtld_hidden_def instead of INTVARDEF.
23390         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23391         (_dl_starting_up_internal): Remove declaration.
23392         (_dl_starting_up): Use rtld_hidden_proto.
23393         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23394         declaration.
23395         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23396         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23397         _dl_starting_up.
23398         * elf/dl-writev.h (_dl_writev): Likewise.
23399         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23400         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23401         _dl_starting_up_internal.
23403 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23405         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23406         test-skeleton.c.
23408 2014-11-05  Will Newton  <will.newton@linaro.org>
23410         * benchtests/Makefile: (bench-malloc): Add malloc thread
23411         scalability benchmark.
23412         * benchtests/bench-malloc-threads.c: New file.
23414 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23416         * sysdeps/aarch64/strchrnul.S: New file.
23418 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23420         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23421         definition.
23422         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23423         Likwise.
23424         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23425         Likewise.
23426         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23427         Likewise.
23428         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23429         Likewise.
23430         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23431         Likewise.
23433 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23435         * catgets/test-gencat.c: Use test-skeleton.c.
23436         * catgets/tst-catgets.c: Likewise.
23437         * csu/tst-empty.c: Likewise.
23438         * elf/tst-audit2.c: Likewise.
23439         * elf/tst-global1.c: Likewise.
23440         * elf/tst-pathopt.c: Likewise.
23441         * elf/tst-piemod1.c: Likewise.
23442         * elf/tst-tls10.c: Likewise.
23443         * elf/tst-tls11.c: Likewise.
23444         * elf/tst-tls12.c: Likewise.
23445         * gnulib/tst-gcc.c: Likewise.
23446         * iconvdata/tst-e2big.c: Likewise.
23447         * iconvdata/tst-loading.c: Likewise.
23448         * iconv/tst-iconv1.c: Likewise.
23449         * iconv/tst-iconv2.c: Likewise.
23450         * inet/test-inet6_opt.c: Likewise.
23451         * inet/tst-gethnm.c: Likewise.
23452         * inet/tst-network.c: Likewise.
23453         * inet/tst-ntoa.c: Likewise.
23454         * intl/tst-codeset.c: Likewise.
23455         * intl/tst-gettext2.c: Likewise.
23456         * intl/tst-gettext3.c: Likewise.
23457         * intl/tst-ngettext.c: Likewise.
23458         * intl/tst-translit.c: Likewise.
23459         * io/test-stat.c: Likewise.
23460         * libio/test-fmemopen.c: Likewise.
23461         * libio/tst-freopen.c: Likewise.
23462         * libio/tst-sscanf.c: Likewise.
23463         * libio/tst-ungetwc1.c: Likewise.
23464         * libio/tst-ungetwc2.c: Likewise.
23465         * libio/tst-widetext.c: Likewise.
23466         * localedata/tst-ctype.c: Likewise.
23467         * localedata/tst-digits.c: Likewise.
23468         * localedata/tst-leaks.c: Likewise.
23469         * localedata/tst-mbswcs1.c: Likewise.
23470         * localedata/tst-mbswcs2.c: Likewise.
23471         * localedata/tst-mbswcs3.c: Likewise.
23472         * localedata/tst-mbswcs4.c: Likewise.
23473         * localedata/tst-mbswcs5.c: Likewise.
23474         * localedata/tst-setlocale.c: Likewise.
23475         * localedata/tst-trans.c: Likewise.
23476         * localedata/tst-wctype.c: Likewise.
23477         * localedata/tst-xlocale1.c: Likewise.
23478         * login/tst-grantpt.c: Likewise.
23479         * malloc/tst-calloc.c: Likewise.
23480         * malloc/tst-malloc.c: Likewise.
23481         * malloc/tst-mallocstate.c: Likewise.
23482         * malloc/tst-mcheck.c: Likewise.
23483         * malloc/tst-mtrace.c: Likewise.
23484         * malloc/tst-obstack.c: Likewise.
23485         * math/atest-exp2.c: Likewise.
23486         * math/atest-exp.c: Likewise.
23487         * math/atest-sincos.c: Likewise.
23488         * math/test-matherr.c: Likewise.
23489         * math/test-misc.c: Likewise.
23490         * math/test-powl.c: Likewise.
23491         * math/tst-definitions.c: Likewise.
23492         * misc/tst-dirname.c: Likewise.
23493         * misc/tst-efgcvt.c: Likewise.
23494         * misc/tst-fdset.c: Likewise.
23495         * misc/tst-hsearch.c: Likewise.
23496         * misc/tst-mntent2.c: Likewise.
23497         * nptl/tst-sem7.c: Likewise.
23498         * nptl/tst-sem8.c: Likewise.
23499         * nptl/tst-sem9.c: Likewise.
23500         * nss/test-netdb.c: Likewise.
23501         * posix/tst-fnmatch.c: Likewise.
23502         * posix/tst-getlogin.c: Likewise.
23503         * posix/tst-gnuglob.c: Likewise.
23504         * posix/tst-mmap.c: Likewise.
23505         * pwd/tst-getpw.c: Likewise.
23506         * resolv/tst-inet_ntop.c: Likewise.
23507         * rt/tst-timer.c: Likewise.
23508         * stdio-common/test-fseek.c: Likewise.
23509         * stdio-common/test-popen.c: Likewise.
23510         * stdio-common/test-vfprintf.c: Likewise.
23511         * stdio-common/tst-cookie.c: Likewise.
23512         * stdio-common/tst-fileno.c: Likewise.
23513         * stdio-common/tst-gets.c: Likewise.
23514         * stdio-common/tst-obprintf.c: Likewise.
23515         * stdio-common/tst-perror.c: Likewise.
23516         * stdio-common/tst-sprintf2.c: Likewise.
23517         * stdio-common/tst-sprintf3.c: Likewise.
23518         * stdio-common/tst-sprintf.c: Likewise.
23519         * stdio-common/tst-swprintf.c: Likewise.
23520         * stdio-common/tst-tmpnam.c: Likewise.
23521         * stdio-common/tst-unbputc.c: Likewise.
23522         * stdio-common/tst-wc-printf.c: Likewise.
23523         * stdlib/tst-environ.c: Likewise.
23524         * stdlib/tst-fmtmsg.c: Likewise.
23525         * stdlib/tst-limits.c: Likewise.
23526         * stdlib/tst-rand48-2.c: Likewise.
23527         * stdlib/tst-rand48.c: Likewise.
23528         * stdlib/tst-random2.c: Likewise.
23529         * stdlib/tst-random.c: Likewise.
23530         * stdlib/tst-strtol.c: Likewise.
23531         * stdlib/tst-strtoll.c: Likewise.
23532         * stdlib/tst-tls-atexit.c: Likewise.
23533         * stdlib/tst-xpg-basename.c: Likewise.
23534         * string/test-ffs.c: Likewise.
23535         * string/tst-bswap.c: Likewise.
23536         * string/tst-inlcall.c: Likewise.
23537         * string/tst-strtok.c: Likewise.
23538         * string/tst-strxfrm.c: Likewise.
23539         * sysdeps/x86_64/tst-audit10.c: Likewise.
23540         * sysdeps/x86_64/tst-audit3.c: Likewise.
23541         * sysdeps/x86_64/tst-audit4.c: Likewise.
23542         * sysdeps/x86_64/tst-audit5.c: Likewise.
23543         * time/tst-ftime_l.c: Likewise.
23544         * time/tst-getdate.c: Likewise.
23545         * time/tst-mktime3.c: Likewise.
23546         * time/tst-mktime.c: Likewise.
23547         * time/tst-posixtz.c: Likewise.
23548         * time/tst-strptime2.c: Likewise.
23549         * time/tst-strptime3.c: Likewise.
23550         * wcsmbs/tst-btowc.c: Likewise.
23551         * wcsmbs/tst-mbrtowc.c: Likewise.
23552         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23553         * wcsmbs/tst-wchar-h.c: Likewise.
23554         * wcsmbs/tst-wcpncpy.c: Likewise.
23555         * wcsmbs/tst-wcrtomb.c: Likewise.
23556         * wcsmbs/tst-wcsnlen.c: Likewise.
23557         * wcsmbs/tst-wcstof.c: Likewise.
23559 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23561         [BZ #14132]
23562         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
23563         INTDEF.
23564         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
23565         declaration.
23566         (_dl_mcount): Use rtld_hidden_proto.
23567         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
23568         _dl_mcount.
23569         * elf/rtld.c (_rtld_global_ro): Likewise.
23571         [BZ #14132]
23572         * elf/dl-init.c (_dl_init): Don't use INTDEF.
23573         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
23574         of _dl_init_internal.
23575         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
23576         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
23577         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
23578         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
23579         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
23580         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23581         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
23582         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
23583         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
23584         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
23585         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
23586         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
23587         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23588         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23589         * sysdeps/tile/dl-start.S (_start): Likewise.
23590         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
23591         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
23593         [BZ #14132]
23594         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
23595         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
23596         (rtld_progname): Make macro definition unconditional.
23597         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
23598         INTDEF.
23599         (dlmopen_doit): Do not use INTUSE with _dl_argv.
23600         (dl_main): Likewise.
23601         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23602         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
23603         instead of _dl_argv_internal.
23604         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23605         __GI__dl_argv instead of INTUSE(_dl_argv).
23606         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
23607         __GI__dl_argv instead of _dl_argv_internal.
23609         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
23610         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
23611         macro.
23612         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
23613         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
23614         New macro.
23615         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
23616         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
23617         macro.
23618         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
23619         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
23621 2014-11-04  Andreas Schwab  <schwab@suse.de>
23623         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
23625 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23627         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
23628         mtvsrd instruction in binary form.
23630 2014-11-03  Andreas Schwab  <schwab@suse.de>
23632         [BZ #17522]
23633         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
23634         for less than MB_LEN_MAX use a local buffer of that size.
23635         * libio/tst-fputws.c: New file.
23636         * libio/Makefile (tests): Add tst-fputws.
23638 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
23640         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
23641         the size of the fpu_fr.fpu_dregs[] array.
23643 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
23645         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
23646         (__nanosleep): Do not define as alias.
23647         (nanosleep): Define as alias of __nanosleep.
23648         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
23649         __libc_nanosleep name.
23651 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23653         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
23654         install.texi in comment.
23656 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23658         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
23659         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
23660         ... add here and use lwsync or sync ...
23661         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
23662         ... and add here using lwsync.
23664 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23666         * elf/dl-machine-reject-phdr.h: New file.
23667         * elf/dl-load.c: #include that.
23668         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
23669         if that returned true.
23671 2014-10-31  Roland McGrath  <roland@hack.frob.com>
23673         [BZ #17496]
23674         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
23675         gen-as-const-headers chunk.  Add a big scare comment after the last
23676         safe place to touch before-compile.
23678 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23680         * manual/install.texi (Tools for Compilation): Update autoconf
23681         version requirements.
23682         * INSTALL: Regenerated.
23684         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
23685         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
23686         (__libc_pselect): Likewise.
23688         [BZ #14138]
23689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
23690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23694 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23696         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
23697         correct barrier instruction.
23698         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
23699         Likewise.
23700         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
23701         Likewise.
23703 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23705         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
23706         after defining inlines.  Instead, just use parens to defeat macro
23707         expansion of __isctype in its declaration.
23709 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23711         * include/sys/uio.h (__libc_readv): Remove declaration.
23712         (__libc_writev): Likewise.
23713         * misc/readv.c (__libc_readv): Rename to __readv.
23714         (__readv): Do not define as alias.
23715         (readv): Define as alias of __readv.
23716         * misc/writev.c (__libc_writev): Rename to __writev.
23717         (__writev): Do not define as alias.
23718         (writev): Define as alias of __writev.
23719         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
23720         (__readv): Do not define as alias.
23721         (readv): Define unconditionally as alias of __readv.
23722         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
23723         (__writev): Do not define as alias.
23724         (writev): Define unconditionally as alias of __writev.
23725         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
23726         name.
23727         (writev): Do not define __libc_writev name.
23729 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23731         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
23732         (convert_charseq): New function, broken out of ...
23733         (use_from_charmap): ... here.  Call it.
23734         (use_to_charmap): Use convert_charseq and free instead of duplicating
23735         its code with a variable-length stack struct.
23737 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23739         * include/fcntl.h (__libc_creat): Remove declaration.
23740         * io/creat.c (__libc_creat): Rename to creat.
23741         (creat): Do not define as alias.
23742         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
23743         of creat instead of __libc_creat.
23744         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
23745         to creat.
23746         (creat): Do not define as alias.
23747         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
23748         __libc_creat.
23749         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
23750         __libc_creat name.
23751         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
23752         Likewise.
23754 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
23756         * manual/llio.texi: Add comments discussing why write() may be
23757         considered MT-unsafe on Linux.
23759 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
23761         * dl-load.c (local_strdup): Remove.
23762         (expand_dynamic_string_token): Use __strdup.
23763         (decompose_rpath): Likewise.
23764         (_dl_map_object): Likewise.
23766 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
23768         [BZ #14132]
23769         * sysdeps/generic/unwind-dw2-fde.c
23770         (__register_frame_info_bases_internal): Do not declare.
23771         (__register_frame_info_table_bases_internal): Likewise.
23772         (__deregister_frame_info_bases_internal): Likewise.
23773         (__register_frame_info_bases): Declare and use hidden_proto before
23774         definition.  Use hidden_def instead of INTDEF.
23775         (__register_frame_info_table_bases): Likewise.
23776         (__deregister_frame_info_bases): Likewise.
23777         (__register_frame_info): Do not use INTUSE.
23778         (__register_frame): Likewise.
23779         (__register_frame_info_table): Likewise.
23780         (__register_frame_table): Likewise.
23781         (__deregister_frame_info): Likewise.
23782         (__deregister_frame): Likewise.
23784 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
23786         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23787         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
23788         not undefine.
23789         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
23790         Likewise.
23791         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
23792         Likewise.
23794 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
23796         [BZ #14138]
23797         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
23798         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
23799         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
23800         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
23801         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
23802         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
23803         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
23804         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
23805         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
23806         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
23807         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
23808         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
23809         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
23810         syscall.
23811         (setfsuid): Likewise.
23812         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
23813         (setfsuid): Likewise.
23814         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
23815         (setfsuid): Likewise.
23816         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
23817         Likewise.
23818         (setfsuid): Likewise.
23819         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
23820         (setfsuid): Likewise.
23821         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
23822         Likewise.
23823         (setfsuid): Likewise.
23825 2014-10-27  Andreas Schwab  <schwab@suse.de>
23827         [BZ #17501]
23828         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
23829         check for Slow_SSE4_2 feature bit.
23830         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
23831         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23832         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
23833         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
23835 2014-10-24  Roland McGrath  <roland@hack.frob.com>
23837         * configure.ac: Validate compiler version with a empirical test of
23838         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
23839         $CC -v output.
23840         * configure: Regenerated.
23842         * inet/htons.c (htons): Prototypify.
23843         * inet/htonl.c (htonl): Likewise.
23845 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23847         * string/strncat.c (strncat): Improve performance by using strlen.
23849 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23851         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
23853 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23855         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
23856         Call libc_fetestexcept_aarch64.
23858 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23860         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
23861         Call libc_feholdexcept_aarch64.
23863 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23865         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
23866         Call get_rounding_mode.
23868 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23870         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23871         Simplify logic.
23873 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23875         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
23876         Simplify logic.
23878 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
23880         [BZ #14138]
23881         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
23882         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
23883         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
23884         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
23885         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
23886         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
23887         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
23888         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
23889         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
23890         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
23891         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23892         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
23893         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
23894         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
23895         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
23896         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
23897         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
23898         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
23899         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
23900         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
23901         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
23902         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
23903         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
23904         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
23905         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
23906         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
23907         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
23908         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
23909         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
23910         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
23911         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
23912         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
23913         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
23914         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
23915         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
23916         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
23917         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
23918         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
23919         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
23920         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
23921         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
23922         syscall.
23923         (geteuid): Likewise.
23924         (getgid): Likewise.
23925         (getuid): Likewise.
23926         (getresgid): Likewise.
23927         (getresuid): Likewise.
23928         (getgroups): Likewise.
23929         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
23930         (geteuid): Likewise.
23931         (getgid): Likewise.
23932         (getuid): Likewise.
23933         (getresgid): Likewise.
23934         (getresuid): Likewise.
23935         (getgroups): Likewise.
23936         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
23937         (geteuid): Likewise.
23938         (getgid): Likewise.
23939         (getuid): Likewise.
23940         (getresgid): Likewise.
23941         (getresuid): Likewise.
23942         (getgroups): Likewise.
23943         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
23944         Likewise.
23945         (geteuid): Likewise.
23946         (getgid): Likewise.
23947         (getuid): Likewise.
23948         (getresgid): Likewise.
23949         (getresuid): Likewise.
23950         (getgroups): Likewise.
23951         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
23952         (geteuid): Likewise.
23953         (getgid): Likewise.
23954         (getuid): Likewise.
23955         (getresgid): Likewise.
23956         (getresuid): Likewise.
23957         (getgroups): Likewise.
23958         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
23959         Likewise.
23960         (geteuid): Likewise.
23961         (getgid): Likewise.
23962         (getuid): Likewise.
23963         (getgroups): Likewise.
23965         [BZ #14138]
23966         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
23967         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
23968         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
23969         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23970         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
23971         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
23972         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
23973         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
23974         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
23975         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
23976         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
23977         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
23978         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
23979         __chown.
23980         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
23981         (lchown): Likewise.
23982         (fchown): Likewise.
23983         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
23984         Likewise.
23985         (lchown): Likewise.
23986         (fchown): Likewise.
23987         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
23988         (lchown): Likewise.
23989         (fchown): Likewise.
23990         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
23991         Likewise.
23992         (lchown): Likewise.
23993         (fchown): Likewise.
23995 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23997         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
23998         Simplify logic.
24000 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24002         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24003         Cleanup logic.
24005 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24007         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24008         Remove unused include.
24010 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24012         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
24013         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
24014         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
24015         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
24017 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
24018             Helge Deller <deller@gmx.de>
24020         [BZ #17508]
24021         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
24022         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
24023         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
24025 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
24027         [BZ #14132]
24028         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
24029         Remove macro definition.
24030         (__ashrdi3_v_glibc20): Likewise.
24031         (__lshrdi3_v_glibc20): Likewise.
24032         (__cmpdi2_v_glibc20): Likewise.
24033         (__ucmpdi2_v_glibc20): Likewise.
24034         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
24035         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24036         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24037         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24038         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24039         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
24041 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24043         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
24044         old GNU extension [0] syntax.
24045         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
24046         alloca rather than an array member with variable length.
24047         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
24048         * nscd/nscd.c (invalidate_db): New function, broken out of ...
24049         (parse_opt): ... here.  Likewise use alloca there.
24050         Validate the -i argument before checking for rootness.
24051         (send_shutdown): New function, broken out of ...
24052         (parse_opt): ... here.
24054 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24056         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
24057         macro to get at the _rt_local_ro field.
24058         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
24059         ([PIC] case) or _dl_hwcap ([!PIC] case).
24060         * sysdeps/arm/setjmp.S: Likewise.
24062         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
24063         * sysdeps/arm/configure.ac: New check to define it.
24064         * sysdeps/arm/configure: Regenerated.
24065         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
24066         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
24067         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
24068         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
24069         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
24070         Use move/movt pair instead of a load.
24071         (LDST_GLOBAL): Macro removed.
24072         (LDR_GLOBAL): New macro replaces it.
24073         (LDR_HIDDEN): New macro.
24074         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
24075         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
24077         * setjmp/tst-setjmp-static.c: New file.
24078         * setjmp/Makefile (tests): Add it.
24079         (tests-static): New variable.
24081 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
24083         [BZ #17485]
24084         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
24086 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
24088         [BZ #14132]
24089         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
24091 2014-10-21  Roland McGrath  <roland@hack.frob.com>
24093         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
24095 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24097         * io/fts.c (dirent_not_directory): New function.
24098         (fts_build): Call it.
24100 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24102         * nptl/version.c (__nptl_main): Use normal __write rather than
24103         INTERNAL_SYSCALL.
24104         (banner): Update copyright years.
24106         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
24107         gettimeofday.
24108         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24109         * nptl/pthread_cond_timedwait.c: Likewise.
24110         * nptl/pthread_mutex_timedlock.c: Likewise.
24111         * nptl/sem_timedwait.c: Likewise.
24113         * sysdeps/nptl/bits/libc-lock.h
24114         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24115         (__libc_lock_init_recursive): Return void, not 0.
24116         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
24117         (__libc_rwlock_init): Likewise.
24118         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
24120 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24122         [BZ #15215]
24123         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
24124         (__pthread_once_slow): ... here.
24125         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
24126         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
24128 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24130         [BZ #15215]
24131         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
24132         __PTHREAD_ONCE_FORK_GEN_INCR): New.
24133         * sysdeps/nptl/fork.c (__libc_fork): Use them.
24134         * nptl/pthread_once.c (__pthread_once): Likewise.
24135         Update comments.
24137 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
24139         [BZ #14138]
24140         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
24141         name.
24142         (writev): Use __libc_writev as strong name.
24143         * sysdeps/unix/sysv/linux/readv.c: Remove file.
24144         * sysdeps/unix/sysv/linux/writev.c: Likewise.
24146 2014-10-17  Roland McGrath  <roland@hack.frob.com>
24148         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
24150         * sysdeps/i386/nptl/tls.h
24151         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
24152         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
24153         New macros.
24154         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
24155         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
24156         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
24157         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
24158         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24159         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24161         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24162         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24163         on [__NR_futex].
24164         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24165         broken out of ...
24166         (__pthread_mutex_init): ... here.  Call it.
24167         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24168         Conditionalize PI cases on [__NR_futex].
24169         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24170         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24171         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24173         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24174         conditional on [SIGSETXID].
24175         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24176         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24177         is defined.  Likewise for SIGSETXID.
24178         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24179         Conditionalize definitions on [SIGSETXID].
24180         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24181         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24182         unblocking on [SIGCANCEL].
24184         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24185         [__NR_set_robust_list].
24187 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24189         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24190         (do_compare): Likewise.
24192 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24194         [BZ #15884]
24195         * string/strcoll_l.c: Don't include stdio.h.
24196         (coll_seq): Remove members idxarr and rulearr.
24197         (get_next_seq_cached): Remove function.
24198         (get_next_seq): Likewise.
24199         (get_next_seq_nocache): Rename to get_next_seq.
24200         (do_compare): Remove function.
24201         (do_compare_nocache): Rename to do_compare.
24202         (STRCOLL): Remove weight and rules cache.
24204 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24206         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24207         * sysdeps/arm/sfp-machine.h: ... to here.
24208         * sysdeps/arm/Implies: Remove arm/soft-fp.
24210 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24212         * conform/data/sys/utsname.h-data (*_t): Allow.
24213         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24214         [POSIX] (WEXITED): Do not expect constant.
24215         [POSIX] (WSTOPPED): Likewise.
24216         [POSIX] (WNOHANG): Likewise.
24217         [POSIX] (WNOWAIT): Likewise.
24218         [POSIX] (siginfo_t): Do not expect type or elements.
24219         [POSIX] (pid_t): Do not expect type.
24220         [POSIX] (signal.h): Do not allow header.
24221         [POSIX] (sys/resource.h): Likewise.
24222         [POSIX] (si_*): Do not allow pattern.
24223         [POSIX] (W*): Likewise.
24224         [POSIX] (P_*): Likewise.
24225         [POSIX] (BUS_*): Likewise.
24226         [POSIX] (CLD_*): Likewise.
24227         [POSIX] (FPE_*): Likewise.
24228         [POSIX] (ILL_*): Likewise.
24229         [POSIX] (POLL_*): Likewise.
24230         [POSIX] (SEGV_*): Likewise.
24231         [POSIX] (SI_*): Likewise.
24232         [POSIX] (TRAP_*): Likewise.
24233         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24234         variable.
24236 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24238         [BZ #12926]
24239         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24240         infinite loop when __recvmsg returns 0.
24242 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24244         * CANCEL-FCT-WAIVE: Remove file.
24245         * CANCEL-FILE-WAIVE: Likewise.
24247         [BZ #14132]
24248         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24249         instead of INTVARDEF.
24250         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24251         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24252         rtld_hidden_data_def instead of INTVARDEF.
24253         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24254         * elf/dl-deps.c (expand_dst): Likewise.
24255         * elf/dl-load.c (_dl_dst_count): Likewise.
24256         (_dl_dst_substitute): Likewise.
24257         (decompose_rpath): Likewise.
24258         (_dl_init_paths): Likewise.
24259         (open_path): Likewise.
24260         (_dl_map_object): Likewise.
24261         * elf/rtld.c (dl_main): Likewise.
24262         (process_dl_audit): Likewise.
24263         (process_envvars): Likewise.
24264         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24265         Remove declaration.
24266         (__libc_enable_secure): Use rtld_hidden_proto.
24268 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24270         * elf/dl-load.c
24271         (add_path): New function broken out of _dl_rtld_di_serinfo.
24272         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24274 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24276         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24277         parentheses around macro arguments.
24278         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24279         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24280         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24281         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24282         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24283         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24284         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24287         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24288         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24289         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24290         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24291         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24292         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24293         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24294         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24295         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24296         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24297         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24298         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24299         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24300         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24302         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24303         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24304         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24305         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24306         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24307         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24308         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24309         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24310         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24311         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24312         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24313         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24314         Likewise.
24315         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24316         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24317         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24318         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24321         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24322         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24323         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24324         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24325         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24326         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24327         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24329         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24330         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24331         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24332         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24333         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24334         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24335         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24336         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24337         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24338         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24339         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24340         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24341         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24342         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24343         (_FP_FRAC_SRS_1): Likewise.
24344         (_FP_FRAC_CLZ_1): Likewise.
24345         (_FP_MUL_MEAT_1_imm): Likewise.
24346         (_FP_MUL_MEAT_1_wide): Likewise.
24347         (_FP_MUL_MEAT_1_hard): Likewise.
24348         (_FP_SQRT_MEAT_1): Likewise.
24349         (_FP_FRAC_ASSEMBLE_1): Likewise.
24350         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24351         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24352         (__FP_CLZ_2): Likewise.
24353         (_FP_MUL_MEAT_2_wide): Likewise.
24354         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24355         (_FP_MUL_MEAT_2_gmp): Likewise.
24356         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24357         (_FP_SQRT_MEAT_2): Likewise.
24358         (_FP_FRAC_ASSEMBLE_2): Likewise.
24359         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24360         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24361         (_FP_FRAC_CLZ_4): Likewise.
24362         (_FP_MUL_MEAT_4_wide): Likewise.
24363         (_FP_MUL_MEAT_4_gmp): Likewise.
24364         (_FP_SQRT_MEAT_4): Likewise.
24365         (_FP_FRAC_ASSEMBLE_4): Likewise.
24366         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24367         * soft-fp/op-common.h (_FP_CMP): Likewise.
24368         (_FP_CMP_EQ): Likewise.
24369         (_FP_CMP_UNORD): Likewise.
24370         (_FP_TO_INT): Likewise.
24371         (_FP_FROM_INT): Likewise.
24372         [!__FP_CLZ] (__FP_CLZ): Likewise.
24373         (_FP_DIV_HELP_imm): Likewise.
24374         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24375         Likewise.
24376         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24377         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24378         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24379         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24380         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24381         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24382         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24384         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24385         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24386         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24387         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24388         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24389         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24390         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24391         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24392         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24393         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24394         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24395         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24396         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24397         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24400         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24404         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24405         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24406         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24407         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24408         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24409         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24410         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24411         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24412         (FP_UNPACK_RAW_SP): Likewise.
24413         (FP_PACK_RAW_S): Likewise.
24414         (FP_PACK_RAW_SP): Likewise.
24415         (FP_UNPACK_S): Likewise.
24416         (FP_UNPACK_SP): Likewise.
24417         (FP_UNPACK_SEMIRAW_S): Likewise.
24418         (FP_UNPACK_SEMIRAW_SP): Likewise.
24419         (FP_PACK_S): Likewise.
24420         (FP_PACK_SP): Likewise.
24421         (FP_PACK_SEMIRAW_S): Likewise.
24422         (FP_PACK_SEMIRAW_SP): Likewise.
24423         (_FP_SQRT_MEAT_S): Likewise.
24424         (FP_CMP_S): Likewise.
24425         (FP_CMP_EQ_S): Likewise.
24426         (FP_CMP_UNORD_S): Likewise.
24427         (FP_TO_INT_S): Likewise.
24428         (FP_FROM_INT_S): Likewise.
24430         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24432         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24433         (FP_EX_INVALID_IMZ): Likewise.
24434         (FP_EX_INVALID_IMZ_FMA): Likewise.
24435         (FP_EX_INVALID_ISI): Likewise.
24436         (FP_EX_INVALID_ZDZ): Likewise.
24437         (FP_EX_INVALID_IDI): Likewise.
24438         (FP_EX_INVALID_SQRT): Likewise.
24439         (FP_EX_INVALID_CVI): Likewise.
24440         (FP_EX_INVALID_VC): Likewise.
24441         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24442         "invalid" exceptions.
24443         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24444         (_FP_ADD_INTERNAL): Likewise.
24445         (_FP_MUL): Likewise.
24446         (_FP_FMA): Likewise.
24447         (_FP_DIV): Likewise.
24448         (_FP_CMP_CHECK_NAN): Likewise.
24449         (_FP_SQRT): Likewise.
24450         (_FP_TO_INT): Likewise.
24451         (FP_EXTEND): Likewise.
24453 2014-10-09  Allan McRae  <allan@archlinux.org>
24455         * po/fr.po: Update French translation from translation project.
24457 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24459         [BZ #14132]
24460         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24461         of INTDEF.
24462         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24463         (__cxa_atexit): Use libc_hidden_proto.
24464         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24466         [BZ #14132]
24467         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24468         declaration.
24469         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24470         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24471         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24472         [!_ISOMAC] (__iswctype_internal): Likewise.
24473         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24474         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24475         alias.
24476         (fcntl): Remove __fcntl_internal alias.
24477         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24478         __connect_internal alias.
24479         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24480         Likewise.
24482         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24483         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24484         FP_DENORM_ZERO.
24485         (_FP_CHECK_FLUSH_ZERO): New macro.
24486         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24487         (_FP_CMP): Likewise.
24488         (_FP_CMP_EQ): Likewise.
24489         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24490         FP_DENORM_ZERO.
24491         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24492         (FP_TRUNC): Likewise.
24494         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24495         treated as invalid conversion, not as normal exponent.
24497         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24498         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24499         (_FP_CMP_EQ): Likewise.
24500         (_FP_CMP_UNORD): Likewise.
24501         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24502         (FP_CMP_EQ_D): Likewise.
24503         (FP_CMP_UNORD_D): Likewise.
24504         * soft-fp/extended.h (FP_CMP_E): Likewise.
24505         (FP_CMP_EQ_E): Likewise.
24506         (FP_CMP_UNORD_E): Likewise.
24507         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24508         (FP_CMP_EQ_Q): Likewise.
24509         (FP_CMP_UNORD_Q): Likewise.
24510         * soft-fp/single.h (FP_CMP_S): Likewise.
24511         (FP_CMP_EQ_S): Likewise.
24512         (FP_CMP_UNORD_S): Likewise.
24513         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24514         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24515         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24516         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24517         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24518         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24519         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24520         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24521         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24522         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24523         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24524         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24525         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24526         to FP_CMP_Q.
24527         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
24528         FP_CMP_Q.
24529         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
24530         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
24531         FP_CMP_EQ_Q.
24532         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
24533         FP_CMP_Q.
24534         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
24535         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
24536         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
24537         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
24538         FP_CMP_EQ_Q.
24539         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
24540         FP_CMP_Q.
24541         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
24542         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24543         FP_CMP_EQ_Q.
24544         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24545         FP_CMP_Q.
24546         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24547         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24548         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24549         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24550         FP_CMP_EQ_Q.
24552         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24553         a subnormal result, set the underflow exception if trapping on
24554         underflow is enabled.
24555         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24556         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24557         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24558         redefine to 0.
24559         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24560         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24561         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24562         * soft-fp/extendxftf2.c (__extendxftf2): Use
24563         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
24565         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
24566         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
24567         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24568         FP_HANDLE_EXCEPTIONS.
24569         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
24570         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24571         FP_HANDLE_EXCEPTIONS.
24572         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
24573         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24574         FP_HANDLE_EXCEPTIONS.
24575         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
24576         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24577         FP_HANDLE_EXCEPTIONS.
24579 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
24581         [BZ #14132]
24582         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
24583         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
24584         use INTUSE.
24585         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24586         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
24587         Remove alias.
24588         (__adjtimex): Define using libc_hidden_ver.
24589         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
24590         Remove declaration.
24591         (ntp_gettime): Call __adjtimex directly.
24592         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
24593         Remove declaration.
24594         (ntp_gettimex): Call __adjtimex directly.
24595         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
24596         __adjtimex_internal alias.
24598 2014-10-08  Roland McGrath  <roland@hack.frob.com>
24600         [BZ #17460]
24601         * nscd/nscd.c (more_help): Rewrite list of tables collection
24602         using xstrdup and asprintf.
24604         * nscd/nscd_conf.c: Remove local xstrdup declaration.
24606 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24607             Roland McGrath  <roland@hack.frob.com>
24609         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
24610         (do_lookup_unique): ... local function 'enter' here; update callers.
24612 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
24614         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
24615         compat_symbol calls on [SHARED].
24616         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
24617         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
24618         Remove.
24619         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24620         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
24621         (oldsetrlimit): Remove.
24622         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24624         (lchown): New syscall entry.
24625         (oldsetrlimit): Remove.
24626         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24627         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
24628         (oldsetrlimit): Remove.
24629         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24631         [BZ #14138]
24632         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
24633         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
24634         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
24635         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
24636         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24637         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
24638         (fchown): Likewise.
24639         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
24640         (fchown): Likewise.
24641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
24642         Likewise.
24644 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24646         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
24647         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
24648         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
24649         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
24650         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
24651         Likewise.
24652         (__old_sem_post): Likewise.
24654 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
24656         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
24657         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
24658         HAVE_CLOCK_GETTIME_VSYSCALL macros.
24659         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
24660         Use INLINE_VSYSCALL macro.
24661         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
24662         __vdso_clock_gettime.
24663         * sysdeps/unix/sysv/linux/tile/init-first.c
24664         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
24665         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
24666         __vdso_clock_gettime.
24668         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
24669         to set up frame more cleanly.
24671         * sysdeps/tile/memcmp.c: New file.
24673         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
24675         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
24676         * sysdeps/tile/tilegx/strcasestr.c: New file.
24677         * sysdeps/tile/tilegx/strnlen.c: New file.
24678         * sysdeps/tile/tilegx/strstr.c: New file.
24680         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
24682 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
24684         * nptl/tst-setuid3.c: Write errors to stdout.
24686 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24688         * elf/dl-deps.c
24689         (preload): New functions broken out of _dl_map_object_deps.
24690         (_dl_map_object_deps):  Remove a nested function. Update call sites.
24692 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
24694         [BZ #14138]
24695         * sysdeps/unix/sysv/linux/execve.c: Remove file.
24696         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
24698 2014-10-01  Steve Ellcey  <sellcey@mips.com>
24700         * sysdeps/mips/strcmp.S: New.
24702 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
24704         [BZ #14138]
24705         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
24706         (linkat): Likewise.
24707         (mkdirat): Likewise.
24708         (readlinkat): Likewise.
24709         (renameat): Likewise.
24710         (symlinkat): Likewise.
24711         (unlinkat): Likewise.
24712         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
24713         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
24714         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
24715         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
24716         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
24717         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
24718         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
24720 2014-09-30  Will Newton  <will.newton@linaro.org>
24722         * math/math.h: Define long double math functions if
24723         _LIBC_TEST is defined.
24724         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
24726         * localedata/Makefile: Move assignment to tests-special
24727         into an ifdef testing run-built-tests.
24728         * timezone/Makefile: Likewise.
24730 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
24732         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
24733         with $(BASH) not $(SHELL).
24735 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
24736             Matthew LeGendre  <legendre1@llnl.gov>
24738         [BZ #17411]
24739         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
24740         l_reloc_result.
24742 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24744         * stdio-common/printf_fp.c
24745         (hack_digit): New function, broken out of ...
24746         (__printf_fp): ... local function here.  Update call sites.
24747         hack_digit now takes an additional parameter that is a pointer
24748         to a struct of the referenced locals.  Those locals moved inside
24749         the struct and references updated.
24751 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
24753         * aclocal.m4: Require autoconf 2.69.
24754         * configure: Regenerated.
24755         * sysdeps/aarch64/configure: Likewise.
24756         * sysdeps/alpha/configure: Likewise.
24757         * sysdeps/arm/armv7/configure: Likewise.
24758         * sysdeps/arm/configure: Likewise.
24759         * sysdeps/ia64/configure: Likewise.
24760         * sysdeps/mach/configure: Likewise.
24761         * sysdeps/mips/configure: Likewise.
24762         * sysdeps/s390/configure: Likewise.
24763         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
24764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
24766         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
24767         file.
24768         * sysdeps/ia64/configure.ac: Likewise.
24770 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
24772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
24773         specify symbol version for ld.so.  Do not include entry for
24774         libpthread.
24775         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24776         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24777         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24779         [BZ #14171]
24780         * Makeconfig [$(build-shared) = yes]
24781         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
24782         makefiles.
24783         [$(build-shared) = yes && $(soversions.mk-done) = t]
24784         ($(common-objpfx)gnu/lib-names.h): Remove rule.
24785         [$(build-shared) = yes && $(soversions.mk-done) = t]
24786         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
24787         to Makerules.
24788         [$(build-shared) = yes && $(soversions.mk-done) = t]
24789         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
24790         here.
24791         [$(build-shared) = yes && $(soversions.mk-done) = t]
24792         (common-generated): Don't append gnu/lib-names.h and
24793         gnu/lib-names.stmp here.
24794         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
24795         (lib-names-h-abi): New variable.
24796         [$(build-shared) = yes && $(soversions.mk-done) = t]
24797         (lib-names-stmp-abi): Likewise.
24798         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24799         abi-variants] (before-compile): Append
24800         $(common-objpfx)$(lib-names-h-abi).
24801         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24802         abi-variants] (common-generated): Append gnu/lib-names.h.
24803         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24804         abi-variants] (install-others-nosubdir): Depend on
24805         $(inst_includedir)/$(lib-names-h-abi).
24806         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24807         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
24808         [$(build-shared) = yes && $(soversions.mk-done) = t]
24809         ($(common-objpfx)$(lib-names-h-abi)): New rule.
24810         [$(build-shared) = yes && $(soversions.mk-done) = t]
24811         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
24812         [$(build-shared) = yes && $(soversions.mk-done) = t]
24813         (common-generated): Append $(lib-names-h-abi) and
24814         $(lib-names-stmp-abi).
24815         * scripts/lib-names.awk: Do not handle multi being set.
24816         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
24817         Remove variable.
24818         (abi-lp64_be-ld-soname): Likewise.
24819         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
24820         Likewise.
24821         (abi-hard-ld-soname): Likewise.
24822         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
24823         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
24824         Remove variable.
24825         (abi-o32_hard-ld-soname): Likewise.
24826         (abi-o32_soft_2008-ld-soname): Likewise.
24827         (abi-o32_hard_2008-ld-soname): Likewise.
24828         (abi-n32_soft-ld-soname): Likewise.
24829         (abi-n32_hard-ld-soname): Likewise.
24830         (abi-n32_soft_2008-ld-soname): Likewise.
24831         (abi-n32_hard_2008-ld-soname): Likewise.
24832         (abi-n64_soft-ld-soname): Likewise.
24833         (abi-n64_hard-ld-soname): Likewise.
24834         (abi-n64_soft_2008-ld-soname): Likewise.
24835         (abi-n64_hard_2008-ld-soname): Likewise.
24836         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
24837         Likewise.
24838         (abi-64-v2-ld-soname): Likewise.
24839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
24840         ld.so entries.
24841         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
24842         variable.
24843         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
24844         entry.
24845         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
24846         variable.
24847         (abi-64-ld-soname): Likewise.
24848         (abi-x32-ld-soname): Likewise.
24849         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
24850         entry.
24851         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24853 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
24855         [BZ #14138]
24856         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
24857         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
24858         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
24859         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
24860         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
24861         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
24862         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
24863         syscall entry for GLIBC_2.2 symbol version.
24864         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
24865         Likewise.
24866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24867         (setrlimit): Likewise.
24868         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
24869         Likewise.
24871 2014-09-23  Will Newton  <will.newton@linaro.org>
24873         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
24874         _LINUX_ARM_SYSDEP_H include guard too.
24875         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
24876         define.
24878 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24880         * sysdeps/unix/sysv/linux/eventfd.c:
24881         Make first argument unsigned.
24882         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
24883         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
24885 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
24887         [BZ #16852]
24888         * socket/recvmmsg.c (recvmmsg): Drop const argument.
24889         * socket/sys/socket.h: Likewise.
24890         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
24892 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24894         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
24896 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
24898         * time/tst-ftime.c: New test.
24899         * time/Makefile (tests): Add tst-ftime.
24901 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
24903         * soft-fp/extended.h: Fix comment formatting.
24904         * soft-fp/op-1.h: Likewise.
24905         * soft-fp/op-2.h: Likewise.
24906         * soft-fp/op-4.h: Likewise.
24907         * soft-fp/op-8.h: Likewise.
24908         * soft-fp/op-common.h: Likewise.
24909         * soft-fp/soft-fp.h: Likewise.
24911         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
24913 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
24915         [BZ #6652]
24916         * Makeconfig (soversions-default-setname): Remove variable.
24917         ($(common-objpfx)soversions.i): Don't pass default_setname to
24918         soversions.awk.
24919         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
24920         oldest_abi to abi-versions.awk.
24921         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
24922         * config.make.in (oldest-abi): Remove variable.
24923         * configure.ac (--enable-oldest-abi): Remove configure option.
24924         * configure: Regenerated.
24925         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
24926         text.
24927         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
24928         * scripts/soversions.awk: Do not handle default_setname variable.
24929         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
24930         variable.
24931         * sysdeps/mach/hurd/configure: Regenerated.
24932         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
24933         variable.
24934         * sysdeps/unix/sysv/linux/configure: Regenerated.
24936 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24938         * elf/Makefile (CFLAGS-interp.c): Remove.
24939         ($(elf-objpfx)runtime-linker.h): Generate header with linker
24940         path string.
24941         * elf/interp.c: Include generated runtime-linker.h
24943         * Makerules (lib%.so): Don't include $(+interp) in
24944         prerequisites.
24945         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
24946         * dlfcn/eval.c: Remove file.
24948         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
24949         macros.
24951         [BZ #17266]
24952         * misc/sys/cdefs.h: Define __extern_always_inline for clang
24953         4.2 and newer.
24955         [BZ #17370]
24956         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
24958 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24959             Jakub Jelinek  <jakub@redhat.com>
24961         [BZ #17266]
24962         * libio/stdio.h: Check definition of __fortify_function
24963         instead of __extern_always_inline to include bits/stdio2.h.
24964         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
24965         check if __extern_always_inline is defined.
24966         [__USE_MISC || __USE_XOPEN]: Likewise.
24967         [__USE_ISOC99] Likewise.
24968         * misc/sys/cdefs.h (__fortify_function): Define only if
24969         __extern_always_inline is defined.
24970         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
24971         __extern_always_inline and __extern_inline only for g++-4.3
24972         and newer or a compatible gcc.
24974 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
24976         [BZ #17371]
24977         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24978         last change to handle zero prefix length.
24980 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24982         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
24983         _SC_REGEX_VERSION.
24985         * posix/getconf.c (vars): Add _POSIX_IPV6 and
24986         _POSIX_RAW_SOCKETS.
24988 2014-09-13  Allan McRae  <allan@archlinux.org>
24990         * po/ru.po: Update Russian translation from translation project.
24992 2014-09-12  Roland McGrath  <roland@hack.frob.com>
24994         * locale/programs/locale.c (show_locale_vars): Inline local function
24995         into its sole call site.  Clean up some style nits.
24996         (print_item): New function, broken out of ...
24997         (show_info): ... local function here.  Clean up style nits.
24999         * locale/programs/ld-ctype.c (set_one_default): New function, broken
25000         out of ...
25001         (set_class_defaults): ... local function set_default here.
25002         Define set_default as a macro locally to pass constant parameters.
25003         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
25004         rather than a shared local.
25006         * stdlib/rpmatch.c (try): New function, broken out of ...
25007         (rpmatch): ... local function here.  Also, prototypify definition.
25009 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
25011         * scripts/soversions.awk: Do not handle configuration names.
25012         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
25013         vendor and os variables to soversions.awk.
25014         * configure.ac: Do not modify gnu-* host_os.
25015         * configure: Regenerated
25016         * shlib-versions: Remove first column with configuration names.
25017         * nptl/shlib-versions: Likewise.
25018         * nptl_db/shlib-versions: Likewise.
25019         * sysdeps/hppa/shlib-versions: Likewise.
25020         * sysdeps/m68k/shlib-versions: Likewise.
25021         * sysdeps/mach/hurd/shlib-versions: Likewise.
25022         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
25023         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
25024         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
25025         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
25026         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
25027         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
25028         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
25029         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
25030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25031         Likewise.
25032         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25033         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25034         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25035         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25036         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25037         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
25038         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25039         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25042         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
25043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25044         Regenerated.
25045         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
25046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25047         Condition symbol version definitions on [HAVE_ELFV2_ABI].
25049         * shlib-versions: Remove OS-specific entries.  Moved to files in
25050         sysdeps.
25051         * sysdeps/mach/hurd/shlib-versions: New file.
25052         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25054         * nptl/shlib-versions: Remove architecture-specific entries.
25055         Moved to files in sysdeps.
25056         * shlib-versions: Likewise.
25057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
25058         file.
25059         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25060         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25061         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25062         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25064         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
25065         (UDP_NO_CHECK6_RX): Likewise.
25067 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25069         * sysdeps/posix/sysconf.c (__sysconf): Spell
25070         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25072 2014-08-12  Florian Weimer  <fweimer@redhat.com>
25074         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
25075         loading.
25076         * iconv/Versions (__gconv_transliterate): Export for use from
25077         gconv modules.
25078         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
25079         (struct __gconv_trans_data, __gconv_trans_fct,
25080         __gconv_trans_context_fct, __gconv_trans_query_fct,
25081         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
25082         definitions.
25083         (struct __gconv_step_data): Remove __trans member.
25084         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
25085         longer hidden.  Remove unused trans_data argument.
25086         * iconv/gconv_int.h (struct trans_struct): Remove definition.
25087         (__gconv_translit_find): Remove declaration.
25088         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
25089         prototype.
25090         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
25091         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
25092         trans_data argument.  Add hidden definition.
25093         (__gconv_translit_find): Remove.
25094         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
25095         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25096         * iconv/skeleton.c: Remove transliteration initialization.
25097         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
25098         __gconv_step_data initialization.
25099         * libio/iofwide.c (__libio_translit_): Remove.
25100         (_IO_fwide): Adjust struct __gconv_step_data initialization.
25101         * wcsmbs/btowc.c (__btowc): Likewise.
25102         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25103         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25104         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25105         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25106         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
25107         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25108         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25109         * wcsmbs/wctob.c (wctob): Likewise.
25111 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25113         [BZ #16194]
25114         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
25115         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
25116         register usage.
25117         * sysdeps/x86/Makefile: Adjust.
25119 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25120             Roland McGrath  <roland@hack.frob.com>
25122         * locale/weight.h: Add include guard.
25123         (findidx): Make static rather than auto; take new parameters
25124         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
25125         * locale/weightwc.h: Likewise.
25126         * posix/fnmatch_loop.c
25127         (FCT): Change type of EXTRA from int32_t to wint_t.
25128         Don't include either header inside the function.
25129         Call FINDIDX rather than findidx, and pass new arguments.
25130         #undef FINDIDX at the end of the file.
25131         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
25132         FINDIDX before including fnmatch_loop.c for the non-wide version.
25133         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
25134         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25135         for the wide version.
25136         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
25137         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
25138         Pass new arguments to findidx.
25139         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
25140         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
25141         Don't #include it inside the function.  Pass new arguments to findidx.
25142         * posix/regex_internal.h
25143         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
25144         (re_string_elem_size_at): Don't #include it inside the function.
25145         Pass new arguments to findidx.
25146         * string/strcoll_l.c: #include WEIGHT_H at top level.
25147         (get_next_seq): Don't #include it inside the function.
25148         Pass new arguments to findidx.
25149         (get_next_seq_nocache): Likewise.
25150         * string/strxfrm_l.c: #include WEIGHT_H at top level.
25151         (STRXFRM): Don't #include it inside the function.
25152         Pass new arguments to findidx.
25154 2014-09-11  Florian Weimer  <fweimer@redhat.com>
25156         [BZ #17344]
25157         * malloc/malloc.c (unlink): Turn asserts into a call to
25158         malloc_printerr.
25160 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25162         [BZ #17370]
25163         * libio/wfileops (do_ftell_wide): Free OUT.
25165 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25167         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25169 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25171         [BZ #17363]
25172         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25173         group if the current group is empty.
25175 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25177         * benchtests/bench-memset.c (test_main): Add more test from size
25178         from 32 to 512 bytes.
25179         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25180         Add POWER8 memset object.
25181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25182         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25183         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25184         implementation.
25185         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25186         Likewise.
25187         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25188         multiarch POWER8 memset optimization.
25189         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25190         POWER8 memset optimization.
25192         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25193         Remove bzero multiarch objects.
25194         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25195         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25196         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25197         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25198         Remove define.
25199         [__bzero]: Redefine to specific name.
25200         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25201         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25202         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25203         define.
25204         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25205         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25207 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25209         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25210         warnings into errors.
25212         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25213         __cxa_thread_atexit_impl prototype.
25215 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25217         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25218         Fix capitalization of error message.
25220 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25222         * sysdeps/mips/preconfigure: Modify ABI tests.
25224 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25226         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25228 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25229             Carlos O'Donell  <carlos@systemhalted.org>
25231         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25232         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25233         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25234         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25235         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25236         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25237         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25238         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25239         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25240         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25241         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25242         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25243         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25244         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25245         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25246         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25247         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25248         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25249         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25250         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25251         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25252         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25253         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25254         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25255         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25256         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25257         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25258         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25259         Deconditionalize the code that was previously under [RESET_PID].
25260         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25261         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25262         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25263         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25264         include sysdep.h.
25266 2014-09-08  Allan McRae  <allan@archlinux.org>
25268         * version.h (RELEASE): Set to "development".
25269         (VERSION): Set to "2.20.90"
25271 2014-09-07  Allan McRae  <allan@archlinux.org
25273         * version.h (RELEASE): Set to "stable".
25274         (VERSION): Set to "2.20"
25275         * include/features.h (__GLIBC_MINOR__): Set to 20.
25277         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25278         Liebler.
25280         * po/ko.po: Update Korean translation from translation project.
25282 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25284         [BZ #17354]
25285         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25286         macro for handling signed relocations.
25288 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25290         [BZ #17325]
25291         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25292         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25293         assert.
25294         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25295         * iconvdata/ibm935.c (BODY): Likewise.
25296         * iconvdata/ibm937.c (BODY): Likewise.
25297         * iconvdata/ibm939.c (BODY): Likewise.
25298         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25299         assert.
25300         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25301         script.
25302         * iconvdata/run-iconv-test.sh: New test loop for checking for
25303         decoder crashers.
25305 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25307         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25308         libm_hidden_ver.
25310 2014-09-01  Allan McRae  <allan@archlinux.org>
25312         * po/eo.po: Update Esperanto translation from translation project.
25314         * po/ca.po: Update Catalan translation from translation project.
25316 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25318         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25319         __proc_dostop call.
25321 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25323         [BZ #17319]
25324         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25325         to call set_thread_area instead of hand written asm.
25326         (__NR_set_thread_area): Removed define.
25327         (TLS_FLAG_WRITABLE): Likewise.
25328         (__ASSUME_SET_THREAD_AREA): Remove check.
25329         (TLS_EBX_ARG): Remove define.
25330         (TLS_LOAD_EBX): Likewise.
25332 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25334         Simplify atomicity of socket creation in bind.
25336         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25337         looking up the name after linking the file.
25339 2014-08-27  Allan McRae  <allan@archlinux.org>
25341         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25343 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25345         [BZ #17187]
25346         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25347         trans_compare, open_translit, __gconv_translit_find):
25348         Remove module loading code.
25350 2014-08-26  Allan McRae  <allan@archlinux.org>
25352         * po/vi.po: Update Vietnamese translation from translation project.
25354         * po/uk.po: Update Ukrainian translation from translation project.
25356         * po/fr.po: Update French translation from translation project.
25358         * po/ru.po: Update Russian translation from translation project.
25360         * po/pl.po: Update Polish translation from translation project.
25362         * po/cs.po: Update Czech translation from translation project.
25364         * po/de.po: Update German translation from translation project.
25366         * po/bg.po: Update Bulgarian translation from translation project.
25368         * po/sv.po: Update Sweedish translation from translation project.
25370         * po/nl.po: Update Dutch translation from translation project.
25372         * po/es.po: Update Spanish translation from translation project.
25374 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25376         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25378         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25379         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25380         (CPPFLAGS-iconvconfig): Likewise.
25381         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25383         * include/libc-symbols.h: Remove unnecessary check for
25384         NOT_IN_libc.
25385         * nptl/pthreadP.h: Likewise.
25386         * sysdeps/aarch64/setjmp.S: Likewise.
25387         * sysdeps/alpha/setjmp.S: Likewise.
25388         * sysdeps/arm/sysdep.h: Likewise.
25389         * sysdeps/i386/setjmp.S: Likewise.
25390         * sysdeps/m68k/setjmp.c: Likewise.
25391         * sysdeps/posix/getcwd.c: Likewise.
25392         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25393         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25394         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25395         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25396         * sysdeps/sh/sh3/setjmp.S: Likewise.
25397         * sysdeps/sh/sh4/setjmp.S: Likewise.
25398         * sysdeps/unix/alpha/sysdep.h: Likewise.
25399         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25400         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25401         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25402         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25405         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25406         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25407         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25410         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25411         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25412         * sysdeps/x86_64/setjmp.S: Likewise.
25414 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25416         [BZ #17263]
25417         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25418         <stdint.h>.
25419         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25420         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25422 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25424         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25426         [BZ #17262]
25427         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25428         and __x86_64__ when disabling x87 inline functions.
25430 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25432         [BZ #17259]
25433         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25434         asm statement with __cpuid_count.
25436 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25438         * configure.ac: Change __ehdr_start code to dereference the struct.
25439         Run readelf on the output to look for relocations.
25440         * configure: Regenerated.
25442 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25444         [BZ #17261]
25445         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25446         value to 0.
25447         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25449 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25451         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25453 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25455         [BZ #16892]
25456         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25457         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25459 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25461         * malloc/malloc.c: Fix typo in comment.
25463 2014-08-09  Allan McRae  <allan@archlinux.org>
25465         * Regenerate libc.po.
25467 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25469         * intl/tst-gettext2.sh: Check every lang file for creation.
25471 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25473         * sysdeps/aarch64/fpu/math_private.h
25474         (libc_feholdsetround_noex_aarch64_ctx): New function.
25476 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25478         * sysdeps/arm/armv6/strcpy.S (strcpy):
25479         Fix performance issue in misaligned cases.
25481 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25483         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25484         Move definition from termios.h.
25485         (struct termio): Likewise.
25486         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25487         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25488         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25489         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25490         Likewise.
25491         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25492         Move definition to ioctl-types.h
25493         (struct termio): Likewise.
25494         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25495         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25496         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25497         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25498         Likewise.
25500 2014-08-05  Richard Henderson  <rth@redhat.com>
25502         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25503         exceptions.
25504         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25505         Add fraiseexcpt.
25506         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25507         Use __feraiseexcept.
25508         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25509         Protect libm symbols with IS_IN_libm.
25511         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25513 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25515         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25517 2014-08-04  Will Newton  <will.newton@linaro.org>
25519         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25520         file.
25522 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25524         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25525         variants for each function.
25527 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25529         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
25530         appended ...
25531         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
25532         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
25533         appended ...
25534         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
25535         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
25536         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25537         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
25538         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
25539         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
25540         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25541         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
25542         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25543         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25544         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25545         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25546         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25547         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25548         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25549         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25550         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25551         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25552         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25553         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25554         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25555         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25556         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25557         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25558         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25559         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25560         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25561         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25562         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
25563         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
25564         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
25565         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
25566         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
25567         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
25568         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
25569         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
25570         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
25571         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
25572         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
25573         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
25574         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
25575         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
25576         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
25577         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
25578         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
25579         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
25580         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
25581         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
25582         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
25583         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
25584         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
25585         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
25586         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
25587         Update #include.
25588         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
25589         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
25591 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25593         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
25594         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
25595         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
25596         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
25597         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
25598         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
25600 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25602         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
25603         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
25604         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25605         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
25607 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25609         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
25610         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
25611         (__libc_vfork): Define function under this name.
25612         (__vfork): Define as an alias.
25613         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
25614         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
25616 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25618         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
25619         that was previously under [RESET_PID].
25620         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
25622 2014-08-04  Andreas Schwab  <schwab@suse.de>
25624         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
25626 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
25628         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
25629         (main): Likewise.
25631 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25633         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
25635 2014-08-01  Richard Henderon  <rth@redhat.com>
25637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
25638         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
25639         typo in exact zero test.
25640         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25641         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25644 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25646         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
25647         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
25648         * sysdeps/arm/sysdep.h: ... here.
25649         [!__ASSEMBLER__]: Include <stdint.h>.
25651 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25653         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
25654         (HAVE_WCTYPE_H): Likewise.
25655         (HAVE_ISWCTYPE): Likewise.
25656         (ENABLE_NLS): Likewise.
25657         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
25658         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
25660         * posix/regex_internal.c: Check if DEBUG is defined and is
25661         set.
25663         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
25664         (HAVE_MBSRTOWCS): Likewise.
25665         * posix/fnmatch.c: Include string.h unconditionally.
25667 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25669         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
25670         reversal.
25672 2014-07-31  Roland McGrath  <roland@hack.frob.com>
25674         * sysdeps/generic/safe-fatal.h: New file.
25675         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
25676         * nptl/forward.c: Include it.
25677         (__pthread_unwind): Use __safe_fatal as default action, rather
25678         than a bogus use of INTERNAL_SYSCALL that could never work.
25680         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
25681         * configure.ac (libc_cv_builtin_trap): New test.
25682         * configure: Regenerated.
25683         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
25684         (ABORT_INSTRUCTION): Define using __builtin_trap.
25686         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
25687         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
25688         * sysdeps/nptl/nptl-signals.h: New file.
25689         * nptl/pthreadP.h: Include <nptl-signals.h>.
25691 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25693         * sysdeps/s390/s390-64/utf16-utf32-z9.c
25694         (ONE_DIRECTION): Define.
25695         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25696         (ONE_DIRECTION): Define.
25697         * sysdeps/s390/s390-64/utf8-utf32-z9.c
25698         (ONE_DIRECTION): Define.
25700 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25702         * sysdeps/s390/Makefile: Delete file.
25703         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
25704         * sysdeps/s390/__longjmp.c: Delete file.
25705         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
25706         Remove fields __flags and __reserved.
25707         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
25708         and add versioning.
25709         * sysdeps/s390/rtld-__longjmp.c: Delete file.
25710         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
25711         * sysdeps/s390/rtld-setjmp.S: Likewise.
25712         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
25713         * sysdeps/s390/s390-32/__longjmp.c: ... here.
25714         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
25715         * sysdeps/s390/s390-32/setjmp.S: ... here.
25716         Add versioning.
25717         (__sigsetjmp): Remove setting __flags field.
25718         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
25719         * sysdeps/s390/s390-64/__longjmp.c: ... here.
25720         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
25721         * sysdeps/s390/s390-64/setjmp.S: ... here.
25722         Add versioning.
25723         (__sigsetjmp): Remove setting __flags field.
25724         * sysdeps/s390/setjmp.S: Delete file.
25725         * sysdeps/s390/sigjmp.c: Likewise.
25726         * sysdeps/s390/v1-longjmp.c: Likewise.
25727         * sysdeps/s390/v1-setjmp.h: Likewise.
25728         * sysdeps/s390/v1-sigjmp.c: Likewise.
25729         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
25730         Remove v1-longjmp_chk.
25731         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
25732         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
25733         Include debug/longjmp_chk.c and add versioning.
25734         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
25735         Include nptl/pt-longjmp.c and add versioning.
25736         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
25737         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
25738         Include __longjmp.c.
25739         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25740         Move to ...
25741         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
25742         (__getcontext): Remove setting __flags field.
25743         Add versioning.
25744         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25745         Don't restore upper high grps.
25746         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
25747         Likewise.
25748         (__swapcontext): Remove setting uc_flags field.
25749         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
25750         Delete file.
25751         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25752         Include __longjmp.c.
25753         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25754         Move to ...
25755         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
25756         (__getcontext): Remove setting __flags field.
25757         Add versioning.
25758         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
25759         (__swapcontext): Remove setting uc_flags field.
25760         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
25761         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
25762         Remove fields uc_high_gprs and __reserved.
25763         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
25764         New file with reverted content.
25765         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
25766         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
25767         Regenerated.
25768         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
25769         Regenerated.
25771 2014-07-31  Andreas Schwab  <schwab@suse.de>
25773         * config.h.in (HAVE_IFUNC): Define to 0.
25774         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
25775         definedness.
25777 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
25779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25780         memmove-avx-unaligned, memcpy-avx-unaligned and
25781         mempcpy-avx-unaligned.
25782         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25783         Add tests for AVX memcpy functions.
25784         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
25785         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
25786         memcpy_chk.
25787         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
25788         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
25789         memmove_chk.
25790         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
25791         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
25792         mempcpy_chk.
25793         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
25794         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
25795         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
25797 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25799         [BZ #17213]
25800         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
25801         powerpc64le.
25803 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
25805         [BZ #16839]
25806         * manual/llio.texi: Add section about open file description locks.
25807         * manual/examples/ofdlocks.c: Example of open file description
25808         lock usage.
25809         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
25810         F_OFD_SETLK, and F_OFD_SETLKW.
25812 2014-07-23  Allan McRae  <allan@archlinux.org>
25814         * po/es.po: Update Spanish translation from translation project.
25816 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
25818         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
25820 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
25822         [BZ #17078]
25823         * sysdeps/arm/dl-machine.h (elf_machine_rela)
25824         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
25825         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
25827 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
25829         [BZ #17088]
25830         * math/fesetenv.c (__fesetenv)
25831         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
25832         * math/feupdateenv.c (__feupdateenv)
25833         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
25835         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
25836         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25837         (__ASSUME_SOCKETCALL): Do not define.
25839         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
25840         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
25841         (__ASSUME_SOCKETCALL): Do not define.
25842         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
25843         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25844         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25845         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25846         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25847         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
25848         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25849         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25851         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
25852         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
25853         (__ASSUME_SOCKETCALL): Do not define.
25854         (__ASSUME_IPC64): Define unconditionally.
25855         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25856         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25857         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25858         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25859         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
25860         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25861         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
25862         Likewise.
25864         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
25865         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
25866         (__ASSUME_SOCKETCALL): Do not define.
25867         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
25868         (__ASSUME_FUTEX_LOCK_PI): Likewise.
25869         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25870         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25871         (__ASSUME_REQUEUE_PI): Define unconditionally.
25872         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
25873         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
25874         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25875         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
25876         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25877         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25879         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
25880         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
25881         (__ASSUME_SOCKETCALL): Do not define.
25882         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
25883         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25884         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25885         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
25886         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25887         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25889         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
25890         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
25891         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25892         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
25893         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25894         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
25895         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25896         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
25897         (__ASSUME_GETCPU_SYSCALL): Likewise.
25899         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
25900         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
25901         cases for individual architectures.
25902         * sysdeps/gnu/configure: Regenerated.
25903         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
25904         LIBC_SLIBDIR_RTLDDIR.
25905         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
25906         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
25907         LIBC_SLIBDIR_RTLDDIR.
25908         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
25909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
25910         LIBC_SLIBDIR_RTLDDIR.
25911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25912         Regenerated.
25913         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
25914         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
25915         file.
25916         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
25917         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
25918         file.
25919         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
25920         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
25921         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
25922         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
25924         * sysdeps/aarch64/shlib-versions: Move to ...
25925         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
25926         * sysdeps/alpha/shlib-versions: Move to ...
25927         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
25928         * sysdeps/arm/shlib-versions: Move to ...
25929         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
25930         * sysdeps/hppa/shlib-versions: Move all contents except for
25931         libgcc_s entry to ...
25932         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
25933         entry from ...
25934         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
25935         * sysdeps/ia64/shlib-versions: Move to ...
25936         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
25937         entry from ...
25938         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
25939         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
25940         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
25941         * sysdeps/microblaze/shlib-versions: Move to ...
25942         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
25943         * sysdeps/mips/shlib-versions: Move to ...
25944         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
25945         entry from ...
25946         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
25947         * sysdeps/tile/shlib-versions: Move to ...
25948         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
25949         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
25950         from ...
25951         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
25952         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
25953         entry from ...
25954         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
25956 2014-07-17  Will Newton  <will.newton@linaro.org>
25958         * sysdeps/arm/bits/atomic.h
25959         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
25960         (__arch_compare_and_exchange_bool_16_int): Likewise.
25961         (__arch_compare_and_exchange_bool_64_int): Likewise.
25963         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
25964         into an #else block.
25966 2014-07-16  Roland McGrath  <roland@hack.frob.com>
25968         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
25969         just Linux configurations.  Test empirically that the compiler sets
25970         __ARM_EABI__, rather than using the tuple to decide.
25971         * sysdeps/arm/preconfigure: Regenerated.
25972         * sysdeps/unix/sysv/linux/arm/configure: File removed.
25973         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
25974         contents appended ...
25975         * sysdeps/arm/configure.ac: ... here.
25976         * sysdeps/arm/configure: Regenerated.
25978 2014-07-15  Roland McGrath  <roland@hack.frob.com>
25980         * nptl/pthread_kill.c: New file.
25981         * nptl/pthread_sigmask.c: New file.
25982         * nptl/pthread_sigqueue.c: New file.
25984         * sysdeps/nptl/lowlevellock.h: New file.
25985         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
25986         * sysdeps/nptl/lowlevellock-futex.h: New file.
25988         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
25989         Remove dead declarations.
25991 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
25993         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
25994         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
25995         config-cflags-avx2.
25996         * sysdeps/x86_64/configure.ac: Likewise.
25997         * sysdeps/i386/configure: Regenerated.
25998         * sysdeps/x86_64/configure: Likewise.
25999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26000         memset-avx2 only if config-cflags-avx2 is yes.
26001         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26002         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
26003         defined.
26004         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
26005         only if HAVE_AVX2_SUPPORT is defined.
26006         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26008 2014-07-14  Alan Modra  <amodra@gmail.com>
26010         [BZ #17153]
26011         * elf/elf.h (DT_PPC64_NUM): Correct value.
26012         * NEWS: Add to fixed bug list.
26014 2014-07-13  Jim Meyering  <meyering@fb.com>
26016         [BZ 17150]
26017         regex: don't deref NULL upon heap allocation failure
26018         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
26019         failure in one more place.
26020         To trigger the segfault, configure grep -with-included-regex,
26021         build it, and run these commands:
26022         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
26024 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
26026         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26028 2014-07-11  Richard Henderson  <rth@redhat.com>
26030         * sysdeps/aarch64/libm-test-ulps: Update.
26032 2014-07-10  Florian Weimer  <fweimer@redhat.com>
26034         [BZ #17135]
26035         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
26036         * nptl/allocatestack.c (__nptl_setxid_error): New function.
26037         (__nptl_setxid): Initialize error member.  Call
26038         __nptl_setxid_error.
26039         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
26040         * nptl/descr.h (struct xid_command): Add error member.
26041         * nptl/tst-setuid3.c: New file.
26042         * nptl/Makefile (tests): Add it.
26044 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26046         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
26047         New define.
26048         (__lll_trylock): Use __lll_base_trylock.
26049         (__lll_cond_trylock): Likewise.
26051 2014-07-10  Roland McGrath  <roland@hack.frob.com>
26053         * nptl/pthread_create.c (start_thread): Use atomic_or and
26054         lll_futex_wake directly rather than lll_robust_dead.
26055         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26056         (lll_robust_dead): Macro removed.
26057         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
26058         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26059         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26060         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26061         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26062         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26063         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26064         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26065         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26066         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26067         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26068         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26069         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26070         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26071         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26073         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26074         Use atomic_compare_and_exchange_val_acq directly rather than
26075         lll_robust_trylock.
26076         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26077         (__lll_robust_trylock, lll_robust_trylock): Removed.
26078         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26079         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26080         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26081         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26082         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26083         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26084         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26085         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26086         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26087         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26088         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26089         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26090         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26091         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26093 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26095         * manual/locale.texi (Locale Names): New section documenting
26096         locale name syntax.  Adjust menu and node chaining accordingly.
26097         (Choosing Locale): Reference Locale Names, Locale Categories.
26098         Mention setting LC_ALL=C.  Reflect that name syntax is now
26099         documented.
26100         (Locale Categories): New section title.  Reference Locale Names.
26101         LC_ALL is an environment variable, but not a category.
26102         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
26103         description, now in Locale Name.  Reference that section.  Locale
26104         name syntax is now documented.
26106 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26108         [BZ #17137]
26109         * locale/findlocale.c (name_present, valid_locale_name): New
26110         functions.
26111         (_nl_find_locale): Use the loc_name variable to store name
26112         candidates.  Call name_present and valid_locale_name to check and
26113         validate locale names.  Return an error if the locale is invalid.
26115 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26117         * locale/setlocale.c (setlocale): Use strdup for allocating
26118         composite name copy.
26120 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26122         Sync up with gnulib.
26123         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
26124         [!_LIBC && ENABLE_NLS]: Include gettext.h.
26125         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
26126         and _GL_ARG_NONNULL.
26127         [USE_UNLOCKED_IO]: Include unlocked-io.h.
26128         [!_LIBC]: Include code for Windows and Cygwin.
26129         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
26130         Include prototype for int strerror_r.
26131         [!_LIBC] (is_open): New function.
26132         (flush_stdout): New function.
26133         (print_errno_message): Use it.
26134         (error): Likewise.
26135         (error_at_line): Likewise.
26136         (error_tail) Add function attribute macros.  Use
26137         __builtin_expect.
26139         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26141         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
26143         * io/ftw.c: Include sys/param.h unconditionally.
26145         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
26147         [BZ #17125]
26148         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
26149         libc_freeres_ptr.
26150         (freecache): New function to free CACHE on exit.
26152         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
26153         initialization.
26155 2014-07-09  David S. Miller  <davem@davemloft.net>
26157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26159         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26160         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26161         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26162         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26163         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26164         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26165         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26166         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26167         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26168         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26169         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26170         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26171         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26173 2014-07-09  Andreas Schwab  <schwab@suse.de>
26175         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26176         output.
26177         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26178         (do_test): Likewise.
26180         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26182 2014-07-09  Will Newton  <will.newton@linaro.org>
26184         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26185         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26186         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26187         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26188         * sysdeps/hppa/start.S (_start): Likewise.
26190 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26192         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26194         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26195         defined.
26197 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26199         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26200         after checking that it is non-NULL.
26202         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26204 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26206         * sysdeps/powerpc/memmove.c: Remove file.
26207         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26208         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26209         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26210         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26211         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26212         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26213         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26214         string memmove instead of removed powerpc one.
26216         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26217         [weak_alias]: Fix compiler warning due trailing data.
26218         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26219         [weak_alias]: Likewise.
26220         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26221         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26223         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26224         (__libc_ifunc_impl_list): Add memmove functions.
26226 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26228         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26229         Remove code.
26230         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26231         Likewise.
26232         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26233         Likewise.
26234         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26235         Likewise.
26236         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26237         Likewise.
26238         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26239         Likewise.
26240         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26241         Likewise.
26242         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26243         Likewise.
26244         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26245         Likewise.
26246         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26247         Likewise.
26248         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26249         Likewise.
26250         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26251         Likewise.
26252         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26253         Likewise.
26254         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26255         Likewise.
26256         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26257         Likewise.
26258         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26259         Likewise.
26260         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26261         Likewise.
26263 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26265         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26266         to avoid alignment traps in non-cacheable memory.
26267         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26270         multiarch objects.
26271         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26272         file: multiarch power7 memmove.
26273         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26274         multiarch default memmove.
26275         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26276         multiarch memove for powerpc32/power4.
26278         * string/bcopy.c: Use full path to include memmove.c.
26279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26280         multiarch objects.
26281         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26282         bcopy for powerpc64.
26283         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26284         bcopy for powerpc64.
26285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26286         and memmove implementations.
26287         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26288         optimized multiarch memmove for POWER7/powerpc64.
26289         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26290         default multiarch memmove for powerpc64.
26291         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26292         multiarch for powerpc64.
26293         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26294         for POWER7/powerpc64.
26295         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26296         memmove for POWER7/powerpc64.
26298         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26299         glibc default one.
26301         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26302         __ELF_NATIVE_CLASS equal to 64.
26304 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26306         * sysdeps/nptl/lowlevellock.h: File removed.
26308         * NEWS: NPTL is no longer an add-on!
26309         * nptl/internaltypes.h: Moved ...
26310         * sysdeps/nptl/internaltypes.h: ... here.
26311         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26312         * sysdeps/nptl/fork.c: Likewise.
26313         * sysdeps/nptl/gai_misc.h: Likewise.
26314         * sysdeps/nptl/librt-cancellation.c: Likewise.
26315         * sysdeps/nptl/jmp-unwind.c: Likewise.
26316         * sysdeps/nptl/setxid.h: Likewise.
26317         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26318         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26319         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26320         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26321         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26322         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26323         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26324         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26325         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26326         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26327         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26328         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26329         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26330         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26331         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26332         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26333         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26334         * nptl/Makeconfig: Moved ...
26335         * sysdeps/nptl/Makeconfig: ... here.
26336         * nptl/configure: File removed.
26337         * nptl/ANNOUNCE: File removed.
26338         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26339         * sysdeps/unix/sysv/linux/configure: Regenerated.
26341         * nptl/Makefile (routines): Add libc_pthread_init,
26342         libc_multiple_threads, register-atfork and unregister-atfork.
26343         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26344         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26345         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26346         pthread-pi-defines.sym, structsem.sym.
26347         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26348         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26349         [$(subdir) = nptl] (tests): Add tst-setgetname.
26350         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26351         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26352         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26353         [!LIBC_SIGACTION]: Remove aliases.
26354         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26355         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26356         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26357         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26358         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26359         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26360         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26361         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26362         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26363         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26364         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26365         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26366         __libc_allocate_rtsig_private.
26367         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26368         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26369         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26370         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26371         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26372         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26373         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26374         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26375         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26376         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26377         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26378         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26379         * nptl/internaltypes.h: ... here.
26380         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26381         * sysdeps/nptl/jmp-unwind.c: ... here.
26382         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26383         * nptl/libc-lowlevellock.c: ... here.
26384         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26385         * nptl/libc_multiple_threads.c: ... here.
26386         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26387         * nptl/libc_pthread_init.c: ... here.
26388         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26389         * nptl/lowlevelbarrier.sym: ... here.
26390         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26391         * nptl/lowlevelcond.sym: ... here.
26392         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26393         * nptl/lowlevellock.c: ... here.
26394         * nptl/lowlevellock.h: Moved ...
26395         * sysdeps/nptl/lowlevellock.h: ... here.
26396         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26397         * nptl/lowlevelrobustlock.c: ... here.
26398         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26399         * nptl/lowlevelrobustlock.sym: ... here.
26400         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26401         * nptl/lowlevelrwlock.sym: ... here.
26402         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26403         * nptl/pt-fork.c: ... here.
26404         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26405         * nptl/pthread-pi-defines.sym: ... here.
26406         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26407         * nptl/pthread_attr_getaffinity.c: ... here.
26408         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26409         * nptl/pthread_attr_setaffinity.c: ... here.
26410         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26411         * nptl/pthread_mutex_cond_lock.c: ... here.
26412         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26413         Update #include.
26414         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26415         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26416         * nptl/pthread_once.c: ... here, replacing old file.
26417         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26418         * nptl/pthread_yield.c: ... here.
26419         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26420         * nptl/register-atfork.c: ... here.
26421         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26422         * nptl/sem_post.c: ... here.
26423         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26424         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26425         * nptl/sem_timedwait.c: ... here.
26426         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26427         * nptl/sem_trywait.c: ... here.
26428         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26429         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26430         * nptl/sem_wait.c: ... here.
26431         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26432         * nptl/structsem.sym: ... here.
26433         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26434         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26435         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26436         * nptl/unregister-atfork.c: ... here.
26437         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26438         * nptl/unwindbuf.sym: ... here.
26439         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26440         * sysdeps/nptl/fork.c: ... here.
26441         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26442         * sysdeps/nptl/fork.h: ... here.
26443         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26444         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26445         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26446         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26447         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26448         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26449         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26450         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26451         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26452         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26453         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26454         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26455         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26456         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26457         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26458         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26459         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26460         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26461         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26462         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26463         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26464         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26465         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26466         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26467         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26468         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26469         * sysdeps/unix/sysv/linux/raise.c: ... here.
26470         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26471         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26472         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26473         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26474         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26475         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26476         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26477         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26478         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26479         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26480         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26481         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26482         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26483         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26484         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26486 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26488         * sysdeps/generic/memcopy.h: Add comment for
26489         MEMCPY_OK_FOR_FWD_MEMMOVE.
26491 2014-07-04  Will Newton  <will.newton@linaro.org>
26493         * string/memchr.c: Merge from gnulib.
26494         [_LIBC]: Remove conditionals.
26495         (__ptr_t): Remove define.
26496         (LONG_MAX_32_BITS): Likewise.
26497         (LONG_MAX): Likewise.
26498         (MEMCHR): Use ANSI prototype and optimize algorithm.
26500         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26502 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26504         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26505         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26507         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26508         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26509         in a bare environment with no <stdlib.h> installed.
26510         * sysdeps/nptl/configure: Regenerated.
26512         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26514         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26515         AC_EGREP_CPP for kernel header checks, so they only succeed if
26516         including <linux/version.h> actually works right.
26517         * sysdeps/unix/sysv/linux/configure: Regenerated.
26519         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26520         value so it's not diagnosed as unused.
26522         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26523         thing) with "ifeq ($(subdir),rt)".
26525 2014-07-03  Richard Henderson  <rth@redhat.com>
26527         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
26528         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
26529         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
26531         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
26532         (math_force_eval): New.
26534         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26535         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26537         * sysdeps/alpha/fpu/s_round.c: Remove file.
26538         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
26540         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
26541         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26542         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26543         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26544         (_dl_start, print_statistics): Likewise.
26545         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26546         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26548         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26549         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26550         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26551         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26552         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26553         (HP_SMALL_TIMING_AVAIL): Define.
26554         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26555         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26556         (HP_SMALL_TIMING_AVAIL): Define.
26557         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26558         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26560         * sysdeps/aarch64/hp-timing.h: New file.
26562         * sysdeps/generic/hp-timing.h: Remove dead comment.
26563         * sysdeps/generic/hp-timing-common.h: New file.
26564         * sysdeps/alpha/hp-timing.h: Include it.
26565         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
26566         * sysdeps/i386/i686/hp-timing.h: Likewise.
26567         * sysdeps/ia64/hp-timing.h: Likewise.
26568         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26569         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26570         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26571         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26572         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
26573         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
26574         (hp_timing_t): New.
26576         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
26577         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
26578         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
26579         * elf/rtld.c (_dl_start_final): Likewise.
26580         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
26581         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26582         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26583         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26584         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26585         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26586         (HP_TIMING_DIFF_INIT): Remove.
26587         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26588         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26589         (HP_TIMING_DIFF_INIT): Remove.
26590         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26591         * sysdeps/i386/i686/hp-timing.c: Remove file.
26592         * sysdeps/x86_64/hp-timing.c: Remove file.
26593         * sysdeps/ia64/hp-timing.c: Remove file.
26594         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
26595         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
26596         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
26597         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
26599         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
26600         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
26601         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
26602         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26603         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26604         (HP_TIMING_ACCUM): Remove.
26605         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26606         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
26607         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26609         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
26610         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
26611         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
26612         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
26613         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
26614         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26615         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
26616         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26618         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
26620 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
26622         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
26624 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26626         Sync up with gettext.
26627         * intl/loadmsgcat.c: Define O_BINARY if not defined.
26628         [_MSC_VER]: Include malloc.h
26629         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
26630         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
26631         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
26632         TEMP_FAILURE_RETRY.  Cast return of alloca.
26633         [!_LIBC] Call gl_rwlock_init.
26634         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
26636 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26638         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
26639         before checking its value.
26641 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26643         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
26645         * debug/memcpy_chk.c: Don't include pagecopy.h.
26646         * debug/mempcpy_chk.c: Likewise.
26647         * string/memcpy.c: Likewise.
26648         * string/memmove.c: Likewise.
26649         * sysdeps/powerpc/memmove.c: Likewise.
26650         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
26651         definition of PAGE_COPY_FWD_MAYBE here...
26652         * sysdeps/generic/pagecopy.h: ... from here.
26653         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
26655 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26656             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26658         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
26659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
26660         optimizations.
26661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26662         (__libc_ifunc_impl_list): Likewise.
26663         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
26664         multiarch strcat for PPC64.
26665         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
26666         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
26668 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26670         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
26672 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26674         * intl/loadmsgcat.c: Remove declaration of
26675         get_sysdep_segment_value.
26676         (get_sysdep_segment_value): Use ISO C style.
26677         (_nl_load_domain): Use ISO C style.  Get rid of redundant
26678         semicolon.  Fix typo and formatting in comment.
26679         (_nl_unload_domain): Use ISO C style.
26681         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
26683 2014-07-02  Will Newton  <will.newton@linaro.org>
26685         * malloc/obstack.c: Merge from gnulib master.
26686         [HAVE_CONFIG_H]: Remove conditional code.
26687         [!_LIBC]: Include config.h.
26688         [!ELIDE_CODE]: Don't include inttypes.h, include
26689         stdint.h unconditionally.
26690         (print_and_abort): Mark as _Noreturn.
26691         (_obstack_allocated_p): Mark as __attribute_pure__.
26692         (obstack_free): Rename to __obstack_free.
26693         [!__attribute__]: Remove conditional code.
26694         * malloc/obstack.h: Merge from gnulib master.
26695         [__cplusplus]: Move conditional down.
26696         [!__attribute_pure__]: Define __attribute_pure__ here
26697         if it is not already defined.
26698         (_obstack_memory_used): Mark as __attribute_pure__.
26699         [!__obstack_free]: Define as obstack_free.
26700         [__GNUC__]: Remove check for ancient NeXT gcc.
26702 2014-07-02  Will Newton  <will.newton@linaro.org>
26703             Paul Eggert  <eggert@cs.ucla.edu>
26705         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
26707 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26709         * resolv/gethnamaddr.c: Add comment warning that the file is
26710         not maintained.
26712 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
26714         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
26715         entries.
26717         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
26718         entry for aio_cancel and aio_cancel64.
26719         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
26720         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
26721         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
26722         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
26723         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
26724         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
26725         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
26726         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
26727         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
26728         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
26729         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
26730         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
26731         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
26733 2014-07-01  Roland McGrath  <roland@hack.frob.com>
26735         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
26736         * nptl/pthread_mutex_lock.c: Likewise.
26737         * nptl/pthread_mutex_timedlock.c: Likewise.
26738         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
26740 2014-07-01  Richard henderson  <rth@redhat.com>
26742         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
26743         (__isnan, __isnanl): Remove.
26744         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
26746         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26748 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26750         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26752 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26754         * resolv/nss_dns/dns-host.c (getanswer_r)
26755         [MULTI_PTRS_ARE_ALIASES]: Remove code.
26757 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
26759         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26760         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
26761         undefine.
26762         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
26763         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
26765 2014-07-01  Roland McGrath <roland@hack.frob.com>
26767         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
26768         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
26770         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
26771         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
26773         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
26774         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
26775         ... here.
26776         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
26777         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
26779         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
26780         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
26781         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
26782         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
26784         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
26785         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
26786         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
26787         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
26788         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
26789         Moved ...
26790         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
26791         ... here.
26792         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
26793         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
26794         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
26795         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
26796         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
26797         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
26798         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
26799         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
26800         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
26801         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
26802         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
26803         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
26804         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
26805         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
26806         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
26807         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
26808         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
26809         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
26810         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
26811         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
26812         ... here.
26813         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
26814         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
26815         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
26816         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
26817         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
26818         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
26819         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
26820         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
26822 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
26824         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
26825         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
26826         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
26827         Add sysdep.
26829 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26833 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26835         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26836         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26838         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26840         * sysdeps/arm/libm-test-ulps: Regenerated.
26842 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26843             Roland McGrath <roland@hack.frob.com>
26845         * test-skeleton.c (signal_handler): Kill the whole process group
26846         before killing the child individually.
26847         (main): Report any failure on `setpgid'.
26849 2014-06-30  Roland McGrath  <roland@hack.frob.com>
26851         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
26852         from _TLS_H to _ARM_NPTL_TLS_H.
26853         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
26854         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
26856 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26858         [BZ #16539]
26859         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
26860         (__expm1l): Return argument unchanged when small but not
26861         subnormal.
26863         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
26864         include macro name.
26865         (_FP_UNPACK_RAW_1_P): Likewise.
26866         (_FP_PACK_RAW_1): Likewise.
26867         (_FP_PACK_RAW_1_P): Likewise.
26868         (_FP_MUL_MEAT_1_wide): Likewise.
26869         (_FP_MUL_MEAT_DW_1_hard): Likewise.
26870         (_FP_MUL_MEAT_1_hard): Likewise.
26871         (_FP_DIV_MEAT_1_imm): Likewise.
26872         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
26873         (_FP_DIV_MEAT_1_udiv): Likewise.
26874         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
26875         (_FP_UNPACK_RAW_2): Likewise.
26876         (_FP_UNPACK_RAW_2_P): Likewise.
26877         (_FP_PACK_RAW_2): Likewise.
26878         (_FP_PACK_RAW_2_P): Likewise.
26879         (_FP_MUL_MEAT_DW_2_wide): Likewise.
26880         (_FP_MUL_MEAT_2_wide): Likewise.
26881         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
26882         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26883         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
26884         (_FP_MUL_MEAT_2_gmp): Likewise.
26885         (_FP_DIV_MEAT_2_udiv): Likewise.
26886         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
26887         (_FP_FRAC_SRL_4): Likewise.
26888         (_FP_FRAC_SRST_4): Likewise.
26889         (_FP_FRAC_SRS_4): Likewise.
26890         (_FP_UNPACK_RAW_4): Likewise.
26891         (_FP_UNPACK_RAW_4_P): Likewise.
26892         (_FP_PACK_RAW_4): Likewise.
26893         (_FP_PACK_RAW_4_P): Likewise.
26894         (_FP_MUL_MEAT_DW_4_wide): Likewise.
26895         (_FP_MUL_MEAT_4_wide): Likewise.
26896         (_FP_MUL_MEAT_4_gmp): Likewise.
26897         (umul_ppppmnnn): Likewise.
26898         (_FP_DIV_MEAT_4_udiv): Likewise.
26899         (__FP_FRAC_ADD_4): Likewise.
26900         (__FP_FRAC_SUB_3): Likewise.
26901         (__FP_FRAC_SUB_4): Likewise.
26902         (__FP_FRAC_DEC_3): Likewise.
26903         (__FP_FRAC_DEC_4): Likewise.
26904         (__FP_FRAC_ADDI_4): Likewise.
26905         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
26906         (_FP_FRAC_SRL_8): Likewise.
26907         (_FP_FRAC_SRS_8): Likewise.
26909         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
26910         include macro name.
26911         (FP_UNPACK_RAW_EP): Likewise.
26912         (FP_PACK_RAW_E): Likewise.
26913         (FP_PACK_RAW_EP): Likewise.
26914         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
26915         (_FP_ISSIGNAN): Likewise.
26916         (_FP_ADD_INTERNAL): Likewise.
26917         (_FP_FMA): Likewise.
26918         (_FP_CMP): Likewise.
26919         (_FP_SQRT): Likewise.
26920         (_FP_TO_INT): Likewise.
26921         (_FP_FROM_INT): Likewise.
26922         (FP_EXTEND): Likewise.
26923         (_FP_DIV_MEAT_N_loop): Likewise.
26925 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26927         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
26928         throughout.
26930 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
26932         [BZ #17097]
26933         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
26934         result with correct sign in case of exponents that produce
26935         overflow except for X very close to 1.
26937 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
26939         mktime: merge #if/#ifdef usage from glibc
26940         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
26941         as that works with both Glibc's and Gnulib's style.
26942         See thread starting at Siddhesh Poyarekar's bug report at:
26943         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
26945 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26947         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
26948         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
26949         * sysdeps/tile/tilegx/memmove.c: Remove file.
26951 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26953         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
26954         abi-name definition.
26955         * scripts/soversions.awk: Do not handle or generate ABI lines.
26956         * shlib-versions: Remove ABI entries.
26957         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
26958         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
26960 2014-06-27  Roland McGrath  <roland@hack.frob.com>
26962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
26963         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
26964         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
26965         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
26966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
26967         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
26968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
26969         Moved ...
26970         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
26971         ... here.
26972         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
26973         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
26974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
26975         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
26976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
26977         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
26978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
26979         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
26980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
26981         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
26982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
26983         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
26984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26985         Moved ...
26986         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
26987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
26988         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
26989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
26990         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
26991         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
26992         Moved ...
26993         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
26994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
26995         Moved ...
26996         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
26997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
26998         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
26999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
27000         Moved ...
27001         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
27002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
27003         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
27004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
27005         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
27006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
27007         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
27008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
27009         Moved ...
27010         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
27011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
27012         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
27013         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
27014         Moved ...
27015         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
27016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
27017         Moved ...
27018         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
27019         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
27020         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
27021         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
27022         Moved ...
27023         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
27024         ... here.
27025         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
27026         Identical file removed.
27027         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
27028         Moved ...
27029         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
27030         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
27031         Identical file removed.
27032         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
27033         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
27034         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
27035         Moved ...
27036         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
27037         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
27038         Identical file removed.
27039         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
27040         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
27041         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
27042         Identical file removed.
27043         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
27044         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
27045         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
27046         Identical file removed.
27047         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
27048         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
27049         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
27050         Identical file removed.
27051         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
27052         Moved ...
27053         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
27054         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
27055         Identical file removed.
27056         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
27057         Moved ...
27058         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
27059         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
27060         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
27061         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
27062         Identical file removed.
27063         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
27064         Moved ...
27065         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
27066         ... here.
27067         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
27068         Identical file removed.
27069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
27070         Moved ...
27071         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
27072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
27073         Identical file removed.
27074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
27075         Moved ...
27076         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
27077         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
27078         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
27079         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
27080         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
27081         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
27082         Moved ...
27083         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
27084         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
27085         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
27087         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
27088         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
27089         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
27090         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
27091         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
27093 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
27095         [BZ #17092]
27096         * nscd/nscd.c (monitor_child): Return exit status of child
27097         instead of return value from wait syscall.
27099 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27101         * configure.ac (libc_commonpagesize): Remove variable.
27102         (libc_relro_required): Likewise.
27103         (libc_cv_z_relro): Remove configure test.
27104         * configure: Regenerated.
27105         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
27106         variable.
27107         (libc_relro_required): Likewise.
27108         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
27109         (libc_relro_required): Likewise.
27110         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27111         (libc_relro_required): Likewise.
27112         * sysdeps/arm/preconfigure: Regenerated.
27113         * sysdeps/ia64/preconfigure: Remove file.
27114         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
27115         variable.
27116         (libc_relro_required): Likewise.
27118         [BZ #16561]
27119         [BZ #16562]
27120         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
27121         (__ieee754_yn): Set FE_TONEAREST mode internally and then
27122         recompute overflowing results in original rounding mode.
27123         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
27124         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27125         recompute overflowing results in original rounding mode.
27126         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
27127         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27128         recompute overflowing results in original rounding mode.
27129         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
27130         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27131         recompute overflowing results in original rounding mode.
27132         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
27133         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27134         recompute overflowing results in original rounding mode.
27135         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
27136         (libc_feholdsetround_ctx): New macro.
27137         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
27138         * sysdeps/i386/fpu/libm-test-ulps: Update.
27139         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
27141 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27143         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27144         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
27145         corresponding .cpsetup call.
27147 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27149         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
27150         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
27151         * sysdeps/arm/Makefile [$(subdir) = csu]
27152         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
27153         (static-only-routines): Add aeabi_read_tp here.
27154         (shared-only-routines): Add libc-aeabi_read_tp here.
27155         (CFLAGS-libc-start.c): Add -fexceptions here.
27156         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
27157         (sysdep_routines, static-only-routines, shared-only-routines):
27158         Don't add to these here.
27159         (CFLAGS-libc-start.c): Likewise.
27161         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27162         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27163         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27164         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27165         * sysdeps/arm/Makefile [$(subdir) = rt]
27166         (librt-sysdep_routines, librt-shared-only-routines):
27167         Append rt-aeabi_unwind_cpp_pr1 here.
27168         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27169         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27170         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27171         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27172         Append nptl-aeabi_unwind_cpp_pr1 here.
27173         (tests): Filter out tst-cleanupx4 here.
27174         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27175         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27176         Don't do those here.
27178 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27180         * scripts/list-sources.sh: Do not handle ports specially.
27182 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27184         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27185         * sysdeps/arm/feupdateenv.c: Likewise.
27187         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27189 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27191         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27192         trailing whitespace removed.
27193         * scripts/config.guess: Update to version 2014-03-23.
27194         * scripts/config.sub: Update to version 2014-05-01
27195         * scripts/install-sh: Update to version 2013-12-25.23.
27196         * scripts/move-if-change: Update from gnulib.
27198 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27200         * debug/memmove_chk.c: Remove pagecopy.h include.
27202 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27204         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27205         identical to gnulib mktime.
27207 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27209         * configure.ac: Do not test for machine being rs6000.  Do not test
27210         for powerpc*-*soft.
27211         * configure: Regenerated.
27213         [BZ #11505]
27214         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27215         test.
27216         * configure: Regenerated.
27217         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27218         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27219         Remove configure test.
27220         * sysdeps/arm/configure: Regenerated.
27221         * sysdeps/nptl/configure.ac: Do not check
27222         libc_cv_asm_cfi_directives.
27223         * sysdeps/nptl/configure: Regenerated.
27224         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27225         * sysdeps/x86_64/nptl/configure: Remove generated file.
27226         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27227         unconditional.
27228         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27230 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27232         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27233         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27234         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27235         it is defined.
27237         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27238         instead of whether it is defined.
27239         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27240         * sysdeps/hppa/dl-machine.h: Likewise.
27241         * sysdeps/ia64/dl-machine.h: Likewise.
27242         * sysdeps/m68k/dl-machine.h: Likewise.
27243         * sysdeps/microblaze/dl-machine.h: Likewise.
27244         * sysdeps/mips/dl-machine.: Likewise.
27245         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27246         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27247         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27248         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27249         * sysdeps/sh/dl-machine.h: Likewise.
27250         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27251         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27252         * sysdeps/tile/dl-machine.h: Likewise.
27253         * sysdeps/x86_64/dl-machine.h: Likewise.
27255         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27256         code.
27257         (verify_persistent_db): Likewise.
27259 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27262         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27264         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27266         Moved ...
27267         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27268         ... here.
27269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27270         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27272         Identical file removed.
27273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27274         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27276         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27278         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27280         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27282         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27284         Moved ...
27285         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27287         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27289         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27291         Moved ...
27292         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27294         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27296         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27298         Identical file removed.
27299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27300         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27302         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27304         Moved ...
27305         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27306         ... here.
27307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27308         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27310         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27312         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27314         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27316         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27318         Moved ...
27319         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27321         Moved ...
27322         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27324         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27326         Moved ...
27327         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27329         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27331         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27332         folded into ...
27333         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27334         * sysdeps/unix/sysv/linux/s390/Versions
27335         (libpthread: GLIBC_2.19): New version set.
27336         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27337         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27338         (librt: GLIBC_2.3.3): New version set.
27339         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27340         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27341         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27342         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27343         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27344         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27345         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27346         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27347         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27348         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27349         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27350         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27351         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27352         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27353         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27354         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27355         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27356         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27357         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27358         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27359         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27360         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27361         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27362         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27363         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27364         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27365         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27366         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27367         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27368         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27369         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27370         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27371         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27373         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27374         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27375         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27376         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27377         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27378         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27379         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27380         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27381         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27383         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27385         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27386         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27387         (__libc_vfork): Define the function under this name.
27388         [!NOT_IN_libc] (__vfork): Make this an alias.
27389         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27391         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27392         (__libc_vfork): Define the function under this name.
27393         [!NOT_IN_libc] (__vfork): Make this an alias.
27394         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27395         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27396         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27397         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27398         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27399         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27401         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27402         code that was previously under [RESET_PID].
27403         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27404         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27407         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27408         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27409         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27410         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27411         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27412         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27413         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27414         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27415         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27416         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27417         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27418         Moved ...
27419         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27420         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27421         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27422         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27423         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27424         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27425         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27426         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27427         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27428         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27429         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27430         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27431         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27432         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27433         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27434         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27435         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27436         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27437         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27438         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27439         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27440         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27441         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27442         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27443         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27444         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27445         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27446         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27447         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27449 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27451         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27452         that was previously under [RESET_PID].
27453         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27455 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27457         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27458         not undefine and redefine.
27459         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27460         [O_CLOEXEC]: Make code unconditional.
27461         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27462         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27463         <kernel-features.h>.
27464         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27465         conditional variable definition.
27466         (shm_open) [O_CLOEXEC]: Make code unconditional.
27467         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27468         code.
27470         * configure.ac (USE_REGPARMS): Don't define here.
27471         * configure: Regenerated.
27472         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27473         * sysdeps/i386/configure: Regenerated.
27475         * nptl/createthread.c: Don't include kernel-features.h.
27476         * nptl/pthread_cancel.c: Likewise.
27477         * nptl/pthread_condattr_setclock.c: Likewise.
27478         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27479         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27480         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27481         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27482         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27483         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27484         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27485         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27487         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27488         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27489         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27490         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27491         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27492         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27493         * nscd/gai.c: Likewise.
27494         * nss/nss_db/db-open.c: Likewise.
27495         * sysdeps/generic/ldsodefs.h: Likewise.
27496         * sysdeps/sh/nptl/tls.h: Likewise.
27497         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27498         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27499         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27500         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27501         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27502         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27503         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27504         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27505         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27506         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27507         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27508         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27509         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27510         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27511         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27512         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27513         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27514         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27515         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27516         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27517         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27518         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27519         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27520         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27521         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27522         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27523         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27524         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27525         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27526         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
27527         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
27528         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
27529         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
27530         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27531         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27532         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27533         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27534         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
27535         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
27536         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27537         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27538         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
27539         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
27540         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27541         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
27542         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27543         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27544         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27545         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27546         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27547         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27548         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27549         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27550         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27551         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27552         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27553         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27554         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
27563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
27566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
27567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
27568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
27569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
27575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
27576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
27577         * sysdeps/unix/sysv/linux/pread.c: Likewise.
27578         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
27579         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
27580         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
27581         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
27582         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
27583         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
27584         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
27585         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
27586         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
27587         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
27588         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
27589         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
27590         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
27591         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
27592         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
27593         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27594         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
27595         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
27596         * sysdeps/unix/sysv/linux/system.c: Likewise.
27597         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
27598         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27599         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27600         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27601         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27602         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27603         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27605         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
27606         * configure: Regenerated.
27607         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
27609         * configure.ac (base_machine): Do not set specially for particular
27610         machines here.
27611         * configure: Regenerated.
27612         * sysdeps/powerpc/preconfigure: Move machine and base_machine
27613         settings from configure.ac.
27614         * sysdeps/i386/preconfigure: New file.
27615         * sysdeps/s390/preconfigure: Likewise.
27616         * sysdeps/sh/preconfigure: Likewise.
27617         * sysdeps/sparc/preconfigure: Likewise.
27619 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27621         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
27622         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
27623         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
27624         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
27625         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
27626         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
27627         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
27628         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
27629         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
27630         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
27631         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
27632         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
27633         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
27634         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
27635         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
27636         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
27637         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
27638         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
27639         * sysdeps/sparc/sparc64/Makefile: ... appended here.
27641         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
27642         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
27643         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
27644         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
27645         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
27646         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
27647         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
27648         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
27649         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
27650         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
27651         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
27652         * sysdeps/sparc/sparc32/sem_post.c: ... here.
27653         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
27654         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
27655         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
27656         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
27657         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
27658         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
27659         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
27660         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
27661         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
27662         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
27663         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
27664         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
27665         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
27666         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
27667         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
27668         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
27669         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
27670         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
27671         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
27672         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
27673         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
27674         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
27675         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
27676         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
27677         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
27678         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
27680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
27681         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
27682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
27683         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
27684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27685         Moved ...
27686         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
27687         ... here.
27688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
27689         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
27690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
27691         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
27692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
27693         Moved ...
27694         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
27695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
27696         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
27697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
27698         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
27699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
27700         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
27701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27702         Moved ...
27703         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
27704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27705         Moved ...
27706         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
27707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
27708         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
27709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27710         Moved ...
27711         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
27712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
27713         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
27714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
27715         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
27716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
27717         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
27718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
27719         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
27720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27721         Moved ...
27722         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
27723         ... here.
27724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
27725         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
27726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
27727         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
27728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
27729         Moved ...
27730         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
27731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
27732         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
27733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
27734         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
27735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
27736         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
27737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27738         Moved ...
27739         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
27740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27741         Moved ...
27742         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
27743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
27744         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
27745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27746         Moved ...
27747         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
27748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
27749         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
27750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
27751         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
27753 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27755         * timezone/checktab.awk: Update from tzcode 2014e.
27756         * timezone/private.h: Likewise.
27757         * timezone/tzfile.h: Likewise.
27758         * timezone/zdump.c: Likewise.
27759         * timezone/zic.c: Likewise.
27761         * sysdeps/unix/sysv/linux/kernel-features.h
27762         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
27763         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
27764         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
27765         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27766         Remove conditional code.
27768 2014-06-25  Will Newton  <will.newton@linaro.org>
27770         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
27771         (_dl_arm_cap_flags): Add HWCAP2 values.
27772         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
27773         (_DL_HWCAP_COUNT): Increase to 37.
27774         (_DL_HWCAP_LAST): New define.
27775         (_DL_HWCAP2_LAST): New define.
27776         (_dl_procinfo): Add support for printing
27777         AT_HWCAP2 entries.
27778         (_dl_string_hwcap): Use _dl_hwcap_string.
27780 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27784 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27786         * README: Do not mention ports directory.
27788         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
27789         Remove macro.
27790         * sysdeps/unix/sysv/linux/futimes.c: Do not include
27791         <kernel-features.h>.
27792         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
27793         conditional variable definition.
27794         (__futimes): Update comment.
27795         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
27796         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
27798         [BZ #16560]
27799         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
27800         arguments close to 0.
27801         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
27802         Likewise.
27803         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
27804         Likewise.
27805         * math/auto-libm-test-in: Add more tests of exp10.
27806         * math/auto-libm-test-out: Regenerated.
27807         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27809         * sysdeps/unix/sysv/linux/kernel-features.h
27810         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
27811         * sysdeps/unix/sysv/linux/readv.c: Do not include
27812         <kernel-features.h>.
27813         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27814         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27815         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27816         unconditional.
27817         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27818         conditional code.
27819         * sysdeps/unix/sysv/linux/writev.c: Do not include
27820         <kernel-features.h>.
27821         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27822         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27823         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27824         unconditional.
27825         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27826         conditional code.
27828 2014-06-25  Will Newton  <will.newton@linaro.org>
27830         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
27831         comment changes throughout the file.  Remove checks
27832         for HAVE_*_H definitions that are not required.
27833         (__gen_tempname): Call abort if an unknown kind value is
27834         passed.
27836 2014-06-25  Andreas Schwab  <schwab@suse.de>
27838         [BZ #17086]
27839         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
27840         scalbln, scalblnf, scalblnl in libc.
27842 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27844         [BZ #17086]
27845         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
27846         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27847         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27849 2014-06-24  Roland McGrath  <roland@hack.frob.com>
27851         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
27852         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
27853         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
27854         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
27855         Update #include.
27856         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
27857         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
27858         Update #include.
27859         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
27860         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
27861         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
27862         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
27863         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
27864         * sysdeps/x86/bits/pthreadtypes.h: ... here.
27865         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
27866         * sysdeps/x86/bits/semaphore.h: ... here.
27867         * sysdeps/x86/nptl/elide.h: Moved ...
27868         * sysdeps/x86/elide.h: ... here.
27869         * sysdeps/x86_64/nptl/Implies: File removed.
27870         * sysdeps/i386/nptl/Implies: File removed.
27872 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
27874         [BZ #16539]
27875         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
27876         return the argument for normal arguments with exponent below -64.
27877         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27878         Likewise.
27879         * math/auto-libm-test-in: Add another test of expm1.
27880         * math/auto-libm-test-out: Regenerated.
27882         [BZ #16287]
27883         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
27884         calling __erfcl for arguments at least 16.
27885         * math/auto-libm-test-in: Add more tests of erf.
27886         * math/auto-libm-test-out: Regenerated.
27888         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
27889         individual architectures.
27890         * sysdeps/unix/sysv/linux/configure: Regenerated.
27891         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
27892         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
27893         * sysdeps/unix/sysv/linux/powerpc/configure.ac
27894         (ldd_rewrite_script): Define variable.
27895         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
27897         file.
27898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
27899         generated file.
27900         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
27901         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
27902         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
27903         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
27904         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
27905         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
27906         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
27907         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
27909 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27911         [BZ #17084]
27912         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
27913         Rename member __data.d to __data.__elision_data.
27915 2014-06-24  Wilco  <wdijkstr@arm.com>
27917         * NEWS: Add 16918 to fixed bug list.
27919 2014-06-24  Wilco  <wdijkstr@arm.com>
27921         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
27923 2014-06-24  Wilco  <wdijkstr@arm.com>
27925         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
27926         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
27927         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
27928         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
27929         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
27930         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
27931         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
27932         Use _FPU_MASK_RM.
27934 2014-06-24  Wilco  <wdijkstr@arm.com>
27936         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
27938 2014-06-24  Wilco  <wdijkstr@arm.com>
27940         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27941         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
27942         * sysdeps/arm/fesetround.c (fesetround): Remove space.
27943         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
27945 2014-06-24  Wilco  <wdijkstr@arm.com>
27947         [BZ #16918]
27948         * sysdeps/arm/feupdateenv.c (feupdateenv):
27949         Rewrite to reduce FPSCR accesses and fix return value.
27951 2014-06-24  Wilco  <wdijkstr@arm.com>
27953         * sysdeps/arm/fclrexcpt.c (feclearexcept):
27954         Optimize to avoid unnecessary FPSCR writes.
27955         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
27956         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
27957         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
27958         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
27960 2014-06-24  Wilco  <wdijkstr@arm.com>
27962         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
27963         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
27964         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
27965         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
27966         Call libc_fetestexcept_vfp.
27967         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
27968         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
27969         __SOFTFP__ ifdef so that they can be built for softfp.
27971 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27973         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
27974         argument type signed char.
27976         * Makerules (check-abi): Dump diff of symlist if the test
27977         fails.
27979 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27981         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
27982         using abort.
27984         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27985         Remove unused variable ST.
27987 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27989         [BZ #16354]
27990         [BZ #17061]
27991         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
27992         small arguments before calling __expm1.
27993         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
27994         small arguments before calling __expm1f.
27995         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
27996         small arguments before calling __expm1l.
27997         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27998         Likewise.
27999         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28000         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
28001         spurious underflow for some cosh tests.
28002         * math/auto-libm-test-out: Regenerated.
28003         * sysdeps/i386/fpu/libm-test-ulps: Update.
28005         [BZ #17050]
28006         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
28007         (__ieee754_y1): Set errno if return value overflows.
28008         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
28009         (__ieee754_y1f): Set errno if return value overflows.
28010         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
28011         (__ieee754_y1l): Set errno if return value overflows.
28012         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
28013         (__ieee754_y1l): Set errno if return value overflows.
28014         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
28015         * math/auto-libm-test-out: Regenerated.
28017         * math/gen-auto-libm-tests.c: Document use of
28018         ignore-zero-inf-sign.
28019         (input_flag_type): Add value flag_ignore_zero_inf_sign.
28020         (input_flags): Add ignore-zero-inf-sign.
28021         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
28022         * math/gen-libm-test.pl (generate_testfile): Handle
28023         ignore-zero-inf-sign.
28024         * math/auto-libm-test-in: Mark some cpow tests with
28025         ignore-zero-inf-sign and some with xfail-rounding.
28026         * math/auto-libm-test-out: Regenerated.
28027         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
28028         * sysdeps/i386/fpu/libm-test-ulps: Update.
28029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28031         [BZ #16315]
28032         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
28033         overflowing or underflowing operations take place with sign of
28034         result.
28035         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28036         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28037         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
28038         (__ieee754_pow): Recompute overflowing and underflowing results in
28039         original rounding mode.
28040         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
28041         (__powl_helper): Allow negative argument X and scale negated value
28042         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
28043         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
28044         overflowing or underflowing operations take place with sign of
28045         result.
28046         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
28047         Include <math.h>.
28048         * math/auto-libm-test-in: Add more tests of pow.
28049         * math/auto-libm-test-out: Regenerated.
28050         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
28051         (pow_tonearest_test_data): Remove.
28052         (pow_test_tonearest): Likewise.
28053         (pow_towardzero_test_data): Likewise.
28054         (pow_test_towardzero): Likewise.
28055         (pow_downward_test_data): Likewise.
28056         (pow_test_downward): Likewise.
28057         (pow_upward_test_data): Likewise.
28058         (pow_test_upward): Likewise.
28059         (main): Don't call removed functions.
28060         * sysdeps/i386/fpu/libm-test-ulps: Update.
28061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28063 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
28066         Moved ...
28067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
28068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28069         Moved ...
28070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
28071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28072         Moved ...
28073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
28074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28075         Moved ...
28076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
28077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28078         File removed.
28079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28080         File removed.
28081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
28082         File removed.
28083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
28084         File removed.
28085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
28086         File removed.
28087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
28088         File removed.
28089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
28090         File removed.
28091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28092         File removed.
28093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
28094         File removed.
28095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28096         File removed.
28097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
28098         File removed.
28099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
28100         File removed.
28101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
28102         Moved ...
28103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
28104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
28105         Moved ...
28106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
28107         ... here.
28108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
28109         Moved ...
28110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
28111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
28112         Moved ...
28113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
28114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
28115         Moved ...
28116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
28117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
28118         Moved ...
28119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
28120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
28121         Moved ...
28122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
28123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
28124         Moved ...
28125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
28126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
28127         Moved ...
28128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
28129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
28130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
28131         ... here.
28132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
28133         Moved ...
28134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
28135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28136         Moved ...
28137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28138         ... here.
28139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
28140         Moved ...
28141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28142         ... here.
28143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28144         Moved ...
28145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28146         ... here.
28147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28148         Moved ...
28149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
28150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28151         Moved ...
28152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
28153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
28154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
28155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28156         Moved ...
28157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
28158         ... here.
28159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28160         Moved ...
28161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28162         ... here.
28163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28164         Moved ...
28165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28167         Moved ...
28168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28170         Moved ...
28171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28173         Moved ...
28174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28176         Moved ...
28177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28178         ... here.
28179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28180         Moved ...
28181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28183         Moved ...
28184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28186         Moved ...
28187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28189         Moved ...
28190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28194         Moved ...
28195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28197         Moved ...
28198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28200         Moved ...
28201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28202         ... here.
28203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28204         Moved ...
28205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28206         ... here.
28207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28208         Moved ...
28209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28210         ... here.
28211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28212         Moved ...
28213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28215         Moved ...
28216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28218         Moved ...
28219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28221         Moved ...
28222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28223         ... here.
28224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28225         Moved ...
28226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28227         ... here.
28228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28229         Moved ...
28230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28231         ... here.
28232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28233         Moved ...
28234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28236         Moved ...
28237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28239 2014-06-23  Will Newton  <will.newton@linaro.org>
28240             Wilco  <wdijkstr@arm.com>
28242         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28243         implementation.  Include get-rounding-mode.h.
28244         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28245         [!libc_feholdsetround_noex_ctx]: Define
28246         libc_feholdsetround_noex_ctx.
28247         [!libc_feholdsetround_noexf_ctx]: Define
28248         libc_feholdsetround_noexf_ctx.
28249         [!libc_feholdsetround_noexl_ctx]: Define
28250         libc_feholdsetround_noexl_ctx.
28251         (libc_feholdsetround_ctx): New function.
28252         (libc_feresetround_ctx): New function.
28253         (libc_feholdsetround_noex_ctx): New function.
28254         (libc_feresetround_noex_ctx): New function.
28256 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28258         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28259         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28260         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28261         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28262         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28263         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28265         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28266         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28267         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28268         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28269         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28270         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28271         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28272         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28273         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28274         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28275         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28276         Moved ...
28277         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28278         ... here.
28279         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28280         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28281         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28282         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28283         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28284         Moved ...
28285         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28286         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28287         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28288         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28289         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28290         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28291         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28292         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28293         Moved ...
28294         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28295         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28296         Moved ...
28297         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28298         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28299         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28300         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28301         Moved ...
28302         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28303         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28304         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28305         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28306         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28307         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28308         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28309         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28310         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28311         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28312         Moved ...
28313         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28314         ... here.
28315         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28316         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28317         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28318         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28319         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28320         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28321         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28322         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28323         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28324         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28325         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28326         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28327         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28328         Moved ...
28329         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28330         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28331         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28332         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28333         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28334         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28335         Moved ...
28336         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28337         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28338         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28339         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28340         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28342         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28343         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28344         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28345         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28346         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28347         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28348         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28349         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28350         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28351         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28352         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28353         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28354         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28355         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28356         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28357         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28358         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28359         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28360         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28361         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28362         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28363         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28364         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28365         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28366         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28367         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28368         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28369         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28371 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28373         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28374         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28375         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28376         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28377         (IPV6_PMTUDISC_INTERFACE): Likewise.
28378         (IPV6_PMTUDISC_OMIT): Likewise.
28380 2014-06-23  Andreas Schwab  <schwab@suse.de>
28382         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28383         Remove unused errout label.
28385 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28387         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28388         macro: hardware supports Vector Crypto instructions.
28390 2014-06-23  Will Newton  <will.newton@linaro.org>
28392         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28393         rather than __builtin_expect.
28395         * elf/dl-lookup.c (undefined_msg): Remove variable.
28396         (_dl_lookup_symbol_x): Replace undefined_msg with string
28397         literal.
28399         * elf/dl-lookup.c (do_lookup_unique): New function.
28400         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28401         to a separate function.
28403 2014-06-23  Andreas Schwab  <schwab@suse.de>
28405         [BZ #17079]
28406         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28407         before reading the next line.
28409 2014-06-23  Will Newton  <will.newton@linaro.org>
28411         * test-skeleton.c (signal_handler): Use printf and %m
28412         rather than perror.  Use printf rather than fprintf to
28413         stderr.  Use puts rather than fputs to stderr.
28414         (main): Likewise.
28416 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28418         * nscd/nscd.c (thread_info_t): Remove typedef.
28419         (thread_info): Remove variable.
28421 2014-06-21  Allan McRae  <allan@archlinux.org>
28423         * NEWS: Mention CVE-2014-4043.
28425 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28427         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28428         * nptl/smp.h: ... here.
28430         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28432         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28433         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28434         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28435         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28437         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28438         * nptl/stack-aliasing.h: New file.
28439         * sysdeps/i386/i686/stack-aliasing.h: New file.
28440         * sysdeps/i386/i686/nptl/Makefile: File removed.
28441         * sysdeps/x86_64/stack-aliasing.h: New file.
28442         * sysdeps/x86_64/nptl/Makefile
28443         (CFLAGS-pthread_create.c): Variable removed.
28445         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28446         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28447         old file.
28448         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28449         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28450         old file.
28452 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28454         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28455         (__ASSUME_SIGFRAME_V2): Remove macro.
28456         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28457         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28458         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28459         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28460         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28461         Declare as function.  Remove conditional macro definitions.
28462         (__default_rt_sa_restorer): Likewise.
28463         (__default_sa_restorer_v1): Remove declaration.
28464         (__default_sa_restorer_v2): Likewise.
28465         (__default_rt_sa_restorer_v1): Likewise.
28466         (__default_rt_sa_restorer_v2): Likewise.
28467         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28468         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28469         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28471 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28473         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28474         (libpthread-routines): Add sysdep.
28475         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28476         * sysdeps/unix/sysv/linux/sparc/Versions
28477         (libpthread: GLIBC_2.3.3): New version set.
28478         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28479         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28480         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28481         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28482         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28483         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28484         Moved ...
28485         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28486         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28487         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28488         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28489         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28490         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28491         * sysdeps/sparc/nptl/sem_init.c: ... here.
28492         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28493         * sysdeps/sparc/nptl/sem_post.c: ... here.
28494         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28495         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28496         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28497         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28498         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28499         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28500         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28501         (libpthread-routines): Add cpu_relax.
28502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28503         File removed.
28504         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28505         (librt: GLIBC_2.3.3): New version set.
28506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28507         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28508         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28509         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28512         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28514         Moved ...
28515         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28517         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28519         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28521         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28523         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28525         Moved ...
28526         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
28527         Update #include.
28528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
28529         Moved ...
28530         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
28531         Update #include.
28532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
28533         Moved ...
28534         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
28535         Update #include.
28536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
28537         Moved ...
28538         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
28539         Update #include.
28540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
28541         Moved ...
28542         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28543         Update #include.
28544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28545         Moved ...
28546         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28547         Update #include.
28548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28549         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28551         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28553         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28555         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28557         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28559         Moved ...
28560         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28562         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
28563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
28564         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
28566 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28568         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
28569         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
28570         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28571         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
28572         * nscd/nscd.c: Likewise.
28573         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
28574         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
28575         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
28576         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
28578         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
28579         <kernel-features.h>.
28580         (init_mq_netlink): Remove conditional have_sock_cloexec
28581         definitions.  Remove code conditional on have_sock_cloexec < 0.
28582         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
28583         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
28584         * sysdeps/unix/sysv/linux/opensock.c: Do not include
28585         <kernel-features.h>.
28586         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
28587         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
28589 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28592         Add tests for memset_chk and memset.
28594         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
28595         with AVX2_Usable.
28597 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28599         [BZ #16046]
28600         * elf/tst-dl-iter-static.c: New file.
28601         * elf/Makefile (tests-static): Add tst-dl-iter-static.
28603         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
28604         error.
28606 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28608         * sysdeps/unix/sysv/linux/kernel-features.h
28609         (__ASSUME_F_GETOWN_EX): Remove macro.
28610         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
28611         <kernel-features.h>.
28612         (miss_F_GETOWN_EX): Remove variable or macro.
28613         (do_fcntl): Do not check miss_F_GETOWN_EX.
28614         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
28616         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
28617         Remove macro.
28618         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
28619         [!__ASSUME_AT_RANDOM]: Remove conditional code.
28620         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
28622         * sysdeps/unix/sysv/linux/kernel-features.h
28623         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
28624         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
28625         [ADJ_OFFSET_SS_READ]: Make code unconditional.
28626         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
28628 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28630         [BZ #17075]
28631         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
28632         Fix calculation of the symbol's value.
28633         * sysdeps/arm/tst-armtlsdescloc.c: New file.
28634         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
28635         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
28636         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
28637         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
28638         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
28639         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
28640         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
28641         (modules-names): Add `tst-armtlsdescmod',
28642         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
28643         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
28644         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28645         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
28646         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
28647         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28648         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
28649         ($(objpfx)tst-armtlsdescloc): New dependency.
28650         ($(objpfx)tst-armtlsdescextnow): Likewise.
28651         ($(objpfx)tst-armtlsdescextlazy): Likewise.
28652         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
28653         TLS scheme support.
28654         * sysdeps/arm/configure: Regenerate.
28656 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28658         * include/fcntl.h (__atfct_seterrno): Remove prototype.
28659         (__atfct_seterrno_2): Likewise.
28660         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
28661         <kernel-features.h>.
28662         (__ASSUME_ATFCTS): Do not undefine and redefine.
28663         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
28664         (__have_atfcts): Remove conditional definition.
28665         (__fxstatat([__NR_fstatat64]: Make code unconditional.
28666         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
28667         unreachable if [__ASSUME_ATFCTS].
28668         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
28669         not undefine and redefine.
28670         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
28671         <kernel-features.h>.
28672         (faccessat) [__NR_faccessat]: Make code unconditional.
28673         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
28674         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
28675         <kernel-features.h>.
28676         (fchmodat) [__NR_fchmodat]: Make code unconditional.
28677         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28678         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
28679         <kernel-features.h>.
28680         (fchownat) [__NR_fchownat]: Make code unconditional.
28681         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
28682         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
28683         <kernel-features.h>.
28684         (futimesat) [__NR_futimesat]: Make code unconditional.
28685         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
28686         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28687         <kernel-features.h>.
28688         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28689         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28690         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28691         <kernel-features.h>.
28692         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
28693         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28694         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
28695         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28696         <kernel-features.h>.
28697         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
28698         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28699         * sysdeps/unix/sysv/linux/linkat.c: Do not include
28700         <kernel-features.h>.
28701         (linkat) [__NR_linkat]: Make code unconditional.
28702         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28703         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
28704         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
28705         <kernel-features.h>.
28706         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
28707         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28708         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
28709         <kernel-features.h>.
28710         (mkdirat) [__NR_mkdirat]: Make code unconditional.
28711         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
28712         * sysdeps/unix/sysv/linux/openat.c: Do not include
28713         <kernel-features.h>.
28714         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
28715         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
28716         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
28717         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
28718         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
28719         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
28720         <kernel-features.h>.
28721         (readlinkat) [__NR_readlinkat]: Make code unconditional.
28722         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
28723         result of INLINE_SYSCALL directly, not via int variable.
28724         * sysdeps/unix/sysv/linux/renameat.c: Do not include
28725         <kernel-features.h>.
28726         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
28727         (renameat) [__NR_renameat]: Make code unconditional.
28728         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
28729         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
28730         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
28731         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
28732         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
28733         (__ASSUME_ATFCTS): Do not undefine and redefine.
28734         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
28735         <kernel-features.h>.
28736         (symlinkat) [__NR_symlinkat]: Make code unconditional.
28737         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28738         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
28739         <kernel-features.h>.
28740         (unlinkat) [__NR_unlinkat]: Make code unconditional.
28741         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28742         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
28743         (__ASSUME_ATFCTS): Do not undefine and redefine.
28744         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28745         <kernel-features.h>.
28746         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28747         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28748         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28749         <kernel-features.h>.
28750         (__xmknodat) [__NR_mknodat]: Make code unconditional.
28751         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28753 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28755         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
28757 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
28759         [BZ #17069]
28760         * posix/regcomp.c (parse_reg_exp): Deallocate partially
28761         constructed tree before returning error.
28762         * posix/bug-regexp36.c: Expand test case.
28764 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28766         [BZ #6803]
28767         * math/libm-test.inc (scalbln_test_date):
28768         Add errno expectations.
28769         * math/w_scalblnf.c: New File.
28770         Add wrapper which checks for setting errno to ERANGE.
28771         Add weak_alias for corresponding scalbln function.
28772         * math/w_scalbln.c: Likewise.
28773         * math/w_scalblnl.c: Likewise.
28774         * math/Makefile (libm-calls): Add w_scalbln.
28775         * sysdeps/ieee754/flt-32/s_scalblnf.c:
28776         Remove weak_alias for corresponding scalbln function.
28777         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28778         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28779         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28780         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28781         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28782         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28783         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
28784         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28785         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
28786         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
28787         Remove long_double_symbol for scalblnl function in libm, libc.
28788         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
28789         Add wrapper which checks for setting errno to ERANGE.
28790         Add long_double_symbol for scalblnl function in libm, libc.
28791         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
28792         Remove long_double_symbol for scalblnl in libm.
28793         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
28794         Add wrapper which checks for setting errno to ERANGE.
28795         Add long_double_symbol for scalblnl function in libm.
28796         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
28797         Do not use wrapper because of own implementation.
28799 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
28801         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
28802         3 bytes for __pad1 for x32.
28803         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
28805 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
28806             H.J. Lu  <hongjiu.lu@intel.com>
28808         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
28809         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
28810         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28811         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28812         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28814 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
28816         [BZ #17069]
28817         * posix/regcomp.c (parse_expression): Deallocate partially
28818         constructed tree before returning error.
28819         * posix/Makefile.c (tests): Add bug-regex36.
28820         (generated): Add bug-regex36.mtrace.
28821         (tests-special): Add $(objpfx)bug-regex36-mem.out
28822         (bug-regex36-ENV): New variable.
28823         ($(objpfx)bug-regex36-mem.out): New rule.
28824         * posix/bug-regex36.c: New file.
28826 2014-06-19  Will Newton  <will.newton@linaro.org>
28828         * malloc/malloc.c (systrim): If extra is zero then return
28829         early.
28831 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28833         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
28835 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
28837         * sysdeps/aarch64/strchr.S: New file.
28839 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28841         [BZ #17022]
28842         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
28843         from arguments -2 or below.
28844         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28845         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
28847 2014-06-18  Andreas Schwab  <schwab@suse.de>
28849         [BZ #17062]
28850         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
28851         of a bracket expr not to run off the end of the string.
28852         * posix/Makefile (tests): Add tst-fnmatch3.
28853         * posix/tst-fnmatch3.c: New file.
28855 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28857         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
28858         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28859         [$(cross-compiling) = no]: Likewise.
28860         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28861         [$(cross-compiling) = no]: Likewise.
28863 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28865         [BZ #17031]
28866         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
28867         double, adjusted for any remainder from the high double.
28868         * math/libm-test.inc (nearbyint): Add tests.
28869         (rint): Likewise.
28871 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28873         * nptl/sysdeps/powerpc/Makefile: Moved ...
28874         * sysdeps/powerpc/nptl/Makefile: ... here.
28875         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
28876         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
28877         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
28878         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
28879         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
28880         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
28881         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
28882         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
28883         * nptl/sysdeps/powerpc/tls.h: Moved ...
28884         * sysdeps/powerpc/nptl/tls.h: ... here.
28886 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
28888         [BZ #16681]
28889         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
28890         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
28891         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
28892         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
28893         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
28894         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
28895         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
28896         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
28897         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
28899 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
28901         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28903 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
28905         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
28906         defined operator.
28908         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
28909         $TIMEOUTFACTOR.
28911 2014-06-16  Florian Weimer  <fweimer@redhat.com>
28913         [BZ #17058]
28914         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
28915         non-executed part of the test.
28917 2014-06-16  Andreas Schwab  <schwab@suse.de>
28919         * string/bits/string2.h (strdup, strndup): Update feature guard.
28921 2014-06-14  David S. Miller  <davem@davemloft.net>
28923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28925 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
28927         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
28928         that was previously under [RESET_PID].
28929         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
28931         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
28932         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28933         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
28934         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28935         (__libc_vfork): New strong alias.
28936         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
28938 2014-06-14 Andi Kleen  <ak@linux.intel.com>
28940         * sysdeps/generic/elide.h: New file.
28942 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28944         * Makefile (installed-headers): Adjust path of pthread.h header.
28946 2014-06-13  Roland McGrath  <roland@hack.frob.com>
28948         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
28949         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
28950         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
28951         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
28953         * nptl/sysdeps/s390/Makefile: Moved ...
28954         * sysdeps/s390/nptl/Makefile: ... here.
28955         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28956         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
28957         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
28958         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
28959         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
28960         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
28961         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
28962         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
28963         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
28964         * sysdeps/s390/nptl/pthreaddef.h: ... here.
28965         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
28966         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
28967         * nptl/sysdeps/s390/tls.h: Moved ...
28968         * sysdeps/s390/nptl/tls.h: ... here.
28970         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
28971         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
28973 2014-06-13  David S. Miller  <davem@davemloft.net>
28975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
28976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
28977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
28978         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
28979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
28980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
28981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
28982         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
28983         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
28984         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
28985         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
28986         Remove RESET_PID cpp guards.
28987         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
28988         Remove RESET_PID cpp guards.
28989         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
28991 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
28993         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
28994         __sp to uintptr_t.
28996 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28998         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
28999         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
29000         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
29001         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
29002         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
29003         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
29004         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
29005         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
29006         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
29007         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
29008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
29009         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
29010         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
29011         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
29012         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
29013         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
29014         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
29015         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
29016         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
29017         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
29019         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
29020         (pthread_rwlock_rdlock): Add elision.
29021         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
29022         (pthread_rwlock_wrlock): Add elision.
29023         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
29024         (pthread_rwlock_trywrlock): Add elision.
29025         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
29026         (pthread_rwlock_tryrdlock): Add elision.
29027         * nptl/pthread_rwlock_unlock.c: Include elide.h.
29028         (pthread_rwlock_tryrdlock): Add elision unlock.
29029         * nptl/sysdeps/pthread/pthread.h:
29030         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
29031         (PTHREAD_RWLOCK_INITIALIZER,
29032         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
29033         Handle new elision field.
29034         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
29035         * sysdeps/arm/nptl/bits/pthreadtypes.h
29036         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29037         * sysdeps/sh/nptl/bits/pthreadtypes.h
29038         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29039         * sysdeps/tile/nptl/bits/pthreadtypes.h
29040         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29041         * sysdeps/a/nptl/bits/pthreadtypes.h
29042         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29043         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29044         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29045         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29046         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29047         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
29048         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29049         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29050         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29051         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29052         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29053         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29055         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29056         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29057         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
29058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29059         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
29060         (elision_init): Set try_xbegin to zero when no RTM.
29061         * sysdeps/x86/nptl/bits/pthreadtypes.h
29062         (pthread_rwlock_t): Change __pad1 to __rwelision.
29063         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29065 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29067         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
29068         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
29069         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
29070         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
29072 2014-06-13  Meador Inge  <meadori@codesourcery.com>
29074         [BZ #16996]
29075         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
29076         that the cached result has been set before returning it.
29078 2014-06-12  Roland McGrath  <roland@hack.frob.com>
29080         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
29081         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
29082         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
29083         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
29084         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
29085         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
29087         * nptl/sysdeps/sparc/Makefile: Moved ...
29088         * sysdeps/sparc/nptl/Makefile: ... here.
29089         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
29090         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
29091         * nptl/sysdeps/sparc/tls.h: Moved ...
29092         * sysdeps/sparc/nptl/tls.h: ... here.
29093         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
29094         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
29095         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
29096         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
29097         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
29098         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
29099         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
29100         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
29101         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
29102         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
29103         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
29104         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
29105         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29106         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
29107         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
29108         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
29109         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
29110         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
29111         Update #include.
29112         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29113         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
29114         Update #include.
29115         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
29116         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
29117         Update #include.
29118         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
29119         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
29120         Update #include.
29122         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29124         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
29125         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
29127         * sysdeps/pthread/posix-timer.h: Include <list.h>.
29128         (struct list_links): Type removed.
29129         (struct thread_node, struct timer_node): Replace struct list_links
29130         with struct list_head.
29131         (list_unlink_ip): Likewise.
29132         * sysdeps/pthread/timer_routines.c
29133         (timer_free_list, thread_free_list, thread_active_list): Likewise.
29134         (list_append, list_insbefore): Likewise.
29135         (list_init): Function removed.
29136         (thread_init, init_module): Use INIT_LIST_HEAD instead.
29137         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
29138         * sysdeps/pthread/Makefile: ... here, new file.
29140         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
29141         * sysdeps/nptl/Implies: ... here.
29142         * sysdeps/unix/sysv/linux/Implies: Add nptl.
29143         * nptl/sysdeps/pthread/list.h: Moved ...
29144         * include/list.h: ... here.
29145         * nptl/sysdeps/pthread/createthread.c: Moved ...
29146         * nptl/createthread.c: ... here.
29147         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
29148         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
29149         * nptl/pt-longjmp.c: ... here.
29150         * nptl/sysdeps/pthread/Makefile: Moved ...
29151         * sysdeps/nptl/Makefile: ... here.
29152         * nptl/sysdeps/pthread/Subdirs: Moved ...
29153         * sysdeps/nptl/Subdirs: ... here.
29154         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
29155         * sysdeps/nptl/aio_misc.h: ... here.
29156         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
29157         * sysdeps/nptl/bits/libc-lock.h: ... here.
29158         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29159         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29160         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29161         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29162         * nptl/sysdeps/pthread/configure: Moved ...
29163         * sysdeps/nptl/configure: ... here.
29164         * nptl/sysdeps/pthread/configure.ac: Moved ...
29165         * sysdeps/nptl/configure.ac: ... here.
29166         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29167         * sysdeps/nptl/gai_misc.h: ... here.
29168         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29169         * sysdeps/nptl/librt-cancellation.c: ... here.
29170         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29171         * sysdeps/nptl/malloc-machine.h: ... here.
29172         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29173         * sysdeps/nptl/pthread-functions.h: ... here.
29174         * nptl/sysdeps/pthread/pthread.h: Moved ...
29175         * sysdeps/nptl/pthread.h: ... here.
29176         * nptl/sysdeps/pthread/setxid.h: Moved ...
29177         * sysdeps/nptl/setxid.h: ... here.
29178         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29179         * sysdeps/nptl/sigfillset.c: ... here.
29180         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29181         * sysdeps/nptl/tcb-offsets.h: ... here.
29182         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29183         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29184         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29185         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29186         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29187         * sysdeps/pthread/allocalim.h: ... here.
29188         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29189         * sysdeps/pthread/bits/sigthread.h: ... here.
29190         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29191         * sysdeps/pthread/flockfile.c: ... here.
29192         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29193         * sysdeps/pthread/ftrylockfile.c: ... here.
29194         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29195         * sysdeps/pthread/funlockfile.c: ... here.
29196         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29197         * sysdeps/pthread/posix-timer.h: ... here.
29198         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29199         * sysdeps/pthread/timer_create.c: ... here.
29200         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29201         * sysdeps/pthread/timer_delete.c: ... here.
29202         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29203         * sysdeps/pthread/timer_getoverr.c: ... here.
29204         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29205         * sysdeps/pthread/timer_gettime.c: ... here.
29206         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29207         * sysdeps/pthread/timer_routines.c: ... here.
29208         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29209         * sysdeps/pthread/timer_settime.c: ... here.
29210         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29211         * sysdeps/pthread/tst-timer.c: ... here.
29212         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29213         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29215         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29216         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29218         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29219         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29220         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29221         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29222         Update #include target.
29223         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29224         * sysdeps/i386/i686/nptl/Makefile: ... here.
29225         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29226         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29227         Update #include target.
29228         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29229         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29230         * nptl/sysdeps/i386/Makefile: Moved ...
29231         * sysdeps/i386/nptl/Makefile: ... here.
29232         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29233         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29234         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29235         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29236         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29237         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29238         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29239         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29240         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29241         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29242         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29243         * nptl/sysdeps/i386/tls.h: Moved ...
29244         * sysdeps/i386/nptl/tls.h: ... here.
29246         * sysdeps/sh/Makefile [$(subdir) = csu]
29247         (gen-as-const-headers): Add tcb-offsets.sym.
29248         * nptl/sysdeps/sh/Makefile: File removed.
29249         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29250         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29251         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29252         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29253         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29254         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29255         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29256         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29257         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29258         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29259         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29260         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29261         * nptl/sysdeps/sh/tls.h: Moved ...
29262         * sysdeps/sh/nptl/tls.h: ... here.
29263         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29264         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29265         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29266         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29267         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29268         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29269         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29270         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29271         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29272         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29273         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29274         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29275         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29276         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29277         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29278         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29279         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29280         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29281         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29282         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29283         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29284         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29285         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29286         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29287         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29288         Moved ...
29289         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29290         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29291         Moved ...
29292         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29293         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29294         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29295         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29296         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29297         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29298         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29299         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29300         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29301         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29302         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29303         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29304         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29305         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29306         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29307         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29308         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29309         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29310         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29312 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29314         * posix/spawn_faction_addopen.c: Include string.h.
29316 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29318         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29319         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29320         * nptl/sysdeps/x86_64/Makefile: Moved ...
29321         * sysdeps/x86_64/nptl/Makefile: ... here.
29322         * nptl/sysdeps/x86_64/configure: Moved ...
29323         * sysdeps/x86_64/nptl/configure: ... here.
29324         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29325         * sysdeps/x86_64/nptl/configure.ac: ... here.
29326         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29327         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29328         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29329         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29330         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29331         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29332         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29333         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29334         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29335         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29336         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29337         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29338         * nptl/sysdeps/x86_64/tls.h: Moved ...
29339         * sysdeps/x86_64/nptl/tls.h: ... here.
29340         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29341         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29342         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29343         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29345         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29347 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29351 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29353         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29354         type.
29355         [POSIX] (off_t): Likewise.
29356         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29357         [POSIX] (S_ISBLK): Require macro.
29358         [POSIX] (S_ISCHR): Likewise.
29359         [POSIX] (S_ISDIR): Likewise.
29360         [POSIX] (S_ISFIFO): Likewise.
29361         [POSIX] (S_ISREG): Likewise.
29362         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29363         optional-macro.
29364         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29365         type.
29366         [POSIX] (time_t): Likewise.
29367         [POSIX] (timer_t): Likewise.
29369 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29371         [BZ #17048]
29372         * posix/spawn_int.h (struct __spawn_action): Make the path string
29373         non-const to support deallocation.
29374         * posix/spawn_faction_addopen.c
29375         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29376         * posix/spawn_faction_destroy.c
29377         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29378         path in all spawn_do_open actions.
29379         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29380         posix_spawn_file_actions_addopen.
29382 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29384         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29385         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29386         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29387         conditional code always true.
29388         (__libc_vfork): New alias.
29390 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29392         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29393         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29395         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29397         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29398         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29400         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29401         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29403         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29404         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29406 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29408         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29409         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29410         multiarch strcmp for PPC64.
29411         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29412         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29414         multiarch optimizations.
29415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29416         (__libc_ifunc_impl_list): Likewise.
29418 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29420         * benchtests/scripts/validate_benchout.py: New script.
29421         * benchtests/Makefile (bench-func): Call it.
29422         * benchtests/scripts/benchout.schema.json: New file.
29424 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29426         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29427         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29428         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29429         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29430         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29431         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29432         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29433         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29434         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29435         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29436         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29437         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29438         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29439         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29440         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29441         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29443         Moved ...
29444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29445         ... here.
29446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29447         Moved ...
29448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29450         Moved ...
29451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29452         ... here.
29453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29454         Moved ...
29455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29456         ... here.
29457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29458         Moved ...
29459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29461         Moved ...
29462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29463         ... here.
29464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29465         Moved ...
29466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29467         ... here.
29468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29469         Moved ...
29470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29472         Moved ...
29473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29474         ... here.
29475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29476         Moved ...
29477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29478         ... here.
29479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29480         Moved ...
29481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29482         ... here.
29483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29484         Moved ...
29485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29487         Moved ...
29488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29489         ... here.
29490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29491         Moved ...
29492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29493         ... here.
29494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29495         Moved ...
29496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29497         ... here.
29498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29499         Moved ...
29500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29502         Moved ...
29503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29504         ... here.
29505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29506         Moved ...
29507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29508         ... here.
29509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29510         Moved ...
29511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29513         Moved ...
29514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29515         ... here.
29516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29517         Moved ...
29518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29520         Moved ...
29521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29523         Moved ...
29524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29525         ... here.
29526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
29527         Moved ...
29528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
29529         ... here.
29530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
29531         Moved ...
29532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
29533         ... here.
29534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
29535         Moved ...
29536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
29537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
29538         Moved ...
29539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
29540         ... here.
29541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
29542         Moved ...
29543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29544         ... here.
29545         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29546         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29547         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29548         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29549         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29550         Moved ...
29551         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29552         ... here.
29553         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29554         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29555         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29556         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29557         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29558         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29559         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29560         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29561         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29562         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
29563         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
29564         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
29565         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
29566         Moved ...
29567         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
29568         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
29569         Moved ...
29570         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
29571         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
29572         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
29573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
29574         Moved ...
29575         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
29576         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
29577         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
29578         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
29579         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
29580         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
29581         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
29583 2014-06-10  Wilco  <wdijkstr@arm.com>
29585         * math/test-fenv-return.c: New file.
29586         * math/Makefile: Add new test test-fenv-return.
29588 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
29590         [BZ #17042]
29591         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
29592         when x - 1 is zero.
29593         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
29594         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
29595         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
29596         0.0L for an argument of 1.0L.
29597         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
29598         Likewise.
29599         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
29600         value when x - 1 is zero.
29601         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
29602         * sysdeps/i386/fpu/libm-test-ulps: Update.
29603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29605 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
29607         [BZ #15119]
29608         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
29610 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29612         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
29613         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
29615 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29617         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29618         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
29620         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29621         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
29623         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29624         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
29626         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29627         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
29629         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
29630         if not already defined.
29631         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
29632         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
29633         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
29634         (TLS_INIT_TP): Use it.
29635         (TLS_DEFINE_INIT_TP): New macro.
29636         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
29638 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
29640         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
29641         constant.
29642         [POSIX] (IXANY): Likewise.
29643         [POSIX] (OLCUC): Likewise.
29644         [POSIX || POSIX2008] (CBAUD): Do not allow.
29645         [POSIX || POSIX2008] (DEFECHO): Likewise.
29646         [POSIX || POSIX2008] (ECHOCTL): Likewise.
29647         [POSIX || POSIX2008] (ECHOKE): Likewise.
29648         [POSIX || POSIX2008] (ECHOPRT): Likewise.
29649         [POSIX || POSIX2008] (EXTA): Likewise.
29650         [POSIX || POSIX2008] (EXTB): Likewise.
29651         [POSIX || POSIX2008] (FLUSHO): Likewise.
29652         [POSIX || POSIX2008] (LOBLK): Likewise.
29653         [POSIX || POSIX2008] (PENDIN): Likewise.
29654         [POSIX || POSIX2008] (SWTCH): Likewise.
29655         [POSIX || POSIX2008] (VDISCARD): Likewise.
29656         [POSIX || POSIX2008] (VDSUSP): Likewise.
29657         [POSIX || POSIX2008] (VLNEXT): Likewise.
29658         [POSIX || POSIX2008] (VREPRINT): Likewise.
29659         [POSIX || POSIX2008] (VSTATUS): Likewise.
29660         [POSIX || POSIX2008] (VWERASE): Likewise.
29661         (B*): Change to B[0123456789]*.
29662         * conform/data/time.h-data [POSIX || UNIX98]
29663         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
29664         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29665         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
29666         [POSIX] (tm_*): Do not allow.
29668 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
29670         * Makefile (install): Don't set LANGUAGE.
29671         * Makefile.in (install): Likewise.
29672         * assert/Makefile (test-assert-ENV): Remove variable.
29673         (test-assert-perr-ENV): Likewise.
29674         * elf/Makefile (neededtest4-ENV): Likewise.
29675         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29676         [$(cross-compiling) = no]: Don't set LANGUAGE.
29677         * io/ftwtest-sh (LANG): Remove variable.
29678         * libio/Makefile (tst-widetext-ENV): Likewise.
29679         * manual/install.texi (Running make install): Don't refer to
29680         environment settings for make install.
29681         * INSTALL: Regenerated.
29682         * nptl/tst-tls6.sh: Don't set LANG.
29683         * posix/globtest.sh (LANG): Remove variable.
29684         * string/Makefile (tester-ENV): Likewise.
29685         (inl-tester-ENV): Likewise.
29686         (noinl-tester-ENV): Likewise.
29687         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29688         [$(cross-compiling) = no]: Don't set LANGUAGE.
29689         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
29690         without explicit environment settings.
29692 2014-06-06  Roland McGrath  <roland@hack.frob.com>
29694         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
29695         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
29696         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
29697         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
29699 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
29701         * crypt/crypt-private.h [DOS]: Add some includes taken from the
29702         other files in the crypt directory.
29703         * crypt/crypt.c: Remove duplicate includes.
29704         * crypt/crypt-entry.c: Likewise.
29705         * crypt/crypt_util.c: Likewise.
29707 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
29709         * Makeconfig (run-program-env): New variable.
29710         (run-program-prefix-before-env): Likewise.
29711         (run-program-prefix-after-env): Likewise.
29712         (run-program-prefix): Define in terms of new variables.
29713         (built-program-cmd-before-env): New variable.
29714         (built-program-cmd-after-env): Likewise.
29715         (built-program-cmd): Define in terms of new variables.
29716         (test-program-prefix-before-env): New variable.
29717         (test-program-prefix-after-env): Likewise.
29718         (test-program-prefix): Define in terms of new variables.
29719         (test-program-cmd-before-env): New variable.
29720         (test-program-cmd-after-env): Likewise.
29721         (test-program-cmd): Define in terms of new variables.
29722         * Rules (make-test-out): Use $(run-program-env).
29723         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
29724         (help): Do not mention environment variables.  Mention
29725         --timeoutfactor option.
29726         (timeoutfactor): New variable.
29727         (blacklist_exports): Remove function.
29728         (exports): Remove variable.
29729         (command): Do not include ${exports}.
29730         * manual/install.texi (Configuring and compiling): Do not mention
29731         test wrappers preserving environment variables.  Mention that last
29732         assignment to a variable must take precedence.
29733         * INSTALL: Regenerated.
29734         * benchtests/Makefile (run-bench): Use $(run-program-env).
29735         * catgets/Makefile ($(objpfx)test1.cat): Use
29736         $(built-program-cmd-before-env), $(run-program-env) and
29737         $(built-program-cmd-after-env).
29738         ($(objpfx)test2.cat): Do not specify environment variables
29739         explicitly.
29740         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
29741         $(run-program-env) and $(built-program-cmd-after-env).
29742         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
29743         $(run-program-env) and $(test-program-cmd-after-env).
29744         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
29745         explicitly.
29746         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
29747         run_program_env and test_program_cmd_after_env arguments.
29748         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
29749         * elf/tst-pathopt.sh: Use run_program_env argument.
29750         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
29751         $(test-wrapper-env) and $(run-program-env).
29752         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
29753         run_program_env arguments.
29754         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
29755         * intl/Makefile ($(objpfx)tst-gettext.out): Use
29756         $(test-program-prefix-before-env), $(run-program-env) and
29757         $(test-program-prefix-after-env).
29758         ($(objpfx)tst-gettext2.out): Likewise.
29759         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
29760         run_program_env and test_program_prefix_after_env arguments.
29761         * intl/tst-gettext2.sh: Likewise.
29762         * intl/tst-gettext4.sh: Do not set environment variables
29763         explicitly.
29764         * intl/tst-gettext6.sh: Likewise.
29765         * intl/tst-translit.sh: Likewise.
29766         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
29767         $(test-program-prefix-before-env), $(run-program-env) and
29768         $(test-program-prefix-after-env).
29769         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
29770         run_program_env and test_program_prefix_after_env arguments.
29771         * math/Makefile (run-regen-ulps): Use $(run-program-env).
29772         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
29773         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
29774         explicitly with each use of ${test_wrapper_env}.
29775         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
29776         $(test-program-prefix-before-env), $(run-program-env) and
29777         $(test-program-prefix-after-env).
29778         * posix/tst-getconf.sh: Do not set environment variables
29779         explicitly.
29780         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
29781         run_program_env and test_program_prefix_after_env arguments.
29782         * stdio-common/tst-printf.sh: Do not set environment variables
29783         explicitly.
29784         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
29785         $(test-program-prefix-before-env), $(run-program-env) and
29786         $(test-program-prefix-after-env).
29787         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
29788         run_program_env and test_program_prefix_after_env arguments.
29789         Split $test calls into $test_pre and $test.
29790         * timezone/Makefile (build-testdata): Use
29791         $(built-program-cmd-before-env), $(run-program-env) and
29792         $(built-program-cmd-after-env).
29794 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29796         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
29797         strlen for non SHARED builds.
29799 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29801         * nptl/allocatestack.c (check_list): Inlined function...
29802         (__reclaim_stacks): ... here.
29804 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29806         [BZ #15698]
29807         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29808         memory overrun.
29810 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
29812         * Rules (make-test-out): Include
29813         LOCPATH=$(common-objpfx)localedata in default environment.
29814         * debug/Makefile (tst-chk1-ENV): Remove variable.
29815         (tst-chk2-ENV): Likewise.
29816         (tst-chk3-ENV): Likewise.
29817         (tst-chk4-ENV): Likewise.
29818         (tst-chk5-ENV): Likewise.
29819         (tst-chk6-ENV): Likewise.
29820         (tst-lfschk1-ENV): Likewise.
29821         (tst-lfschk2-ENV): Likewise.
29822         (tst-lfschk3-ENV): Likewise.
29823         (tst-lfschk4-ENV): Likewise.
29824         (tst-lfschk5-ENV): Likewise.
29825         (tst-lfschk6-ENV): Likewise.
29826         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
29827         (tst-iconv7-ENV): Likewise.
29828         * intl/Makefile (LOCPATH-ENV): Likewise.
29829         (tst-codeset-ENV): Likewise.
29830         (tst-gettext3-ENV): Likewise.
29831         (tst-gettext5-ENV): Likewise.
29832         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
29833         (tst-fopenloc-ENV): Likewise.
29834         (tst-fgetws-ENV): Remove variable.
29835         (tst-ungetwc1-ENV): Likewise.
29836         (tst-ungetwc2-ENV): Likewise.
29837         (bug-ungetwc2-ENV): Likewise.
29838         (tst-swscanf-ENV): Likewise.
29839         (bug-ftell-ENV): Likewise.
29840         (tst-fgetwc-ENV): Likewise.
29841         (tst-fseek-ENV): Likewise.
29842         (tst-ftell-partial-wide-ENV): Likewise.
29843         (tst-ftell-active-handler-ENV): Likewise.
29844         (tst-ftell-append-ENV): Likewise.
29845         * posix/Makefile (tst-fnmatch-ENV): Likewise.
29846         (tst-regexloc-ENV): Likewise.
29847         (bug-regex1-ENV): Likewise.
29848         (tst-regex-ENV): Likewise.
29849         (tst-regex2-ENV): Likewise.
29850         (bug-regex5-ENV): Likewise.
29851         (bug-regex6-ENV): Likewise.
29852         (bug-regex17-ENV): Likewise.
29853         (bug-regex18-ENV): Likewise.
29854         (bug-regex19-ENV): Likewise.
29855         (bug-regex20-ENV): Likewise.
29856         (bug-regex22-ENV): Likewise.
29857         (bug-regex23-ENV): Likewise.
29858         (bug-regex25-ENV): Likewise.
29859         (bug-regex26-ENV): Likewise.
29860         (bug-regex30-ENV): Likewise.
29861         (bug-regex32-ENV): Likewise.
29862         (bug-regex33-ENV): Likewise.
29863         (bug-regex34-ENV): Likewise.
29864         (bug-regex35-ENV): Likewise.
29865         (tst-rxspencer-ENV): Likewise.
29866         (tst-rxspencer-no-utf8-ENV): Likewise.
29867         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
29868         (tst-sscanf-ENV): Likewise.
29869         (tst-swprintf-ENV): Likewise.
29870         (tst-swscanf-ENV): Likewise.
29871         (test-vfprintf-ENV): Likewise.
29872         (scanf13-ENV): Likewise.
29873         (bug14-ENV): Likewise.
29874         (tst-grouping-ENV): Likewise.
29875         * stdlib/Makefile (tst-strtod-ENV): Likewise.
29876         (tst-strtod3-ENV): Likewise.
29877         (tst-strtod4-ENV): Likewise.
29878         (tst-strtod5-ENV): Likewise.
29879         (testmb2-ENV): Likewise./
29880         * string/Makefile (tst-strxfrm-ENV): Likewise.
29881         (tst-strxfrm2-ENV): Likewise.
29882         (bug-strcoll1-ENV): Likewise.
29883         (test-strcasecmp-ENV): Likewise.
29884         (test-strncasecmp-ENV): Likewise.
29885         * time/Makefile (tst-strptime-ENV): Likewise.
29886         (tst-ftime_l-ENV): Likewise.
29887         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
29888         (tst-mbrtowc-ENV): Likewise.
29889         (tst-wcrtomb-ENV): Likewise.
29890         (tst-mbrtowc2-ENV): Likewise.
29891         (tst-c16c32-1-ENV): Likewise.
29892         (tst-mbsnrtowcs-ENV): Likewise.
29894 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29896         * manual/resource.texi (How to get information about the memory
29897         subsystem?): Fix typo.
29898         Reported by Peon de la Parra Ivan <peon@keba.com>
29900 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
29902         [BZ #16882]
29903         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
29904         (pthread_spin_lock): Branch out of spin loop to proper location.
29905         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
29906         (pthread_spin_lock): Likewise.
29908         * nptl/tst-spin4.c: New test.
29909         * nptl/Makefile (tests): Add tst-spin4.
29911 2014-06-03  Andreas Schwab  <schwab@suse.de>
29913         [BZ #15946]
29914         * resolv/res_send.c (send_dg): Reload file descriptor after
29915         calling reopen.
29917 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
29919         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29921 2014-06-03  Richard Henderson  <rth@redhat.com>
29923         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
29924         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
29925         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
29926         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
29927         in the SAVE_PID block.
29928         (__libc_vfork): New alias.
29929         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
29931         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
29932         child in registers, not on the stack.  Remove RESET_PID conditionals.
29933         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
29935 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29937         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29939 2014-06-03  Wilco  <wdijkstr@arm.com>
29941         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
29942         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
29943         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29944         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29945         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
29946         Likewise.
29948 2014-06-03  Wilco  <wdijkstr@arm.com>
29950         * sysdeps/aarch64/fpu/math_private.h
29951         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
29952         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
29953         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
29954         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29955         Fix declarations.
29957 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29959         * crypt/crypt-private.h: Include ufc-crypt.h.
29960         (__b64_from_24bit): Declare extern.
29961         * crypt/crypt_util.c(__b64_from_24bit): New function.
29962         (b64t): New static const variable.
29963         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
29964         (b64t): Remove variable.
29965         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
29966         * crypt/sha256-crypt.c: Include crypt-private.h.
29967         (b64t): Remove variable.
29968         (__sha256_crypt_r): Remove b64_from_24bit and replace
29969         with __b64_from_24bit.
29970         * crypt/sha512-crypt.c: Likewise.
29972 2014-06-02  Roland McGrath  <roland@hack.frob.com>
29974         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
29975         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
29976         Label the code __libc_vfork rather than __vfork.
29977         [!NOT_IN_libc] (vfork): Define as weak alias.
29978         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
29979         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
29980         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
29982 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29984         * malloc/malloc.c (malloc_info): Fix format specifier for
29985         n_mmaps.
29987 2014-06-02  Wilco  <wdijkstr@arm.com>
29989         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
29990         FPCR write.
29992 2014-06-02  Wilco  <wdijkstr@arm.com>
29994         [BZ #17009]
29995         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
29996         Rewrite to reduce FPCR/FPSR accesses.
29998 2014-06-01  David S. Miller  <davem@davemloft.net>
30000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30002 2014-05-31  David S. Miller  <davem@davemloft.net>
30004         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
30005         to occur in round to nearest mode when |x| >= 2.0
30007 2014-05-30  Richard Henderson  <rth@twiddle.net>
30009         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
30010         (PSEUDO_RET_NOERRNO): Remove.
30011         (ret): Don't redefine.
30012         (ret_NOERRNO): Define in terms of ret.
30013         (ret_ERRVAL): Likewise.
30015         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
30016         use of PSEUDO_RET; perform the error check directly.
30018 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
30020         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
30021         with __int128_t.
30023 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30025         * malloc/malloc (malloc_info): Fix formatting.
30027 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30028             Roland McGrath  <roland@hack.frob.com>
30030         * malloc/malloc (malloc_info): Also print mmapped statistics.
30032 2014-05-30  Roland McGrath  <roland@hack.frob.com>
30034         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
30035         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
30037 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
30039         * malloc/malloc.c (malloc_info): Inline mi_arena.
30041 2014-05-29  Richard Henderson  <rth@twiddle.net>
30043         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
30044         Remove comma before expanding ASM_ARGS_##nr.
30045         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
30046         Make _x0 a strict output; make _x8 a strict input; adjust expansion
30047         of ASM_ARGS_##nr.
30048         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
30049         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
30050         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
30051         (ASM_ARGS_1): Add leading comma.
30053         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
30054         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
30055         to __errno_location.
30056         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
30057         Remove the expected plt for __errno_location.
30059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30060         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
30061         call to __read_tp.
30063         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30064         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
30065         it and break it down.
30066         (DOCARGS_0, DOCARGS_1): Do nothing.
30067         (DOCARGS_2): Update to store into the new stack frame.
30068         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
30069         (UNDOCARGS_1): Update to restore from the new stack frame.
30070         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
30071         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
30073         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30074         (SINGLE_THREAD_P): New parameter for result regno.
30075         (PSEUDO): Update to match; use cbz instead of beq.
30077         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30078         Use ENTRY to define the _nocancel entry point.  Share the syscall
30079         and syscall error check paths with the cancel path.
30080         (PSEUDO_END): New.
30082         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
30083         whitespace; tabs before and after asm mnemonics.
30085 2014-05-29  Eric Wong  <normalperson@yhbt.net>
30087         [BZ #15132]
30088         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30089         Call fstat64 or stat64 internally, depending on arguments passed.
30090         Replace stat buffer argument with file descriptor argument.
30091         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
30092         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30093         Pass fd to __internal_statvfs instead of calling fstat64.
30094         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
30095         Pass fd to __internal_statvfs64 instead of calling fstat64.
30096         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
30097         Pass -1 to __internal_statvfs instead of calling stat64.
30098         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
30099         Pass -1 to __internal_statvfs64 instead of calling stat64.
30101 2014-05-28  Roland McGrath  <roland@hack.frob.com>
30103         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
30104         that was previously under [RESET_PID].
30105         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
30107         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
30108         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30110 2014-05-27  Roland McGrath  <roland@hack.frob.com>
30112         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30114         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
30115         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
30117 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
30119         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
30121 2014-05-27  Andreas Schwab  <schwab@suse.de>
30123         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
30124         TLS_INIT_TP macro.
30125         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30126         * elf/rtld.c (init_tls, dl_main): Likewise.
30127         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
30128         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
30129         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
30130         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
30131         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
30132         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
30133         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
30134         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
30135         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
30136         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
30137         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
30138         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
30139         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
30140         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
30141         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
30142         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
30143         * sysdeps/generic/tls.h: Update description.
30145 2014-05-27  Will Newton  <will.newton@linaro.org>
30147         [BZ #16990]
30148         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
30149         and restore r2 rather than just restoring.
30151 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30153         [BZ #16724]
30154         * libio/tst-ftell-append.c: New test case.
30155         * libio/Makefile (tests): Add test case.
30156         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
30157         append mode.
30158         * libio/wfileops.c (do_ftell_wide): Likewise.
30160 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30164         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30165         ...
30166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30168         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30169         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30170         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30171         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30172         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30173         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30174         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30175         Moved ...
30176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30178         Moved ...
30179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30180         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30181         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30182         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30183         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30184         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30185         ...
30186         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30187         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30188         Moved ...
30189         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30190         here.
30191         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30192         ...
30193         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30194         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30195         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30197         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30198         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30199         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30200         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30202         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30203         merge into ...
30204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30205         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30206         ...
30207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30208         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30209         ...
30210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30211         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30212         Moved ...
30213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30214         here.
30215         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30216         Moved ...
30217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30218         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30219         Moved ...
30220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30223         conditional [RESET_PID].
30224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30225         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30226         removed.
30227         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30228         removed.
30230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30231         <tcb-offsets.h>.
30232         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30233         (__libc_vfork): New strong alias.
30234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30235         removed.
30236         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30237         Removed.
30239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30240         <tcb-offsets.h>.
30241         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30242         (__libc_vfork): New strong alias.
30243         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30244         removed.
30245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30246         removed.
30248 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30250         * malloc/malloc.c (mi_arena): New function.
30251         (malloc_info): Remove nested function mi_arena. Call non-nosted
30252         function mi_arena.
30254 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30256         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30257         by insrwi.
30258         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30259         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30260         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30261         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30262         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30263         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30264         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30266 2014-05-26  Andreas Schwab  <schwab@suse.de>
30268         [BZ #16984]
30269         * locale/programs/repertoire.c (repertoire_read): Add slash
30270         between I18NPATH element and file name.
30271         * locale/programs/locfile.c (locfile_read): Likewise.
30273 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30275         * nptl/pthread_mutexattr_settype.c
30276         (__pthread_mutexattr_settype):
30277         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30279 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30281         * nptl/tst-mutex5 (do_test):
30282         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30284 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30286         * benchtests/README: Document 'init' directive.
30287         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30288         BENCH_INIT.
30289         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30290         (parse_file): Recognize 'init' directive.
30292 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30294         [BZ #16796]
30295         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30296         alignment of struct pthread.
30298 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30300         [BZ #16878]
30301         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30302         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30303         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30304         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30306 2014-05-25  Richard Henderson  <rth@twiddle.net>
30308         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30309         (SINGLE_THREAD_P_PIC): Remove.
30310         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30311         (SINGLE_THREAD_P_PIC): Remove.
30313         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30314         branch to syscall error ...
30315         (PSEUDO): ... here.
30316         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30317         from __local_syscall_error to .Lsyscall_error.
30318         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30319         (SYSCALL_ERROR): Update label name.
30321         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30322         Do not use DOARGS/UNDOARGS.
30323         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30324         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30325         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30326         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30327         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30330         block comment.
30332         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30333         define if !NOT_IN_libc.
30334         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30335         define with non-default symbol versions.
30337 2014-05-23  Richard Henderson  <rth@twiddle.net>
30339         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30340         (vfork, __vfork): Define via compat_symbol.
30342         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30343         [!HAVE_IFUNC] (vfork_compat): Remove.
30344         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30346 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30348         [BZ #16978]
30349         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30350         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30351         variable.
30353 2014-05-23  Richard Henderson  <rth@twiddle.net>
30355         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30356         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30357         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30358         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30360         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30361         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30362         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30363         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30364         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30365         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30366         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30367         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30368         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30369         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30370         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30371         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30372         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30373         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30374         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30375         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30376         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30377         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30378         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30379         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30380         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30381         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30382         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30383         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30384         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30385         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30386         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30387         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30388         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30389         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30390         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30391         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30392         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30393         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30394         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30395         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30396         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30397         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30398         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30399         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30400         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30401         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30402         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30403         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30404         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30405         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30406         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30407         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30408         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30409         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30410         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30411         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30412         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30413         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30414         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30415         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30417         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30418         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30419         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30420         before exiting on error.
30421         (__libc_vfork): New strong alias.
30422         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30423         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30425         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30426         that was previously under [RESET_PID].
30427         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30429         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30431 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30433         [BZ #16977]
30434         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30435         value when x - 1 is zero.
30436         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30437         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30438         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30439         0.0L for an argument of 1.0L.
30440         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30441         Likewise.
30442         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30443         value when x - 1 is zero.
30444         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30445         * sysdeps/i386/fpu/libm-test-ulps: Update.
30446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30448 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30450         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30451         alphasort and versionsort.
30453 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30455         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30456         macro.
30457         [copysignf]: Likewise.
30459 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30461         * crypt/md5-crypt.c: Fix formatting.
30463 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30465         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30466         (b64_from_24bit): New function.
30468 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30470         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30471         libc_hidden_builtin_def to ifunc.
30472         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30473         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30475 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30477         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30478         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30480 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30482         * nscd/Depend (linuxthreads): Remove.
30483         (nptl): Add.
30484         * resolv/Depend (linuxthreads): Remove.
30485         * rt/Depend (linuxthreads): Remove.
30487         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30488         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30489         $(common-objpfx)elf/.
30490         (link-libc-before-gnulib): Likewise.
30491         (elfobjdir): Remove variable.
30492         * Makefile (install): Use $(elf-objpfx) instead of
30493         $(common-objpfx)elf/.
30494         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30495         $(elfobjdir)/.
30496         (link-libc-deps): Likewise.
30497         ($(common-objpfx)libc.so): Likewise.
30498         ($(common-objpfx)linkobj/libc.so): Likewise.
30499         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30500         instead of $(common-objpfx)elf/.
30501         (symbolic-link-list): Likewise.
30502         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30503         [$(cross-compiling) = no]: Likewise.
30504         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30505         $(elfobjdir)/.
30506         (static-gnulib-arch): Likewise.
30507         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30508         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30509         $(common-objpfx)elf/.
30511 2014-05-21  Richard Henderson  <rth@redhat.com>
30513         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30514         (SINGLE_THREAD_P): Use the correct width load.  Fold
30515         into the ldr offset.
30517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30518         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30520 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30522         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30523         (libgcc_s_resume): Use __attribute_used__.
30524         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30525         Likewise.
30527 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30529         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
30530         optimization when used with float constants.
30532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30534 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
30536         [BZ #16915]
30537         * locale/nl_langinfo_l.c: Make direct reference to every
30538         _nl_current_CATEGORY symbol.
30539         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
30540         (tests-static): Add tst-langinfo-static.
30541         (tests-special): Add tst-langinfo-static.out.
30542         ($(objpfx)tst-langinfo.out): Redirect output.
30543         ($(objpfx)tst-langinfo-static.out): New.
30544         * localedata/tst-langinfo.sh: Send output to stdout.
30545         * localedata/tst-langinfo-static.c: New file.
30547         [BZ #16965]
30548         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30549         when the shift amount is modulo the limb size.
30551 2014-05-20  Richard Henderson  <rth@redhat.com>
30553         [BZ #16967]
30554         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30555         Change type of sa_flags from unsigned int to int.
30557         [BZ #16966]
30558         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30560         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30562 2014-05-20  Will Newton  <will.newton@linaro.org>
30564         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30565         Test the return value of the system call in the nocancel case.
30567 2014-05-20  Will Newton  <will.newton@linaro.org>
30568             Yvan Roux  <yvan.roux@linaro.org>
30570         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
30571         #include of asm/ptrace.h.
30572         (PTRACE_GET_THREAD_AREA): Remove #undef.
30573         (PTRACE_GETHBPREGS): Likewise.
30574         (PTRACE_SETHBPREGS): Likewise.
30575         (struct user_regs_struct): New structure.
30576         (struct user_fpsimd_struct): New structure.
30577         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
30578         #include of asm/ptrace.h and second #include of sys/user.h.
30579         (PTRACE_GET_THREAD_AREA): Remove #undef.
30580         (PTRACE_GETHBPREGS): Likewise.
30581         (PTRACE_SETHBPREGS): Likewise.
30582         (ELF_NGREG): Use new struct user_regs_struct.
30583         (elf_fpregset_t): Use new struct user_fpsimd_struct.
30585 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30587         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
30588         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
30590 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
30592         [BZ #16958]
30593         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
30594         membar to avoid block loads/stores to overlap previous stores.
30596 2014-05-17  Richard Henderson  <rth@redhat.com>
30598         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
30599         Create the __##syscall_name##_nocancel entry point.
30600         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
30601         Remove; let the sysdep-cancel.h code create it.
30603 2014-05-17  David S. Miller  <davem@davemloft.net>
30605         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
30606         Protect with __USE_GNU.
30607         (TIOCSET_TEMPT): Likewise.
30608         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30609         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
30610         these are already provided in bits/ioctl-types.h
30612 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30614         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
30615         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
30617         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
30618         Use wait4 regardless of [__NR_waitpid].
30620 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30622         PR libgcc/60166
30623         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30624         (_FP_NANSIGN_Q): Set the quiet bit.
30626 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
30628         * benchtests/Makefile
30629         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
30630         not $(common-objpfx)math/libm.so.
30631         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
30632         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
30633         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
30634         $(common-objpfx)dlfcn/libdl.so.
30635         ($(objpfx)tst-audit8): Depend on $(libm), not
30636         $(common-objpfx)math/libm.so.
30637         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
30638         not $(common-objpfx)dlfcn/libdl.so.
30639         * math/Makefile
30640         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30641         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
30642         [$(build-shared) = yes].
30643         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
30644         $(common-objpfx)nptl/libpthread.so.
30645         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
30646         $(common-objpfx)math/libm.so$(libm.so-version) or
30647         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
30648         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
30649         $(common-objpfx)dlfcn/libdl.so.
30650         * setjmp/Makefile (link-libm): Remove variable.
30651         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
30652         * stdio-common/Makefile (link-libm): Remove variable.
30653         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
30654         * stdlib/Makefile (link-libm): Remove variable.
30655         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
30656         ($(objpfx)tst-strtod-round): Likewise.
30657         ($(objpfx)tst-tininess): Likewise.
30658         ($(objpfx)tst-strtod-underflow): Likewise.
30659         ($(objpfx)tst-strtod6): Likewise.
30660         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
30661         $(libdl), not $(common-objpfx)nptl/libpthread.so and
30662         $(common-objpfx)dlfcn/libdl.so.
30664 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30666         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
30667         BSD terminal modes definitions.
30669 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30671         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
30672         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
30674         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
30675         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
30676         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
30677         Don't do #include_next.
30678         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
30679         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
30680         Don't do #include_next.
30681         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
30682         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
30683         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
30684         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
30686 2014-05-16  Allan McRae  <allan@archlinux.org>
30688         * po/sv.po: Update Swedish translation from translation project.
30690         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
30691         in sed expression.
30693 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
30695         [BZ #16917]
30696         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
30697         errno if the TIOCGPTN ioctl fails with an error different than
30698         EINVAL.
30699         * login/tst-ptsname.c: New file.
30700         * login/Makefile (tests): Add tst-ptsname.
30702         [BZ #16943]
30703         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
30704         and prlimit64.
30706 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30708         [BZ #16849]
30709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
30710         herrno to return EAI_AGAIN.
30712 2014-05-14  Roland McGrath  <roland@hack.frob.com>
30714         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
30715         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
30716         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
30717         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
30718         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
30719         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
30720         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
30721         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
30722         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
30723         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
30724         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
30725         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
30726         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
30727         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
30728         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
30729         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
30730         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
30731         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
30732         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
30733         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
30734         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
30735         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
30736         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
30737         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
30738         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
30739         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
30740         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
30741         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
30742         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
30743         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
30744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
30745         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
30746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
30747         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
30748         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30749         Moved ...
30750         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
30751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
30752         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
30753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
30754         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
30755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
30756         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
30757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
30758         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
30759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
30760         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
30761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
30762         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
30763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
30764         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
30765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
30766         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
30767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
30768         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
30769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
30770         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
30771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
30772         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
30773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
30774         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
30775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
30776         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
30777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30778         Moved ...
30779         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
30780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
30781         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
30782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
30783         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
30784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
30785         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
30786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
30787         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
30788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
30789         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
30790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
30791         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
30792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
30793         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
30794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
30795         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
30796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
30797         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
30798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30799         Moved ...
30800         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
30801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
30802         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
30804         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
30805         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
30806         (libpthread-sysdep_routines): Add elision-related stuff here instead.
30807         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
30808         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
30809         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
30810         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
30811         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
30812         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
30813         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
30814         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
30815         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
30816         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
30817         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
30818         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
30819         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
30820         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
30821         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
30822         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
30823         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
30824         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
30825         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
30826         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
30827         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
30828         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
30829         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
30830         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
30831         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
30832         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
30833         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
30834         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
30836         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
30837         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
30839         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
30840         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
30841         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
30842         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
30843         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
30844         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
30845         Moved ...
30846         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
30847         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30848         Moved ...
30849         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
30850         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30851         Moved ...
30852         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
30853         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
30854         Moved ...
30855         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
30856         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
30857         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
30858         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30859         Moved ...
30860         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
30861         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
30862         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
30863         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
30864         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
30865         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
30866         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
30867         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30868         Moved ...
30869         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
30870         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30871         Moved ...
30872         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30873         ... here.
30874         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
30875         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
30876         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
30877         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
30878         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30879         Moved ...
30880         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30881         ... here.
30882         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
30883         Moved ...
30884         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
30885         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
30886         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
30887         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
30888         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
30889         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
30890         Moved ...
30891         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
30892         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30893         Moved ...
30894         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
30895         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30896         Moved ...
30897         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
30898         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
30899         Moved ...
30900         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
30901         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
30902         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
30903         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
30904         Moved ...
30905         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
30906         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
30907         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
30908         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
30909         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
30910         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
30911         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
30912         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30913         Moved ...
30914         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
30915         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30916         Moved ...
30917         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30918         ... here.
30919         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
30920         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
30921         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
30922         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
30923         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30924         Moved ...
30925         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30926         ... here.
30927         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
30928         Moved ...
30929         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
30930         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
30931         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
30932         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
30933         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
30934         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
30935         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
30936         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
30937         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
30938         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
30939         Moved ...
30940         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
30941         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30942         Moved ...
30943         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
30944         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30945         Moved ...
30946         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
30947         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
30948         Moved ...
30949         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
30950         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
30951         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
30952         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
30953         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
30954         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30955         Moved ...
30956         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
30957         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
30958         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
30959         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
30960         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
30961         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
30962         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
30963         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30964         Moved ...
30965         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
30966         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30967         Moved ...
30968         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30969         ... here.
30970         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
30971         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
30972         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
30973         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
30974         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30975         Moved ...
30976         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30977         ... here.
30978         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
30979         Moved ...
30980         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
30981         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
30982         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
30983         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
30984         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
30985         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
30986         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
30987         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
30988         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
30989         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
30990         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
30992         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
30993         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
30995         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
30996         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
30998         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
30999         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
31000         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
31001         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
31002         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
31003         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
31004         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
31005         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
31006         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
31007         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
31008         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
31009         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
31010         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
31011         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
31012         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
31013         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
31014         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
31015         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
31016         Moved ...
31017         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
31018         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
31019         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
31020         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
31021         Moved ...
31022         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
31023         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
31024         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
31025         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
31026         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
31027         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
31028         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
31029         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
31030         Moved ...
31031         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
31032         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
31033         Moved ...
31034         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
31035         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
31036         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
31037         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
31038         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
31039         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
31040         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
31041         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
31042         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
31043         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
31044         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
31045         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
31046         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
31047         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
31048         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
31049         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
31050         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
31052         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
31053         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
31054         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
31055         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
31056         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
31058         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
31059         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
31060         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
31061         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
31062         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
31063         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
31064         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
31065         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
31066         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
31067         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
31069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
31070         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
31072         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
31073         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
31074         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
31075         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
31076         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
31077         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
31078         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
31079         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
31080         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
31081         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
31082         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
31083         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
31084         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
31085         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
31086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
31087         Update #include.
31088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
31089         Likewise.
31090         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31091         Likewise.
31092         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31093         Likewise.
31094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31095         Likewise.
31096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
31097         Likewise.
31098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
31099         Likewise.
31100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31101         Likewise.
31102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
31103         Likewise.
31104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
31105         Likewise.
31106         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
31107         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
31108         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
31109         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
31110         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
31111         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
31112         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
31113         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
31114         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
31115         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
31116         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
31117         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
31118         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
31119         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
31120         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
31122         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
31123         that was previously under [RESET_PID].
31124         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31125         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
31126         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
31128         * sysdeps/i386/nptl/Implies: New file.
31129         * sysdeps/x86_64/nptl/Implies: New file.
31130         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
31131         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
31132         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
31133         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
31135         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
31136         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31137         (__libc_vfork): New strong alias.
31138         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
31139         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
31141         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
31142         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31143         (__libc_vfork): New strong alias.
31144         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
31145         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
31147         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
31148         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31149         (__libc_vfork): New strong alias.
31150         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
31151         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
31152         * nptl/pt-vfork.c: New file.
31153         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
31154         (libpthread: GLIBC_2.20): New version set (empty).
31156 2014-05-14  Will Newton  <will.newton@linaro.org>
31158         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31159         rather than #if.
31161 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31163         [BZ #16564]
31164         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31165         arguments with exponent 65 or above.
31166         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31167         arguments 0x1p113L or above.
31168         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31169         to arguments 0x1p107L or above.
31170         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31171         positive arguments with exponent 65 or above.
31172         * math/auto-libm-test-in: Add more tests of log1p.
31173         * math/auto-libm-test-out: Regenerated.
31175         [BZ #16928]
31176         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31177         non-finite arguments is +0.
31178         * math/s_cacosf.c (__cacosf): Likewise.
31179         * math/s_cacosl.c (__cacosl): Likewise.
31180         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31181         * sysdeps/i386/fpu/libm-test-ulps: Update.
31182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31184         [BZ #16927]
31185         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31186         value.
31187         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31188         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31189         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31190         for explicit high bit of mantissa when testing for argument equal
31191         to 1.
31192         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31193         * sysdeps/i386/fpu/libm-test-ulps: Update.
31194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31196         [BZ #16516]
31197         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31198         (__erf): Scale by 16 instead of 8 in potentially underflowing
31199         case.  Ensure exception if result actually underflows.
31200         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31201         (__erff): Scale by 16 instead of 8 in potentially underflowing
31202         case.  Ensure exception if result actually underflows.
31203         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31204         (efx8): Remove variable.
31205         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31206         case.  Ensure exception if result actually underflows.
31207         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31208         (efx8): Remove variable.
31209         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31210         case.  Ensure exception if result actually underflows.
31211         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31212         (efx8): Remove variable.
31213         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31214         case.  Ensure exception if result actually underflows.
31215         * math/auto-libm-test-in: Add more tests of erf.
31216         * math/auto-libm-test-out: Regenerated.
31218 2014-05-14  Andreas Schwab  <schwab@suse.de>
31220         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31221         Remove code conditionalized on USE___THREAD.
31223         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31224         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31225         not definedness.
31227 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31229         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31230         Define unconditionally.
31231         (__ASSUME_O_CLOEXEC): Likewise.
31232         (__ASSUME_SOCK_CLOEXEC): Likewise.
31233         (__ASSUME_IN_NONBLOCK): Likewise.
31234         (__ASSUME_PIPE2): Likewise.
31235         (__ASSUME_EVENTFD2): Likewise.
31236         (__ASSUME_SIGNALFD4): Likewise.
31237         (__ASSUME_DUP3): Likewise.
31238         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31239         (__ASSUME_DUP3): Do not define.
31240         (__ASSUME_EVENTFD2): Likewise.
31241         (__ASSUME_IN_NONBLOCK): Likewise.
31242         (__ASSUME_O_CLOEXEC): Likewise.
31243         (__ASSUME_PIPE2): Likewise.
31244         (__ASSUME_SIGNALFD4): Likewise.
31245         (__ASSUME_SOCK_CLOEXEC): Likewise.
31246         (__ASSUME_UTIMES): Undefine.
31247         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31248         (__ASSUME_UTIMES): Do not define.
31249         (__ASSUME_O_CLOEXEC): Likewise.
31250         (__ASSUME_SOCK_CLOEXEC): Likewise.
31251         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31252         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31253         0x020621].
31254         (__ASSUME_PIPE2): Likewise.
31255         (__ASSUME_EVENTFD2): Likewise.
31256         (__ASSUME_SIGNALFD4): Likewise.
31257         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31258         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31259         Do not define.
31260         (__ASSUME_EVENTFD2): Likewise.
31261         (__ASSUME_SIGNALFD4): Likewise.
31262         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31263         (__ASSUME_32BITUIDS): Likewise.
31264         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31265         (__ASSUME_IPC64): Likewise.
31266         (__ASSUME_ST_INO_64_BIT): Likewise.
31267         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31268         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31269         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31270         (__ASSUME_UTIMES): Do not define.
31271         (__ASSUME_PSELECT): Likewise.
31272         (__ASSUME_PPOLL): Likewise.
31273         (__ASSUME_O_CLOEXEC): Likewise.
31274         (__ASSUME_SOCK_CLOEXEC): Likewise.
31275         (__ASSUME_IN_NONBLOCK): Likewise.
31276         (__ASSUME_PIPE2): Likewise.
31277         (__ASSUME_EVENTFD2): Likewise.
31278         (__ASSUME_SIGNALFD4): Likewise.
31279         (__ASSUME_DUP3): Likewise.
31280         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31281         (__ASSUME_UTIMES): Likewise.
31282         (__ASSUME_O_CLOEXEC): Likewise.
31283         (__ASSUME_SOCK_CLOEXEC): Likewise.
31284         (__ASSUME_IN_NONBLOCK): Likewise.
31285         (__ASSUME_PIPE2): Likewise.
31286         (__ASSUME_EVENTFD2): Likewise.
31287         (__ASSUME_SIGNALFD4): Likewise.
31288         (__ASSUME_DUP3): Likewise.
31289         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31290         (__ASSUME_UTIMES): Likewise.
31291         (__ASSUME_O_CLOEXEC): Likewise.
31292         (__ASSUME_SOCK_CLOEXEC): Likewise.
31293         (__ASSUME_IN_NONBLOCK): Likewise.
31294         (__ASSUME_PIPE2): Likewise.
31295         (__ASSUME_EVENTFD2): Likewise.
31296         (__ASSUME_SIGNALFD4): Likewise.
31297         (__ASSUME_DUP3): Likewise.
31298         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31299         Likewise.
31300         (__ASSUME_UTIMES): Likewise.
31301         (__ASSUME_EVENTFD2): Likewise.
31302         (__ASSUME_SIGNALFD4): Likewise.
31303         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31304         (__ASSUME_O_CLOEXEC): Likewise.
31305         (__ASSUME_SOCK_CLOEXEC): Likewise.
31306         (__ASSUME_IN_NONBLOCK): Likewise.
31307         (__ASSUME_PIPE2): Likewise.
31308         (__ASSUME_EVENTFD2): Likewise.
31309         (__ASSUME_SIGNALFD4): Likewise.
31310         (__ASSUME_DUP3): Likewise.
31311         (__ASSUME_UTIMES): Undefine.
31313         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31314         feclearexcept.  Remove symbol versioning code.
31315         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31316         symbol versioning code.
31317         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31318         symbol versioning code.
31319         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31320         feupdateenv.  Remove symbol versioning code.
31321         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31322         fegetexceptflag.  Remove symbol versioning code.
31323         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31324         fesetexceptflag.  Remove symbol versioning code.
31325         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31326         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31327         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31328         (__posix_fadvise64_l32): Remove prototype.
31329         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31330         code.
31332 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31334         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31335         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31336         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31337         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31339 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31341         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31342         current working directory
31344 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31346         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31347         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31348         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31349         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31350         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31351         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31352         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31353         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31354         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31355         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31356         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31357         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31358         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31359         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31360         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31361         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31362         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31363         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31364         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31365         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31366         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31367         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31368         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31369         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31370         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31371         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31372         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31373         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31374         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31375         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31376         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31377         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31378         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31379         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31380         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31381         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31382         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31383         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31384         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31385         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31386         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31387         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31389         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31390         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31392         * sysdeps/unix/sysv/linux/arm/Makefile
31393         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31394         Add rt-aeabi_unwind_cpp_pr1.
31395         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31396         Add nptl-aeabi_unwind_cpp_pr1.
31397         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31398         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31399         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31400         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31401         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31402         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31404         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31405         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31406         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31407         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31409         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31410         Deconditionalize the code that was previously under [RESET_PID].
31411         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31413         * sysdeps/generic/exit-thread.h: New file.
31414         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31415         * include/unistd.h (__exit_thread): Remove declaration.
31416         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31417         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31418         * csu/libc-start.c: Include <exit-thread.h>.
31419         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31420         * nptl/pthread_create.c: Include <exit-thread.h>.
31421         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31422         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31423         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31424         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31425         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31426         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31427         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31428         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31429         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31430         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31431         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31432         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31433         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31434         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31435         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31436         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31437         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31439 2014-05-13  Andreas Schwab  <schwab@suse.de>
31441         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31443 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31445         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31446         (__ASSUME_UTIMES): Do not condition on kernel version.
31447         (__ASSUME_PSELECT): Define unconditionally.
31448         (__ASSUME_PPOLL): Likewise.
31449         (__ASSUME_ATFCTS): Likewise.
31450         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31451         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31452         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31453         (__ASSUME_UTIMENSAT): Define unconditionally.
31454         (__ASSUME_PRIVATE_FUTEX): Likewise.
31455         (__ASSUME_FALLOCATE): Likewise.
31456         (__ASSUME_O_CLOEXEC): Likewise.
31457         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31458         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31459         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31460         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31461         (__ASSUME_IN_NONBLOCK): Likewise.
31462         (__ASSUME_PIPE2): Likewise.
31463         (__ASSUME_EVENTFD2): Likewise.
31464         (__ASSUME_SIGNALFD4): Likewise.
31465         (__ASSUME_DUP3): Likewise.
31466         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31467         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31468         (__ASSUME_AT_RANDOM): Likewise.
31469         (__ASSUME_PREADV): Likewise.
31470         (__ASSUME_PWRITEV): Likewise.
31471         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31472         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31473         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31474         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31475         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31476         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31477         (__ASSUME_O_CLOEXEC): Define unconditionally.
31478         (__ASSUME_PSELECT): Do not undefine conditionally.
31479         (__ASSUME_PPOLL): Likewise.
31480         (__ASSUME_ATFCTS): Likewise.
31481         (__ASSUME_SET_ROBUST_LIST): Likewise.
31482         (__ASSUME_UTIMENSAT): Likewise.
31483         (__ASSUME_FDATASYNC): Define unconditionally.
31484         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31485         (__ASSUME_SIGFRAME_V2): Likewise.
31486         )__ASSUME_EVENTFD2): Likewise.
31487         (__ASSUME_SIGNALFD4): Likewise.
31488         (__ASSUME_PSELECT): Do not undefine conditionally.
31489         (__ASSUME_PPOLL): Likewise.
31490         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31491         (__ASSUME_PSELECT): Define unconditionally.
31492         (__ASSUME_PPOLL): Likewise.
31493         (__ASSUME_O_CLOEXEC): Likewise.
31494         (__ASSUME_SOCK_CLOEXEC): Likewise.
31495         (__ASSUME_IN_NONBLOCK): Likewise.
31496         (__ASSUME_PIPE2): Likewise.
31497         (__ASSUME_EVENTFD2): Likewise.
31498         (__ASSUME_SIGNALFD4): Likewise.
31499         (__ASSUME_DUP3): Likewise.
31500         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31501         (__ASSUME_O_CLOEXEC): Likewise.
31502         (__ASSUME_SOCK_CLOEXEC): Likewise.
31503         (__ASSUME_IN_NONBLOCK): Likewise.
31504         (__ASSUME_PIPE2): Likewise.
31505         (__ASSUME_EVENTFD2): Likewise.
31506         (__ASSUME_SIGNALFD4): Likewise.
31507         (__ASSUME_DUP3): Likewise.
31508         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31509         (__ASSUME_EVENTFD2): Likewise.
31510         (__ASSUME_SIGNALFD4): Likewise.
31511         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31513 2014-05-12  Andreas Schwab  <schwab@suse.de>
31515         [BZ #16932]
31516         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31517         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31518         than maximum RPC packet size.
31519         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31520         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31521         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31522         (_nss_nis_getservbyport_r): Likewise.
31524 2014-05-12  Will Newton  <will.newton@linaro.org>
31526         * malloc/Makefile (tests): Add tst-mallopt.
31527         * malloc/tst-mallopt.c: New file.
31529 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31531         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
31532         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
31534 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31536         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
31537         (tst-tlsmod6.so): Likewise.
31539 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31541         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31543 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31545         [BZ #16064]
31546         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31547         and <dl-procinfo.h>.
31548         (__fegetenv): Save SSE state in envp->__eip if supported.
31549         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31550         envp->__eip if supported.
31551         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31552         and <dl-procinfo.h>.
31553         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31554         __data_offset and __data_selector in environment to 0.  Set SSE
31555         state if supported.
31556         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31557         test-fenv-sse.
31558         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31559         -mfpmath=sse.
31560         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31562 2014-05-09  Will Newton  <will.newton@linaro.org>
31564         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
31565         and libc_relro_required for ARM.
31566         * sysdeps/arm/preconfigure: Regenerate.
31568 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
31569             Stefan Liebler  <stli@linux.vnet.ibm.com>
31571         * config.make.in (enable-lock-elision): New Makefile variable.
31572         * configure.ac: Likewise.
31573         * configure: Regenerate.
31574         * sysdeps/s390/configure.ac:
31575         Add check for gcc transactions support.
31576         * sysdeps/s390/configure: Regenerate.
31577         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
31578         Build elision files if enabled.
31579         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
31580         Add lock elision support for s390.
31581         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
31582         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
31583         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
31584         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
31585         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
31586         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
31587         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31588         Likewise.
31589         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
31590         Likewise.
31591         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
31592         Likewise.
31593         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
31594         Likewise.
31595         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
31596         (__lll_timedlock_elision, __lll_lock_elision)
31597         (__lll_unlock_elision, __lll_trylock_elision)
31598         (lll_timedlock_elision, lll_lock_elision)
31599         (lll_unlock_elision, lll_trylock_elision): Add.
31600         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31601         (pthread_mutex_t): Add lock elision support for s390.
31603 2014-05-14  Wilco  <wdijkstr@arm.com>
31605         * sysdeps/arm/fclrexcpt.c: Cleanup.
31606         * sysdeps/arm/fedisblxcpt.c: Cleanup.
31607         * sysdeps/arm/feenablxcpt.c: Cleanup.
31608         * sysdeps/arm/fegetenv.c: Cleanup.
31609         * sysdeps/arm/fegetexcept.c: Cleanup.
31610         * sysdeps/arm/fegetround.c: Cleanup.
31611         * sysdeps/arm/feholdexcpt.c: Cleanup.
31612         * sysdeps/arm/fesetenv.c: Cleanup.
31613         * sysdeps/arm/fesetround.c: Cleanup.
31614         * sysdeps/arm/feupdateenv.c: Cleanup.
31615         * sysdeps/arm/fgetexcptflg.c: Cleanup.
31616         * sysdeps/arm/fraiseexcpt.c: Cleanup.
31617         * sysdeps/arm/fsetexcptflg.c: Cleanup.
31618         * sysdeps/arm/ftestexcept.c: Cleanup.
31619         * sysdeps/arm/get-rounding-mode.h: Cleanup.
31620         * sysdeps/arm/setfpucw.c: Cleanup.
31622 2014-05-09  Will Newton  <will.newton@linaro.org>
31624         * sysdeps/arm/armv7/strcmp.S: New file.
31625         * NEWS: Mention addition of ARMv7 optimized strcmp.
31627 2014-05-08  Roland McGrath  <roland@hack.frob.com>
31629         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
31630         look for %.ac rather than %.in.
31632         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
31633         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
31634         * sysdeps/mach/hurd/configure: Regenerated.
31635         * sysdeps/unix/sysv/linux/configure: Regenerated.
31637         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
31639 2014-05-07  Steve Ellcey  <sellcey@mips.com>
31641         [BZ# 16922]
31642         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
31643         (LONG_SUB): Ditto.
31644         (PTR_SUB): Ditto.
31646 2014-05-07  Andreas Schwab  <schwab@suse.de>
31648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
31649         when skipping over non-matching result from nscd.
31651 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
31653         [BZ #16876]
31654         * nptl/sockperf.c (client): Check socket return value.
31656         [BZ #16877]
31657         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
31658         nscd security class.
31660 2014-05-06  Roland McGrath  <roland@hack.frob.com>
31662         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
31663         * sysdeps/arm/unwind.h: ... here.
31665 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
31667         [BZ# 16916]
31668         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
31669         Define.
31671 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31673         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
31674         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
31675         multiarch strncpy for PPC64.
31676         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
31677         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
31678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
31679         multiarch optimizations.
31680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31681         (__libc_ifunc_impl_list): Likewise.
31682         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
31683         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
31684         multiarch stpncpy for PPC64.
31685         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
31686         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
31688 2014-05-06  Andreas Schwab  <schwab@suse.de>
31690         [BZ #16912]
31691         * gmon/mcount.c (_MCOUNT_DECL): Use
31692         atomic_compare_and_exchange_bool_acq instead of
31693         catomic_compare_and_exchange_bool_acq.
31695 2014-05-05  Roland McGrath  <roland@hack.frob.com>
31697         * elf/Makefile (others, install-bin): Remove pldd.
31698         (pldd-modules): Variable removed.
31699         ($(objpfx)pldd): Target removed.
31700         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
31701         (others, install-bin): Append pldd here.
31702         ($(objpfx)pldd): New target.
31704         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
31705         to 0, so the first #if test emitted later doesn't see it undefined.
31706         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
31707         * sysdeps/gnu/errlist.c: Regenerated.
31709 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31711         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31712         [libc_hidden_builtin_def]: Define to empty value.
31713         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
31714         [libc_hidden_builtin_def]: Likewise.
31715         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
31716         [libc_hidden_builtin_def]: Likewise.
31717         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
31718         [libc_hidden_builtin_def]: Likewise.
31719         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
31720         __redirect_memcpy and define ifunc as default hidden symbol.
31721         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
31722         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
31724 2014-05-04  Adam Conrad  <adconrad@0c3.net>
31726         * locale/iso-4217.def: Reintroduce XDR currency.
31728 2014-05-04  Allan McRae  <allan@archlinux.org>
31730         * po/eo.po: Update Esperanto translation from translation project.
31732 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
31734         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
31735         and FEATURE_INDEX_MAX to 1.
31736         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
31738 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31740         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
31741         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
31742         * iconvdata/big5.c (ONE_DIRECTION): Define.
31743         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
31744         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
31745         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
31746         * iconvdata/cp932.c (ONE_DIRECTION): Define.
31747         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
31748         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
31749         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
31750         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
31751         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
31752         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
31753         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
31754         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
31755         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
31756         * iconvdata/gbk.c (ONE_DIRECTION): Define.
31757         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
31758         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
31759         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
31760         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
31761         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
31762         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
31763         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
31764         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
31765         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
31766         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
31767         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
31768         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
31769         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
31770         * iconvdata/iso646.c (ONE_DIRECTION): Define.
31771         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
31772         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
31773         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
31774         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
31775         * iconvdata/johab.c (ONE_DIRECTION): Define.
31776         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
31777         * iconvdata/sjis.c (ONE_DIRECTION): Define.
31778         * iconvdata/t.61.c (ONE_DIRECTION): Define.
31779         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
31780         * iconvdata/tscii.c (ONE_DIRECTION): Define.
31781         * iconvdata/uhc.c (ONE_DIRECTION): Define.
31782         * iconvdata/unicode.c (ONE_DIRECTION): Define.
31783         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
31784         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
31785         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
31787 2014-05-01  Roland McGrath  <roland@hack.frob.com>
31789         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
31790         (_IO_JUMPS_OFFSET): Define to 0.
31792         * nptl/sysdeps/pthread/bits/libc-lock.h
31793         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31794         (__libc_lock_define_initialized_recursive): Always define using
31795         initializer.  Modern compilers treat uninitialized (implicit zero) and
31796         explicit zero initializers the same (i.e. put the datum in bss).
31798 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31800         * nscd/nscd-client.h: Include <string.h>.
31802 2014-05-01  David S. Miller  <davem@davemloft.net>
31804         [BZ #16885]
31805         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
31806         multiple zero bytes exist at the end of a string.
31807         Reported by Aurelien Jarno <aurelien@aurel32.net>
31809         * string/test-strcmp.c (check): Add explicit test for situations where
31810         there are multiple zero bytes after the first.
31812 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31814         [BZ #16890]
31815         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
31816         when compiling wprintf.
31817         * stdio-common/tstdiomisc.c (t3): New function.
31818         (main): Call it.
31820 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31822         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
31823         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
31824         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
31825         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
31827 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31829         * stdlib/longlong.h: Updated from GCC.
31831 2014-05-01  Will Newton  <will.newton@linaro.org>
31832             Bernard Ogden  <bernie.ogden@linaro.org>
31834         * NEWS: Update fixed bug list.
31836         [BZ #15119]
31837         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
31839 2014-04-30  David S. Miller  <davem@davemloft.net>
31841         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
31842         (libc_feholdexcept_setround_sparc_ctx): New function.
31843         (libc_fesetenv_sparc_ctx): Likewise.
31844         (libc_feupdateenv_sparc_ctx): Likewise.
31845         (libc_feholdsetround_sparc_ctx): Likewise.
31846         (libc_feholdexcept_setround_ctx): Define.
31847         (libc_feholdexcept_setroundf_ctx): Likewise.
31848         (libc_feholdexcept_setroundl_ctx): Likewise.
31849         (libc_fesetenv_ctx): Likewise.
31850         (libc_fesetenvf_ctx): Likewise.
31851         (libc_fesetenvl_ctx): Likewise.
31852         (libc_feupdateenv_ctx): Likewise.
31853         (libc_feupdateenvf_ctx): Likewise.
31854         (libc_feupdateenvl_ctx): Likewise.
31855         (libc_feresetround_ctx): Likewise.
31856         (libc_feresetroundf_ctx): Likewise.
31857         (libc_feresetroundl_ctx): Likewise.
31858         (libc_feholdsetround_ctx): Likewise.
31859         (libc_feholdsetroundf_ctx): Likewise.
31860         (libc_feholdsetroundl_ctx): Likewise.
31862         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31863         with __USE_GNU instead of XOPEN cpp guards.
31865         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
31866         0.
31868         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31869         with XOPEN cpp guards.
31871 2014-04-30  Julian Brown  <julian@codesourcery.com>
31873         [BZ #16888]
31874         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
31875         handling.
31877 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
31879         [BZ #9894]
31880         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
31881         Change to 2.6.32.
31882         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
31883         * sysdeps/unix/sysv/linux/configure: Regenerated.
31884         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
31885         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
31886         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
31887         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
31888         * README: Update reference to required Linux kernel version.
31889         * manual/install.texi (Linux): Update reference to required Linux
31890         kernel headers version.
31891         * INSTALL: Regenerated.
31893         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
31894         header inclusion.
31895         [POSIX] (limits.h): Likewise.
31896         [POSIX] (math.h): Likewise.
31897         [POSIX] (sys/wait.h): Likewise.
31898         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
31899         function.
31900         [POSIX] (stddef.h): Do not allow header inclusion.
31902 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31904         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
31906 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
31908         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
31909         Return immediately after lll_futex_wake.
31911 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31913         [BZ #16791]
31914         * nscd/nscd-client.h (datahead_init_common): Initialize entire
31915         structure.
31916         (datahead_init_pos): Call datahead_init_common early.
31917         (datahead_init_neg): Likewise.
31919         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
31920         datahead_init_neg): New functions.
31921         * nscd/aicache.c (addhstaiX): Use them.
31922         * nscd/grpcache.c (cache_addgr): Likewise.
31923         * nscd/hstcache.c (cache_addhst): Likewise.
31924         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31925         * nscd/netgroupcache.c (do_notfound): Likewise.
31926         (addgetnetgrentX): Likewise.
31927         (addinnetgrX): Likewise.
31928         * nscd/pwdcache.c (cache_addpw): Likewise.
31929         * nscd/servicescache.c (cache_addserv): Likewise.
31931 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31932             Atsushi Onoe  <atsushi@onoe.org>
31934         [BZ #14308]
31935         [BZ #12994]
31936         [BZ #13651]
31937         * resolv/res_query.c (__libc_res_nsearch): Return if at least
31938         one response is valid.
31939         * resolv/res_send.c (send_dg): Check for validity of other
31940         response if the current response is a referral.
31942 2014-04-29  Steve Ellcey  <sellcey@mips.com>
31944         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
31946 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
31948         [BZ #16823]
31949         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
31950         Always divide by positive zero when computing -Inf result.
31951         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31952         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31954 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31956         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
31957         FPSCR if value do not change.
31958         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31959         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
31960         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31961         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31962         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
31963         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
31964         function.
31966 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
31968         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
31969         * sysdeps/unix/sysv/linux/hppa: Move directory from
31970         ports/systeps/unix/sysv/linux/hppa.
31971         * README: Update listing for hppa-*-linux-gnu.
31973 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
31975         [BZ #16754]
31976         * manual/stdio.texi (Hook functions): Fix types of stream hook
31977         functions.
31978         [BZ #16854]
31979         * socket/sys/socket.h: Fix typo in comment.
31981 2014-04-28  Wilco  <wdijkstr@arm.com>
31983         * sysdeps/arm/fenv_private.h: New file.
31984         * sysdeps/arm/math_private.h: New file.
31985         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
31987 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
31989         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
31990         with __int128_t.
31991         (La_x86_64_retval): Likewise.
31993 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
31995         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
31996         fpsr if value didn't change.
31997         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
31998         to fpcr if value didn't change.
31999         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
32000         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
32001         fpsr or fpcr if value didn't change.
32002         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32003         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
32004         fpcr if value didn't change.
32005         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
32006         to fpsr if value didn't change.
32008 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32010         * nptl/tst-sem3.c: Use test-skeleton.c
32011         (main): Rename to do_test.  Use return instead of
32012         exit.
32013         * nptl/tst-sem4.c: Use test-skeleton.c
32014         (main): Rename to do_test.
32016 2014-04-22  David S. Miller  <davem@davemloft.net>
32018         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32019         (struct sigaction): New struct member __glibc_reserved0, change
32020         type of sa_flags to int.
32022 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
32024         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
32025         (COUNT_LEADING_ZEROS_0): Define for AArch64.
32027 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32029         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
32030         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
32032 2014-04-22  Will Newton  <will.newton@linaro.org>
32033             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
32035         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
32036         (__longjmp): Add longjmp and longjmp_target SystemTap
32037         probes.
32038         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
32039         (__sigsetjmp): Add setjmp SystemTap probe.
32041 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
32043         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
32044         match manual order.
32046 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32048         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
32050         * sysdeps/powerpc/fpu/fenv_private.h
32051         (libc_feholdexcept_setroundl_ctx): Define to
32052         libc_feholdexcept_setround_ppc_ctx.
32053         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
32054         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
32055         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
32056         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
32058 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32060         * sysdeps/aarch64/math-tests.h: New file.
32062 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
32064         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
32065         New.
32066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32067         Check and set bit_AVX2_Usable.
32068         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
32069         macro.
32070         (bit_AVX2): Likewise.
32071         (index_AVX2_Usable): Likewise.
32072         (CPUID_AVX2): Likewise.
32073         (HAS_AVX2): Likewise.
32075 2014-04-17  Will Newton  <will.newton@linaro.org>
32077         * manual/setjmp.texi (System V contexts): Add note that
32078         calling setcontext on a context created by a call to a
32079         signal handler is undefined.  Update text to note that
32080         setcontext from a signal handler is possible but not
32081         recommended.
32083         [BZ #16629]
32084         * stdlib/tst-setcontext.c: Include signal.h.
32085         (main): Check that the signal stack before and
32086         after swapcontext is the same.
32088         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
32089         Re-implement to restore registers in user code and avoid
32090         rt_sigreturn system call.
32092 2014-04-17  Wilco  <wdijkstr@arm.com>
32094         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
32095         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
32096         * math/test-fenv.c: Skip exception trap tests on targets which only
32097         support non-stop mode.
32099 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32100             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32102         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
32103         (libc_feholdsetround_aarch64_ctx)
32104         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
32105         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
32106         (libc_feresetround_ctx, libc_feresetroundf_ctx)
32107         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
32108         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
32109         (libc_feresetround_noexl_ctx): Define.
32111 2014-04-16  Richard Henderson  <rth@redhat.com>
32113         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
32115         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
32116         unwind tables.
32118         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
32119         const from the non-libc, non-ldso copy.
32121         * sysdeps/alpha/libm-test-ulps: Regenerate.
32123 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
32124             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32126         * sysdeps/aarch64/fpu/math_private.h: New file.
32128 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32130         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32132 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
32134         [BZ #16275]
32135         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
32136         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
32137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
32138         Intel MPX bound registers before _dl_profile_fixup.
32139         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
32140         registers after _dl_profile_fixup.  Save and restore bound
32141         registers bnd0/bnd1 when calling _dl_call_pltexit.
32142         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
32143         (LR_BND_OFFSET): Likewise.
32144         (LRV_BND0_OFFSET): Likewise.
32145         (LRV_BND1_OFFSET): Likewise.
32147 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32149         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
32150         to...
32151         * sysdeps/mach/hurd/i386/tls.h: ... here.
32152         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
32153         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
32154         fields.
32156 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32158         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32160 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32162         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32164 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32166         [BZ #14770]
32167         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32168         * sysdeps/s390/configure: Regenerate.
32170         [BZ #16824]
32171         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32172         Set round-to-nearest internally to reduce error accumulation.
32174 2014-04-16  Alan Modra  <amodra@gmail.com>
32176         [BZ #16740]
32177         [BZ #16619]
32178         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32179         * math/libm-test.inc (frexp_test_data): Add tests.
32180         * NEWS: Update fixed bug list.
32182 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32184         * benchtests/Makefile: Depend on libraries in build directory.
32185         (bench-math): Separate out math tests.
32186         (bench-pthread): Separate out pthread tests.
32187         (bench): Include math and pthread tests.
32189 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32191         [BZ #16831]
32192         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32193         _dl_debug_initialize.
32195         * configure.ac: Remove SELinux header check.
32196         * configure: Regenerate.
32197         * nscd/selinux.c (perms): Array of const char* to permission names.
32198         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32199         default policy. Call string_to_security_class and string_to_av_perm to
32200         translate strings. Enforce default policy and call avs_has_perm with
32201         results of translated strings.
32203 2014-04-13  David S. Miller  <davem@davemloft.net>
32205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32207 2014-04-12  Allan McRae  <allan@archlinux.org>
32209         [BZ #16838]
32210         * manual/string.texi (Collation Functions): Fix qsort argument
32211         order in example.
32212         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32214 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32216         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32217         Make the test a no-op if there are no exceptions defined.
32219 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32221         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32222         enable-hardcoded-path-in-tests
32224 2014-04-11  Will Newton  <will.newton@linaro.org>
32226         * benchtests/Makefile (extra-objs): Add json-lib.o.
32227         (bench-func): Tidy up JSON output.
32228         * benchtests/bench-skeleton.c: Include json-lib.h.
32229         (main): Use JSON library functions to do output of
32230         benchmark results.
32231         * benchtests/bench-timing-type.c (main): Output the
32232         timing type simply, leaving formatting to the user.
32233         * benchtests/json-lib.c: New file.
32234         * benchtests/json-lib.h: Likewise.
32236 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32238         [BZ #15215]
32239         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32240         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32241         memory barriers.  Add comments.
32242         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32243         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32244         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32245         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32246         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32247         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32249 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32251         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32252         * sysdeps/s390/s390-64/configure.ac: ... this ...
32253         * sysdeps/s390/configure.ac: ... to here.
32254         * sysdeps/s390/s390-32/configure: Delete file.
32255         * sysdeps/s390/s390-64/configure: Delete file.
32256         * sysdeps/s390/configure: Regenerate.
32258 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32260         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32262 2014-04-11  Will Newton  <will.newton@linaro.org>
32264         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32265         to zero if it is not defined elsewhere.  (mtrim): Test
32266         the value of MALLOC_DEBUG with #if rather than #ifdef.
32268 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32270         * benchtests/pthread_once-inputs: New file.
32271         * benchtests/pthread_once-source.c: New file.
32272         * benchtests/README: Update documentation.
32274 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32275             H.J. Lu  <hongjiu.lu@intel.com>
32277         [BZ #16275]
32278         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32279         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32280         * sysdeps/x86_64/configure: Regenerated.
32281         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32282         macro.
32283         (REGISTER_SAVE_RAX): Likewise.
32284         (REGISTER_SAVE_RCX): Likewise.
32285         (REGISTER_SAVE_RDX): Likewise.
32286         (REGISTER_SAVE_RSI): Likewise.
32287         (REGISTER_SAVE_RDI): Likewise.
32288         (REGISTER_SAVE_R8): Likewise.
32289         (REGISTER_SAVE_R9): Likewise.
32290         (REGISTER_SAVE_BND0): Likewise.
32291         (REGISTER_SAVE_BND1): Likewise.
32292         (REGISTER_SAVE_BND2): Likewise.
32293         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32294         bound registers when calling _dl_fixup.
32296 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32298         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32299         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32300         of its definition.
32301         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32302         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32303         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32304         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32305         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32306         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32307         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32309 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32311         [BZ #15514]
32312         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32313         pathconf(_PC_NAME_MAX).
32315 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32317         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32318         Remove macro usage.
32319         (__PTHREAD_SPINS): Move definition to ...
32320         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32321         (__PTHREAD_SPINS): ... here.
32322         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32323         (__PTHREAD_SPIN): Likewise.
32324         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32325         (__PTHREAD_SPIN): Likewise.
32326         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32327         (__PTHREAD_SPIN): Likewise.
32328         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32329         (__PTHREAD_SPIN): Likewise.
32330         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32331         (__PTHREAD_SPIN): Likewise.
32332         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32333         (__PTHREAD_SPIN): Likewise.
32334         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32335         (__PTHREAD_SPIN): Likewise.
32336         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32337         (__PTHREAD_SPIN): Likewise.
32338         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32339         (__PTHREAD_SPIN): Likewise.
32340         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32341         (__PTHREAD_SPIN): Likewise.
32342         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32343         (__PTHREAD_SPIN): Likewise.
32344         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32345         (__PTHREAD_SPIN): Likewise.
32347         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32348         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32349         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32350         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32351         imply folder.
32352         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32353         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32354         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32355         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32356         correct imply path.
32357         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32358         strlen symbol for non multi-arch builds.
32359         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32360         missing hidden_def and weak_alias.
32362 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32364         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32366 2014-04-07  Will Newton  <will.newton@linaro.org>
32368         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32369         and contents.  [!_LIBC] Remove #ifndef and contents.
32370         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32371         * string/memccpy.c (__memccpy): Use ANSI prototype.
32372         * string/memfrob.c (memfrob): Likewise.
32373         * string/strcoll.c (STRCOLL): Likewise.
32374         * string/strlen.c (strlen): Likewise.
32375         * string/strtok.c (STRTOK): Likewise.
32376         * string/strcat.c: Remove unused #include of memcopy.h.
32377         (strcat): Use ANSI prototype.
32378         * string/strchr.c: Remove unused #include of memcopy.h.
32379         (strchr): Use ANSI prototype.
32380         * string/strcmp.c: Remove unused #include of memcopy.h.
32381         (strcmp): Use ANSI prototype.
32382         * string/strcpy.c: Remove unused #include of memcopy.h.
32383         (strcpy): Use ANSI prototype.
32385 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32387         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32388         * config.make.in (config-extra-cppflags): Set it from
32389         libc_extra_cppflags.
32390         * configure.ac (libc_extra_cflags): Make it accumulate over
32391         configure fragments.
32392         (libc_extra_cppflags): New flag.
32393         * configure. Regenerate.
32394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32395         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32396         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32399         [BZ #16815]
32400         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32401         result for FE_DOWNWARD rounding mode.
32402         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32403         Likewise.
32404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32406 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32408         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32409         in function argument name.
32411 2014-04-03  David Svoboda  <svoboda@cert.org>
32413         [BZ #5666]
32414         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32415         explicitly.
32417 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32419         * elf/dl-unmap-segments.h: New file.
32420         * sysdeps/generic/ldsodefs.h
32421         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32422         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32423         * elf/dl-fptr.c: Likewise.
32424         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32425         * sysdeps/aarch64/tlsdesc.c: Likewise.
32426         * sysdeps/arm/tlsdesc.c: Likewise.
32427         * sysdeps/i386/tlsdesc.c: Likewise.
32428         * sysdeps/tile/dl-runtime.c: Likewise.
32429         * sysdeps/x86_64/tlsdesc.c: Likewise.
32430         * elf/dl-load.h: New file.
32431         * elf/dl-load.c: Include it.
32432         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32433         Macros moved to dl-load.h.
32434         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32435         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32436         Use _dl_unmap_segments in place of __munmap.
32437         Break out segment-mapping loop into ...
32438         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32440 2014-04-03  Will Newton  <will.newton@linaro.org>
32442         * elf/dl-lookup.c (do_lookup_x): Remove comment
32443         referring to nested function and move variable
32444         declarations down to before first use.
32446 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32448         [BZ #16799]
32449         [BZ #16800]
32450         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32451         with 0 numerator.
32452         * math/s_catanf.c (__catanf): Likewise.
32453         * math/s_catanh.c (__catanh): Likewise.
32454         * math/s_catanhf.c (__catanhf): Likewise.
32455         * math/s_catanhl.c (__catanhl): Likewise.
32456         * math/s_catanl.c (__catanl): Likewise.
32457         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32458         by positive zero when computing -Inf result.
32459         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32460         (catanh_test): Likewise.
32461         * sysdeps/i386/fpu/libm-test-ulps: Update.
32462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32464         [BZ #16789]
32465         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32466         instead of using underflowing value in computing result.
32467         * math/s_clog10.c (__clog10): Likewise.
32468         * math/s_clog10f.c (__clog10f): Likewise.
32469         * math/s_clog10l.c (__clog10l): Likewise.
32470         * math/s_clogf.c (__clogf): Likewise.
32471         * math/s_clogl.c (__clogl): Likewise.
32472         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32473         (clog10_test): Likewise.
32474         * sysdeps/i386/fpu/libm-test-ulps: Update.
32475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32477 2014-04-02  Alan Modra  <amodra@gmail.com>
32479         [BZ #16739]
32480         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32481         output when value is near a power of two.  Use int64_t for lx and
32482         remove casts.  Use decimal rather than hex exponent constants.
32483         Don't use long double multiplication when double will suffice.
32484         * math/libm-test.inc (nextafter_test_data): Add tests.
32485         * NEWS: Add 16739 and 16786 to bug list.
32487         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32489         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32491 2014-04-01  Will Newton  <will.newton@linaro.org>
32493         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32494         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32496 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32498         [BZ #13347]
32499         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32500         * nptl/tst-setuid2.c: New file.
32501         * nptl/Makefile (xtests): Add tst-setuid2.
32503 2014-04-01  Alan Modra  <amodra@gmail.com>
32505         [BZ #16786]
32506         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32508 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32510         [BZ #6803]
32511         [BZ #6804]
32512         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32513         set errno as appropriate.
32514         * math/w_scalbf.c (__scalbf): Likewise.
32515         * math/w_scalbl.c (__scalbl): Likewise.
32516         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32517         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32518         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32519         Add more NaN tests.
32521         [BZ #16349]
32522         * math/w_atan2.c: Include <errno.h>.
32523         (__atan2): Set errno for result underflowing to zero.
32524         * math/w_atan2f.c: Include <errno.h>.
32525         (__atan2f): Set errno for result underflowing to zero.
32526         * math/w_atan2l.c: Include <errno.h>.
32527         (__atan2l): Set errno for result underflowing to zero.
32528         * math/auto-libm-test-in: Don't allow missing errno for some atan2
32529         tests.
32530         * math/auto-libm-test-out: Regenerated.
32532 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32534         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32535         Encode instruction correctly in little endian.
32536         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32537         Likewise.
32538         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32539         Likewise.
32540         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32541         Likewise.
32542         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32543         Likewise.
32545 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32547         [BZ #9894]
32548         * sysdeps/unix/sysv/linux/kernel-features.h
32549         [__sparc__ && !__arch64__ && !__sparc_v9__]
32550         (__ASSUME_SET_ROBUST_LIST): Do not define.
32551         [__sparc__ && !__arch64__ && !__sparc_v9__]
32552         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32553         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32554         Likewise.
32555         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32556         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32557         (__ASSUME_REQUEUE_PI): Likewise.
32558         (__ASSUME_SET_ROBUST_LIST): Likewise.
32559         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32560         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32561         Undefine.
32562         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32563         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
32564         Likewise.
32565         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
32566         Likewise.
32567         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
32568         Likewise.
32569         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32570         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
32571         Undefine.
32572         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
32573         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
32574         Likewise.
32576         [BZ #16648]
32577         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32578         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
32579         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
32581 2014-03-31  Will Newton  <will.newton@linaro.org>
32583         * benchtests/Makefile (bench): Add ffs and ffsll to list
32584         of tests.
32585         * benchtests/ffs-inputs: New file.
32586         * benchtests/ffsll-inputs: Likewise.
32588 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
32590         [BZ #16770]
32591         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
32592         too large before casting to int.
32593         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
32594         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
32595         * math/libm-test.inc (scalb_test_data): Add more tests.
32597 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32599         * benchtests/Makefile (DETAILED_OPT): New make option.
32600         (bench-func): Run benchmark program with -d if DETAILED_OPT is
32601         set.
32602         * benchtests/bench-skeleton.c: Include stdbool.h.
32603         (main): Store and print timings per input.
32604         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
32605         member to each argument value.
32606         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
32607         (_print_arg_data): Initialize per-input timing to 0.
32609         * benchtests/Makefile (timing-type): New binary.
32610         (bench-clean): Also remove bench-timing-type.
32611         (bench): New target for timing-type.
32612         (bench-func): Print output in JSON format.
32613         * benchtests/bench-skeleton.c (main): Print output in JSON
32614         format.
32615         * benchtests/bench-timing-type.c: New file.
32616         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
32617         (TIMING_PRINT_STATS): Remove.
32618         * benchtests/scripts/bench.py (_print_arg_data): Store variant
32619         name separately.
32621         * benchtests/bench-modf.c: Remove.
32622         * benchtests/modf-inputs: New inputs file.
32624 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
32626         [BZ #16362]
32627         * math/s_clog10.c (M_PI_LOG10E): New macro.
32628         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
32629         imaginary parts are 0.
32630         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
32631         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
32632         imaginary parts are 0.
32633         * math/s_clog10l.c (M_PI_LOG10El): New macro.
32634         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
32635         imaginary parts are 0.
32636         * math/libm-test.inc (clog10_test_data): Update expected results
32637         for when real and imaginary parts are 0.
32639 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
32641         * elf/dl-load.c: Finish conversion of __builtin_expect into
32642         __glibc_{un}likely.
32644 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
32646         [BZ #16348]
32647         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
32648         1+x for argument with exponent below -67.
32649         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
32650         Likewise.
32651         * math/auto-libm-test-in: Add more tests of exp.
32652         * math/auto-libm-test-out: Regenerated.
32654 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32656         [BZ #16759]
32657         * inet/getnetgrent_r.c (get_nonempty_val): New function.
32658         (nscd_getnetgrent): Use it.
32660         [BZ #16760]
32661         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
32662         of stpcpy.
32664 2014-03-27  Andi Kleen  <ak@linux.intel.com>
32666         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
32667         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32668         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32669         (lll_robust_unlock): Remove out of line section. Use cfi
32670         intrinsics.
32671         (LLL_STUB_UNWIND_INFO*): Remove.
32672         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
32673         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32674         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32675         (lll_robust_unlock): Remove out of line section. Use cfi
32676         intrinsics.
32677         (LLL_STUB_UNWIND_INFO*): Remove.
32679 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32681         [BZ #16758]
32682         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
32683         blank values.
32685 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
32687         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
32689 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
32691         [BZ #16198]
32692         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
32693         fnstenv.
32694         * math/test-fenv-preserve.c: New file.
32695         * math/Makefile (tests): Add test-fenv-preserve.
32697 2014-03-26  Will Newton <will.newton@linaro.org>
32699         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
32701 2014-03-25  Roland McGrath  <roland@hack.frob.com>
32703         * scripts/versionlist.awk: Partition the version sets and emit all
32704         GLIBC_* (sorted) before all others (sorted).
32706 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32708         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
32709         GLIBC_2.2.5 version.
32711 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32713         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
32714         calls.
32716         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
32717         previous change.
32719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32721 2014-03-25  Andreas Schwab  <schwab@suse.de>
32723         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
32724         label to be used after in6ailist is initialized.
32726 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32728         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32729         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32731 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32733         [BZ #16357]
32734         [BZ #16599]
32735         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
32736         min_plus_half.
32737         (fp_formats): Update initializers.
32738         (init_fp_formats): Initialize new field.
32739         (output_for_one_input_case): Allow underflow for results up to
32740         min_plus_half.
32741         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
32742         * math/auto-libm-test-in: Don't mark some underflows from asin and
32743         atanh as spurious.
32744         * math/auto-libm-test-out: Regenerated.
32745         * sysdeps/i386/fpu/libm-test-ulps: Update.
32746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32748 2014-03-25  Andreas Schwab  <schwab@suse.de>
32750         * libio/Makefile (tst-ftell-partial-wide-ENV)
32751         (tst-ftell-active-handler-ENV): Define.
32753 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
32755         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
32757 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32759         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
32761 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32763         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
32764         * sysdeps/x86_64/fpu/multiarch/e_exp.c
32765         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
32767 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32769         [BZ #16634]
32770         * elf/dl-load.c (open_verify): Add mode parameter.
32771         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
32772         (open_path): Change from boolean 'secure' to complete flag 'mode'
32773         (_dl_map_object): Adjust.
32774         * elf/Makefile (tests): Add tst-dlopen-aout.
32775         * elf/tst-dlopen-aout.c: New test.
32777 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
32779         [BZ #16714]
32780         * sysdeps/unix/sysv/linux/s390/bits/stat.h
32781         (struct stat): Rename member pad0 to __glibc_reserved0.
32783         [BZ #16712]
32784         * sysdeps/s390/s390-32/bits/wordsize.h
32785         (__WORDSIZE32_SIZE_ULONG): New define.
32786         * sysdeps/s390/s390-64/bits/wordsize.h
32787         (__WORDSIZE32_SIZE_ULONG): Likewise.
32788         * sysdeps/generic/stdint.h (SIZE_MAX):
32789         Define as UL if __WORDSIZE32_SIZE_ULONG.
32791         [BZ #16713]
32792         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32793         (__glibc_reserved0): New variable.
32794         (sa_flags): Change type to int.
32796         * posix/Makefile (before-compile): Use += before-compile instead
32797         of a :=.
32799         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32800         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32802 2014-03-20  Andreas Schwab  <schwab@suse.de>
32804         [BZ #16743]
32805         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
32806         non-matching result from nscd.
32808 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32810         * scripts/bench.py: Moved to ...
32811         * benchtests/scripts/bench.py: ... here.
32812         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
32814 2014-03-24  Andreas Schwab  <schwab@suse.de>
32816         [BZ #16002]
32817         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
32818         alloca_account and account alloca use for struct in6ailist.
32820 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32822         [BZ #16284]
32823         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
32824         rounding mode to recompute results that overflow to infinity or
32825         underflow to zero.
32826         * math/auto-libm-test-in: Don't mark tests as expected to fail for
32827         bug 16284.
32828         * math/auto-libm-test-out: Regenerated.
32829         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
32830         (ccosh_test): Likewise.
32831         (csin_test_data): Use plus_oflow.
32832         (csin_test): Use ALL_RM_TEST.
32833         (csinh_test_data): Use plus_oflow.
32834         (csinh_test): Use ALL_RM_TEST.
32835         * sysdeps/i386/fpu/libm-test-ulps: Update.
32836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32838 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
32840         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
32841         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
32842         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
32844         [BZ #16731]
32845         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
32846         when x - 1 is zero.
32847         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
32848         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
32849         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32850         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
32851         argument is 1.
32852         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
32853         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
32854         zero.
32855         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
32856         * sysdeps/i386/fpu/libm-test-ulps: Update.
32857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32859 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32861         * scripts/bench.pl: Remove file.
32862         * scripts/bench.py: New benchmark script.
32863         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
32864         * benchtests/README: Mention python dependency.
32865         * scripts/pylintrc: New file.
32866         * scripts/pylint: New file.
32868         * bits/mathdef.h: Use #ifdef instead of #if.
32869         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
32870         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32871         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
32872         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32873         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
32874         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32876 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32877             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32879         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
32880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
32881         and strpbrk-ppc64 objects.
32882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32883         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
32884         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
32885         multiarch strpbrk for POWER7.
32886         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
32887         multiarch strpbrk for PPC64.
32888         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
32889         ifunc selector.
32890         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
32891         strpbrk for POWER7.
32893 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32895         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
32896         (atan_test): Likewise.
32897         (atanh_test_data): Use NO_TEST_INLINE for two tests.
32898         (atanh_test): Use ALL_RM_TEST.
32899         (atan2_test_data): Likewise.
32900         (cabs_test): Likewise.
32901         (cacosh_test): Likewise.
32902         (carg_test): Likewise.
32903         (casin_test): Likewise.
32904         (casinh_test): Likewise.
32905         (cbrt_test): Likewise.
32906         (csqrt_test): Likewise.
32907         (erf_test): Likewise.
32908         (erfc_test): Likewise.
32909         (pow10_test): Likewise.
32910         (exp2_test): Likewise.
32911         (hypot_test): Likewise.
32912         (j0_test): Likewise.
32913         (j1_test): Likewise.
32914         (lgamma_test): Likewise.
32915         (gamma_test): Likewise.
32916         (sincos_test): Likewise.
32917         (tanh_test): Likewise.
32918         (y0_test): Likewise.
32919         (y1_test): Likewise.
32920         * sysdeps/i386/fpu/libm-test-ulps: Update.
32921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32923 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32925         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
32926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
32927         and strcspn-ppc64 objects.
32928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32929         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
32930         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
32931         multiarch strcspn for POWER7.
32932         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
32933         multiarch strcspn for PPC64.
32934         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
32935         ifunc selector.
32936         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
32937         strcspn for POWER7.
32939 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32941         * math/gen-libm-test.pl (generate_testfile): Expect only function
32942         name as argument to AUTO_TESTS_* and pass results for all rounding
32943         modes to parse_args.
32944         (parse_auto_input): Separate inputs of automatic tests from
32945         outputs before storing in %auto_tests.
32946         * math/libm-test.inc (acos_test_data): Update call to
32947         AUTO_TESTS_f_f.
32948         (acos_test): Use ALL_RM_TEST.
32949         (acos_tonearest_test_data): Remove.
32950         (acos_test_tonearest): Likewise.
32951         (acos_towardzero_test_data): Likewise.
32952         (acos_test_towardzero): Likewise.
32953         (acos_downward_test_data): Likewise.
32954         (acos_test_downward): Likewise.
32955         (acos_upward_test_data): Likewise.
32956         (acos_test_upward): Likewise.
32957         (acosh_test_data): Update call to AUTO_TESTS_f_f.
32958         (asin_test_data): Likewise.
32959         (asin_test): Use ALL_RM_TEST.
32960         (asin_tonearest_test_data): Remove.
32961         (asin_test_tonearest): Likewise.
32962         (asin_towardzero_test_data): Likewise.
32963         (asin_test_towardzero): Likewise.
32964         (asin_downward_test_data): Likewise.
32965         (asin_test_downward): Likewise.
32966         (asin_upward_test_data): Likewise.
32967         (asin_test_upward): Likewise.
32968         (asinh_test_data): Update call to AUTO_TESTS_f_f.
32969         (atan_test_data): Likewise.
32970         (atanh_test_data): Likewise.
32971         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
32972         (cabs_test_data): Update call to AUTO_TESTS_c_f.
32973         (carg_test_data): Likewise.
32974         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
32975         (ccos_test_data): Update call to AUTO_TESTS_c_c.
32976         (ccosh_test_data): Likewise.
32977         (cexp_test_data): Likewise.
32978         (clog_test_data): Likewise.
32979         (clog10_test_data): Likewise.
32980         (cos_test_data): Update call to AUTO_TESTS_f_f.
32981         (cos_test): Use ALL_RM_TEST.
32982         (cos_tonearest_test_data): Remove.
32983         (cos_test_tonearest): Likewise.
32984         (cos_towardzero_test_data): Likewise.
32985         (cos_test_towardzero): Likewise.
32986         (cos_downward_test_data): Likewise.
32987         (cos_test_downward): Likewise.
32988         (cos_upward_test_data): Likewise.
32989         (cos_test_upward): Likewise.
32990         (cosh_test_data): Update call to AUTO_TESTS_f_f.
32991         (cosh_test): Use ALL_RM_TEST.
32992         (cosh_tonearest_test_data): Remove.
32993         (cosh_test_tonearest): Likewise.
32994         (cosh_towardzero_test_data): Likewise.
32995         (cosh_test_towardzero): Likewise.
32996         (cosh_downward_test_data): Likewise.
32997         (cosh_test_downward): Likewise.
32998         (cosh_upward_test_data): Likewise.
32999         (cosh_test_upward): Likewise.
33000         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
33001         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
33002         (ctan_test_data): Likewise.
33003         (ctan_test): Use ALL_RM_TEST.
33004         (ctan_tonearest_test_data): Remove.
33005         (ctan_test_tonearest): Likewise.
33006         (ctan_towardzero_test_data): Likewise.
33007         (ctan_test_towardzero): Likewise.
33008         (ctan_downward_test_data): Likewise.
33009         (ctan_test_downward): Likewise.
33010         (ctan_upward_test_data): Likewise.
33011         (ctan_test_upward): Likewise.
33012         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
33013         (ctanh_test): Use ALL_RM_TEST.
33014         (ctanh_tonearest_test_data): Remove.
33015         (ctanh_test_tonearest): Likewise.
33016         (ctanh_towardzero_test_data): Likewise.
33017         (ctanh_test_towardzero): Likewise.
33018         (ctanh_downward_test_data): Likewise.
33019         (ctanh_test_downward): Likewise.
33020         (ctanh_upward_test_data): Likewise.
33021         (ctanh_test_upward): Likewise.
33022         (erf_test_data): Update call to AUTO_TESTS_f_f.
33023         (erfc_test_data): Likewise.
33024         (exp_test_data): Likewise.
33025         (exp_test): Use ALL_RM_TEST.
33026         (exp_tonearest_test_data): Remove.
33027         (exp_test_tonearest): Likewise.
33028         (exp_towardzero_test_data): Likewise.
33029         (exp_test_towardzero): Likewise.
33030         (exp_downward_test_data): Likewise.
33031         (exp_test_downward): Likewise.
33032         (exp_upward_test_data): Likewise.
33033         (exp_test_upward): Likewise.
33034         (exp10_test_data): Update call to AUTO_TESTS_f_f.
33035         (exp10_test): Use ALL_RM_TEST.
33036         (exp10_tonearest_test_data): Remove.
33037         (exp10_test_tonearest): Likewise.
33038         (exp10_towardzero_test_data): Likewise.
33039         (exp10_test_towardzero): Likewise.
33040         (exp10_downward_test_data): Likewise.
33041         (exp10_test_downward): Likewise.
33042         (exp10_upward_test_data): Likewise.
33043         (exp10_test_upward): Likewise.
33044         (exp2_test_data): Update call to AUTO_TESTS_f_f.
33045         (expm1_test_data): Likewise.
33046         (expm1_test): Use ALL_RM_TEST.
33047         (expm1_tonearest_test_data): Remove.
33048         (expm1_test_tonearest): Likewise.
33049         (expm1_towardzero_test_data): Likewise.
33050         (expm1_test_towardzero): Likewise.
33051         (expm1_downward_test_data): Likewise.
33052         (expm1_test_downward): Likewise.
33053         (expm1_upward_test_data): Likewise.
33054         (expm1_test_upward): Likewise.
33055         (fma_test_data): Update call to AUTO_TESTS_fff_f.
33056         (fma_test): Use ALL_RM_TEST.
33057         (fma_towardzero_test_data): Remove.
33058         (fma_test_towardzero): Likewise.
33059         (fma_downward_test_data): Likewise.
33060         (fma_test_downward): Likewise.
33061         (fma_upward_test_data): Likewise.
33062         (fma_test_upward): Likewise.
33063         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
33064         (j0_test_data): Update call to AUTO_TESTS_f_f.
33065         (j1_test_data): Likewise.
33066         (jn_test_data): Update call to AUTO_TESTS_if_f.
33067         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
33068         (log_test_data): Update call to AUTO_TESTS_f_f.
33069         (log10_test_data): Likewise.
33070         (log1p_test_data): Likewise.
33071         (log2_test_data): Likewise.
33072         (pow_test_data): Update call to AUTO_TESTS_ff_f.
33073         (pow_tonearest_test_data): Likewise.
33074         (sin_test_data): Update call to AUTO_TESTS_f_f.
33075         (sin_test): Use ALL_RM_TEST.
33076         (sin_tonearest_test_data): Remove.
33077         (sin_test_tonearest): Likewise.
33078         (sin_towardzero_test_data): Likewise.
33079         (sin_test_towardzero): Likewise.
33080         (sin_downward_test_data): Likewise.
33081         (sin_test_downward): Likewise.
33082         (sin_upward_test_data): Likewise.
33083         (sin_test_upward): Likewise.
33084         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
33085         (sinh_test_data): Update call to AUTO_TESTS_f_f.
33086         (sinh_test): Use ALL_RM_TEST.
33087         (sinh_tonearest_test_data): Remove.
33088         (sinh_test_tonearest): Likewise.
33089         (sinh_towardzero_test_data): Likewise.
33090         (sinh_test_towardzero): Likewise.
33091         (sinh_downward_test_data): Likewise.
33092         (sinh_test_downward): Likewise.
33093         (sinh_upward_test_data): Likewise.
33094         (sinh_test_upward): Likewise.
33095         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
33096         (sqrt_test): Use ALL_RM_TEST.
33097         (sqrt_tonearest_test_data): Remove.
33098         (sqrt_test_tonearest): Likewise.
33099         (sqrt_towardzero_test_data): Likewise.
33100         (sqrt_test_towardzero): Likewise.
33101         (sqrt_downward_test_data): Likewise.
33102         (sqrt_test_downward): Likewise.
33103         (sqrt_upward_test_data): Likewise.
33104         (sqrt_test_upward): Likewise.
33105         (tan_test_data): Update call to AUTO_TESTS_f_f.
33106         (tan_test): Use ALL_RM_TEST.
33107         (tan_tonearest_test_data): Remove.
33108         (tan_test_tonearest): Likewise.
33109         (tan_towardzero_test_data): Likewise.
33110         (tan_test_towardzero): Likewise.
33111         (tan_downward_test_data): Likewise.
33112         (tan_test_downward): Likewise.
33113         (tan_upward_test_data): Likewise.
33114         (tan_test_upward): Likewise.
33115         (tanh_test_data): Update call to AUTO_TESTS_f_f.
33116         (tgamma_test_data): Likewise.
33117         (y0_test_data): Likewise.
33118         (y1_test_data): Likewise.
33119         (yn_test_data): Update call to AUTO_TESTS_if_f.
33120         (main): Do not call removed functions.
33122 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33124         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
33125         (ldexp_test_data): Remove.
33126         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
33127         scalbn_test_data.
33128         (scalb_test): Use ALL_RM_TEST.
33130 2014-03-19  Andreas Schwab  <schwab@suse.de>
33132         * nscd/nscd.service: Also invalidate netgroup cache on reload.
33134 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33136         [BZ #16649]
33137         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33138         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
33139         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
33140         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33141         (__ASSUME_PREADV): Undefine.
33142         (__ASSUME_PWRITEV): Likewise.
33144 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33146         * bits/mman-linux.h: Add comment about non-Linux use.
33147         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
33148         bits/mman-linux.h resting place.
33150         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
33151         * bits/mman-linux.h: ... here.
33153 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33155         * conform/conformtest.pl: Add standard definition when calling C
33156         preprocessor on data files.
33157         (checknamespace): Remove unused variable.
33159 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33161         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33162         minus_oflow, plus_uflow and minus_uflow in expected results.
33163         * math/libm-test.inc (scalbn_test_data): Add more tests of
33164         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33165         minus_uflow.
33166         (scalbn_test): Use ALL_RM_TEST.
33167         (scalbln_test_data): Add more tests of negative arguments.  Use
33168         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33169         (scalbln_test): Use ALL_RM_TEST.
33171 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33173         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33175 2014-03-18  Will Newton  <will.newton@linaro.org>
33177         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33178         inaccurate comment.
33180 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33182         * Makerules [!subdir] (check-abi): Exit with error status if a
33183         test failed.
33185 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33187         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33188         for rint.  Include results for all rounding modes.
33189         (nearbyint_test): Use ALL_RM_TEST.
33190         (rint_test_data): Include all tests used for nearbyint.
33192 2014-03-17  Will Newton  <will.newton@linaro.org>
33194         * nptl/sysdeps/pthread/pthread.h: Revert previous
33195         change.
33197         * sysdeps/generic/ldsodefs.h: Revert previous
33198         change.
33200         * libio/genops.c: Revert previous change.
33201         * libio/libioP.h: Likewise.
33202         * stdio-common/vfprintf.c: Likewise.
33204         * sysdeps/generic/math_private.h: Revert previous
33205         change.
33207         * sysdeps/generic/math_private.h: Check whether
33208         HAVE_RM_CTX is defined with #ifdef rather
33209         than #if.
33211         * argp/argp-fmtstream.h: Check whether
33212         __STRICT_ANSI__ is defined with #ifdef rather
33213         than #if.
33214         * argp/argp.h: Likewise.
33216         * libio/genops.c: Check whether
33217         _IO_JUMPS_OFFSET is defined with #ifdef rather
33218         than #if.
33219         * libio/libioP.h: Likewise.
33220         * stdio-common/vfprintf.c: Likewise.
33222         * sysdeps/generic/ldsodefs.h: Check whether
33223         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33224         than #if.
33226         * nptl/sysdeps/pthread/pthread.h: Check
33227         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33228         its value.
33230 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33232         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33233         setting O_APPEND.
33234         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33235         test case.
33237         [BZ #16680]
33238         * libio/fileops.c (_IO_file_open): Seek to end of file but
33239         don't cache the offset.
33240         (get_file_offset): Remove function.
33241         (do_ftell): Use cached offset when available.
33242         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33243         don't cache the offset.
33244         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33245         case.
33246         (do_one_test): Call it.
33247         (do_ftell_test): Fix up expected old offset for a+ mode.
33248         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33249         available.
33251         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33252         up test status with function return status.
33253         (do_write_test): Likewise.
33254         (do_append_test): Likewise.
33256         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33257         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33258         Remove.
33260 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33262         * math/gen-libm-test.pl (parse_args): Handle results specified for
33263         each rounding mode separately.
33264         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33265         tests and results from lrint_tonearest_test_data,
33266         lrint_towardzero_test_data, lrint_downward_test_data and
33267         lrint_upward_test_data.
33268         (lrint_test): Use ALL_RM_TEST.
33269         (lrint_tonearest_test_data): Remove.
33270         (lrint_test_tonearest): Likewise.
33271         (lrint_towardzero_test_data): Likewise.
33272         (lrint_test_towardzero): Likewise.
33273         (lrint_downward_test_data): Likewise.
33274         (lrint_test_downward): Likewise.
33275         (lrint_upward_test_data): Likewise.
33276         (lrint_test_upward): Likewise.
33277         (llrint_test_data): Merge in per-rounding-mode tests and results
33278         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33279         llrint_downward_test_data and llrint_upward_test_data.
33280         (llrint_test): Use ALL_RM_TEST.
33281         (llrint_tonearest_test_data): Remove.
33282         (llrint_test_tonearest): Likewise.
33283         (llrint_towardzero_test_data): Likewise.
33284         (llrint_test_towardzero): Likewise.
33285         (llrint_downward_test_data): Likewise.
33286         (llrint_test_downward): Likewise.
33287         (llrint_upward_test_data): Likewise.
33288         (llrint_test_upward): Likewise.
33289         (rint_test_data): Merge in per-rounding-mode tests and results
33290         from rint_tonearest_test_data, rint_towardzero_test_data,
33291         rint_downward_test_data and rint_upward_test_data.  Add
33292         per-rounding-mode results for tests not in those arrays.
33293         (rint_test): Use ALL_RM_TEST.
33294         (rint_tonearest_test_data): Remove.
33295         (rint_test_tonearest): Likewise.
33296         (rint_towardzero_test_data): Likewise.
33297         (rint_test_towardzero): Likewise.
33298         (rint_downward_test_data): Likewise.
33299         (rint_test_downward): Likewise.
33300         (rint_upward_test_data): Likewise.
33301         (rint_test_upward): Likewise.
33302         (main): Don't call removed functions.
33304 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33306         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33307         "Compiled on ..." crapola.  It is anti-useful.
33309 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33311         * scripts/evaluate-test.sh: Handle fourth argument to determine
33312         whether test run should stop on failure.
33313         * Makeconfig (stop-on-test-failure): New variable.
33314         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33315         $(stop-on-test-failure).
33316         * Makefile (tests): Give a summary of results from testing and
33317         exit with failure status if they include an ERROR or FAIL.
33318         (xtests): Likewise.
33319         * manual/install.texi (Configuring and compiling): Mention
33320         stop-on-test-failure=y.
33321         * INSTALL: Regenerated.
33323 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33325         * scripts/versionlist.awk: New file.
33326         * Makerules [$(build-shared) = yes]
33327         (postclean-generated): Add Versions.def, not Versions.def.v and
33328         Versions.def.v.i.
33329         ($(common-objpfx)Versions.def.v.i): Target removed.
33330         ($(common-objpfx)Versions.def): New target.
33331         ($(common-objpfx)Versions.all): Depend on that rather that
33332         $(common-objpfx)Versions.def.v.
33333         * Versions.def: File removed.
33335         * Makeconfig (+gccwarn): Add -Wundef.
33336         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33337         a dl-sysdep.h breaking its contract.
33338         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33339         * include/stackinfo.h: New file.
33340         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33341         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33342         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33343         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33344         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33345         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33346         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33347         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33348         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33349         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33350         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33351         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33352         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33353         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33354         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33356 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33358         [BZ #16707]
33359         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33360         implementation.
33361         * math/libm-test.inc (round_test_data): Add more tests.
33363         [BZ #16706]
33364         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33365         implementation.
33366         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33368         [BZ #16701]
33369         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33370         implementation.
33371         * math/libm-test.inc (ceil_test_data): Add more tests.
33373         * math/libm-test.inc (trunc_test_data): Add more tests related to
33374         BZ#16414.
33376 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33378         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33379         with #if rather than #ifdef.
33380         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33382 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33384         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33385         first.  Disable AVX-512 GCC support if assembler doesn't support
33386         it.
33387         * sysdeps/x86_64/configure: Regenerated.
33389 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33391         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33392         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33393         (__old_pthread_attr_setstack): Likewise.
33394         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33395         [!_STACK_GROWS_DOWN]: Likewise.
33397 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33399         * config.make.in (have-bash2): Delete.
33400         * configure.ac (libc_cv_have_bash2): Delete.
33401         * configure: Regenerate.
33402         * elf/Makefile (common-ldd-rewrite): Rename to ...
33403         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33404         (sh-ldd-rewrite): Delete.
33405         (bash-ldd-rewrite): Delete.
33406         (have-bash2): Delete checks.
33407         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33408         ldd-rewrite.
33410         * config.make.in (have-ksh): Delete.
33411         (KSH): Delete.
33412         * configure.ac (libc_cv_have_ksh): Delete.
33413         * configure: Regenerate.
33415         * elf/Makefile: Delete $(have-ksh) check.
33416         ($(objpfx)sotruss): Change KSH to BASH.
33417         * elf/sotruss.ksh: Rename to ...
33418         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33419         function style to match POSIX.  Drop ksh vim mode setting.
33421         * manual/time.texi (Specifying the Time Zone with TZ): Change
33422         Tuesday to Thursday.
33424         * debug/tst-longjmp_chk2.c: Update header comment.
33425         (stackoverflow_handler): Add comment.  Call assert on pass value.
33427 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33429         [BZ #16194]
33430         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33431         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33432         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33433         (La_x86_64_vector): Add zmm.
33434         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33435         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33436         ($(objpfx)tst-audit10): New target.
33437         ($(objpfx)tst-audit10.out): Likewise.
33438         (tst-audit10-ENV): New.
33439         (AVX512-CFLAGS): Likewise.
33440         (CFLAGS-tst-audit10.c): Likewise.
33441         (CFLAGS-tst-auditmod10a.c): Likewise.
33442         (CFLAGS-tst-auditmod10b.c): Likewise.
33443         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33444         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33445         * sysdeps/x86_64/configure: Regenerated.
33446         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33447         AVX-512 zmm register support.
33448         (_dl_x86_64_save_sse): Likewise.
33449         (_dl_x86_64_restore_sse): Likewise.
33450         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33451         size vector registers.
33452         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33453         (ZMM_SIZE): Likewise.
33454         * sysdeps/x86_64/tst-audit10.c: New file.
33455         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33456         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33458 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33460         * configure.ac (HAVE_EHDR_START): New check.
33461         * configure: Regenerated.
33462         * config.h.in (HAVE_EHDR_START): New #undef.
33463         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33464         assuming the lowest-addressed segment maps the start of the file.
33466 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33468         * INSTALL: Regenerated.
33470 2014-03-13  Will Newton  <will.newton@linaro.org>
33472         * manual/setjmp.texi (System V contexts): Improve
33473         clarity and grammar of documentation.
33475 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33477         [BZ #16381]
33478         * elf/Makefile (tests): Add tst-pie2.
33479         (tests-pie): Add tst-pie2.
33480         * elf/tst-pie2.c: New file.
33481         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33482         for ET_EXEC.
33483         * elf/rtld.c (map_doit): Load executable as lt_executable.
33484         (dl_main): Likewise.
33486 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33488         [BZ #16642]
33489         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33490         (__ASSUME_PSELECT): Undefine.
33492 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33494         [BZ #16689]
33495         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33496         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33497         static build.
33498         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33499         selector for static builds.
33501 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33503         [BZ #16695]
33504         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33505         key in the buffer.
33507 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33509         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33510         IFUNC selector for static builds.
33512 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33514         * sysdeps/mips/math_private.h [__mips_hard_float]
33515         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33516         libc_feresetround_mips_ctx.
33517         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33518         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33519         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33521         [BZ #16677]
33522         * math/s_nextafter.c (__nextafter): Do not return value from
33523         overflowing computation.
33524         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33525         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33526         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33527         Likewise.
33528         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
33529         Likewise.
33530         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33531         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
33533 2014-03-11  Roland McGrath  <roland@hack.frob.com>
33535         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
33536         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
33537         Move sfi_sp use from the load-multiple (that no longer sets sp) to
33538         the new mov targetting sp.
33540 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33542         [BZ #16683]
33543         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33544         Define it for static builds as well.
33545         (NO_BZERO_IMPL): Likewise.
33547 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33549         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33550         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33551         multiarch strspn for PPC64.
33552         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33553         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33555         (__libc_ifunc_impl_list): Likewise.
33556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33557         multiarch optimizations
33558         * string/strspn.c (strspn): Using macro to redefine symbol name.
33560 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33561             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33563         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
33564         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
33565         multiarch strncat for PPC64.
33566         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
33567         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
33568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33569         (__libc_ifunc_impl_list): Likewise.
33570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
33571         multiarch optimizations
33573 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33575         [BZ #16639]
33576         * nscd/nscd.service: Make service type forking.
33578 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33580         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
33581         sign in non default rounding modes.
33582         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
33584 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
33586         * math/libm-test.inc (ALL_RM_TEST): New macro.
33587         (ceil_test): Use ALL_RM_TEST.
33588         (cimag_test): Likewise.
33589         (conj_test): Likewise.
33590         (copysign_test): Likewise.
33591         (cproj_test): Likewise.
33592         (creal_test): Likewise.
33593         (fabs_test): Likewise.
33594         (floor_test): Likewise.
33595         (fmax_test): Likewise.
33596         (fmin_test): Likewise.
33597         (fmod_test): Likewise.
33598         (fpclassify_test): Likewise.
33599         (frexp_test): Likewise.
33600         (ilogb_test): Likewise.
33601         (isfinite_test): Likewise.
33602         (finite_test): Likewise.
33603         (isgreater_test): Likewise.
33604         (isgreaterequal_test): Likewise.
33605         (isinf_test): Likewise.
33606         (isless_test): Likewise.
33607         (islessequal_test): Likewise.
33608         (islessgreater_test): Likewise.
33609         (isnan_test): Likewise.
33610         (isnormal_test): Likewise.
33611         (issignaling_test): Likewise.
33612         (isunordered_test): Likewise.
33613         (logb_test): Likewise.
33614         (logb_downward_test_data): Remove.
33615         (logb_test_downward): Likewise.
33616         (lround_test): Use ALL_RM_TEST.
33617         (llround_test): Likewise.
33618         (modf_test): Likewise.
33619         (nexttoward_test): Likewise.
33620         (remainder_test): Likewise.
33621         (drem_test): Likewise.
33622         (remainder_tonearest_test_data): Likewise.
33623         (remainder_test_tonearest): Likewise.
33624         (drem_test_tonearest): Likewise.
33625         (remainder_towardzero_test_data): Likewise.
33626         (remainder_test_towardzero): Likewise.
33627         (drem_test_towardzero): Likewise.
33628         (remainder_downward_test_data): Likewise.
33629         (remainder_test_downward): Likewise.
33630         (drem_test_downward): Likewise.
33631         (remainder_upward_test_data): Likewise.
33632         (remainder_test_upward): Likewise.
33633         (drem_test_upward): Likewise.
33634         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
33635         (round_test): Use ALL_RM_TEST.
33636         (signbit_test): Likewise.
33637         (trunc_test): Likewise.
33638         (significand_test): Likewise.
33639         (main): Don't call removed functions.
33641 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33643         [BZ #16674]
33644         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
33645         || __USE_XOPEN2K8].
33646         (ILL_ILLOPN): Likewise.
33647         (ILL_ILLADR): Likewise.
33648         (ILL_ILLTRP): Likewise.
33649         (ILL_PRVOPC): Likewise.
33650         (ILL_PRVREG): Likewise.
33651         (ILL_COPROC): Likewise.
33652         (ILL_BADSTK): Likewise.
33653         (FPE_INTDIV): Likewise.
33654         (FPE_INTOVF): Likewise.
33655         (FPE_FLTDIV): Likewise.
33656         (FPE_FLTOVF): Likewise.
33657         (FPE_FLTUND): Likewise.
33658         (FPE_FLTRES): Likewise.
33659         (FPE_FLTINV): Likewise.
33660         (FPE_FLTSUB): Likewise.
33661         (SEGV_MAPERR): Likewise.
33662         (SEGV_ACCERR): Likewise.
33663         (BUS_ADRALN): Likewise.
33664         (BUS_ADRERR): Likewise.
33665         (BUS_OBJERR): Likewise.
33666         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33667         (TRAP_TRACE): Likewise.
33668         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33669         __USE_XOPEN2K8].
33670         (CLD_KILLED): Likewise.
33671         (CLD_DUMPED): Likewise.
33672         (CLD_TRAPPED): Likewise.
33673         (CLD_STOPPED): Likewise.
33674         (CLD_CONTINUED): Likewise.
33675         (POLL_IN): Likewise.
33676         (POLL_OUT): Likewise.
33677         (POLL_MSG): Likewise.
33678         (POLL_ERR): Likewise.
33679         (POLL_PRI): Likewise.
33680         (POLL_HUP): Likewise.
33681         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
33682         Likewise.
33683         (ILL_ILLOPN): Likewise.
33684         (ILL_ILLADR): Likewise.
33685         (ILL_ILLTRP): Likewise.
33686         (ILL_PRVOPC): Likewise.
33687         (ILL_PRVREG): Likewise.
33688         (ILL_COPROC): Likewise.
33689         (ILL_BADSTK): Likewise.
33690         (FPE_INTDIV): Likewise.
33691         (FPE_INTOVF): Likewise.
33692         (FPE_FLTDIV): Likewise.
33693         (FPE_FLTOVF): Likewise.
33694         (FPE_FLTUND): Likewise.
33695         (FPE_FLTRES): Likewise.
33696         (FPE_FLTINV): Likewise.
33697         (FPE_FLTSUB): Likewise.
33698         (SEGV_MAPERR): Likewise.
33699         (SEGV_ACCERR): Likewise.
33700         (BUS_ADRALN): Likewise.
33701         (BUS_ADRERR): Likewise.
33702         (BUS_OBJERR): Likewise.
33703         (BUS_MCEERR_AR): Likewise.
33704         (BUS_MCEERR_AO): Likewise.
33705         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33706         (TRAP_TRACE): Likewise.
33707         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33708         __USE_XOPEN2K8].
33709         (CLD_KILLED): Likewise.
33710         (CLD_DUMPED): Likewise.
33711         (CLD_TRAPPED): Likewise.
33712         (CLD_STOPPED): Likewise.
33713         (CLD_CONTINUED): Likewise.
33714         (POLL_IN): Likewise.
33715         (POLL_OUT): Likewise.
33716         (POLL_MSG): Likewise.
33717         (POLL_ERR): Likewise.
33718         (POLL_PRI): Likewise.
33719         (POLL_HUP): Likewise.
33720         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
33721         (ILL_ILLOPN): Likewise.
33722         (ILL_ILLADR): Likewise.
33723         (ILL_ILLTRP): Likewise.
33724         (ILL_PRVOPC): Likewise.
33725         (ILL_PRVREG): Likewise.
33726         (ILL_COPROC): Likewise.
33727         (ILL_BADSTK): Likewise.
33728         (FPE_INTDIV): Likewise.
33729         (FPE_INTOVF): Likewise.
33730         (FPE_FLTDIV): Likewise.
33731         (FPE_FLTOVF): Likewise.
33732         (FPE_FLTUND): Likewise.
33733         (FPE_FLTRES): Likewise.
33734         (FPE_FLTINV): Likewise.
33735         (FPE_FLTSUB): Likewise.
33736         (SEGV_MAPERR): Likewise.
33737         (SEGV_ACCERR): Likewise.
33738         (BUS_ADRALN): Likewise.
33739         (BUS_ADRERR): Likewise.
33740         (BUS_OBJERR): Likewise.
33741         (BUS_MCEERR_AR): Likewise.
33742         (BUS_MCEERR_AO): Likewise.
33743         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33744         (TRAP_TRACE): Likewise.
33745         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33746         __USE_XOPEN2K8].
33747         (CLD_KILLED): Likewise.
33748         (CLD_DUMPED): Likewise.
33749         (CLD_TRAPPED): Likewise.
33750         (CLD_STOPPED): Likewise.
33751         (CLD_CONTINUED): Likewise.
33752         (POLL_IN): Likewise.
33753         (POLL_OUT): Likewise.
33754         (POLL_MSG): Likewise.
33755         (POLL_ERR): Likewise.
33756         (POLL_PRI): Likewise.
33757         (POLL_HUP): Likewise.
33758         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
33759         Likewise.
33760         (ILL_ILLOPN): Likewise.
33761         (ILL_ILLADR): Likewise.
33762         (ILL_ILLTRP): Likewise.
33763         (ILL_PRVOPC): Likewise.
33764         (ILL_PRVREG): Likewise.
33765         (ILL_COPROC): Likewise.
33766         (ILL_BADSTK): Likewise.
33767         (ILL_BADIADDR): Likewise.
33768         (ILL_BREAK): Likewise.
33769         (FPE_INTDIV): Likewise.
33770         (FPE_INTOVF): Likewise.
33771         (FPE_FLTDIV): Likewise.
33772         (FPE_FLTOVF): Likewise.
33773         (FPE_FLTUND): Likewise.
33774         (FPE_FLTRES): Likewise.
33775         (FPE_FLTINV): Likewise.
33776         (FPE_FLTSUB): Likewise.
33777         (FPE_DECOVF): Likewise.
33778         (FPE_DECDIV): Likewise.
33779         (FPE_DECERR): Likewise.
33780         (FPE_INVASC): Likewise.
33781         (FPE_INVDEC): Likewise.
33782         (SEGV_MAPERR): Likewise.
33783         (SEGV_ACCERR): Likewise.
33784         (SEGV_PSTKOVF): Likewise.
33785         (BUS_ADRALN): Likewise.
33786         (BUS_ADRERR): Likewise.
33787         (BUS_OBJERR): Likewise.
33788         (BUS_MCEERR_AR): Likewise.
33789         (BUS_MCEERR_AO): Likewise.
33790         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33791         (TRAP_TRACE): Likewise.
33792         (TRAP_BRANCH): Likewise.
33793         (TRAP_HWBKPT): Likewise.
33794         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33795         __USE_XOPEN2K8].
33796         (CLD_KILLED): Likewise.
33797         (CLD_DUMPED): Likewise.
33798         (CLD_TRAPPED): Likewise.
33799         (CLD_STOPPED): Likewise.
33800         (CLD_CONTINUED): Likewise.
33801         (POLL_IN): Likewise.
33802         (POLL_OUT): Likewise.
33803         (POLL_MSG): Likewise.
33804         (POLL_ERR): Likewise.
33805         (POLL_PRI): Likewise.
33806         (POLL_HUP): Likewise.
33807         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
33808         (ILL_ILLOPN): Likewise.
33809         (ILL_ILLADR): Likewise.
33810         (ILL_ILLTRP): Likewise.
33811         (ILL_PRVOPC): Likewise.
33812         (ILL_PRVREG): Likewise.
33813         (ILL_COPROC): Likewise.
33814         (ILL_BADSTK): Likewise.
33815         (FPE_INTDIV): Likewise.
33816         (FPE_INTOVF): Likewise.
33817         (FPE_FLTDIV): Likewise.
33818         (FPE_FLTOVF): Likewise.
33819         (FPE_FLTUND): Likewise.
33820         (FPE_FLTRES): Likewise.
33821         (FPE_FLTINV): Likewise.
33822         (FPE_FLTSUB): Likewise.
33823         (SEGV_MAPERR): Likewise.
33824         (SEGV_ACCERR): Likewise.
33825         (BUS_ADRALN): Likewise.
33826         (BUS_ADRERR): Likewise.
33827         (BUS_OBJERR): Likewise.
33828         (BUS_MCEERR_AR): Likewise.
33829         (BUS_MCEERR_AO): Likewise.
33830         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33831         (TRAP_TRACE): Likewise.
33832         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33833         __USE_XOPEN2K8].
33834         (CLD_KILLED): Likewise.
33835         (CLD_DUMPED): Likewise.
33836         (CLD_TRAPPED): Likewise.
33837         (CLD_STOPPED): Likewise.
33838         (CLD_CONTINUED): Likewise.
33839         (POLL_IN): Likewise.
33840         (POLL_OUT): Likewise.
33841         (POLL_MSG): Likewise.
33842         (POLL_ERR): Likewise.
33843         (POLL_PRI): Likewise.
33844         (POLL_HUP): Likewise.
33845         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
33846         (ILL_ILLOPN): Likewise.
33847         (ILL_ILLADR): Likewise.
33848         (ILL_ILLTRP): Likewise.
33849         (ILL_PRVOPC): Likewise.
33850         (ILL_PRVREG): Likewise.
33851         (ILL_COPROC): Likewise.
33852         (ILL_BADSTK): Likewise.
33853         (FPE_INTDIV): Likewise.
33854         (FPE_INTOVF): Likewise.
33855         (FPE_FLTDIV): Likewise.
33856         (FPE_FLTOVF): Likewise.
33857         (FPE_FLTUND): Likewise.
33858         (FPE_FLTRES): Likewise.
33859         (FPE_FLTINV): Likewise.
33860         (FPE_FLTSUB): Likewise.
33861         (SEGV_MAPERR): Likewise.
33862         (SEGV_ACCERR): Likewise.
33863         (BUS_ADRALN): Likewise.
33864         (BUS_ADRERR): Likewise.
33865         (BUS_OBJERR): Likewise.
33866         (BUS_MCEERR_AR): Likewise.
33867         (BUS_MCEERR_AO): Likewise.
33868         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33869         (TRAP_TRACE): Likewise.
33870         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33871         __USE_XOPEN2K8].
33872         (CLD_KILLED): Likewise.
33873         (CLD_DUMPED): Likewise.
33874         (CLD_TRAPPED): Likewise.
33875         (CLD_STOPPED): Likewise.
33876         (CLD_CONTINUED): Likewise.
33877         (POLL_IN): Likewise.
33878         (POLL_OUT): Likewise.
33879         (POLL_MSG): Likewise.
33880         (POLL_ERR): Likewise.
33881         (POLL_PRI): Likewise.
33882         (POLL_HUP): Likewise.
33883         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
33884         (ILL_ILLOPN): Likewise.
33885         (ILL_ILLADR): Likewise.
33886         (ILL_ILLTRP): Likewise.
33887         (ILL_PRVOPC): Likewise.
33888         (ILL_PRVREG): Likewise.
33889         (ILL_COPROC): Likewise.
33890         (ILL_BADSTK): Likewise.
33891         (FPE_INTDIV): Likewise.
33892         (FPE_INTOVF): Likewise.
33893         (FPE_FLTDIV): Likewise.
33894         (FPE_FLTOVF): Likewise.
33895         (FPE_FLTUND): Likewise.
33896         (FPE_FLTRES): Likewise.
33897         (FPE_FLTINV): Likewise.
33898         (FPE_FLTSUB): Likewise.
33899         (SEGV_MAPERR): Likewise.
33900         (SEGV_ACCERR): Likewise.
33901         (BUS_ADRALN): Likewise.
33902         (BUS_ADRERR): Likewise.
33903         (BUS_OBJERR): Likewise.
33904         (BUS_MCEERR_AR): Likewise.
33905         (BUS_MCEERR_AO): Likewise.
33906         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33907         (TRAP_TRACE): Likewise.
33908         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33909         __USE_XOPEN2K8].
33910         (CLD_KILLED): Likewise.
33911         (CLD_DUMPED): Likewise.
33912         (CLD_TRAPPED): Likewise.
33913         (CLD_STOPPED): Likewise.
33914         (CLD_CONTINUED): Likewise.
33915         (POLL_IN): Likewise.
33916         (POLL_OUT): Likewise.
33917         (POLL_MSG): Likewise.
33918         (POLL_ERR): Likewise.
33919         (POLL_PRI): Likewise.
33920         (POLL_HUP): Likewise.
33921         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
33922         (ILL_ILLOPN): Likewise.
33923         (ILL_ILLADR): Likewise.
33924         (ILL_ILLTRP): Likewise.
33925         (ILL_PRVOPC): Likewise.
33926         (ILL_PRVREG): Likewise.
33927         (ILL_COPROC): Likewise.
33928         (ILL_BADSTK): Likewise.
33929         (ILL_DBLFLT): Likewise.
33930         (ILL_HARDWALL): Likewise.
33931         (FPE_INTDIV): Likewise.
33932         (FPE_INTOVF): Likewise.
33933         (FPE_FLTDIV): Likewise.
33934         (FPE_FLTOVF): Likewise.
33935         (FPE_FLTUND): Likewise.
33936         (FPE_FLTRES): Likewise.
33937         (FPE_FLTINV): Likewise.
33938         (FPE_FLTSUB): Likewise.
33939         (SEGV_MAPERR): Likewise.
33940         (SEGV_ACCERR): Likewise.
33941         (BUS_ADRALN): Likewise.
33942         (BUS_ADRERR): Likewise.
33943         (BUS_OBJERR): Likewise.
33944         (BUS_MCEERR_AR): Likewise.
33945         (BUS_MCEERR_AO): Likewise.
33946         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33947         (TRAP_TRACE): Likewise.
33948         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33949         __USE_XOPEN2K8].
33950         (CLD_KILLED): Likewise.
33951         (CLD_DUMPED): Likewise.
33952         (CLD_TRAPPED): Likewise.
33953         (CLD_STOPPED): Likewise.
33954         (CLD_CONTINUED): Likewise.
33955         (POLL_IN): Likewise.
33956         (POLL_OUT): Likewise.
33957         (POLL_MSG): Likewise.
33958         (POLL_ERR): Likewise.
33959         (POLL_PRI): Likewise.
33960         (POLL_HUP): Likewise.
33961         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
33962         (ILL_ILLOPN): Likewise.
33963         (ILL_ILLADR): Likewise.
33964         (ILL_ILLTRP): Likewise.
33965         (ILL_PRVOPC): Likewise.
33966         (ILL_PRVREG): Likewise.
33967         (ILL_COPROC): Likewise.
33968         (ILL_BADSTK): Likewise.
33969         (FPE_INTDIV): Likewise.
33970         (FPE_INTOVF): Likewise.
33971         (FPE_FLTDIV): Likewise.
33972         (FPE_FLTOVF): Likewise.
33973         (FPE_FLTUND): Likewise.
33974         (FPE_FLTRES): Likewise.
33975         (FPE_FLTINV): Likewise.
33976         (FPE_FLTSUB): Likewise.
33977         (SEGV_MAPERR): Likewise.
33978         (SEGV_ACCERR): Likewise.
33979         (BUS_ADRALN): Likewise.
33980         (BUS_ADRERR): Likewise.
33981         (BUS_OBJERR): Likewise.
33982         (BUS_MCEERR_AR): Likewise.
33983         (BUS_MCEERR_AO): Likewise.
33984         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33985         (TRAP_TRACE): Likewise.
33986         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33987         __USE_XOPEN2K8].
33988         (CLD_KILLED): Likewise.
33989         (CLD_DUMPED): Likewise.
33990         (CLD_TRAPPED): Likewise.
33991         (CLD_STOPPED): Likewise.
33992         (CLD_CONTINUED): Likewise.
33993         (POLL_IN): Likewise.
33994         (POLL_OUT): Likewise.
33995         (POLL_MSG): Likewise.
33996         (POLL_ERR): Likewise.
33997         (POLL_PRI): Likewise.
33998         (POLL_HUP): Likewise.
33999         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
34000         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34002         [BZ #16670]
34003         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
34004         before #include of <time.h>.
34005         [!__USE_XOPEN2K] (__need_timespec): Likewise.
34006         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
34007         (test-xfail-UNIX98/sched.h/conform): Likewise.
34009 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34011         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
34012         error absence of trapping exception support.
34013         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34015 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34017         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
34018         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
34019         * timezone/Makefile (testdata): Move definition above include of
34020         Rules.
34021         (test-zones): New variable.
34022         (tests-special): Add zone files.
34023         (build-testdata): Use $(evaluate-test).
34025         * elf/Makefile (tests-special): Rename tests to end with .out.
34026         ($(objpfx)noload-mem): Likewise.
34027         ($(objpfx)tst-leaks1-mem): Likewise.
34028         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
34029         * iconv/Makefile (xtests-special): Change test-iconvconfig to
34030         $(objpfx)test-iconvconfig.out.
34031         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
34032         set -e inside subshell and redirect output to file.
34033         * iconvdata/Makefile (generated): Rename tests to end with .out.
34034         Correct type.
34035         (tests-special): Rename tests to end with .out.
34036         ($(objpfx)mtrace-tst-loading): Likewise.
34037         * intl/Makefile (generated): Likewise.
34038         (tests-special): Likewise.
34039         ($(objpfx)mtrace-tst-gettext): Likewise.
34040         * misc/Makefile (generated): Likewise.
34041         (tests-special): Likewise.
34042         ($(objpfx)tst-error1-mem): Likewise.
34043         * nptl/Makefile (tests-special): Likewise.
34044         ($(objpfx)tst-stack3-mem): Likewise.
34045         (generated): Likewise.
34046         * posix/Makefile (generated): Likewise.
34047         (tests-special): Likewise.
34048         (xtests-special): Likewise.
34049         ($(objpfx)tst-fnmatch-mem): Likewise.
34050         ($(objpfx)bug-regex2-mem): Likewise.
34051         ($(objpfx)bug-regex14-mem): Likewise.
34052         ($(objpfx)bug-regex21-mem): Likewise.
34053         ($(objpfx)bug-regex31-mem): Likewise.
34054         ($(objpfx)tst-vfork3-mem): Likewise.
34055         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34056         ($(objpfx)tst-pcre-mem): Likewise.
34057         ($(objpfx)tst-boost-mem): Likewise.
34058         ($(objpfx)bug-ga2-mem): Likewise.
34059         ($(objpfx)bug-glob2-mem): Likewise.
34060         * resolv/Makefile (generate): Likewise.
34061         (tests-special): Likewise.
34062         (xtests-special): Likewise.
34063         (generated): Likewise.
34064         ($(objpfx)mtrace-tst-leaks): Likewise.
34065         ($(objpfx)mtrace-tst-leaks2): Likewise.
34067         * scripts/merge-test-results.sh: New file.
34068         * Makefile (tests-special-notdir): New variable.
34069         (tests): Run merge-test-results.sh.
34070         (xtests): Likewise.
34071         * Rules (tests-special-notdir): New variable.
34072         (xtests-special-notdir): Likewise.
34073         (tests): Run merge-test-results.sh
34074         (xtests): Likewise.
34076         * Makeconfig (test-xfail-name): New variable.
34077         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
34078         compute variable name for expected failures.
34079         * conform/Makefile (conformtest-headers-data): New variable.
34080         (conformtest-standards): Likewise.
34081         (conformtest-headers-ISO): Likewise.
34082         (conformtest-headers-ISO99): Likewise.
34083         (conformtest-headers-ISO11): Likewise.
34084         (conformtest-headers-POSIX): Likewise.
34085         (conformtest-headers-XPG3): Likewise.
34086         (conformtest-headers-XPG4): Likewise.
34087         (conformtest-headers-UNIX98): Likewise.
34088         (conformtest-headers-XOPEN2K): Likewise.
34089         (conformtest-headers-POSIX2008): Likewise.
34090         (conformtest-headers-XOPEN2K8): Likewise.
34091         (conformtest-header-list-base): Likewise.
34092         (conformtest-header-list-tests): Likewise.
34093         (conformtest-header-base): Likewise.
34094         (conformtest-header-tests): Likewise.
34095         (tests-special): Add $(conformtest-header-list-tests).  If
34096         [$(fast-check) && !$(cross-compiling)], add
34097         $(conformtest-header-tests) instead of
34098         $(objpfx)run-conformtest.out.
34099         (generated): Add $(conformtest-header-list-base).  If
34100         [$(fast-check) && !$(cross-compiling)], add
34101         $(conformtest-header-base).  Remove previous setting.
34102         ($(conformtest-header-list-tests)): New target.
34103         (test-xfail-run-conformtest): Remove variable.
34104         ($(objpfx)run-conformtest.out): Remove target.
34105         (test-xfail-ISO11/complex.h/conform): New variable.
34106         (test-xfail-ISO11/stdalign.h/conform): Likewise.
34107         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
34108         (test-xfail-XPG3/varargs.h/conform): Likewise.
34109         (test-xfail-XPG4/varargs.h/conform): Likewise.
34110         (test-xfail-UNIX98/varargs.h/conform): Likewise.
34111         (test-xfail-XPG4/ndbm.h/conform): Likewise.
34112         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
34113         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
34114         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
34115         (test-xfail-XPG3/fcntl.h/conform): Likewise.
34116         (test-xfail-XPG3/ftw.h/conform): Likewise.
34117         (test-xfail-XPG3/grp.h/conform): Likewise.
34118         (test-xfail-XPG3/langinfo.h/conform): Likewise.
34119         (test-xfail-XPG3/limits.h/conform): Likewise.
34120         (test-xfail-XPG3/pwd.h/conform): Likewise.
34121         (test-xfail-XPG3/search.h/conform): Likewise.
34122         (test-xfail-XPG3/signal.h/conform): Likewise.
34123         (test-xfail-XPG3/stdio.h/conform): Likewise.
34124         (test-xfail-XPG3/stdlib.h/conform): Likewise.
34125         (test-xfail-XPG3/string.h/conform): Likewise.
34126         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
34127         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
34128         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34129         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34130         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
34131         (test-xfail-XPG3/sys/types.h/conform): Likewise.
34132         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
34133         (test-xfail-XPG3/termios.h/conform): Likewise.
34134         (test-xfail-XPG3/time.h/conform): Likewise.
34135         (test-xfail-XPG3/unistd.h/conform): Likewise.
34136         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
34137         (test-xfail-XPG4/fcntl.h/conform): Likewise.
34138         (test-xfail-XPG4/langinfo.h/conform): Likewise.
34139         (test-xfail-XPG4/netdb.h/conform): Likewise.
34140         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
34141         (test-xfail-XPG4/signal.h/conform): Likewise.
34142         (test-xfail-XPG4/stdio.h/conform): Likewise.
34143         (test-xfail-XPG4/stdlib.h/conform): Likewise.
34144         (test-xfail-XPG4/stropts.h/conform): Likewise.
34145         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34146         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34147         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34148         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34149         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34150         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
34151         (test-xfail-XPG4/sys/time.h/conform): Likewise.
34152         (test-xfail-XPG4/sys/types.h/conform): Likewise.
34153         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
34154         (test-xfail-XPG4/termios.h/conform): Likewise.
34155         (test-xfail-XPG4/ucontext.h/conform): Likewise.
34156         (test-xfail-XPG4/unistd.h/conform): Likewise.
34157         (test-xfail-XPG4/utmpx.h/conform): Likewise.
34158         (test-xfail-POSIX/sched.h/conform): Likewise.
34159         (test-xfail-POSIX/signal.h/conform): Likewise.
34160         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34161         (test-xfail-POSIX/tar.h/conform): Likewise.
34162         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34163         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34164         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34165         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34166         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34167         (test-xfail-UNIX98/sched.h/conform): Likewise.
34168         (test-xfail-UNIX98/signal.h/conform): Likewise.
34169         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34170         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34171         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34172         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34173         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34174         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34175         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34176         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34177         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34178         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34179         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34180         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34181         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34182         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34183         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34184         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34185         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34186         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34187         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34188         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34189         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34190         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34191         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34192         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34193         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34194         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34195         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34196         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34197         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34198         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34199         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34200         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34201         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34202         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34203         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34204         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34205         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34206         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34207         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34208         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34209         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34210         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34211         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34212         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34213         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34214         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34215         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34216         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34217         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34218         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34219         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34220         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34221         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34222         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34223         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34224         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34225         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34226         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34227         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34228         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34229         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34230         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34231         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34232         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34233         (conformtest-cc-flags): Likewise.
34234         ($(conformtest-header-tests): New target.
34235         * conform/check-header-lists.sh: New file.
34236         * conform/run-conformtest.sh: Remove.
34238         * conform/conformtest.pl: Allow ' and \ in values given for
34239         constants.
34240         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34241         inclusion.
34242         [POSIX] (sys/types.h): Likewise.
34243         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34244         inclusion.
34245         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34246         inclusion.
34247         * conform/data/signal.h-data (SIGIO): Remove expectation.
34248         [XPG3] (SIGBUS): Do not expect.
34249         [POSIX || XPG3] (SIGPOLL): Likewise.
34250         [POSIX || XPG3] (SIGPROF): Likewise.
34251         [POSIX || XPG3] (SIGSYS): Likewise.
34252         [XPG3] (SIGTRAP): Likewise.
34253         [POSIX || XPG3] (SIGURG): Likewise.
34254         [POSIX || XPG3] (SIGVTALRM): Likewise.
34255         [POSIX || XPG3] (SIGXCPU): Likewise.
34256         [POSIX || XPG3] (SIGXFSZ): Likewise.
34257         [POSIX] (SA_SIGINFO): Expect.
34258         [XPG3] (siginfo_t): Do not expect type or contents.
34259         [POSIX] (si_pid): Do not expect element.
34260         [POSIX] (si_uid): Likewise.
34261         [POSIX] (si_addr): Likewise.
34262         [POSIX] (si_status): Likewise.
34263         [POSIX] (si_band): Likewise.
34264         [XPG4] (si_value): Likewise.
34265         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34266         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34267         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34268         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34269         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34270         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34271         [POSIX || XPG3] (ILL_COPROC): Likewise.
34272         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34273         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34274         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34275         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34276         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34277         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34278         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34279         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34280         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34281         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34282         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34283         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34284         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34285         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34286         [POSIX || XPG3] (CLD_EXITED): Likewise.
34287         [POSIX || XPG3] (CLD_KILLED): Likewise.
34288         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34289         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34290         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34291         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34292         [POSIX || XPG3] (POLL_IN): Likewise.
34293         [POSIX || XPG3] (POLL_OUT): Likewise.
34294         [POSIX || XPG3] (POLL_MSG): Likewise.
34295         [POSIX || XPG3] (POLL_ERR): Likewise.
34296         [POSIX || XPG3] (POLL_PRI): Likewise.
34297         [POSIX || XPG3] (POLL_HUP): Likewise.
34298         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34299         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34300         (SIG*): Do not allow.
34301         [XPG3] (si_*): Likewise.
34302         [XPG3] (SI_*): Likewise.
34303         [XPG3 || XPG4] (sigev_*): Likewise.
34304         [XPG3 || XPG4] (SIGEV_*): Likewise.
34305         [XPG3 || XPG4] (sival_*): Likewise.
34306         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34307         [POSIX || XPG3] (BUS_*): Likewise.
34308         [POSIX || XPG3] (CLD_*): Likewise.
34309         [POSIX || XPG3] (FPE_*): Likewise.
34310         [POSIX || XPG3] (ILL_*): Likewise.
34311         [POSIX || XPG3] (POLL_*): Likewise.
34312         [POSIX || XPG3] (SEGV_*): Likewise.
34313         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34314         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34315         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34316         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34317         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34318         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34319         Specify type and value.
34320         (TVERSLEN): Likewise.
34321         (REGTYPE): Likewise.
34322         (AREGTYPE): Likewise.
34323         (LNKTYPE): Likewise.
34324         (SYMTYPE): Likewise.
34325         (CHRTYPE): Likewise.
34326         (BLKTYPE): Likewise.
34327         (DIRTYPE): Likewise.
34328         (FIFOTYPE): Likewise.
34329         (CONTTYPE): Likewise.
34330         (TSUID): Likewise.
34331         (TSGID): Likewise.
34332         (TSVTX): Likewise.
34333         (TUREAD): Likewise.
34334         (TUWRITE): Likewise.
34335         (TUEXEC): Likewise.
34336         (TGREAD): Likewise.
34337         (TGWRITE): Likewise.
34338         (TGEXEC): Likewise.
34339         (TOREAD): Likewise.
34340         (TOWRITE): Likewise.
34341         (TOEXEC): Likewise.
34342         [POSIX] (TSVTX): Expect constant.
34344 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34346         * Makefile (tests): Change dependencies to ....
34347         (tests-special): ... additions to this variable.
34348         (tests): Depend on $(tests-special).
34349         * Makerules (check-abi-list): New variable.
34350         (check-abi): Depend on $(check-abi-list).
34351         [$(subdir) = elf] (tests-special): Add
34352         $(objpfx)check-abi-libc.out.
34353         [$(build-shared) = yes && subdir] (tests-special): Add
34354         $(check-abi-list).
34355         [$(build-shared) = yes && subdir] (tests): Do not depend on
34356         check-abi.
34357         * Rules (tests): Depend on $(tests-special).
34358         (xtests): Depend on $(xtests-special).
34359         * catgets/Makefile (tests): Change dependencies to ....
34360         (tests-special): ... additions to this variable.
34361         * conform/Makefile (tests): Change dependencies to ....
34362         (tests-special): ... additions to this variable.
34363         * elf/Makefile (tests): Change dependencies to ....
34364         (tests-special): ... additions to this variable.
34365         * grp/Makefile (tests): Change dependencies to ....
34366         (tests-special): ... additions to this variable.
34367         * iconv/Makefile (xtests): Change dependencies to ....
34368         (xtests-special): ... additions to this variable.
34369         * iconvdata/Makefile (tests): Change dependencies to ....
34370         (tests-special): ... additions to this variable.
34371         * intl/Makefile (tests): Change dependencies to ....
34372         (tests-special): ... additions to this variable.  Also add
34373         $(objpfx)tst-gettext.out.
34374         * io/Makefile (tests): Change dependencies to ....
34375         (tests-special): ... additions to this variable.
34376         * libio/Makefile (tests): Change dependencies to ....
34377         (tests-special): ... additions to this variable.
34378         * malloc/Makefile (tests): Change dependencies to ....
34379         (tests-special): ... additions to this variable.
34380         * misc/Makefile (tests): Change dependencies to ....
34381         (tests-special): ... additions to this variable.
34382         * nptl/Makefile (tests): Change dependencies to ....
34383         (tests-special): ... additions to this variable.
34384         * nptl_db/Makefile (tests): Change dependencies to ....
34385         (tests-special): ... additions to this variable.
34386         * posix/Makefile (tests): Change dependencies to ....
34387         (tests-special): ... additions to this variable.
34388         (xtests): Change dependencies to ....
34389         (xtests-special): ... additions to this variable.
34390         * resolv/Makefile (tests): Change dependencies to ....
34391         (tests-special): ... additions to this variable.
34392         (xtests): Change dependencies to ....
34393         (xtests-special): ... additions to this variable.
34394         * stdio-common/Makefile (tests): Change dependencies to ....
34395         (tests-special): ... additions to this variable.
34396         (do-tst-unbputc): Remove target.
34397         (do-tst-printf): Likewise.
34398         * stdlib/Makefile (tests): Change dependencies to ....
34399         (tests-special): ... additions to this variable.
34400         * string/Makefile (tests): Change dependencies to ....
34401         (tests-special): ... additions to this variable.
34402         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34403         (tests-special): ... additions to this variable.
34405         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34406         whole file.
34407         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34408         whole file.
34409         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34410         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34412         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34413         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34414         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34415         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34416         * conform/data/libgen.h-data [XPG3]: Likewise.
34417         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34418         * conform/data/ndbm.h-data [XPG3]: Likewise.
34419         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34420         * conform/data/netdb.h-data [XPG3]: Likewise.
34421         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34422         * conform/data/poll.h-data [XPG3]: Likewise.
34423         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34424         * conform/data/strings.h-data [XPG3]: Likewise.
34425         * conform/data/stropts.h-data [XPG3]: Likewise.
34426         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34427         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34428         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34429         Likewise.
34430         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34431         * conform/data/sys/time.h-data [XPG3]: Likewise.
34432         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34433         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34434         * conform/data/sys/un.h-data [XPG3]: Likewise.
34435         * conform/data/syslog.h-data [XPG3]: Likewise.
34436         * conform/data/ucontext.h-data [XPG3]: Likewise.
34437         * conform/data/utmpx.h-data [XPG3]: Likewise.
34438         * conform/data/varargs.h-data [UNIX98]: Enable file.
34440         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34442         * math/libm-test.inc (struct test_f_f_data): Move expected results
34443         into structure for each rounding mode.
34444         (struct test_ff_f_data): Likewise.
34445         (struct test_ff_f_data_nexttoward): Likewise.
34446         (struct test_fi_f_data): Likewise.
34447         (struct test_fl_f_data): Likewise.
34448         (struct test_if_f_data): Likewise.
34449         (struct test_fff_f_data): Likewise.
34450         (struct test_c_f_data): Likewise.
34451         (struct test_f_f1_data): Likewise.
34452         (struct test_fF_f1_data): Likewise.
34453         (struct test_ffI_f1_data): Likewise.
34454         (struct test_c_c_data): Likewise.
34455         (struct test_cc_c_data): Likewise.
34456         (struct test_f_i_data): Likewise.
34457         (struct test_ff_i_data): Likewise.
34458         (struct test_f_l_data): Likewise.
34459         (struct test_f_L_data): Likewise.
34460         (struct test_fFF_11_data): Likewise.
34461         (RM_): New macro.
34462         (RM_FE_DOWNWARD): Likewise.
34463         (RM_FE_TONEAREST): Likewise.
34464         (RM_FE_TOWARDZERO): Likewise.
34465         (RM_FE_UPWARD): Likewise.
34466         (RUN_TEST_LOOP_f_f): Update references to expected results.
34467         (RUN_TEST_LOOP_2_f): Likewise.
34468         (RUN_TEST_LOOP_fff_f): Likewise.
34469         (RUN_TEST_LOOP_c_f): Likewise.
34470         (RUN_TEST_LOOP_f_f1): Likewise.
34471         (RUN_TEST_LOOP_fF_f1): Likewise.
34472         (RUN_TEST_LOOP_fI_f1): Likewise.
34473         (RUN_TEST_LOOP_ffI_f1): Likewise.
34474         (RUN_TEST_LOOP_c_c): Likewise.
34475         (RUN_TEST_LOOP_cc_c): Likewise.
34476         (RUN_TEST_LOOP_f_i): Likewise.
34477         (RUN_TEST_LOOP_f_i_tg): Likewise.
34478         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34479         (RUN_TEST_LOOP_f_b): Likewise.
34480         (RUN_TEST_LOOP_f_b_tg): Likewise.
34481         (RUN_TEST_LOOP_f_l): Likewise.
34482         (RUN_TEST_LOOP_f_L): Likewise.
34483         (RUN_TEST_LOOP_fFF_11): Likewise.
34484         * math/gen-libm-test.pl (parse_args): Output four copies of
34485         expected results for each test.
34487         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34488         (__ASSUME_UTIMES): Remove.
34489         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34490         (__ASSUME_UTIMES): Likewise.
34492         * math/gen-auto-libm-tests.c: Update comment on output format.
34493         (output_for_one_input_case): Generate before-rounding and
34494         after-rounding information as conditions on output flags not
34495         floating-point format.
34496         * math/auto-libm-test-out: Regenerated.
34497         * math/gen-libm-test.pl (cond_value): New function.
34498         (or_cond_value): Use cond_value.
34499         (generate_testfile): Handle conditional exceptions.
34501 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34503         * math/libm-test.inc (max_valid_error): New variable.
34504         (init_max_error): Take new argument specifying whether function
34505         results are exactly determined.  Set max_valid_error and bound
34506         other variables for errors based on this argument.
34507         (set_max_error): Do not record results above max_valid_error.
34508         (check_float_internal): Only accept errors of up to 0.5ulps if
34509         also at most max_valid_error.
34510         (START): Take new argument EXACT and pass it to init_max_error.
34511         (acos_test): Update call to START.
34512         (acos_test_tonearest): Likewise.
34513         (acos_test_towardzero): Likewise.
34514         (acos_test_downward): Likewise.
34515         (acos_test_upward): Likewise.
34516         (acosh_test): Likewise.
34517         (asin_test): Likewise.
34518         (asin_test_tonearest): Likewise.
34519         (asin_test_towardzero): Likewise.
34520         (asin_test_downward): Likewise.
34521         (asin_test_upward): Likewise.
34522         (asinh_test): Likewise.
34523         (atan_test): Likewise.
34524         (atanh_test): Likewise.
34525         (atan2_test): Likewise.
34526         (cabs_test): Likewise.
34527         (cacos_test): Likewise.
34528         (cacosh_test): Likewise.
34529         (carg_test): Likewise.
34530         (casin_test): Likewise.
34531         (casinh_test): Likewise.
34532         (catan_test): Likewise.
34533         (catanh_test): Likewise.
34534         (cbrt_test): Likewise.
34535         (ccos_test): Likewise.
34536         (ccosh_test): Likewise.
34537         (ceil_test): Likewise.
34538         (cexp_test): Likewise.
34539         (cimag_test): Likewise.
34540         (clog_test): Likewise.
34541         (clog10_test): Likewise.
34542         (conj_test): Likewise.
34543         (copysign_test): Likewise.
34544         (cos_test): Likewise.
34545         (cos_test_tonearest): Likewise.
34546         (cos_test_towardzero): Likewise.
34547         (cos_test_downward): Likewise.
34548         (cos_test_upward): Likewise.
34549         (cosh_test): Likewise.
34550         (cosh_test_tonearest): Likewise.
34551         (cosh_test_towardzero): Likewise.
34552         (cosh_test_downward): Likewise.
34553         (cosh_test_upward): Likewise.
34554         (cpow_test): Likewise.
34555         (cproj_test): Likewise.
34556         (creal_test): Likewise.
34557         (csin_test): Likewise.
34558         (csinh_test): Likewise.
34559         (csqrt_test): Likewise.
34560         (ctan_test): Likewise.
34561         (ctan_test_tonearest): Likewise.
34562         (ctan_test_towardzero): Likewise.
34563         (ctan_test_downward): Likewise.
34564         (ctan_test_upward): Likewise.
34565         (ctanh_test): Likewise.
34566         (ctanh_test_tonearest): Likewise.
34567         (ctanh_test_towardzero): Likewise.
34568         (ctanh_test_downward): Likewise.
34569         (ctanh_test_upward): Likewise.
34570         (erf_test): Likewise.
34571         (erfc_test): Likewise.
34572         (exp_test): Likewise.
34573         (exp_test_tonearest): Likewise.
34574         (exp_test_towardzero): Likewise.
34575         (exp_test_downward): Likewise.
34576         (exp_test_upward): Likewise.
34577         (exp10_test): Likewise.
34578         (exp10_test_tonearest): Likewise.
34579         (exp10_test_towardzero): Likewise.
34580         (exp10_test_downward): Likewise.
34581         (exp10_test_upward): Likewise.
34582         (pow10_test): Likewise.
34583         (exp2_test): Likewise.
34584         (expm1_test): Likewise.
34585         (expm1_test_tonearest): Likewise.
34586         (expm1_test_towardzero): Likewise.
34587         (expm1_test_downward): Likewise.
34588         (expm1_test_upward): Likewise.
34589         (fabs_test): Likewise.
34590         (fdim_test): Likewise.
34591         (floor_test): Likewise.
34592         (fma_test): Likewise.
34593         (fma_test_towardzero): Likewise.
34594         (fma_test_downward): Likewise.
34595         (fma_test_upward): Likewise.
34596         (fmax_test): Likewise.
34597         (fmin_test): Likewise.
34598         (fmod_test): Likewise.
34599         (fpclassify_test): Likewise.
34600         (frexp_test): Likewise.
34601         (hypot_test): Likewise.
34602         (ilogb_test): Likewise.
34603         (isfinite_test): Likewise.
34604         (finite_test): Likewise.
34605         (isgreater_test): Likewise.
34606         (isgreaterequal_test): Likewise.
34607         (isinf_test): Likewise.
34608         (isless_test): Likewise.
34609         (islessequal_test): Likewise.
34610         (islessgreater_test): Likewise.
34611         (isnan_test): Likewise.
34612         (isnormal_test): Likewise.
34613         (issignaling_test): Likewise.
34614         (isunordered_test): Likewise.
34615         (j0_test): Likewise.
34616         (j1_test): Likewise.
34617         (jn_test): Likewise.
34618         (ldexp_test): Likewise.
34619         (lgamma_test): Likewise.
34620         (gamma_test): Likewise.
34621         (lrint_test): Likewise.
34622         (lrint_test_tonearest): Likewise.
34623         (lrint_test_towardzero): Likewise.
34624         (lrint_test_downward): Likewise.
34625         (lrint_test_upward): Likewise.
34626         (llrint_test): Likewise.
34627         (llrint_test_tonearest): Likewise.
34628         (llrint_test_towardzero): Likewise.
34629         (llrint_test_downward): Likewise.
34630         (llrint_test_upward): Likewise.
34631         (log_test): Likewise.
34632         (log10_test): Likewise.
34633         (log1p_test): Likewise.
34634         (log2_test): Likewise.
34635         (logb_test): Likewise.
34636         (logb_test_downward): Likewise.
34637         (lround_test): Likewise.
34638         (llround_test): Likewise.
34639         (modf_test): Likewise.
34640         (nearbyint_test): Likewise.
34641         (nextafter_test): Likewise.
34642         (nexttoward_test): Likewise.
34643         (pow_test): Likewise.
34644         (pow_test_tonearest): Likewise.
34645         (pow_test_towardzero): Likewise.
34646         (pow_test_downward): Likewise.
34647         (pow_test_upward): Likewise.
34648         (remainder_test): Likewise.
34649         (drem_test): Likewise.
34650         (remainder_test_tonearest): Likewise.
34651         (drem_test_tonearest): Likewise.
34652         (remainder_test_towardzero): Likewise.
34653         (drem_test_towardzero): Likewise.
34654         (remainder_test_downward): Likewise.
34655         (drem_test_downward): Likewise.
34656         (remainder_test_upward): Likewise.
34657         (drem_test_upward): Likewise.
34658         (remquo_test): Likewise.
34659         (rint_test): Likewise.
34660         (rint_test_tonearest): Likewise.
34661         (rint_test_towardzero): Likewise.
34662         (rint_test_downward): Likewise.
34663         (rint_test_upward): Likewise.
34664         (round_test): Likewise.
34665         (scalb_test): Likewise.
34666         (scalbn_test): Likewise.
34667         (scalbln_test): Likewise.
34668         (signbit_test): Likewise.
34669         (sin_test): Likewise.
34670         (sin_test_tonearest): Likewise.
34671         (sin_test_towardzero): Likewise.
34672         (sin_test_downward): Likewise.
34673         (sin_test_upward): Likewise.
34674         (sincos_test): Likewise.
34675         (sinh_test): Likewise.
34676         (sinh_test_tonearest): Likewise.
34677         (sinh_test_towardzero): Likewise.
34678         (sinh_test_downward): Likewise.
34679         (sinh_test_upward): Likewise.
34680         (sqrt_test): Likewise.
34681         (sqrt_test_tonearest): Likewise.
34682         (sqrt_test_towardzero): Likewise.
34683         (sqrt_test_downward): Likewise.
34684         (sqrt_test_upward): Likewise.
34685         (tan_test): Likewise.
34686         (tan_test_tonearest): Likewise.
34687         (tan_test_towardzero): Likewise.
34688         (tan_test_downward): Likewise.
34689         (tan_test_upward): Likewise.
34690         (tanh_test): Likewise.
34691         (tgamma_test): Likewise.
34692         (trunc_test): Likewise.
34693         (y0_test): Likewise.
34694         (y1_test): Likewise.
34695         (yn_test): Likewise.
34696         (significand_test): Likewise.
34698         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
34699         individual tests in comment.
34700         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
34701         (prev_max_error): New variable.
34702         (prev_real_max_error): Likewise.
34703         (prev_imag_max_error): Likewise.
34704         (compare_ulp_data): Don't refer to test names in comment.
34705         (find_test_ulps): Remove function.
34706         (find_function_ulps): Likewise.
34707         (find_complex_function_ulps): Likewise.
34708         (init_max_error): Take function name as argument.  Look up ulps
34709         for that function.
34710         (print_ulps): Remove function.
34711         (print_max_error): Use prev_max_error instead of calling
34712         find_function_ulps.
34713         (print_complex_max_error): Use prev_real_max_error and
34714         prev_imag_max_error instead of calling find_complex_function_ulps.
34715         (check_float_internal): Take max_ulp parameter instead of calling
34716         find_test_ulps.  Don't call print_ulps.
34717         (check_float): Update call to check_float_internal.
34718         (check_complex): Update calls to check_float_internal.
34719         (START): Pass argument to init_max_error.
34720         * math/gen-libm-test.pl (%results): Don't include "kind"
34721         information.
34722         (parse_ulps): Don't handle ulps of individual tests.
34723         (print_ulps_file): Likewise.
34724         (output_ulps): Likewise.
34725         * math/README.libm-test: Update.
34726         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
34727         individual tests.
34728         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
34729         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34730         * sysdeps/arm/libm-test-ulps: Likewise.
34731         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34732         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
34733         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
34734         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
34735         * sysdeps/microblaze/libm-test-ulps: Likewise.
34736         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34737         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34738         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34739         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34740         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34741         * sysdeps/sh/libm-test-ulps: Likewise.
34742         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34743         * sysdeps/tile/libm-test-ulps: Likewise.
34744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34746 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
34748         * math/libm-test.inc (print_complex_max_error): Check separately
34749         whether real and imaginary errors are within allowed range and
34750         pass 0 to print_complex_function_ulps instead of value within
34751         allowed range.
34753 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34755         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
34756         formatting.
34757         (get_handles_fopen): Likewise.
34758         (do_write_test): Likewise.
34760         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
34762         * libio/fileops.c (do_ftell): Use cached offset when
34763         available.
34764         * libio/iofwide.c (do_ftell_wide): Likewise.
34765         * libio/iofdopen.c (_IO_new_fdopen): Don't use
34766         _IO_file_attach.
34767         * libio/wfileops.c (_IO_fwide): Don't cache offset.
34769         [BZ #16532]
34770         * libio/libioP.h (get_file_offset): New function.
34771         * libio/fileops.c (get_file_offset): Likewise.
34772         (do_ftell): Likewise.
34773         (_IO_new_file_seekoff): Split out ftell logic.
34774         * libio/wfileops.c (do_ftell_wide): Likewise.
34775         (_IO_wfile_seekoff): Split out ftell logic.
34776         * libio/tst-ftell-active-handler.c: New test case.
34777         * libio/Makefile (tests): Add it.
34779 2014-03-03  Roland McGrath  <roland@hack.frob.com>
34781         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
34782         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
34784 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34786         [BZ #16639]
34787         * nscd/connections.c (nscd_init): Call do_exit.
34788         (start_threads): Call do_exit and notify_parent.
34789         (begin_drop_privileges): Call do_exit.
34790         (finish_drop_privileges): Likewise.
34791         * nscd/selinux.c (preserve_capabilities): Likewise.
34792         (install_real_capabilities): Likewise.
34793         (nscd_selinux_enabled): Likewise.
34794         (avc_create_thread): Likewise.
34795         (avc_alloc_lock): Likewise.
34796         (nscd_avc_init): Likewise.
34797         * nscd/nscd.c (parent_fd): New static variable.
34798         (main): Create a pipe between parent and child processes.
34799         Skip closing parent_fd.
34800         (monitor_child): New function.
34801         (do_exit): Likewise.
34802         (notify_parent): Likewise.
34803         * nscd/nscd.h (notify_parent): Likewise.
34804         (do_exit): Likewise.
34806 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
34808         * malloc/malloc.c (__libc_calloc): Revert last change.
34810 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34814 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34816         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
34817         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
34818         implementation.
34819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34820         (__libc_ifunc_impl_list): Likewise.
34821         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
34822         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
34823         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
34824         * string/strrchr.c: Define STRRCHR.
34826 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
34828         * benchtest/bench-strtok.c (simple_strtok): Delete.
34829         (strtok_string): Use as benchmark.
34830         * string/strtok (STRTOK): New macro.
34832 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
34834         * manual/threads.texi: Add header and standard comments to all
34835         functions.
34837         * elf/dl-lookup.c (check_match): New function.
34838         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
34839         (do_lookup_x): Remove nested function check_match. Use non-nested
34840         function check_match.
34842 2014-02-28  Roland McGrath  <roland@hack.frob.com>
34844         * csu/Makefile (generated, before-compile): Use += rather than =.
34845         * catgets/Makefile (generated, generated-dirs): Likewise.
34846         * debug/Makefile (generated): Likewise.
34847         * dlfcn/Makefile (generated): Likewise.
34848         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
34849         * iconvdata/Makefile (before-compile, generated): Likewise.
34850         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
34851         * libio/Makefile (generated): Likewise.
34852         * malloc/Makefile (generated): Likewise.
34853         * manual/Makefile (generated, generated-dirs): Likewise.
34854         * misc/Makefile (generated): Likewise.
34855         * posix/Makefile (generated): Likewise.
34856         * resolv/Makefile (generated): Likewise.
34857         * sunrpc/Makefile (generated, generated-dirs): Likewise.
34858         * timezone/Makefile (generated, generated-dirs): Likewise.
34860         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
34862 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34865         power8 implementation.
34866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
34867         file: POWER8 llround ifunc implementation.
34868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
34869         (__lllround): Add POWER8 implementation.
34870         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
34871         POWER8 llround implementation.
34873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
34874         power8 implementation.
34875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
34876         file: POWER8 llrint ifunc implementation.
34877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
34878         Add POWER8 implementation.
34879         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
34880         POWER8 llrint implementation.
34882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
34883         power8 implementation.
34884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
34885         file: POWER8 finite ifunc implementation.
34886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
34887         Add POWER8 implementation.
34888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
34889         Likewise.
34890         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
34891         POWER8 finite implementation.
34892         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
34894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
34895         power8 implementation.
34896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
34897         file: POWER8 isinf ifunc implementation.
34898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
34899         POWER8 implementation.
34900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
34901         Likewise.
34902         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
34903         isinf implementation.
34904         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
34906         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
34907         (INIT_ARCH): Add hwcap2 initialization.
34908         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34909         power8 implementation.
34910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
34911         file: POWER8 isnan ifunc implementation.
34912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
34913         POWER8 implementation.
34914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
34915         Likewise.
34916         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
34917         isnan implementation.
34918         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
34920 2014-02-27  Joey Ye  <joey.ye@arm.com>
34922         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34923         (_FP_NANFRAC_Q): Set to zero.
34925 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34927         [BZ #16623]
34928         * math/auto-libm-test-in: New test inputs.
34929         * math/auto-libm-test-out: Regenerate.
34930         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
34931         and DA.
34932         (__cos): Likewise.
34933         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34935 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
34937         * scripts/evaluate-test.sh: Take new argument indicating whether
34938         failure is expected.
34939         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
34940         indicating whether failure is expected.
34941         * conform/Makefile (test-xfail-run-conformtest): New variable.
34942         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
34943         level.
34944         * posix/Makefile (test-xfail-annexc): New variable.
34945         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
34947 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
34949         * argp/Makefile: Include Makeconfig immediately after defining
34950         subdir.
34951         * assert/Makefile: Likewise.
34952         * benchtests/Makefile: Likewise.
34953         * catgets/Makefile: Likewise.
34954         * conform/Makefile: Likewise.
34955         * crypt/Makefile: Likewise.
34956         * csu/Makefile: Likewise.
34957         (all): Remove target.
34958         * ctype/Makefile: Include Makeconfig immediately after defining
34959         subdir.
34960         * debug/Makefile: Likewise.
34961         * dirent/Makefile: Likewise.
34962         * dlfcn/Makefile: Likewise.
34963         * gmon/Makefile: Likewise.
34964         * gnulib/Makefile: Likewise.
34965         * grp/Makefile: Likewise.
34966         * gshadow/Makefile: Likewise.
34967         * hesiod/Makefile: Likewise.
34968         * hurd/Makefile: Likewise.
34969         (all): Remove target.
34970         * iconvdata/Makefile: Include Makeconfig immediately after
34971         defining subdir.
34972         * inet/Makefile: Likewise.
34973         * intl/Makefile: Likewise.
34974         * io/Makefile: Likewise.
34975         * libio/Makefile: Likewise.
34976         (all): Remove target.
34977         * locale/Makefile: Include Makeconfig immediately after defining
34978         subdir.
34979         * login/Makefile: Likewise.
34980         * mach/Makefile: Likewise.
34981         (all): Remove target.
34982         * malloc/Makefile: Include Makeconfig immediately after defining
34983         subdir.
34984         (all): Remove target.
34985         * manual/Makefile: Include Makeconfig immediately after defining
34986         subdir.
34987         * math/Makefile: Likewise.
34988         * misc/Makefile: Likewise.
34989         * nis/Makefile: Likewise.
34990         * nss/Makefile: Likewise.
34991         * po/Makefile: Likewise.
34992         (all): Remove target.
34993         * posix/Makefile: Include Makeconfig immediately after defining
34994         subdir.
34995         * pwd/Makefile: Likewise.
34996         * resolv/Makefile: Likewise.
34997         * resource/Makefile: Likewise.
34998         * rt/Makefile: Likewise.
34999         * setjmp/Makefile: Likewise.
35000         * shadow/Makefile: Likewise.
35001         * signal/Makefile: Likewise.
35002         * socket/Makefile: Likewise.
35003         * soft-fp/Makefile: Likewise.
35004         * stdio-common/Makefile: Likewise.
35005         * stdlib/Makefile: Likewise.
35006         * streams/Makefile: Likewise.
35007         * string/Makefile: Likewise.
35008         * sunrpc/Makefile: Likewise.
35009         (all): Remove target.
35010         * sysvipc/Makefile: Include Makeconfig immediately after defining
35011         subdir.
35012         * termios/Makefile: Likewise.
35013         * time/Makefile: Likewise.
35014         * timezone/Makefile: Likewise.
35015         (all): Remove target.
35016         * wcsmbs/Makefile: Include Makeconfig immediately after defining
35017         subdir.
35018         * wctype/Makefile: Likewise.
35020 2014-02-26  Steve Ellcey  <sellcey@mips.com>
35022         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
35023         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
35024         (libc_feholdexcept_setround_mips): Ditto.
35025         (libc_feholdsetround): New.
35026         (libc_feholdsetroundf): New.
35027         (libc_feholdsetroundl): New.
35028         (libc_feupdateenv_test_mips): New.
35029         (libc_feupdateenv_test): New.
35030         (libc_feupdateenv_testf): New.
35031         (libc_feupdateenv_testl): New.
35032         (libc_feresetround): New.
35033         (libc_feresetroundf): New.
35034         (libc_feresetroundl): New.
35035         (libc_fetestexcept_mips): New.
35036         (libc_fetestexcept): New.
35037         (libc_fetestexceptf): New.
35038         (libc_fetestexceptl): New.
35039         (HAVE_RM_CTX): New.
35040         (libc_feholdexcept_setround_mips_ctx): New.
35041         (libc_feholdexcept_setround_ctx): New.
35042         (libc_feholdexcept_setroundf_ctx): New.
35043         (libc_feholdexcept_setroundl_ctx): New.
35044         (libc_fesetenv_mips_ctx): New.
35045         (libc_fesetenv_ctx): New.
35046         (libc_fesetenv_ctxf): New.
35047         (libc_fesetenv_ctxl): New.
35048         (libc_feupdateenv_mips_ctx): New.
35049         (libc_feupdateenv_ctx): New.
35050         (libc_feupdateenvf_ctx): New.
35051         (libc_feupdateenvl_ctx): New.
35052         (libc_feholdsetround_mips_ctx): New.
35053         (libc_feholdsetround_ctx): New.
35054         (libc_feholdsetroundf_ctx): New.
35055         (libc_feholdsetroundl_ctx): New.
35056         (libc_feresetround_mips_ctx): New.
35057         (libc_feresetround_ctx): New.
35058         (libc_feresetroundf_ctx): New.
35059         (libc_feresetroundl_ctx): New.
35061 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
35063         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
35065         * manual/ipc.texi: New file.
35066         * manual/Makefile (chapters): Add ipc.
35067         * manual/job.texi: Add "Inter-Process Communication" to next.
35068         * manual/process.texi: Add "Inter-Process Communication" to prev.
35070 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35074 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
35076         * malloc/malloc.c (__libc_calloc): Simplify implementation.
35078         * manual/arith.texi: Fix spaces after sentences.
35079         * manual/charset.texi: Likewise.
35080         * manual/errno.texi: Likewise.
35081         * manual/install.texi: Likewise.
35082         * manual/llio.texi: Likewise.
35083         * manual/locale.texi: Likewise.
35084         * manual/maint.texi: Likewise.
35085         * manual/math.texi: Likewise.
35086         * manual/memory.texi: Likewise.
35087         * manual/message.texi: Likewise.
35088         * manual/probes.texi: Likewise.
35089         * manual/resource.texi: Likewise.
35090         * manual/signal.texi: Likewise.
35091         * manual/socket.texi: Likewise.
35092         * manual/stdio.texi: Likewise.
35093         * manual/string.texi: Likewise.
35094         * manual/time.texi: Likewise.
35095         * manual/users.texi: Likewise.
35097 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
35099         [BZ #16632]
35100         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
35101         _DEFAULT_SOURCE is defined.
35103 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
35104             Carlos O'Donell  <carlos@redhat.com>
35106         [BZ #16613]
35107         * elf/dl-tls.c (_dl_count_modids): New function.
35108         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
35109         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
35110         audit library and increment generation counter.
35111         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
35112         * elf/tst-audit9.c: New file.
35113         * elf/tst-auditmod9a.c: New file.
35114         * elf/tst-auditmod9b.c: New file.
35115         * elf/Makefile: Add rules to build and run tst-audit9.
35117 2014-02-25  Florian Weimer  <fweimer@redhat.com>
35119         [BZ #15347]
35120         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
35122 2014-02-25  Will Newton  <will.newton@linaro.org>
35124         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
35125         (__longjmp): Restore sp and lr before restoring callee
35126         saved registers.  Add longjmp and longjmp_target
35127         SystemTap probe point.
35128         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
35129         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
35130         Define to zero to match jmpbuf layout.
35131         * sysdeps/arm/setjmp.S: Include stap-probe.h.
35132         (__sigsetjmp): Save sp and lr before saving callee
35133         saved registers.  Add setjmp SystemTap probe point.
35135 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35137         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35139 2014-02-24  Andreas Schwab  <schwab@suse.de>
35141         [BZ #15804]
35142         * elf/pldd.c (wait_for_ptrace_stop): New function.
35143         (main): Call it after attaching.
35145 2014-02-22  Roland McGrath  <roland@hack.frob.com>
35147         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
35148         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
35149         Versions files is now verboten.
35150         * hurd/Versions (libc: GLIBC_2.0):
35151         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
35152         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
35153         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
35154         * mach/Versions: Likewise.
35156         * csu/Versions: Remove unused %include.
35157         * resolv/Versions: Likewise.
35159 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35161         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35162         ($(objpfx)check-local-headers.out): Likewise.
35163         ($(objpfx)begin-end-check.out): Likewise.
35164         * Makerules (check-abi-%.out): Likewise.
35165         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35166         ($(objpfx)test2.cat): Likewise.
35167         ($(objpfx)de/libc.cat): Likewise.
35168         ($(objpfx)test-gencat.out): Likewise.
35169         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35170         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35171         ($(objpfx)noload-mem): Likewise.
35172         ($(objpfx)tst-pathopt.out): Likewise.
35173         ($(objpfx)tst-rtld-load-self.out): Likewise.
35174         ($(objpfx)tst-array1-cmp.out): Likewise.
35175         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35176         ($(objpfx)tst-array2-cmp.out): Likewise.
35177         ($(objpfx)tst-array3-cmp.out): Likewise.
35178         ($(objpfx)tst-array4-cmp.out): Likewise.
35179         ($(objpfx)tst-array5-cmp.out): Likewise.
35180         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35181         ($(objpfx)check-textrel.out): Likewise.
35182         ($(objpfx)check-execstack.out): Likewise.
35183         ($(objpfx)check-localplt.out): Likewise.
35184         ($(objpfx)order2-cmp.out): Likewise.
35185         ($(objpfx)tst-leaks1-mem): Likewise.
35186         ($(objpfx)tst-leaks1-static-mem): Likewise.
35187         ($(objpfx)tst-initorder-cmp.out): Likewise.
35188         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35189         ($(objpfx)tst-unused-dep.out): Likewise.
35190         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35191         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35192         * iconv/Makefile (test-iconvconfig): Likewise.
35193         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35194         ($(objpfx)iconv-test.out): Likewise.
35195         ($(objpfx)tst-tables.out): Likewise.
35196         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35197         ($(objpfx)tst-gettext.out): Likewise.
35198         ($(objpfx)tst-translit.out): Likewise.
35199         ($(objpfx)tst-gettext2.out): Likewise.
35200         ($(objpfx)tst-gettext4.out): Likewise.
35201         ($(objpfx)tst-gettext6.out): Likewise.
35202         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35203         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35204         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35205         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35206         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35207         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35208         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35209         ($(objpfx)wordexp-tst.out): Likewise.
35210         ($(objpfx)annexc.out): Likewise.
35211         ($(objpfx)tst-fnmatch-mem): Likewise.
35212         ($(objpfx)bug-regex2-mem): Likewise.
35213         ($(objpfx)bug-regex14-mem): Likewise.
35214         ($(objpfx)bug-regex21-mem): Likewise.
35215         ($(objpfx)bug-regex31-mem): Likewise.
35216         ($(objpfx)tst-vfork3-mem): Likewise.
35217         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35218         ($(objpfx)tst-pcre-mem): Likewise.
35219         ($(objpfx)tst-boost-mem): Likewise.
35220         ($(objpfx)tst-getconf.out): Likewise.
35221         ($(objpfx)bug-ga2-mem): Likewise.
35222         ($(objpfx)bug-glob2-mem): Likewise.
35223         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35224         ($(objpfx)mtrace-tst-leaks2): Likewise.
35225         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35226         ($(objpfx)tst-printf.out): Likewise.
35227         ($(objpfx)tst-setvbuf1.out): Likewise.
35228         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35229         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35230         ($(objpfx)tst-fmtmsg.out): Likewise.
35231         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35232         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35234         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35235         * bits/sigaction.h [__USE_MISC]: Likewise.
35236         * bits/waitstatus.h: Update #endif comments.
35237         * ctype/ctype.h: Likewise.
35238         * dirent/dirent.h: Likewise.
35239         [__USE_MISC]: Remove redundant conditionals.
35240         * grp/grp.h: Update #endif comments.
35241         [__USE_GNU]: Remove redundant conditionals.
35242         [__USE_MISC]: Likewise.
35243         * inet/netinet/in.h [__USE_GNU]: Likewise.
35244         * io/sys/stat.h [__USE_MISC]: Likewise.
35245         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35246         * libio/bits/stdio.h: Update #endif comments.
35247         [__USE_MISC]: Remove redundant conditionals.
35248         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35249         * libio/stdio.h: Update #endif comments.
35250         [__USE_MISC]: Remove redundant conditionals.
35251         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35252         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35253         * math/math.h: Update #else and #endif comments.
35254         [__USE_MISC]: Remove redundant conditionals.
35255         * misc/sys/uio.h: Update #endif comments.
35256         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35257         * posix/glob.h [__USE_MISC]: Likewise.
35258         * posix/sys/types.h: Update #endif comments.
35259         [__USE_MISC]: Remove redundant conditionals.
35260         * posix/sys/wait.h: Update #endif comments.
35261         [__USE_MISC]: Remove redundant conditionals.
35262         * posix/unistd.h: Update #endif comments.
35263         [__USE_MISC]: Remove redundant conditionals.
35264         * pwd/pwd.h [__USE_GNU]: Likewise.
35265         [__USE_MISC]: Likewise.
35266         * resolv/netdb.h [__USE_GNU]: Likewise.
35267         * signal/signal.h: Update #endif comments.
35268         [__USE_MISC]: Remove redundant conditionals.
35269         * stdlib/stdlib.h: Update #else and #endif comments.
35270         [__USE_MISC]: Remove redundant conditionals.
35271         [__USE_GNU]: Likewise.
35272         * string/bits/string2.h [__USE_MISC]: Likewise.
35273         * string/string.h: Update #endif comments.
35274         [__USE_MISC]: Remove redundant conditionals.
35275         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35276         Likewise.
35277         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35278         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35279         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35280         Likewise.
35281         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35282         Likewise.
35283         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35284         comments.
35285         [__USE_MISC]: Remove redundant conditionals.
35286         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35287         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35288         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35289         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35290         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35291         Likewise.
35292         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35293         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35294         Likewise.
35295         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35296         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35297         Likewise.
35298         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35299         Likewise.
35300         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35301         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35302         Likewise.
35303         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35304         Likewise.
35305         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35306         * sysdeps/x86/bits/string.h: Update #endif comments.
35307         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35308         conditionals.
35309         * time/sys/time.h: Update #endif comments.
35310         * time/time.h: Likewise.
35311         [__USE_MISC]: Remove redundant conditionals.
35313 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35315         [BZ #16600]
35316         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35318 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35320         * Versions.def (librt): Add GLIBC_2.17.
35322 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35324         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35325         synonym for _SYS_AUXV_H to allow direct inclusion.
35326         * sysdeps/sparc/bits/hwcap.h: Likewise.
35327         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35328         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35329         * sysdeps/sparc/sysdep.h: Likewise.
35331 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35333         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35335 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35337         * benchtests/bench-strrchr.c: Print length instead of position.
35339 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35341         [BZ #16611]
35342         * sysdeps/unix/sysv/linux/kernel-features.h
35343         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35344         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35345         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35346         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35347         Likewise.
35348         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35349         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35350         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35351         (__ASSUME_SENDMMSG): Define instead of using previous
35352         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35353         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35354         (__ASSUME_SENDMMSG_SYSCALL): Define.
35355         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35356         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35357         Likewise.
35358         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35359         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35360         Likewise.
35361         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35362         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35363         Likewise.
35364         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35365         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35366         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35367         [__ASSUME_SENDMMSG]: Change conditionals to
35368         [__ASSUME_SENDMMSG_SOCKETCALL].
35369         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35370         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35371         Define.
35372         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35373         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35374         Likewise.
35375         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35376         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35377         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35378         [!__ASSUME_SENDMMSG]: Change conditional to
35379         [!__ASSUME_SENDMMSG_SOCKETCALL].
35380         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35381         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35382         Define.
35384         [BZ #16610]
35385         * sysdeps/unix/sysv/linux/kernel-features.h
35386         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35387         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35388         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35389         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35390         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35391         [__i386__ || __sparc__]
35392         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35393         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35394         (__ASSUME_RECVMMSG): Define instead of using previous
35395         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35396         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35397         (__ASSUME_RECVMMSG_SYSCALL): Define.
35398         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35399         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35400         Likewise.
35401         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35402         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35403         Likewise.
35404         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35405         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35406         Likewise.
35407         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35408         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35409         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35410         [__ASSUME_RECVMMSG]: Change condition to
35411         [__ASSUME_RECVMMSG_SOCKETCALL].
35412         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35413         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35414         Define.
35415         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35416         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35417         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35418         Likewise.
35419         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35420         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35421         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35422         [!__ASSUME_RECVMMSG]: Change condition to
35423         [!__ASSUME_RECVMMSG_SOCKETCALL].
35424         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35425         (__ASSUME_RECVMMSG_SYSCALL): Define.
35427         [BZ #16609]
35428         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35429         __powerpc__ || __s390__ || __sh__ || __sparc__]
35430         (__ASSUME_SOCKETCALL): Define.
35431         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35432         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35433         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35434         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35435         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35436         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35437         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35438         (__ASSUME_ACCEPT4): Define instead of using previous
35439         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35440         __powerpc__ || __sparc__ || __s390__)] condition.
35441         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35442         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35443         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35444         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35445         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35446         [!__ASSUME_ACCEPT4]: Change condition to
35447         [!__ASSUME_ACCEPT4_SOCKETCALL].
35448         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35449         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35450         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35451         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35452         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35453         __ASSUME_ACCEPT4_SYSCALL.
35454         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35455         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35456         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35457         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35458         __ASSUME_ACCEPT4_SYSCALL.
35459         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35460         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35461         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35462         [__ASSUME_ACCEPT4]: Change condition to
35463         [__ASSUME_ACCEPT4_SOCKETCALL].
35464         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35465         (__ASSUME_SOCKETCALL): Define.
35466         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35467         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35468         (__ASSUME_SOCKETCALL): Define.
35469         (__ASSUME_ACCEPT4): Remove.
35470         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35471         Define.
35472         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35473         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35474         Likewise.
35475         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35476         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35478         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35479         macro.
35480         (HWCAP_ARM_LPAE): Likewise.
35481         (HWCAP_ARM_EVTSTRM): Likewise.
35482         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35483         Add vpfd32, lpae and evtstrm.
35484         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35485         Increase to 22.
35487 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35489         * math/auto-libm-test-in: Add tests of clog10.
35490         * math/auto-libm-test-out: Regenerated.
35491         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35492         * sysdeps/i386/fpu/libm-test-ulps: Update.
35493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35495 2014-02-18  Andreas Schwab  <schwab@suse.de>
35497         [BZ #16574]
35498         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35499         Store non-zero if the second buffer was newly allocated.
35500         (send_dg): Likewise.
35501         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35502         to send_vc and send_dg.
35503         (res_nsend): Pass NULL for ansp2_malloced.
35504         * resolv/res_query.c (__libc_res_nquery): Add parameter
35505         answerp2_malloced and pass it down to __libc_res_nsend.
35506         (res_nquery): Pass additional NULL to __libc_res_nquery.
35507         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35508         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35509         second answer buffer if answerp2_malloced was set.
35510         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35511         (__libc_res_nquerydomain): Add parameter
35512         answerp2_malloced and pass it down to __libc_res_nquery.
35513         (res_nquerydomain): Pass additional NULL to
35514         __libc_res_nquerydomain.
35515         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35516         additional NULL to __libc_res_nsend and __libc_res_nquery.
35517         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35518         additional NULL to __libc_res_nsearch.
35519         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35520         parameter of __libc_res_nsearch to check for separately allocated
35521         second buffer.
35522         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35523         __libc_res_nquery.
35524         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35525         additional NULL to __libc_res_nquery.
35526         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
35527         __libc_res_nsearch.
35528         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35529         * include/resolv.h: Update prototypes of __libc_res_nquery,
35530         __libc_res_nsearch, __libc_res_nsend.
35532 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
35534         * math/auto-libm-test-in: Add tests of fma.
35535         * math/auto-libm-test-out: Regenerated.
35536         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
35537         (fma_towardzero_test_data): Likewise.
35538         (fma_downward_test_data): Likewise.
35539         (fma_upward_test_data): Likewise.
35540         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
35541         mpc_mode.
35542         (rounding_modes): Add values for new field.
35543         (func_calc_method): Add value mpfr_fff_f.
35544         (func_calc_desc): Add mpfr_fff_f union field.
35545         (test_function): Add field exact_args.
35546         (FUNC): Add macro argument EXACT_ARGS.
35547         (FUNC_mpfr_f_f): Update call to FUNC.
35548         (FUNC_mpfr_f_f): Likewise.
35549         (FUNC_mpfr_ff_f): Likewise.
35550         (FUNC_mpfr_if_f): Likewise.
35551         (FUNC_mpc_c_f): Likewise.
35552         (FUNC_mpc_c_c): Likewise.
35553         (test_functions): Add fma.  Update calls to FUNC.
35554         (handle_input_arg): Add argument exact_args.
35555         (add_test): Update call to handle_input_arg.
35556         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35557         (output_for_one_input_case): Update call to calc_generic_results.
35558         Recalculate exact zero results in each rounding mode.
35560         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35561         non-negative before setting low bit.
35562         * math/auto-libm-test-in: Mark one asin test possibly having
35563         spurious underflow.
35564         * math/auto-libm-test-out: Regenerated.
35565         * sysdeps/i386/fpu/libm-test-ulps: Update.
35566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35568 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
35570         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
35571         * sysdeps/unix/sysv/linux/microblaze: Move directory from
35572         ports/sysdeps/unix/sysv/linux/microblaze.
35573         * README: Add missing listing for microblaze*-*-linux-gnu.
35575 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
35577         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
35578         duplicate code
35580 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
35582         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
35583         * sysdeps/unix/sysv/linux/ia64: Move directory from
35584         ports/sysdeps/unix/sysv/linux/ia64.
35585         * README: Update listing for ia64-*-linux-gnu.
35587 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
35588             Joseph Myers  <joseph@codesourcery.com>
35590         * Makeconfig (test-name): New variable.
35591         (evaluate-test): Likewise.
35592         * Makerules (do-test-clean): Remove .test-result files.
35593         (common-mostlyclean): Likewise.
35594         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
35595         * scripts/evaluate-test.sh: New file.
35597 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
35599         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
35600         separate $(objpfx)tst-fopenloc-cmp.out and
35601         $(objpfx)tst-fopenloc-mem.out targets.
35602         (tests): Update dependencies.
35603         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
35604         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
35605         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
35606         (tst-rxspencer-no-utf8-ARGS): New variable.
35607         (tst-rxspencer-no-utf8-ENV): Likewise.
35608         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
35609         instead of $(objpfx)tst-rxspencer-mem.
35610         ($(objpfx)tst-rxspencer-mem): Change target to
35611         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
35612         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
35613         * posix/tst-rxspencer-no-utf8.c: New file.
35615         * elf/Makefile ($(objpfx)order.out): Remove rule.
35616         [$(run-built-tests) = yes] (tests): Depend on
35617         $(objpfx)order-cmp.out.
35618         ($(objpfx)order-cmp.out): New rule.
35619         [$(run-built-tests) = yes] (tests): Depend on
35620         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
35621         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
35622         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
35623         $(objpfx)tst-array5-static-cmp.out.
35624         ($(objpfx)tst-array1.out): Remove rule.
35625         ($(objpfx)tst-array1-cmp.out): New rule.
35626         ($(objpfx)tst-array1-static.out): Remove rule.
35627         ($(objpfx)tst-array1-static-cmp.out): New rule.
35628         ($(objpfx)tst-array2.out): Remove rule.
35629         ($(objpfx)tst-array2-cmp.out): New rule.
35630         ($(objpfx)tst-array3.out): Remove rule.
35631         ($(objpfx)tst-array3-cmp.out): New rule.
35632         ($(objpfx)tst-array4.out): Remove rule.
35633         ($(objpfx)tst-array4-cmp.out): New rule.
35634         ($(objpfx)tst-array5.out): Remove rule.
35635         ($(objpfx)tst-array5-cmp.out): New rule.
35636         ($(objpfx)tst-array5-static.out): Remove rule.
35637         ($(objpfx)tst-array5-static-cmp.out): New rule.
35638         [$(run-built-tests) = yes] (tests): Depend on
35639         $(objpfx)order2-cmp.out.
35640         ($(objpfx)order2.out): Remove rule.
35641         ($(objpfx)order2-cmp.out): New rule.
35642         ($(objpfx)tst-initorder.out): Remove rule.
35643         [$(run-built-tests) = yes] (tests): Depend on
35644         $(objpfx)tst-initorder-cmp.out.
35645         ($(objpfx)tst-initorder-cmp.out): New rule.
35646         ($(objpfx)tst-initorder2.out): Remove rule.
35647         [$(run-built-tests) = yes] (tests): Depend on
35648         $(objpfx)tst-initorder2-cmp.out.
35649         ($(objpfx)tst-initorder2-cmp.out): New rule.
35650         [$(run-built-tests) = yes] (tests): Depend on
35651         $(objpfx)tst-unused-dep-cmp.out.
35652         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
35653         ($(objpfx)tst-unused-dep-cmp.out): New rule.
35654         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
35655         on $(objpfx)tst-setvbuf1-cmp.out.
35656         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
35657         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
35658         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
35659         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
35660         ($(objpfx)tst-svc.out): Remove rule.
35661         ($(objpfx)tst-svc-cmp.out): New rule.
35663 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
35665         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
35666         * ctype/ctype.h [__USE_MISC]: Likewise.
35667         * dirent/dirent.h [__USE_MISC]: Likewise.
35668         * grp/grp.h [__USE_MISC]: Likewise.
35669         * io/fcntl.h [__USE_MISC]: Likewise.
35670         * io/sys/stat.h [__USE_MISC]: Likewise.
35671         * libio/stdio.h [__USE_MISC]: Likewise.
35672         * posix/unistd.h [__USE_MISC]: Likewise.
35673         * pwd/pwd.h [__USE_MISC]: Likewise.
35674         * stdlib.h [__USE_MISC]: Likewise.
35675         * string/bits/string2.h [__USE_MISC]: Likewise.
35676         * string/string.h [__USE_MISC]: Likewise.
35677         * time/time.h [__USE_MISC]: Likewise.
35679 2014-02-13  Andreas Schwab  <schwab@suse.de>
35681         [BZ #16574]
35682         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
35683         second answer buffer if it was separately allocated.
35685 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
35687         * sysdeps/mips/math-tests.h: Include <features.h>.
35688         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35689         (ROUNDING_TESTS_long_double): Do not define.
35690         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35691         (EXCEPTION_TESTS_long_double): Likewise.
35692         * sysdeps/mips/mips64/libm-test-ulps: Update.
35694         * include/features.h (__USE_BSD): Remove macro definitions.
35695         (__USE_SVID): Likewise.
35696         (_BSD_SOURCE): Likewise.
35697         (_SVID_SOURCE): Likewise.
35698         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
35699         from definition of _DEFAULT_SOURCE.
35700         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
35701         [_DEFAULT_SOURCE].
35702         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
35703         * bits/mman.h [__USE_BSD]: Likewise.
35704         * bits/termios.h [__USE_BSD]: Likewise.
35705         * bits/waitstatus.h [__USE_BSD]: Likewise.
35706         * ctype/ctype.h [__USE_SVID]: Likewise.
35707         * dirent/dirent.h [__USE_BSD]: Likewise.
35708         * grp/grp.h [__USE_SVID]: Likewise.
35709         [__USE_BSD]: Likewise.
35710         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
35711         * io/fcntl.h [__USE_BSD]: Likewise.
35712         * io/ftw.h [__USE_BSD]: Likewise.
35713         * io/sys/stat.h [__USE_BSD]: Likewise.
35714         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
35715         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
35716         * libio/stdio.h [__USE_SVID]: Likewise.
35717         [__USE_BSD]: Likewise.
35718         * math/math.h [__USE_SVID]: Likewise.
35719         [__USE_BSD]: Likewise.
35720         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
35721         * misc/bits/syslog.h [__USE_BSD]: Likewise.
35722         * misc/search.h [__USE_SVID]: Likewise.
35723         * misc/sys/mman.h [__USE_BSD]: Likewise.
35724         * misc/sys/syslog.h [__USE_BSD]: Likewise.
35725         * misc/sys/uio.h [__USE_BSD]: Likewise.
35726         * posix/bits/unistd.h [__USE_BSD]: Likewise.
35727         * posix/glob.h [__USE_BSD]: Likewise.
35728         * posix/regex.h [__USE_BSD]: Likewise.
35729         * posix/sys/types.h [__USE_BSD]: Likewise.
35730         [__USE_SVID]: Likewise.
35731         * posix/sys/utsname.h [__USE_SVID]: Likewise.
35732         * posix/sys/wait.h [__USE_BSD]: Likewise.
35733         [__USE_SVID]: Likewise.
35734         * posix/unistd.h [__USE_BSD]: Likewise.
35735         [__USE_SVID]: Likewise.
35736         * pwd/pwd.h [__USE_SVID]: Likewise.
35737         * resolv/netdb.h [__USE_BSD]: Likewise.
35738         * setjmp/setjmp.h [__USE_BSD]: Likewise.
35739         * signal/signal.h [__USE_BSD]: Likewise.
35740         [__USE_SVID]: Likewise.
35741         * socket/sys/socket.h [__USE_BSD]: Likewise.
35742         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
35743         * stdlib/stdlib.h [__USE_BSD]: Likewise.
35744         [__USE_SVID]: Likewise.
35745         * string/bits/string2.h [__USE_BSD]: Likewise.
35746         [__USE_SVID]: Likewise.
35747         * string/bits/string3.h [__USE_BSD]: Likewise.
35748         * string/endian.h [__USE_BSD]: Likewise.
35749         * string/string.h [__USE_SVID]: Likewise.
35750         [__USE_BSD]: Likewise.
35751         * string/strings.h [__USE_BSD]: Likewise.
35752         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
35753         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
35754         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
35755         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
35756         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
35757         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
35758         Likewise.
35759         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
35760         Likewise.
35761         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
35762         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
35763         Likewise.
35764         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
35765         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
35766         Likewise.
35767         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
35768         Likewise.
35769         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
35770         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
35771         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
35772         Likewise.
35773         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
35774         Likewise.
35775         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
35776         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
35777         * termios/termios.h [__USE_BSD]: Likewise.
35778         * time/sys/time.h [__USE_BSD]: Likewise.
35779         * time/time.h [__USE_BSD]: Likewise.
35780         [__USE_SVID]: Likewise.
35782         * Makefile (subdir_targets): Remove subdir_lint.out.
35784         * stdio-common/Makefile (do-tst-unbputc): Remove target.
35785         (do-tst-printf): Likewise.
35786         (tests): Depend directly on $(objpfx)tst-unbputc.out and
35787         $(objpfx)tst-printf.out.
35789         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
35791         * Makerules (check-abi-%): Change target to
35792         $(objpfx)check-abi-%.out.
35793         (check-abi target): Update dependencies.
35794         (check-abi-pattern variable): Redirect output of diff to $@.
35795         (check-abi variable): Likewise.
35796         * elf/Makefile (check-abi): Update dependencies.
35798         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
35799         unused.
35800         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
35801         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
35802         subnormal range.
35803         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
35804         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
35805         value has largest subnormal exponent.
35806         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
35807         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
35808         * sysdeps/aarch64/soft-fp/sfp-machine.h
35809         (_FP_TININESS_AFTER_ROUNDING): New macro.
35810         * sysdeps/alpha/soft-fp/sfp-machine.h
35811         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35812         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35813         Likewise.
35814         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
35815         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35816         * sysdeps/mips/soft-fp/sfp-machine.h
35817         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35818         * sysdeps/powerpc/soft-fp/sfp-machine.h
35819         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35820         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35821         Likewise.
35822         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35823         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35824         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35825         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35826         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35827         Likewise.
35829 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
35831         [BZ #16545]
35832         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
35833         model 1.
35835 2014-02-12  Richard Henderson  <rth@redhat.com>
35837         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
35838         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
35839         * sysdeps/unix/sysv/linux/alpha: Move directory from
35840         ports/sysdeps/unix/sysv/linux/alpha.
35841         * README: Update listing for alpha-*-linux-gnu.
35843 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
35845         * include/features.h: Update comment documenting feature test
35846         macros.
35847         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
35848         _DEFAULT_SOURCE.
35849         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
35850         (_SVID_SOURCE): Likewise.
35851         (_DEFAULT_SOURCE): Update description of default features.
35852         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
35853         with _GNU_SOURCE.
35854         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
35855         (S_ISVTX): Likewise.
35856         * manual/math.texi (Mathematical Constants): Likewise.
35857         * manual/signal.texi (Interrupted Primitives): Likewise.
35858         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
35859         * math/test-matherr.c (_SVID_SOURCE): Do not define.
35860         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
35861         Don't refer to _SVID_SOURCE in warning text.
35863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35865         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
35866         already defined.
35867         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
35868         * sysdeps/mips/dl-lookup.c: Remove.
35869         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
35871 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35873         [BZ #16447]
35874         * math/auto-libm-test-in: Add testcase for expl.
35875         * math/auto-libm-test-out: Regenerate.
35876         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
35877         calculation of unsafe.
35878         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
35880 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35882         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
35883         * sysdeps/unix/sysv/linux/aarch64: Move directory from
35884         ports/sysdeps/unix/sysv/linux/aarch64.
35885         * README: Update listing for aarch64*-*-linux-gnu.
35887 2014-02-11  Will Newton  <will.newton@linaro.org>
35889         * manual/probes.texi (Mathematical Function Probes): Use
35890         "triggered" instead of "hit".
35892         * manual/probes.texi (Internal Probes): Add documentation
35893         of setjmp, longjmp and longjmp_target probes.
35895         * include/stap-probe.h: Add comment about probe argument
35896         format.
35898         * malloc/mtrace.c (attribute_hidden): Remove unused macro
35899         definition.  (tr_where, tr_freehook, tr_mallochook,
35900         tr_reallochook, tr_memalignhook): Use ANSI protoype.
35902 2014-02-11  David S. Miller  <davem@davemloft.net>
35904         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
35905         processing int_tests.
35907 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
35909         * sysdeps/mips: Move directory from ports/sysdeps/mips.
35910         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
35911         * sysdeps/unix/sysv/linux/mips: Move directory from
35912         ports/sysdeps/unix/sysv/linux/mips.
35913         * README: Update listing for mips-*-linux-gnu and
35914         mips64-*-linux-gnu.
35916 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
35918         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
35919         * sysdeps/unix/sysv/linux/m68k: Move directory from
35920         ports/sysdeps/unix/sysv/linux/m68k.
35921         * README: Update listing for m68k-*-linux-gnu.
35923 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
35925         * sysdeps/tile: Move directory from ports/sysdeps/tile.
35926         * sysdeps/unix/sysv/linux/generic: Move directory from
35927         ports/sysdeps/unix/sysv/linux/generic.
35928         * sysdeps/unix/sysv/linux/tile: Move directory from
35929         ports/sysdeps/unix/sysv/linux/tile.
35930         * README: Update listing for tile*-*-linux-gnu.
35932 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
35934         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
35935         __builtin_expect.
35936         * benchtests/bench-memmem.c (simple_memmem): Likewise.
35937         * catgets/open_catalog.c (__open_catalog): Likewise.
35938         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
35939         * debug/confstr_chk.c: Likewise.
35940         * debug/fread_chk.c (__fread_chk): Likewise.
35941         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35942         * debug/getgroups_chk.c: Likewise.
35943         * debug/mbsnrtowcs_chk.c: Likewise.
35944         * debug/mbsrtowcs_chk.c: Likewise.
35945         * debug/mbstowcs_chk.c: Likewise.
35946         * debug/memcpy_chk.c: Likewise.
35947         * debug/memmove_chk.c: Likewise.
35948         * debug/mempcpy_chk.c: Likewise.
35949         * debug/memset_chk.c: Likewise.
35950         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35951         * debug/strcat_chk.c (__strcat_chk): Likewise.
35952         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
35953         * debug/strncat_chk.c (__strncat_chk): Likewise.
35954         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
35955         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
35956         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
35957         * debug/wcpncpy_chk.c: Likewise.
35958         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35959         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
35960         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
35961         * debug/wcsncpy_chk.c: Likewise.
35962         * debug/wcsnrtombs_chk.c: Likewise.
35963         * debug/wcsrtombs_chk.c: Likewise.
35964         * debug/wcstombs_chk.c: Likewise.
35965         * debug/wmemcpy_chk.c: Likewise.
35966         * debug/wmemmove_chk.c: Likewise.
35967         * debug/wmempcpy_chk.c: Likewise.
35968         * debug/wmemset_chk.c: Likewise.
35969         * dirent/scandirat.c (SCANDIRAT): Likewise.
35970         * dlfcn/dladdr1.c (dladdr1): Likewise.
35971         * dlfcn/dladdr.c (dladdr): Likewise.
35972         * dlfcn/dlclose.c (dlclose_doit): Likewise.
35973         * dlfcn/dlerror.c (__dlerror): Likewise.
35974         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
35975         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
35976         * dlfcn/dlopen.c (dlopen_doit): Likewise.
35977         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
35978         * dlfcn/dlsym.c (dlsym_doit): Likewise.
35979         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
35980         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
35981         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
35982         Likewise.
35983         * elf/dl-conflict.c: Likewise.
35984         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35985         * elf/dl-dst.h: Likewise.
35986         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
35987         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
35988         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35989         * elf/dl-init.c (call_init, _dl_init): Likewise.
35990         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
35991         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
35992         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
35993         Likewise.
35994         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
35995         Likewise.
35996         * elf/dl-minimal.c (__libc_memalign): Likewise.
35997         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
35998         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35999         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
36000         * elf/dl-sym.c (do_sym): Likewise.
36001         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
36002         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
36003         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
36004         * elf/dl-writev.h (_dl_writev): Likewise.
36005         * elf/ldconfig.c (search_dir): Likewise.
36006         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
36007         (dl_main): Likewise.
36008         * elf/setup-vdso.h (setup_vdso): Likewise.
36009         * grp/compat-initgroups.c (compat_call): Likewise.
36010         * grp/fgetgrent.c (fgetgrent): Likewise.
36011         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
36012         * grp/putgrent.c (putgrent): Likewise.
36013         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36014         Likewise.
36015         * hurd/hurdinit.c: Likewise.
36016         * iconvdata/8bit-gap.c (struct): Likewise.
36017         * iconvdata/ansi_x3.110.c : Likewise.
36018         * iconvdata/big5.c : Likewise.
36019         * iconvdata/big5hkscs.c : Likewise.
36020         * iconvdata/cp1255.c: Likewise.
36021         * iconvdata/cp1258.c : Likewise.
36022         * iconvdata/cp932.c : Likewise.
36023         * iconvdata/euc-cn.c: Likewise.
36024         * iconvdata/euc-jisx0213.c : Likewise.
36025         * iconvdata/euc-jp.c: Likewise.
36026         * iconvdata/euc-jp-ms.c : Likewise.
36027         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
36028         * iconvdata/gb18030.c : Likewise.
36029         * iconvdata/gbbig5.c (const): Likewise.
36030         * iconvdata/gbgbk.c: Likewise.
36031         * iconvdata/gbk.c : Likewise.
36032         * iconvdata/ibm1364.c : Likewise.
36033         * iconvdata/ibm930.c : Likewise.
36034         * iconvdata/ibm932.c: Likewise.
36035         * iconvdata/ibm933.c : Likewise.
36036         * iconvdata/ibm935.c : Likewise.
36037         * iconvdata/ibm937.c : Likewise.
36038         * iconvdata/ibm939.c : Likewise.
36039         * iconvdata/ibm943.c: Likewise.
36040         * iconvdata/iso_11548-1.c: Likewise.
36041         * iconvdata/iso-2022-cn.c : Likewise.
36042         * iconvdata/iso-2022-cn-ext.c : Likewise.
36043         * iconvdata/iso-2022-jp-3.c: Likewise.
36044         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
36045         * iconvdata/iso-2022-kr.c : Likewise.
36046         * iconvdata/iso646.c (gconv_end): Likewise.
36047         * iconvdata/iso_6937-2.c : Likewise.
36048         * iconvdata/iso_6937.c : Likewise.
36049         * iconvdata/iso8859-1.c: Likewise.
36050         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
36051         * iconvdata/shift_jisx0213.c : Likewise.
36052         * iconvdata/sjis.c : Likewise.
36053         * iconvdata/t.61.c : Likewise.
36054         * iconvdata/tcvn5712-1.c : Likewise.
36055         * iconvdata/tscii.c: Likewise.
36056         * iconvdata/uhc.c : Likewise.
36057         * iconvdata/unicode.c (gconv_end): Likewise.
36058         * iconvdata/utf-16.c (gconv_end): Likewise.
36059         * iconvdata/utf-32.c (gconv_end): Likewise.
36060         * iconvdata/utf-7.c (base64): Likewise.
36061         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36062         * iconv/gconv_close.c (__gconv_close): Likewise.
36063         * iconv/gconv_open.c (__gconv_open): Likewise.
36064         * iconv/gconv_simple.c (internal_ucs4_loop_single)
36065         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
36066         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
36067         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
36068         (ucs4le_internal_loop_single): Likewise.
36069         * iconv/iconv.c (iconv): Likewise.
36070         * iconv/iconv_close.c: Likewise.
36071         * iconv/loop.c (SINGLE): Likewise.
36072         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
36073         * include/atomic.h: Likewise.
36074         * inet/inet6_option.c (option_alloc): Likewise.
36075         * intl/bindtextdom.c (set_binding_values): Likewise.
36076         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
36077         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
36078         * intl/localealias.c (read_alias_file): Likewise.
36079         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
36080         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
36081         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
36082         * libio/fmemopen.c (fmemopen): Likewise.
36083         * libio/iofgets.c (_IO_fgets): Likewise.
36084         * libio/iofgets_u.c (fgets_unlocked): Likewise.
36085         * libio/iofgetws.c (fgetws): Likewise.
36086         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
36087         * libio/iogetdelim.c (_IO_getdelim): Likewise.
36088         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
36089         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
36090         * locale/findlocale.c (_nl_find_locale): Likewise.
36091         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36092         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
36093         Likewise.
36094         * locale/setlocale.c (setlocale): Likewise.
36095         * login/programs/pt_chown.c (main): Likewise.
36096         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
36097         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
36098         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
36099         (mmap, mmap64, mremap, munmap): Likewise.
36100         * math/e_exp2l.c: Likewise.
36101         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
36102         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
36103         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
36104         * math/s_catan.c (__catan): Likewise.
36105         * math/s_catanf.c (__catanf): Likewise.
36106         * math/s_catanh.c (__catanh): Likewise.
36107         * math/s_catanhf.c (__catanhf): Likewise.
36108         * math/s_catanhl.c (__catanhl): Likewise.
36109         * math/s_catanl.c (__catanl): Likewise.
36110         * math/s_ccosh.c (__ccosh): Likewise.
36111         * math/s_ccoshf.c (__ccoshf): Likewise.
36112         * math/s_ccoshl.c (__ccoshl): Likewise.
36113         * math/s_cexp.c (__cexp): Likewise.
36114         * math/s_cexpf.c (__cexpf): Likewise.
36115         * math/s_cexpl.c (__cexpl): Likewise.
36116         * math/s_clog10.c (__clog10): Likewise.
36117         * math/s_clog10f.c (__clog10f): Likewise.
36118         * math/s_clog10l.c (__clog10l): Likewise.
36119         * math/s_clog.c (__clog): Likewise.
36120         * math/s_clogf.c (__clogf): Likewise.
36121         * math/s_clogl.c (__clogl): Likewise.
36122         * math/s_csin.c (__csin): Likewise.
36123         * math/s_csinf.c (__csinf): Likewise.
36124         * math/s_csinh.c (__csinh): Likewise.
36125         * math/s_csinhf.c (__csinhf): Likewise.
36126         * math/s_csinhl.c (__csinhl): Likewise.
36127         * math/s_csinl.c (__csinl): Likewise.
36128         * math/s_csqrt.c (__csqrt): Likewise.
36129         * math/s_csqrtf.c (__csqrtf): Likewise.
36130         * math/s_csqrtl.c (__csqrtl): Likewise.
36131         * math/s_ctan.c (__ctan): Likewise.
36132         * math/s_ctanf.c (__ctanf): Likewise.
36133         * math/s_ctanh.c (__ctanh): Likewise.
36134         * math/s_ctanhf.c (__ctanhf): Likewise.
36135         * math/s_ctanhl.c (__ctanhl): Likewise.
36136         * math/s_ctanl.c (__ctanl): Likewise.
36137         * math/w_pow.c: Likewise.
36138         * math/w_powf.c: Likewise.
36139         * math/w_powl.c: Likewise.
36140         * math/w_scalb.c (sysv_scalb): Likewise.
36141         * math/w_scalbf.c (sysv_scalbf): Likewise.
36142         * math/w_scalbl.c (sysv_scalbl): Likewise.
36143         * misc/error.c (error_tail): Likewise.
36144         * misc/pselect.c (__pselect): Likewise.
36145         * nis/nis_callback.c (__nis_create_callback): Likewise.
36146         * nis/nis_call.c (__nisfind_server): Likewise.
36147         * nis/nis_creategroup.c (nis_creategroup): Likewise.
36148         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
36149         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
36150         * nis/nis_getservlist.c (nis_getservlist): Likewise.
36151         * nis/nis_lookup.c (nis_lookup): Likewise.
36152         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
36153         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
36154         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
36155         * nis/nis_xdr.c (xdr_endpoint): Likewise.
36156         * nis/nss_compat/compat-grp.c (getgrent_next_file)
36157         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
36158         * nis/nss_compat/compat-initgroups.c (add_group)
36159         (internal_getgrent_r): Likewise.
36160         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36161         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36162         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36163         (internal_getspnam_r): Likewise.
36164         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36165         (_nss_nis_getaliasbyname_r): Likewise.
36166         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36167         (_nss_nis_getntohost_r): Likewise.
36168         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36169         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36170         (_nss_nis_getgrgid_r): Likewise.
36171         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36172         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36173         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36174         (_nss_nis_gethostbyname4_r): Likewise.
36175         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36176         (initgroups_netid): Likewise.
36177         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36178         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36179         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36180         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36181         (_nss_nis_getprotobynumber_r): Likewise.
36182         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36183         (_nss_nis_getsecretkey): Likewise.
36184         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36185         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36186         (_nss_nis_getpwuid_r): Likewise.
36187         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36188         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36189         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36190         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36191         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36192         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36193         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36194         Likewise.
36195         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36196         (_nss_nisplus_getntohost_r): Likewise.
36197         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36198         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36199         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36200         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36201         Likewise.
36202         * nis/nss_nisplus/nisplus-initgroups.c
36203         (_nss_nisplus_initgroups_dyn): Likewise.
36204         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36205         (_nss_nisplus_getnetbyaddr_r): Likewise.
36206         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36207         (_nss_nisplus_getprotobynumber_r): Likewise.
36208         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36209         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36210         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36211         Likewise.
36212         * nis/nss_nisplus/nisplus-service.c
36213         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36214         (_nss_nisplus_getservbyport_r): Likewise.
36215         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36216         (_nss_nisplus_getspnam_r): Likewise.
36217         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36218         Likewise.
36219         * nscd/aicache.c (addhstaiX): Likewise.
36220         * nscd/cache.c (cache_search, prune_cache): Likewise.
36221         * nscd/connections.c (register_traced_file, send_ro_fd)
36222         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36223         (main_loop_epoll): Likewise.
36224         * nscd/grpcache.c (addgrbyX): Likewise.
36225         * nscd/hstcache.c (addhstbyX): Likewise.
36226         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36227         * nscd/mem.c (gc, mempool_alloc): Likewise.
36228         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36229         (addinnetgrX): Likewise.
36230         * nscd/nscd-client.h (__nscd_acquire_maplock)
36231         (__nscd_drop_map_ref): Likewise.
36232         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36233         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36234         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36235         Likewise.
36236         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36237         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36238         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36239         (__nscd_get_map_ref): Likewise.
36240         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36241         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36242         Likewise.
36243         * nscd/pwdcache.c (addpwbyX): Likewise.
36244         * nscd/selinux.c (preserve_capabilities): Likewise.
36245         * nscd/servicescache.c (addservbyX): Likewise.
36246         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36247         * posix/fnmatch.c (fnmatch): Likewise.
36248         * posix/getopt.c (_getopt_internal_r): Likewise.
36249         * posix/glob.c (glob, glob_in_dir): Likewise.
36250         * posix/wordexp.c (exec_comm_child): Likewise.
36251         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36252         (getanswer_r, gaih_getanswer_slice): Likewise.
36253         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36254         * resolv/res_init.c: Likewise.
36255         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36256         * resolv/res_query.c (__libc_res_nquery): Likewise.
36257         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36258         Likewise.
36259         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36260         * stdio-common/perror.c (perror): Likewise.
36261         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36262         * stdio-common/tmpnam.c (tmpnam): Likewise.
36263         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36264         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36265         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36266         Likewise.
36267         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36268         * stdlib/putenv.c (putenv): Likewise.
36269         * stdlib/setenv.c (__add_to_environ): Likewise.
36270         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36271         * stdlib/strtol_l.c (INTERNAL): Likewise.
36272         * string/memmem.c (memmem): Likewise.
36273         * string/strerror.c (strerror): Likewise.
36274         * string/strnlen.c (__strnlen): Likewise.
36275         * string/test-memmem.c (simple_memmem): Likewise.
36276         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36277         * sunrpc/pm_getport.c (__get_socket): Likewise.
36278         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36279         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36280         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36281         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36282         Likewise.
36283         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36284         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36285         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36286         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36287         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36288         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36289         Likewise.
36290         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36291         Likewise.
36292         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36293         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36294         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36295         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36296         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36297         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36298         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36299         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36300         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36301         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36302         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36303         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36304         Likewise.
36305         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36306         Likewise.
36307         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36308         Likewise.
36309         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36310         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36311         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36312         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36313         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36314         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36315         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36316         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36317         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36318         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36319         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36320         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36321         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36322         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36324         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36325         Likewise.
36326         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36327         Likewise.
36328         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36329         Likewise.
36330         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36331         Likewise.
36332         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36333         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36334         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36335         Likewise.
36336         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36337         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36338         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36339         * sysdeps/posix/sleep.c: Likewise.
36340         * sysdeps/posix/tempname.c: Likewise.
36341         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36342         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36343         Likewise.
36344         * sysdeps/powerpc/powerpc32/dl-machine.h
36345         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36346         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36347         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36348         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36349         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36350         Likewise.
36351         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36352         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36353         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36354         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36355         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36356         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36357         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36358         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36359         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36360         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36361         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36362         (elf_machine_lazy_rel): Likewise.
36363         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36364         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36365         (elf_machine_lazy_rel): Likewise.
36366         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36367         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36368         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36369         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36370         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36371         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36372         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36373         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36374         Likewise.
36375         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36376         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36377         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36378         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36379         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36380         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36381         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36382         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36383         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36384         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36385         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36386         Likewise.
36387         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36388         (__posix_fallocate64_l64): Likewise.
36389         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36390         (posix_fallocate): Likewise.
36391         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36392         Likewise.
36393         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36394         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36395         (getifaddrs_internal): Likewise.
36396         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36397         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36398         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36399         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36400         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36401         (__posix_fallocate64_l64): Likewise.
36402         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36403         Likewise.
36404         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36405         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36406         (__get_clockfreq): Likewise.
36407         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36408         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36409         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36411         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36412         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36413         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36414         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36415         Likewise.
36416         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36417         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36418         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36419         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36420         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36421         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36422         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36423         Likewise.
36424         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36425         (posix_fallocate): Likewise.
36426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36427         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36428         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36429         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36430         (elf_machine_rela, elf_machine_rela_relative)
36431         (elf_machine_lazy_rel): Likewise.
36432         * time/asctime.c (asctime_internal): Likewise.
36433         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36434         * time/tzset.c (__tzset_parse_tz): Likewise.
36435         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36436         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36437         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36438         * wcsmbs/wcsmbsload.h: Likewise.
36440         [BZ #15894]
36441         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36443         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36444         (arena_get2): Remove THREAD_STATS conditionals.
36445         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36446         (__malloc_stats, int): Likewise.
36448 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36450         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36451         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36453         * manual/setjmp.texi: Fix typos/grammar errors.
36455         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36456         Only return early when n is <= 0.  Delete unused return statement.
36458         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36459         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36460         * debug/tst-longjmp_chk3.c: New file.
36462         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36463         (test_main): Replace code with set_fortify_handler call.
36464         * debug/test-strcpy_chk.c: Likewise.
36465         * debug/tst-chk1.c: Likewise.
36466         * debug/tst-longjmp_chk.c: Likewise.
36467         * test-skeleton.c: Include fcntl.h & paths.h
36468         (set_fortify_handler): Define.
36470         * debug/tst-longjmp_chk.c: Add header comment and include
36471         ../test-skeleton.c.
36472         (do_test): Mark static.
36473         (TEST_FUNCTION): Define.
36475         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36476         (IP_PMTUDISC_INTERFACE): Likewise.
36477         (IP_MULTICAST_IF): Likewise.
36478         (IP_MULTICAST_TTL): Likewise.
36479         (IP_MULTICAST_LOOP): Likewise.
36480         (IP_ADD_MEMBERSHIP): Likewise.
36481         (IP_DROP_MEMBERSHIP): Likewise.
36482         (IP_UNBLOCK_SOURCE): Likewise.
36483         (IP_BLOCK_SOURCE): Likewise.
36484         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36485         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36486         (IP_MSFILTER): Likewise.
36487         (MCAST_JOIN_GROUP): Likewise.
36488         (MCAST_BLOCK_SOURCE): Likewise.
36489         (MCAST_UNBLOCK_SOURCE): Likewise.
36490         (MCAST_LEAVE_GROUP): Likewise.
36491         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36492         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36493         (MCAST_MSFILTER): Likewise.
36494         (IP_MULTICAST_ALL): Likewise.
36495         (IP_UNICAST_IF): Likewise.
36497         * timezone/Makefile: Delete $(have-ksh) check.
36498         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36499         * timezone/tzselect.ksh: Add +x mode bits.
36501         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36502         (ANON_INODE_FS_MAGIC): Likewise.
36503         (BDEVFS_MAGIC): Likewise.
36504         (BINFMTFS_MAGIC): Likewise.
36505         (BTRFS_TEST_MAGIC): Likewise.
36506         (CRAMFS_MAGIC_WEND): Likewise.
36507         (DEBUGFS_MAGIC): Likewise.
36508         (ECRYPTFS_SUPER_MAGIC): Likewise.
36509         (EXT3_SUPER_MAGIC): Likewise.
36510         (EXT4_SUPER_MAGIC): Likewise.
36511         (FUTEXFS_SUPER_MAGIC): Likewise.
36512         (HOSTFS_SUPER_MAGIC): Likewise.
36513         (HUGETLBFS_MAGIC): Likewise.
36514         (MINIX3_SUPER_MAGIC): Likewise.
36515         (MTD_INODE_FS_MAGIC): Likewise.
36516         (NILFS_SUPER_MAGIC): Likewise.
36517         (OPENPROM_SUPER_MAGIC): Likewise.
36518         (PIPEFS_MAGIC): Likewise.
36519         (PSTOREFS_MAGIC): Likewise.
36520         (QNX6_SUPER_MAGIC): Likewise.
36521         (RAMFS_MAGIC): Likewise.
36522         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36523         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36524         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36525         (SECURITYFS_MAGIC): Likewise.
36526         (SELINUX_MAGIC): Likewise.
36527         (SMACK_MAGIC): Likewise.
36528         (SOCKFS_MAGIC): Likewise.
36529         (SQUASHFS_MAGIC): Likewise.
36530         (STACK_END_MAGIC): Likewise.
36531         (TMPFS_MAGIC): Likewise.
36532         (USBDEVICE_SUPER_MAGIC): Likewise.
36533         (V9FS_MAGIC): Likewise.
36534         (XENFS_SUPER_MAGIC): Likewise.
36535         (CRAMFS_MAGIC): Fix typo in comment.
36536         (EXT2_SUPER_MAGIC): Update comment.
36537         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
36539 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
36541         * sysdeps/arm: Move directory from ports/sysdeps/arm.
36542         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36543         * sysdeps/unix/sysv/linux/arm: Move directory from
36544         ports/sysdeps/unix/sysv/linux/arm.
36545         * README: Update listing for arm-*-linux-gnueabi.
36547         * README: Remove mention of am33.
36549 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36551         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36552         than the comma operator, to avoid "rhs of comma has no effect"
36553         compiler warnings.
36554         (__sigfillset, __sigandset, __sigorset): Likewise.
36555         * include/signal.h (__sigemptyset): Likewise.
36556         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36558 2014-02-07  Allan McRae  <allan@archlinux.org>
36560         * version.h (RELEASE): Set to "development".
36561         (VERSION): Set to "2.19.90"
36562         * NEWS: Add 2.20 section.
36564 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
36566         [BZ #16529]
36567         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
36569 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36571         * manual/contrib.texi: Update entry for Carlos O'Donell,
36572         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
36574 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
36576         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
36578         * sysdeps/unix/sysv/linux/kernel-features.h
36579         [__LINUX_KERNEL_VERSION >= 0x020621]
36580         (__ASSUME_PROC_PID_TASK_COMM): Define.
36582 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36584         [BZ #16398]
36585         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
36586         conversion when destination buffer does not have enough space.
36587         * libio/tst-ftell-partial-wide.c: New test case.
36588         * libio/Makefile (tests): Add tst-ftell-partial-wide.
36590         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
36591         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
36592         Leonard and Allan McRae.
36594 2014-02-04  David S. Miller  <davem@davemloft.net>
36596         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
36597         32-bit.
36599 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36602         New file
36603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36604         New file
36605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36606         New file.
36607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36608         New file.
36609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36610         New file.
36611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36612         New file.
36613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36614         New file.
36615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36616         New file.
36617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36618         New file.
36619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36620         New file.
36621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36622         New file.
36623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36624         New file.
36625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36626         New file.
36628 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36630         * nptl/shlib-versions: Change powerpc*le start to 2.17.
36631         * shlib-versions: Likewise.
36633 2014-02-04  Roland McGrath  <roland@hack.frob.com>
36634             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36636         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
36637         (abilist-pattern): New variable, set to %-le.abilist.
36639         * Makerules (abilist-pattern): New variable.
36640         (vpath): Use $(abilist-pattern) in place of %.abilist.
36641         (check-abi-% pattern rule): Likewise.
36642         (check-abi, update-abi): Likewise.
36644 2014-02-04  Eric Wong  <normalperson@yhbt.net>
36646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36648 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
36650         * manual/startup.texi: Add next, previous, and top entries for
36651         the `Program Arguments' and `Environment Variables' nodes.
36653 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
36655         * manual/macros.texi: Add comments before MTASC-safety macros.
36657         * manual/users.texi: Document MTASC-safety properties.
36659         * manual/threads.texi (pthread_key_create, pthread_key_delete)
36660         (pthread_getspecific, pthread_setspecific): Format with
36661         @deftypefun, and add @safety note.
36662         * manual/signal.texi: Move comments that analyze the above
36663         functions to their home place.
36665 2014-02-03  Allan McRae  <allan@archlinux.org>
36667         * po/sl.po: Update Slovenian translation from translation project.
36669 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
36671         * manual/time.texi (timegm): Add missing blank after @c.
36672         Reported by Joseph Myers <joseph@codesourcery.com>.
36674 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
36676         * manual/check-safety.sh: New.
36677         * manual/Makefile ($(objpfx)stamp-summary): Run it.
36679         * manual/terminal.texi: Document MTASC-safety properties.
36681         * manual/filesys.texi: Document MTASC-safety properties.
36683         * manual/errno.texi: Document MTASC-safety properties.
36685         * manual/intro.texi: Document safety identifiers and
36686         conditionals.
36688         * manual/string.texi (wcstok): Fix prototype.
36689         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
36691         * manual/time.texi: Document MTASC-safety properties.
36693         * manual/string.texi: Document MTASC-safety properties.
36695         * manual/threads.texi: Document MTASC-safety properties.
36697         * manual/stdio.texi: Document MTASC-safety properties.
36699         * manual/syslog.texi: Document MTASC-safety properties.
36701         * manual/sysinfo.texi: Document MTASC-safety properties.
36703         * manual/startup.texi: Document MTASC-safety properties.
36705         * manual/socket.texi: Document MTASC-safety properties.
36707         * manual/signal.texi: Document MTASC-safety properties.
36709 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
36711         * manual/setjmp.texi: Document MTASC-safety properties.
36713         * manual/search.texi: Document MTASC-safety properties.
36715         * manual/resource.texi: Document MTASC-safety properties.
36717         * manual/process.texi: Document MTASC-safety properties.
36719         * manual/platform.texi: Document MTASC-safety properties.
36721         * manual/pipe.texi: Document MTASC-safety properties.
36723         * manual/pattern.texi: Document MTASC-safety properties.
36725         * manual/message.texi: Document MTASC-safety properties.
36727         [BZ #12751]
36728         * manual/memory.texi: Document MTASC-safety properties.
36730         * manual/math.texi: Document MTASC-safety properties.
36732         * manual/locale.texi: Document MTASC-safety properties.
36734         * manual/llio.texi: Document MTASC-safety properties.
36736         * manual/libdl.texi: New.
36738         * manual/lang.texi: Document MTASC-safety properties.
36740         * manual/job.texi: Document MTASC-safety properties.
36742         * manual/getopt.texi: Document MTASC-safety properties.
36744         * manual/ctype.texi: Document MTASC-safety properties.
36746 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
36748         [BZ #16046]
36749         * csu/libc-tls.c (static_map): Remove variable.
36750         (__libc_setup_tls): Use main executable's link map for TLS data.
36751         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
36752         casing for LM_ID_BASE and GL(dl_nns).
36753         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
36754         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
36755         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
36756         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
36757         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
36758         member.
36759         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
36760         l_phnum members.
36762 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
36764         * manual/debug.texi: Document MTASC-safety properties.
36766 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
36768         [BZ #16510]
36769         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
36770         of __x86_64__ when disabling x87 inline functions.
36772 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
36774         * manual/charset.texi: Document MTASC-safety properties.
36776         * manual/crypt.texi: Document MTASC-safety properties.
36778         * manual/conf.texi: Document MTASC-safety properties.
36780         * manual/arith.texi: Document MTASC-safety properties.
36782         * manual/argp.texi: Document MTASC-safety properties.
36784         * manual/macros.texi: Introduce macros to document multi
36785         thread, asynchronous signal and asynchronous cancellation
36786         safety properties.
36787         * manual/intro.texi: Introduce the properties themselves.
36789 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36791         * sysdeps/sh/sh4/Makefile: New file.
36793 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
36795         * math/gen-libm-test.pl ($srcdir): New variable.
36796         ($auto_input): Use it.
36798 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36800         [BZ #16506]
36801         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
36802         access beyond array bounds when parsing netgroups file.
36804         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
36805         the old buffer before realloc.
36807 2014-01-27  Allan McRae  <allan@archlinux.org>
36809         * po/fr.po: Update French translation from translation project.
36811 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36813         * sysdeps/sh/libm-test-ulps: Regenerate.
36815 2014-01-24  David S. Miller  <davem@davemloft.net>
36817         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
36819 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36821         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
36822         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
36824 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36826         [BZ #16474]
36827         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
36828         string pointers after reallocation.
36830 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36832         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
36833         __SH4A__ instead of __SH_FPU_ANY__.
36835 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36837         * sysdeps/sh/fpu_control.h: New file.
36838         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
36839         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
36840         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
36841         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
36842         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
36843         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
36844         * sysdeps/sh/sys/ucontext.h: Remove.
36845         * sysdeps/sh/sys: Remove directory.
36847 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36849         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
36850         s390/sys/ucontext.h.
36851         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
36852         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
36854 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
36856         [BZ #15605]
36857         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
36859 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36861         [BZ#16431]
36862         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36863         Adjust the vDSO correctly for internal calls.
36864         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
36866 2014-01-20  Allan McRae  <allan@archlinux.org>
36868         * po/ca.po: Update Catalan translation from translation project.
36870 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
36872         * sysdeps/s390/sotruss-lib.c: New file.
36874 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36876         [BZ#16430]
36877         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
36878         (__GI___gettimeofday): Alias for a different internal symbol to avoid
36879         local calls issues by not having a PLT stub required for IFUNC calls.
36880         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
36882 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
36884         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
36885         * math/test-fpucw-static.c: Likewise.
36887 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36889         [BZ #16453]
36890         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
36892 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36894         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
36895         implementation for powerpc.
36897 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
36899         [BZ #14782]
36900         * sysdeps/posix/system.c (__libc_system): Do not enable
36901         asynchronous cancellation.
36903 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36905         [BZ #16427]
36906         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
36907         handling only for numbers special also in the IEEE case.
36909 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36911         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36913 2014-01-11  Allan McRae  <allan@archlinux.org>
36915         * po/bg.po: Update Bulgarian translation from translation project.
36917         * po/de.po: Update German translation from translation project.
36919 2014-01-10  Roland McGrath  <roland@hack.frob.com>
36921         * sysdeps/generic/gcc-compat.h: New file.
36923 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36925         * benchtests/asin-inputs: Correct slow inputs.
36926         * benchtests/acos-inputs: Likewise.
36928 2014-01-10  Allan McRae  <allan@archlinux.org>
36930         * po:sv.po: Update Swedish translation from translation project.
36932         * po/vi.po: Update Vietnamese translation from translation project.
36934         * po/eo.po: Update Esperanto translation from translation project.
36936         * po/cs.po: Update Czech translation from translation project.
36938         * po/nl.po: Update Dutch translation from translation project.
36940         * po/pl.po: Update Polish translation from translation project.
36942         * po/ru.po: Update Russian translation from translation project.
36944         * po/uk.po: Update Ukrainian translation from translation project.
36946 2014-01-08  Brooks Moses  <bmoses@google.com>
36948         * elf/dl-load.c: Fix comment typo.
36950 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
36952         * po/header.pot: Rename to...
36953         * po/pot.header: ... this.
36954         * po/Makefile: Use pot.header.
36956 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
36957             Maxim Kuvyrkov  <maxim@kugelworks.com>
36959         [BZ #16394]
36960         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
36961         SRC and DEST against LEN.
36963 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36965         [BZ #16414]
36966         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
36967         implementation.
36968         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
36970 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36974 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
36976         [BZ #16408]
36977         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
36978         for large positive arguments.
36980 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
36982         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36984         * math/auto-libm-test-in: Mark various tests with
36985         xfail-rounding:ldbl-128ibm.
36986         * math/auto-libm-test-out: Regenerated.
36988         [BZ #16407]
36989         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36990         Increase overflow threshold.
36992 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
36994         [BZ #14286]
36995         * stdio-common/vfprintf.c: Check for integer overflow.
36997 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36999         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
37000         the first argument and return value of __tls_get_addr_internal.
37002 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37004         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
37005         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
37007 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37009         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
37010         * sysdeps/s390/rtld-global-offsets.sym: New file.
37011         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
37012         GLIBC_2.19 symbol.
37013         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
37014         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
37015         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37016         ... this.
37017         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
37018         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37019         ... this.
37020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37021         Regenerate.
37022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37023         Regenerate.
37024         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
37025         halfs of GPRs for high_gprs contexts.
37026         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
37027         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
37028         field.
37029         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
37030         uc_flags field.
37031         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
37032         64 bit versions:
37033         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
37034         for high GPRs (uc_high_gprs) and for future extensions
37035         (__reserved).
37036         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
37037         for future extensions (__reserved).
37038         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
37039         64 bit versions:
37040         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
37041         SC_HIGHGPRS offset definition.
37042         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
37043         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
37045         * Versions.def: Add GLIBC_2.19 for libpthread.
37046         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
37047         siglongjmp for libpthread with GLIBC_2.19 symver.
37048         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
37049         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
37050         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
37051         * sysdeps/s390/__longjmp.c: New file.
37052         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
37053         * sysdeps/s390/longjmp.c: New file.
37054         * sysdeps/s390/setjmp.S: New file.
37055         * sysdeps/s390/sigjmp.S: New file.
37056         * sysdeps/s390/v1-longjmp.c: New file.
37057         * sysdeps/s390/v1-setjmp.h: New file.
37058         * sysdeps/s390/v1-sigjmp.c: New file.
37059         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
37060         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
37061         GLIBC_2.19 version.
37062         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
37063         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
37064         versioned symbols for ____longjmp_chk.
37065         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37066         Likewise.
37067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37068         Regenerate.
37069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37070         Regenerate.
37071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37072         Regenerate.
37073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37074         Regenerate.
37075         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
37076         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
37077         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
37078         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
37079         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
37080         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
37081         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
37082         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
37083         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
37084         * sysdeps/s390/rtld-__longjmp.c: New file.
37085         * sysdeps/s390/rtld-setjmp.S: New file.
37087 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
37089         [BZ #16400]
37090         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37091         Return -__logl (x) for small positive arguments without evaluating
37092         a polynomial.
37094 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
37096         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
37097         Rename to ...
37098         (__ptrace_peeksiginfo_args): ... this.
37099         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37100         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37101         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37103 2014-01-06  Allan McRae  <allan@archlinux.org>
37105         * inet/netinet/in.h: Fix typo in comment.
37107 2014-01-05  Andreas Jaeger  <aj@suse.de>
37109         * sysdeps/i386/fpu/libm-test-ulps: Update.
37111 2014-01-05  Allan McRae  <allan@archlinux.org>
37113         * po/libc.pot: Regenerated.
37115         * malloc/memusagestat.c: Fix gettext call formatting.
37117 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
37119         * nscd/nscd.c: Improve usage() output.
37121 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
37123         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
37124         * sysdeps/unix/sysv/linux/configure: Regenerated.
37125         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
37126         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
37128 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37130         [BZ #16390]
37131         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37132         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
37134 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37136         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
37137         extra tokens at end of #undef directive.
37138         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37139         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
37140         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37142 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37144         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37146         * math/auto-libm-test-in: Mark various tests with
37147         xfail-rounding:ldbl-128ibm.
37148         * math/auto-libm-test-out: Regenerated.
37150 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
37152         [BZ #16386]
37153         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
37154         numbers with subnormal high part when calculating exponent.
37156         [BZ #16385]
37157         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37158         fabs.
37160         [BZ #16384]
37161         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37162         M_LN2l.
37163         (__ieee754_acoshl): Use __log1pl not __log1p.
37165 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37167         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37168         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37169         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37170         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37171         (reused_arena, arena_get2): Convert to GNU style.
37172         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37173         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37174         (memalign_check, __malloc_set_state): Likewise.
37175         * malloc/mallocbug.c (main): Likewise.
37176         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37177         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37178         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37179         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37180         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37181         (__posix_memalign, malloc_info): Likewise.
37182         * malloc/malloc.h: Likewise.
37183         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37184         (mallochook, memalignhook, reallochook, mabort): Likewise.
37185         * malloc/mcheck.h: Likewise.
37186         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37187         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37188         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37189         * malloc/morecore.c (__default_morecore): Likewise.
37190         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37191         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37192         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37193         (print_and_abort): Likewise.
37194         * malloc/obstack.h: Likewise.
37195         * malloc/set-freeres.c (__libc_freeres): Likewise.
37196         * malloc/tst-mallocstate.c (main): Likewise.
37197         * malloc/tst-mtrace.c (main): Likewise.
37198         * malloc/tst-realloc.c (do_test): Likewise.
37200 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37202         [BZ #16366]
37203         * nscd/netgroupcache.c (do_notfound): New function.
37204         (addgetnetgrentX): Use it.
37206         [BZ # 16365]
37207         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37208         NSS_STATUS_NOTFOUND.
37210 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37212         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37215 2014-01-01  Allan McRae  <allan@archlinux.org>
37217         * scripts/update-copyrights: Update configure input file suffix.
37219         * NEWS: Update copyright year.
37220         * catgets/gencat.c: Likewise.
37221         * csu/version.c: Likewise.
37222         * debug/catchsegv.sh: Likewise.
37223         * debug/pcprofiledump.c: Likewise.
37224         * debug/xtrace.sh: Likewise.
37225         * elf/ldconfig.c: Likewise.
37226         * elf/ldd.bash.in: Likewise.
37227         * elf/pldd.c: Likewise.
37228         * elf/sotruss.ksh: Likewise.
37229         * elf/sprof.c: Likewise.
37230         * iconv/iconv_prog.c: Likewise.
37231         * iconv/iconvconfig.c: Likewise.
37232         * locale/programs/locale.c: Likewise.
37233         * locale/programs/localedef.c: Likewise.
37234         * login/programs/pt_chown.c: Likewise.
37235         * malloc/memusage.sh: Likewise.
37236         * malloc/memusagestat.c: Likewise.
37237         * malloc/mtrace.pl: Likewise.
37238         * manual/libc.texinfo: Likewise.
37239         * nscd/nscd.c: Likewise.
37240         * nss/getent.c: Likewise.
37241         * nss/makedb.c: Likewise.
37242         * posix/getconf.c: Likewise.
37243         * scripts/test-installation.pl: Likewise.
37245         * All files with FSF copyright notices: Update copyright dates
37246         using scripts/update-copyrights.
37247         * intl/plural.c: Regenerated.
37248         * locale/programs/charmap-kw.h: Likewise.
37249         * locale/programs/locfile-kw.h: Likewise.
37251 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37253         * sysdeps/unix/sysv/linux/configure: Regenerated.
37254         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37255         the linux/fanotify.h header.
37256         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37257         HAVE_LINUX_FANOTIFY_H is defined.
37259 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37261         * benchtests/cos-inputs: New inputs.
37262         * benchtests/sin-inputs: Likewise.
37264         * benchtests/atan-inputs: New inputs. Fix name of multiple
37265         precision fallback inputs.
37267         * benchtests/atanh-inputs: New inputs.
37268         * benchtests/tanh-inputs: Likewise.
37270         * benchtests/acosh-inputs: New inputs.
37271         * benchtests/asinh-inputs: Likewise.
37273         * benchtests/cosh-inputs: New inputs.
37274         * benchtests/sinh-inputs: Likewise.
37276         * benchtests/acos-inputs: Add more inputs.
37277         * benchtests/asin-inputs: Likewise.
37279 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37281         [BZ #16375]
37282         * manual/arith.texi: Fix spelling.
37283         * manual/charset.texi: Likewise.
37284         * manual/errno.texi: Likewise.
37285         * manual/filesys.texi: Likewise.
37286         * manual/lang.texi: Likewise.
37287         * manual/llio.texi: Likewise.
37288         * manual/locale.texi: Likewise.
37289         * manual/message.texi: Likewise.
37290         * manual/resource.texi: Likewise.
37291         * manual/search.texi: Likewise.
37292         * manual/setjmp.texi: Likewise.
37293         * manual/stdio.texi: Likewise.
37294         * manual/string.texi: Likewise.
37295         * manual/sysinfo.texi: Likewise.
37296         * manual/time.texi: Likewise.
37298 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37300         * po/sl.po: New file.
37302 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37304         * .gitignore: Add core/.gdbinit/.gdb_history.
37306 2013-12-27  Allan McRae  <allan@archlinux.org>
37308         [BZ #16369]
37309         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37310         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37312 2013-12-24  Brooks Moses  <bmoses@google.com>
37314         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37315         all compilers that claim C++98 compliance, not just GCC.
37316         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37317         Likewise.
37319 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37321         * NEWS: Restore accidentally deleted bug-fix entries.
37323 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37324             Ondřej Bílka  <neleai@seznam.cz>
37326         [BZ #15073]
37327         * malloc/malloc.c (_int_free): Perform sanity check only if we
37328         have_lock.
37330 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37332         [BZ #12986]
37333         * manual/stdio.texi (String Input Conversions): Clarify that character
37334         classes are not supported.
37336 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37340 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37342         [BZ #16337]
37343         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37344         Calculate results for small negative arguments directly rather
37345         than using reflection formula with special underflow handling.
37347         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37348         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37349         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37350         (fchflags): Likewise.
37351         (revoke): Likewise.
37352         (setlogin): Likewise.
37353         (sigaltstack): Likewise.
37354         (wait4): Likewise.
37355         (sigblock): Remove.
37356         (sigsetmask): Likewise.
37357         (wait3): Likewise.
37358         (waitpid): Likewise.
37359         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37360         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37361         file.
37362         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37363         * sysdeps/unix/bsd/Makefile: ... here.
37364         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37365         * sysdeps/unix/bsd/Versions: ... here.
37366         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37367         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37368         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37369         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37370         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37371         * sysdeps/unix/bsd/sigblock.c: ... here.
37372         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37373         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37374         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37375         * sysdeps/unix/bsd/sigvec.c: ... here.
37376         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37377         * sysdeps/unix/bsd/tcdrain.c: ... here.
37378         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37379         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37380         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37381         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37382         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37383         * sysdeps/unix/bsd/wait.c: ... here.
37384         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37385         * sysdeps/unix/bsd/wait3.c: ... here.
37386         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37387         * sysdeps/unix/bsd/waitpid.c: ... here.
37389 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37391         [BZ #16356]
37392         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37393         round-to-nearest for [!USE_AS_EXPM1L].
37394         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37395         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37396         more tests of exp and exp10.  Expect some exp10 tests to miss
37397         exceptions or fail in directed rounding modes.
37398         * math/auto-libm-test-out: Regenerated.
37399         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37400         (exp10_test_tonearest): New function.
37401         (exp10_towardzero_test_data): New array.
37402         (exp10_test_towardzero): New function.
37403         (exp10_downward_test_data): New array.
37404         (exp10_test_downward): New function.
37405         (exp10_upward_test_data): New array.
37406         (exp10_test_upward): New function.
37407         (main): Call the new functions.
37408         * sysdeps/i386/fpu/libm-test-ulps: Update.
37409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37411 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37413         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37414         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37415         * math/auto-libm-test-out: Regenerated.
37416         * math/libm-test.inc (acosh_test_data): Add more tests.
37417         (atanh_test_data): Likewise.
37418         (ceil_test_data): Likewise.
37419         (copysign_test_data): Likewise.
37420         * sysdeps/i386/fpu/libm-test-ulps: Update.
37421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37423         * timezone/checktab.awk: Update from tzcode 2013i.
37424         * timezone/private.h: Likewise.
37425         * timezone/scheck.c: Likewise.
37426         * timezone/tzfile.h: Likewise.
37427         * timezone/tzselect.ksh: Likewise.
37428         * timezone/zdump.c: Likewise.
37429         * timezone/zic.c: Likewise.
37431         * math/auto-libm-test-in: Add tests of cpow.
37432         * math/auto-libm-test-out: Regenerated.
37433         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37434         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37435         mpc_cc_c.
37436         (func_calc_desc): Add mpc_cc_c union field.
37437         (test_functions): Add cpow.
37438         (special_fill_2pi): New function.
37439         (special_real_inputs): Add 2pi.
37440         (calc_generic_results): Handle mpc_cc_c.
37441         * sysdeps/i386/fpu/libm-test-ulps: Update.
37442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37444         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37445         csqrt, ctan and ctanh.
37446         * math/auto-libm-test-out: Regenerated.
37447         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37448         (TEST_COND_x86): Likewise.
37449         (ccos_test_data): Use AUTO_TESTS_c_c.
37450         (ccosh_test_data): Likewise.
37451         (cexp_test_data): Likewise.
37452         (clog_test_data): Likewise.
37453         (csqrt_test_data): Likewise.
37454         (ctan_test_data): Likewise.
37455         (ctan_tonearest_test_data): Likewise.
37456         (ctan_towardzero_test_data): Likewise.
37457         (ctan_downward_test_data): Likewise.
37458         (ctan_upward_test_data): Likewise.
37459         (ctanh_test_data): Likewise.
37460         (ctanh_tonearest_test_data): Likewise.
37461         (ctanh_towardzero_test_data): Likewise.
37462         (ctanh_downward_test_data): Likewise.
37463         (ctanh_upward_test_data): Likewise.
37464         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37465         mpc_c_c.
37466         (func_calc_desc): Add mpc_c_c union field.
37467         (FUNC_mpc_c_c): New macro.
37468         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37469         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37470         ctanh.
37471         (special_fill_min_subnorm_p120): New function.
37472         (special_real_inputs): Add min_subnorm_p120.
37473         (calc_generic_results): Handle mpc_c_c.
37474         * sysdeps/i386/fpu/libm-test-ulps: Update.
37475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37477 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37479         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37480         (do_sin_slow): New functions.
37481         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37482         (cslow2, csloww1, csloww2): Use the new functions.
37484         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37485         Use M to change sign of result instead of X.  Assume X is
37486         positive.
37487         (csloww1): Likewise.
37488         (__sin): Adjust.
37489         (__cos): Adjust.
37491         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37492         arguments A and DA.
37493         (__sin): Adjust.
37494         (__cos): Likewise.
37496         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37497         (__cos): Likewise.
37498         (sloww1): Don't adjust sign of DX.
37499         (csloww1): Likewise.
37500         (sloww2): Use X directly and don't adjust sign of DX.
37501         (csloww2): Likewise.
37503 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37505         * math/auto-libm-test-in: Add tests of cabs and carg.
37506         * math/auto-libm-test-out: Regenerated.
37507         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37508         (carg_test_data): Likewise.
37509         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37510         mpc_c_f.
37511         (func_calc_desc): Add mpc_c_f union field.
37512         (test_functions): Add cabs and carg.
37513         (calc_generic_results): Handle mpc_c_f.
37515         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37516         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37517         as a macro and a compat symbol.
37518         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37519         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37520         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37521         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37522         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37523         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37524         not use .hidden.
37525         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37526         Likewise.
37527         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
37528         Likewise.
37529         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
37530         Likewise.
37531         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
37532         Likewise.
37533         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
37534         Likewise.
37535         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
37536         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
37537         from GLIBC_2.3.2.
37539 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37543 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37545         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37546         trailing whitespace removed.
37547         * scripts/config.guess: Update to version 2013-11-29.
37548         * scripts/config.sub: Update to version 2013-10-01.
37550         * math/auto-libm-test-in: Add tests of sincos.
37551         * math/auto-libm-test-out: Regenerated.
37552         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37553         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37554         mpfr_f_11.
37555         (func_calc_desc): Add mpfr_f_11 union field.
37556         (test_functions): Add sincos.
37557         (calc_generic_results): Handle mpfr_f_11.
37558         * sysdeps/i386/fpu/libm-test-ulps: Update.
37559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37561 2013-12-19  Andreas Schwab  <schwab@suse.de>
37563         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
37564         CALL_MCOUNT.
37565         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37566         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
37567         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
37569 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37571         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
37572         * sysdeps/i386/fpu/libm-test-ulps: Update.
37573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37575         [BZ #16293]
37576         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
37577         round-to-nearest mode when using frndint.
37578         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
37579         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37580         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37581         Likewise.
37582         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
37583         sinh test to fail.
37584         * math/auto-libm-test-out: Regenerated.
37585         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
37586         (TEST_COND_x86): Likewise.
37587         (expm1_tonearest_test_data): New array.
37588         (expm1_test_tonearest): New function.
37589         (expm1_towardzero_test_data): New array.
37590         (expm1_test_towardzero): New function.
37591         (expm1_downward_test_data): New array.
37592         (expm1_test_downward): New function.
37593         (expm1_upward_test_data): New array.
37594         (expm1_test_upward): New function.
37595         (main): Run the new test functions.
37596         * sysdeps/i386/fpu/libm-test-ulps: Update.
37597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37599         * include/features.h: Update comment documenting feature test
37600         macros.  Mention _DEFAULT_SOURCE in comment.
37601         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
37602         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
37603         _BSD_SOURCE and _SVID_SOURCE.
37604         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
37605         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
37606         !_SVID_SOURCE]: Likewise.
37607         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37608         (__USE_POSIX_IMPLICITLY): Define.
37609         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37610         (_POSIX_SOURCE): Undefine and redefine.
37611         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37612         (_POSIX_C_SOURCE): Likewise.
37613         * manual/creature.texi (_DEFAULT_SOURCE): Document.
37614         (Feature Test Macros): Update documentation of default features.
37616 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37618         * benchtests/Makefile: Add bench-strtok.
37619         * benchtests/bench-strtok.c: New file: strtok benchtest.
37621 2013-12-19  Allan McRae  <allan@archlinux.org>
37623         * manual/install.texi: Suppress menu for plain text output.
37624         * INSTALL: Regenerated.
37626 2013-12-18  Brooks Moses  <bmoses@google.com>
37628         [BZ #15846]
37629         * misc/getauxval.c: Include errno.h.
37630         (__getauxval): Set errno to ENOENT if the requested type is not
37631         found.
37632         * misc/sys/auxv.h (getauxval): Document that it may set errno;
37633         don't declare with __attribute_const__.
37634         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
37635         * manual/startup.texi: Document that getauxval sets errno.
37637 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37639         * math/auto-libm-test-in: Add tests of jn and yn.
37640         * math/auto-libm-test-out: Regenerated.
37641         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
37642         (yn_test_data): Likewise.
37643         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37644         mpfr_if_f.
37645         (func_calc_desc): Add mpfr_if_f union field.
37646         (FUNC_mpfr_if_f): New macro.
37647         (test_functions): Add jn and yn.
37648         (calc_generic_results): Assert type of second input for
37649         mpfr_ff_f.  Handle mpfr_if_f.
37650         (output_for_one_input_case): Disable all checking for arguments
37651         fitting floating-point types in case of an integer argument.
37652         * sysdeps/i386/fpu/libm-test-ulps: Update.
37653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37656         Don't expect fegetround reference in libm.so.
37658 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37660         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
37661         $(config-cflags-nofma).
37663 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37665         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
37666         * math/auto-libm-test-out: Regenerated.
37668         [BZ #16338]
37669         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
37670         to determine exponent and adjust argument to have exponent of -1.
37671         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
37672         log2.
37673         * math/auto-libm-test-out: Regenerated.
37674         * sysdeps/i386/fpu/libm-test-ulps: Update.
37675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37677 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
37679         * manual/probes.texi: Remove cases when per-thread arenas are
37680         disabled.
37682 2013-12-18  Andreas Schwab  <schwab@suse.de>
37684         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
37685         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
37686         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
37687         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
37688         * sysdeps/i386/i686/multiarch/Makefile: Update.
37689         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
37691 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37693         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
37694         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
37696 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
37698         [BZ #15968]
37699         Support TZ transition times < 00:00:00.
37700         This is needed for version-3 tz-format files; it supports time
37701         stamps past 2037 for America/Godthab (the only entry in the tz
37702         database for which this change is relevant).
37703         * manual/time.texi (TZ Variable): Document transition times
37704         from -167:59:59 through -00:00:01.
37705         * time/tzset.c (tz_rule): Time of day is now signed.
37706         (__tzset_parse_tz): Parse negative time of day.
37708         Document TZ transition times >= 25:00:00.
37709         * manual/time.texi (TZ Variable): Document transition times from
37710         25:00:00 through 167:59:59.  These are already supported, and this
37711         support will help with version-3 tz-format files.
37713         * manual/time.texi (TZ Variable): Modernize North America example
37714         to reflect current (i.e., 2007-and-later) daylight saving rules.
37716         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
37718 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37720         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
37721         * sysdeps/unix/bsd/bits/stat.h: Likewise.
37722         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
37723         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37724         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
37725         * sysdeps/unix/bsd/bsdstat.h: Likewise.
37726         * sysdeps/unix/bsd/clock.c: Likewise.
37727         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
37728         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
37729         * sysdeps/unix/bsd/init-posix.c: Likewise.
37730         * sysdeps/unix/bsd/poll.c: Likewise.
37731         * sysdeps/unix/bsd/ptsname.c: Likewise.
37732         * sysdeps/unix/bsd/seekdir.c: Likewise.
37733         * sysdeps/unix/bsd/setegid.c: Likewise.
37734         * sysdeps/unix/bsd/seteuid.c: Likewise.
37735         * sysdeps/unix/bsd/setgid.c: Likewise.
37736         * sysdeps/unix/bsd/setrgid.c: Likewise.
37737         * sysdeps/unix/bsd/setruid.c: Likewise.
37738         * sysdeps/unix/bsd/setsid.c: Likewise.
37739         * sysdeps/unix/bsd/setuid.c: Likewise.
37740         * sysdeps/unix/bsd/sigaction.c: Likewise.
37741         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
37742         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
37743         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
37744         * sysdeps/unix/bsd/telldir.c: Likewise.
37745         * sysdeps/unix/bsd/times.c: Likewise.
37746         * sysdeps/unix/bsd/usleep.c: Likewise.
37748         * misc/Makefile (install-lib): Remove libbsd-compat.a.
37749         ($(objpfx)libbsd-compat.a): Remove rule.
37751         * include/features.h (__FAVOR_BSD): Do not define.
37752         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
37753         features conflicting with POSIX.
37754         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
37755         (_BSD_SOURCE): Remove description of not being a subset of other
37756         feature test macros.
37757         * manual/job.texi (getpgrp): Do not document BSD version.
37758         (getpgid): Do not document by reference to BSD getpgrp.
37759         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
37760         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
37761         * signal/signal.h [__FAVOR_BSD]: Likewise.
37762         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
37763         instead of making contents conditional on [__FAVOR_BSD].
37764         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
37766 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37770 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37772         [BZ #16314]
37773         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
37774         values below 2**-450, not 2**-500.
37775         * math/auto-libm-test-in: Don't allow spurious underflow from
37776         hypot.
37777         * math/auto-libm-test-out: Regenerated.
37779         [BZ #16316]
37780         [BZ #16330]
37781         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
37782         values of ha and hb and sort them after adjusting subnormal
37783         arguments.
37784         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37785         Likewise.
37786         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
37787         values of ea and eb and sort them after adjusting subnormal
37788         arguments.
37789         * math/auto-libm-test-in: Do not expect some hypot tests of
37790         subnormals to fail.  Add more hypot tests.
37791         * math/auto-libm-test-out: Regenerated.
37793 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37795         [BZ #13304]
37796         * sysdeps/sh/s_fma.c: New file.
37797         * sysdeps/sh/s_fmaf.c: New file.
37798         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
37799         version.
37800         * sysdeps/sh/Implies: Add sh/soft-fp.
37802 2013-12-16  Roland McGrath  <roland@hack.frob.com>
37804         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
37805         level of indirection to members `objname', `errstring', `malloced'.
37806         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
37807         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
37808         it as the __longjmp argument (just pass 1 instead).
37809         (_dl_catch_error): Initialize C with argument pointers and address of
37810         volatile local ERRCODE rather than copying values out of C at return.
37812 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
37814         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
37815         * math/auto-libm-test-out: Regenerated.
37816         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
37817         (hypot_test_data): Likewise.
37818         (pow_test_data): Likewise.
37819         (pow_tonearest_test_data): Likewise.
37820         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37821         mpfr_ff_f.
37822         (func_calc_desc): Add mpfr_ff_f union field.
37823         (FUNC_mpfr_ff_f): New macro.
37824         (test_functions): Add atan2, hypot and pow.
37825         (special_fill_min): New function.
37826         (special_fill_minus_min): Likewise.
37827         (special_fill_min_subnorm): Likewise.
37828         (special_fill_minus_min_subnorm): Likewise.
37829         (special_real_inputs): Add min, -min, min_subnorm and
37830         -min_subnorm.
37831         (calc_generic_results): Handle mpfr_ff_f.
37832         * sysdeps/i386/fpu/libm-test-ulps: Update.
37833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37835 2013-12-16  Will Newton  <will.newton@linaro.org>
37837         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
37838         (Aligned Memory Blocks): Add documentation for aligned_alloc
37839         and suggest it as an alternative to posix_memalign.
37840         (Hooks for Malloc): Document __memalign_hook is also called
37841         for aligned_alloc.  (Summary of Malloc): Add summary for
37842         aligned alloc.  Document __memalign_hook is also called
37843         for aligned_alloc.
37845 2013-12-16  Will Newton  <will.newton@linaro.org>
37847         * manual/memory.texi (Malloc Examples): Clarify default
37848         alignment documentation.  Suggest posix_memalign rather
37849         than memalign or valloc.
37850         (Aligned Memory Blocks): Remove suggestion to use memalign
37851         or valloc.  Remove obsolete comment about BSD.
37852         Document memalign errno values and mark the function obsolete.
37853         Document posix_memalign returned error codes.  Mark valloc
37854         as obsolete.  (Hooks for Malloc): __memalign_hook is also
37855         called for posix_memalign and valloc.
37856         (Summary of Malloc): Add posix_memalign to function summary.
37857         __memalign_hook is also called for posix_memalign and valloc.
37859 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37861         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
37862         TAYLOR_SIN.
37863         (__sin): Adjust.
37864         (__cos): Likewise.
37865         (sloww): Use mynumber union.  Expand ternary operator into
37866         if-else statements.
37867         (cslow): use mynumber union.
37869 2013-12-16  Allan McRae  <allan@archlinux.org>
37871         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
37872         * configure: Regenerated.
37874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
37876         [BZ #14120]
37877         * configure.ac: Added --enable-maintainer-mode. Check for
37878         autoconf when enabled.
37879         * configure: Regenerated.
37881         * nscd/nscd.service: New file.
37882         * nscd/nscd.tmpfiles: New file.
37884 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
37886         [BZ #12100]
37887         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
37888         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
37889         * sysdeps/x86_64/multiarch/strstr.c: ... here.
37890         (strstr): Add __strstr_sse2_unaligned ifunc.
37891         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
37892         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
37893         (strcasestr): Remove __strcasestr_sse42 ifunc.
37894         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
37895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37896         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37898 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37900         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
37901         * sysdeps/sh/bits/fenv.h: ... here.
37902         * sysdeps/sh/sh4/fpu/bits: Remove directory.
37904 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37906         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
37908         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
37909         hypotf multiarch implementations.
37910         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
37911         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
37912         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
37913         multiarch hypot for PPC64.
37914         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
37915         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
37916         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
37917         multiarch hypotf for PPC64.
37919         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
37920         modff multiarch implementations.
37921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
37922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
37923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
37924         multiarch modf for PPC64.
37925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
37926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
37927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
37928         multiarch modff for PPC64.
37930         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
37931         and logl multiarch implementations.
37932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
37933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
37935         multiarch logb for PPC64.
37936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
37937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
37939         multiarch logb for PPC64.
37940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
37941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
37942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
37943         multiarch logb for PPC64.
37945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
37946         isinff multiarch implementation.
37947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
37948         file.
37949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
37950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
37951         multiarch isinf for PPC64.
37952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
37953         file.
37954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
37955         multiarch isinff for PPC64.
37957         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
37958         finitef multiarch implementation.
37959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
37960         file.
37961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
37962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
37963         multiarch finite for PPC64.
37964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
37965         file.
37966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
37967         multiarch finitef for PPC64.
37969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
37970         lrint multiarch implementation.
37971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
37972         file.
37973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
37974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
37975         multiarch llrint for PPC64.
37976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
37977         multiarch lrint for PPC64.
37979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
37980         copysignf multiarch implementation.
37981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
37982         file.
37983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
37984         file.
37985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
37986         multiarch copysign for PPC64.
37987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
37988         multiarch copysignf for PPC64.
37990         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
37991         multiarch implementation.
37992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
37993         file.
37994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
37995         file.
37996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
37997         file.
37998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
37999         file.
38000         multiarch llround for PPC64.
38001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
38002         multiarch trunc for PPC64.
38003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
38004         multiarch truncf for PPC64.
38006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
38007         multiarch implementation.
38008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
38009         file.
38010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
38011         file.
38012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
38013         file.
38014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
38015         file.
38016         multiarch llround for PPC64.
38017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
38018         multiarch round for PPC64.
38019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
38020         multiarch roundf for PPC64.
38022         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
38023         multiarch implementation.
38024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
38025         file.
38026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
38027         file.
38028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
38029         file.
38030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
38031         file.
38032         multiarch llround for PPC64.
38033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
38034         multiarch floor for PPC64.
38035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
38036         multiarch floorf for PPC64.
38038         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
38039         multiarch implementation.
38040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
38041         file.
38042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
38043         file.
38044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
38045         file.
38046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
38047         file.
38048         multiarch llround for PPC64.
38049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
38050         multiarch ceil for PPC64.
38051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
38052         multiarch ceilf for PPC64.
38054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38055         multiarch implementation.
38056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
38057         file.
38058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
38059         file.
38060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
38061         file.
38062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
38063         multiarch llround for PPC64.
38064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
38065         multiarch lround for PPC64.
38067         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38068         multiarch implementation.
38069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
38070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
38071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
38072         file.
38073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
38074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
38075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
38076         multiarch isnan for PPC64.
38077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
38078         multiarch isnanf for PPC64.
38080         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
38081         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
38082         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
38083         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
38084         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
38085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
38087         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
38088         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38089         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38090         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
38093         multiarch implementations.
38094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38095         (__libc_ifunc_impl_list): Likewise.
38096         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
38097         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
38098         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
38099         multiarch stpcpy for PPC64.
38101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
38102         multiarch implementations.
38103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38104         (__libc_ifunc_impl_list): Likewise.
38105         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
38106         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
38107         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
38108         multiarch strcpy for PPC64.
38110         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
38111         redefine function name.
38112         (_wordcopy_fwd_dest_aligned): Likewise.
38113         (_wordcopy_bwd_aligned): Likewise.
38114         (_wordcopy_bwd_dest_aligned): Likewise.
38115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
38116         multiarch implementations.
38117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38118         (__libc_ifunc_impl_list): Likewise.
38119         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
38120         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
38121         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
38122         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38123         multiarch wcscpy for PPC64.
38125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
38126         multiarch implementations.
38127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38128         (__libc_ifunc_impl_list): Likewise.
38129         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
38130         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
38131         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38132         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
38133         multiarch wcscpy for PPC64.
38135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
38136         multiarch implementations.
38137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38138         (__libc_ifunc_impl_list): Likewise.
38139         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
38140         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
38141         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
38142         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
38143         multiarch wcsrchr for PPC64.
38145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
38146         multiarch implementations.
38147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38148         (__libc_ifunc_impl_list): Likewise.
38149         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
38150         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
38151         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
38152         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
38153         multiarch wcschr for PPC64.
38155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
38156         multiarch implementations.
38157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38158         (__libc_ifunc_impl_list): Likewise.
38159         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38160         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38161         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38162         multiarch strchrnul for PPC64.
38164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38165         implementations.
38166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38167         (__libc_ifunc_impl_list): Likewise.
38168         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38169         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38170         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38171         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38172         strchr for PPC64.
38174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38175         implementations.
38176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38177         (__libc_ifunc_impl_list): Likewise.
38178         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38179         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38180         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38181         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38182         strncmp for PPC64.
38184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38185         multiarch implementations.
38186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38187         (__libc_ifunc_impl_list): Likewise.
38188         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38189         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38190         strncasecmp for PPC64.
38191         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38192         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38193         multiarch strncasecmp_l for PPC64.
38195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38196         multiarch implementations.
38197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38198         (__libc_ifunc_impl_list): Likewise.
38199         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38200         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38201         multiarch strcasecmp for PPC64.
38202         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38203         file.
38204         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38205         multiarch strcasecmp_l for PPC64.
38207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38208         implementations.
38209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38210         (__libc_ifunc_impl_list): Likewise.
38211         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38212         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38213         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38214         strnlen for PPC64.
38216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38217         implementations.
38218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38219         (__libc_ifunc_impl_list): Likewise.
38220         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38221         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38222         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38223         strlen for PPC64.
38225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38226         implementations.
38227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38228         (__libc_ifunc_impl_list): Likewise.
38229         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38230         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38231         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38232         rawmemrchr for PPC64.
38234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38235         implementation.
38236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38237         (__libc_ifunc_impl_list): Likewise.
38238         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38239         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38240         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38241         memrchr for PPC64.
38243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38244         implementation.
38245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38246         (__libc_ifunc_impl_list): Likewise.
38247         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38248         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38249         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38250         memchr for PPC64.
38252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38253         implementation.
38254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38255         (__libc_ifunc_impl_list): Likewise.
38256         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38257         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38258         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38259         mempcpy for PPC64.
38261         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38262         avoid cretion of __bzero symbol.
38263         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38264         Likewise.
38265         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38266         Likewise.
38267         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38268         Likewise.
38269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38270         multiarch implementations.
38271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38272         (__libc_ifunc_impl_list): Likewise.
38273         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38274         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38275         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38276         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38277         bzero for PPC32.
38278         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38279         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38280         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38281         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38282         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38283         memset for PPC64.
38284         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38286         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38288         implementations.
38289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38290         (__libc_ifunc_impl_list): Likewise.
38291         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38292         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38293         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38294         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38295         memcmp for PPC64.
38297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38298         multiarch for POWER/PPC64.
38299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38300         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38301         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38302         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38303         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38304         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38305         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38306         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38307         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38308         memcpy for PPC64.
38310         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38311         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38312         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38313         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38314         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38315         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38316         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38317         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38318         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38319         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38320         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38321         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38322         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38323         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38324         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38333 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38335         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38337 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38339         * benchtests/Makefile (bench): Add exp2 and log2.
38340         (LDLIBS-bench-exp2): Add -lm.
38341         (LDLIBS-bench-log2): Likewise.
38342         * benchtests/exp2-inputs: New inputs file.
38343         * benchtests/log2-inputs: New inputs file.
38344         * benchtests/log-inputs: Add new inputs.
38345         * benchtests/tan-inputs: Likewise.
38347 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38349         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38350         definition...
38351         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38352         (csloww2): ... from here.
38354         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38355         instead of structures.
38356         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38357         (POLYNOMIAL): Likewise.
38358         (TAYLOR_SLOW): Likewise.
38359         (__sin): Likewise.
38360         (__cos): Likewise.
38361         (slow1): Likewise.
38362         (slow2): Likewise.
38363         (sloww): Likewise.
38364         (sloww1); Likewise.
38365         (sloww2): Likewise.
38366         (bsloww1): Likewise.
38367         (bsloww2): Likewise.
38368         (cslow2): Likewise.
38369         (csloww): Likewise.
38370         (csloww1): Likewise.
38371         (csloww2): Likewise.
38373 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38375         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38376         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38377         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38378         * malloc/hooks.c (realloc_check): Likewise.
38380         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38381         * malloc/arena.c: Remove PER_THREAD conditional.
38382         [!PER_THREAD]: Remove code.
38383         (ptmalloc_unlock_all2): Likewise.
38384         (ptmalloc_init): Likewise.
38385         (_int_new_arena): Likewise.
38386         (arena_get2): Likewise.
38387         * malloc/hooks.c (__malloc_get_state): Likewise.
38388         (__malloc_set_state): Likewise.
38389         * malloc/malloc.c: Likewise.
38390         (struct malloc_state): Likewise.
38391         (struct malloc_par): Likewise.
38392         (__libc_realloc): Likewise.
38393         (__libc_mallopt): Likewise.
38395 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38397         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38399 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38401         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38402         macro to a function.  Check for zero perturb_byte.
38403         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38405         * malloc/malloc.c: (force_reg): Remove.
38406         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38407         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38408         force_reg by atomic_forced_read.
38409         * malloc/arena.c (ptmalloc_init): Likewise.
38410         * malloc/hooks.c (top_check): Likewise.
38412 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38416 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38420 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38422         * math/auto-libm-test-in: Add tests of lgamma.
38423         * math/auto-libm-test-out: Regenerated.
38424         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38425         (M_LOG_2_SQRT_PIl): Likewise.
38426         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38427         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38428         mpfr_f_f1.
38429         (func_calc_desc): Add mpfr_f_f1 union field.
38430         (ARGS1): New macro.
38431         (ARGS2): Likewise.
38432         (ARGS3): Likewise.
38433         (ARGS4): Likewise.
38434         (RET1): Likewise.
38435         (RET2): Likewise.
38436         (CALC): Likewise.
38437         (FUNC): Likewise.
38438         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38439         (test_functions): Add lgamma.
38440         (calc_generic_results): Handle mpfr_f_f1.
38441         * sysdeps/i386/fpu/libm-test-ulps: Update.
38442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38444 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38446         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38447         __mpn_add_n for PowerPC64/POWER7.
38448         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38449         __mpn_sub_n for PowerPC64/POWER7.
38451         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38452         __mpn_addmul_1 for PowerPC64.
38453         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38454         __mpn_submul_1 for PowerPC64.
38455         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38456         for PowerPC64.
38457         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38458         for PowerPC64.
38460 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38462         [BZ #15089]
38463         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38465 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38467         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38469         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38470         add multiarch folders.
38471         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38472         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38473         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38474         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38475         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38476         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38477         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38478         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38479         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38480         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38481         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38490         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38492         New file.
38493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38494         New file.
38495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38496         multiarch __ieee754_hypot for PowerPC32.
38497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38498         New file.
38499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38500         New file.
38501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38502         multiarch __ieee754_hypotf for PowerPC32.
38504         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38505         long_double_symbol only if __logbl is defined.
38506         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38507         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38508         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38509         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38510         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38511         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38512         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38513         path for implementation.
38514         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38515         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38517         logb, and logbl multiarch implementations for PowerPC32.
38518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38519         file.
38520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38521         file.
38522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38523         multiarch logb for PowerPC32.
38524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38525         file.
38526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
38527         file.
38528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
38529         multiarch logbf for PowerPC32.
38530         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
38531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
38532         file.
38533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
38534         multiarch logbl implementation for PowerPC32.
38536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
38537         and modff multiarch implementations.
38538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
38539         New file.
38540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
38541         New file.
38542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38543         multiarch modf for PowerPC32.
38544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38545         New file.
38546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38547         New file.
38548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38549         multiarch modff for PowerPC32.
38551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38552         and lrintf multiarch implementations.
38553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38554         New file.
38555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38556         New file.
38557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38558         multiarch lrint for PowerPC32.
38559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38560         file: multiarch lrintf for PowerPC32.
38562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
38563         and lroundf multiarch implementations.
38564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
38565         New file.
38566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
38567         New file.
38568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
38569         New file.
38570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
38571         multiarch lround for PowerPC32.
38572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
38573         file: multiarch lroundf for PowerPC32.
38575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38576         copysign and copysignf multiarch implementations.
38577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
38578         New file.
38579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
38580         New file.
38581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
38582         file: multiarch copysign for PowerPC32.
38583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
38584         file: multiarch copysignf for PowerPC32.
38586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
38587         and truncf multiarch implementations.
38588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
38589         New file.
38590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
38591         file.
38592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
38593         multiarch trunc for PowerPC32.
38594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
38595         New file.
38596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
38597         New file.
38598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
38599         multiarch truncf for PowerPC32.
38601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
38602         and roundf multiarch implementations.
38603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
38604         New file.
38605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
38606         file.
38607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
38608         multiarch round for PowerPC32.
38609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
38610         New file.
38611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
38612         New file.
38613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
38614         multiarch roundf for PowerPC32.
38616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
38617         and floorf multiarch implementations.
38618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
38619         New file.
38620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
38621         file.
38622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
38623         multiarch floor for PowerPC32.
38624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
38625         New file.
38626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
38627         New file.
38628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
38629         multiarch floorf for PowerPC32.
38631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
38632         and ceilf multiarch implementations.
38633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
38634         New file.
38635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
38636         file.
38637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
38638         multiarch ceil for PowerPC32.
38639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
38640         New file.
38641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
38642         file.
38643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
38644         multiarch ceilf for PowerPC32.
38646         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
38647         is defined.
38648         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
38649         FINITEF is defined.
38650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
38651         and finitef multiarch implementations.
38652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
38653         New file.
38654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
38655         file.
38656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
38657         multiarch finite for PowerPC32.
38658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
38659         New file.
38660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
38661         file: multiarch finitef for PowerPC32.
38663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
38664         and isinff multiarch implementations.
38665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
38666         file.
38667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
38668         file.
38669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
38670         multiarch isinf for PowerPC32.
38671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
38672         New file.
38673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
38674         multiarch isinff for PowerPC32.
38676         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
38677         alias when __isnan is defined.
38678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
38679         and isnanf multiarch implementations.
38680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
38681         file.
38682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
38683         file.
38684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
38685         file.
38686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
38687         file.
38688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
38689         multiarch isnan for PowerPC32.
38690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
38691         New file.
38692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
38693         New file.
38694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
38695         multiarch isnanf for PowerPC32.
38697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
38698         and sqrtf multiarch implementations.
38699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
38700         file.
38701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
38702         file.
38703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
38704         multiarch sqrt for PowerPC32.
38705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
38706         file.
38707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
38708         file.
38709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
38710         multiarch sqrtf for PowerPC32.
38712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
38713         and llroundf multiarch implementations.
38714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
38715         New file.
38716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
38717         New file.
38718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
38719         New file.
38720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
38721         file: multiarch llround for PowerPC32.
38722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
38723         file: multiarch llroundf for PowerPC32.
38725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
38726         multiarch PowerPC32 fpu implementations.
38727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
38728         New file.
38729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
38730         New file.
38731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
38732         multiarch llrint for PowerPC32.
38733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
38734         New file.
38735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
38736         New file.
38737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
38738         file.
38740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
38742         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
38743         file.
38744         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
38745         file.
38746         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
38747         file.
38748         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
38749         multiarch wordcopy for PPC32.
38750         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38751         wordcopy objects.
38752         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38753         (__libc_ifunc_impl_list): Likewise.
38754         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
38755         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
38756         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
38757         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
38758         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
38759         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
38761         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
38762         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
38763         file.
38764         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
38765         file.
38766         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
38767         file.
38768         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
38769         multiarch wcscpy for PPC32.
38770         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38771         multiarch objects.
38772         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38773         (__libc_ifunc_impl_list): Likewise.
38774         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38775         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38776         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
38777         sysdeps/powerpc/power6/wcscpy.c.
38779         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
38780         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
38781         file.
38782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
38783         file.
38784         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
38785         file.
38786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
38787         multiarch wcsrchr for PPC32.
38788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38789         multiarch objects.
38790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38791         (__libc_ifunc_impl_list): Likewise.
38792         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38793         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38794         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
38795         sysdeps/powerpc/power6/wcsrchr.c.
38797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
38798         file.
38799         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
38800         file.
38801         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
38802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
38803         multiarch wcschr for PPc32.
38804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38805         multiarch objects.
38806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38807         (__libc_ifunc_impl_list): Likewise.
38808         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
38809         * sysdeps/powerpc/power6/wcschr.c: ... to here.
38810         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
38811         sysdeps/powerpc/power6/wcschr.c.
38813         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
38814         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
38815         file.
38816         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
38817         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
38818         file: multiarch strchr for PPC32.
38819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
38820         multiarch objects.
38821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38822         (__libc_ifunc_impl_list): Likewise.
38824         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
38825         name.
38826         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
38827         file.
38828         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
38829         file.
38830         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
38831         multiarch strchrnul for PPC32.
38832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
38833         multiarch objects.
38834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38835         (__libc_ifunc_impl_list): Likewise.
38837         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
38838         file.
38839         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
38840         multiarch strncasecmp for PPC32.
38841         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
38842         file.
38843         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
38844         multiarch strncasecmp_l for PPC32.
38845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
38846         strncasecmp multiarch objects.
38847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38848         (__libc_ifunc_impl_list): Likewise.
38850         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
38851         file.
38852         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
38853         multiarch strncasecmp for PPC32.
38854         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38855         New file.
38856         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
38857         multiarch strcasecmp_l for PPC32.
38858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
38859         multiarch objects.
38860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38861         (__libc_ifunc_impl_list): Likewise.
38863         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
38864         file.
38865         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
38866         file.
38867         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
38868         multiarch strncmp for PPC32.
38869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
38870         multiarch objects.
38871         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38872         (__libc_ifunc_impl_list): Likewise.
38874         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
38875         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
38876         file.
38877         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
38878         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
38879         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
38880         multiarch objects.
38881         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38882         (__libc_ifunc_impl_list): Likewise.
38884         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
38885         file.
38886         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
38887         file.
38888         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
38889         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
38890         multiarch objects.
38891         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38892         (__libc_ifunc_impl_list): Likewise.
38894         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
38895         file.
38896         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
38897         file.
38898         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
38899         multiarch rawmemchr for PPC32.
38900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
38901         multiarch objects.
38902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38903         (__libc_ifunc_impl_list): Likewise.
38905         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
38906         file.
38907         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
38908         file.
38909         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
38910         file: memrchr multiarch for PPC32.
38911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
38912         multiarch objects.
38913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38914         (__libc_ifunc_impl_list): Likewise.
38916         * string/memchr.c (__memchr): Using macro to redefine symbol name.
38917         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
38918         file.
38919         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
38920         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
38921         multiarch memchr for PPC32.
38922         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
38923         multiarch objects.
38924         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38925         (__libc_ifunc_impl_list): Likewise.
38927         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
38928         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
38929         file.
38930         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
38931         file.
38932         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
38933         file: multiarch mempcpy for PPC32.
38934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
38935         multiarch objects.
38936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38937         (__libc_ifunc_impl_list): Likewise.
38939         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
38940         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
38941         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
38942         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
38943         multiarch bzero for PPC32.
38944         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
38945         file.
38946         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38947         file.
38948         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
38949         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
38950         file: multiarch memset for PPC32.
38951         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
38952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
38953         memset multiarch objects.
38954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38955         (__libc_ifunc_impl_list): Likewise.
38957         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38958         file.
38959         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
38960         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
38961         memcmp for PPC32.
38962         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
38963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
38964         multiarch objects.
38965         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38966         (__libc_ifunc_impl_list): Likewise.
38968         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
38969         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
38970         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
38971         file.
38972         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
38973         file.
38974         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
38975         file.
38976         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
38977         multiarch memcpy for PPC32.
38978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
38979         multiarch objects.
38980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38981         (__libc_ifunc_impl_list): Likewise.
38983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
38984         support multiarch for POWER/PPC32.
38985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
38986         Likewise.
38987         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
38989         Implies file to make multiarch folder appers before the fpu and
38990         default folder for power4 configuration.
38992 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38994         * scripts/bench.pl: Append volatile keyword to type.
38996 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38998         * sysdeps/sh/sotruss-lib.c: New file.
38999         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
39001 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39005 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
39007         [BZ #6810]
39008         * math/w_tgamma.c: Include <errno.h>.
39009         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
39010         * math/w_tgammaf.c: Include <errno.h>.
39011         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
39012         * math/w_tgammal.c: Include <errno.h>.
39013         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
39014         * math/auto-libm-test-in: Do not allow missing errno on tgamma
39015         underflow.  Add more tgamma tests.
39016         * math/auto-libm-test-out: Regenerated.
39017         * sysdeps/i386/fpu/libm-test-ulps: Update.
39018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39020         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
39021         sin, sinh, tan, tanh, tgamma, y0 and y1.
39022         * math/auto-libm-test-out: Regenerated.
39023         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39024         (TEST_COND_x86): Likewise.
39025         (M_E2l): Remove macro.
39026         (M_E3l): Likewise.
39027         (M_2_SQRT_PIl): Likewise.
39028         (M_SQRT_PIl): Likewise.
39029         (M_1_DIV_El): Likewise.
39030         (log_test_data): Use AUTO_TESTS_f_f.
39031         (log10_test_data): Likewise.
39032         (log1p_test_data): Likewise.
39033         (log2_test_data): Likewise.
39034         (sin_test_data): Likewise.
39035         (sin_tonearest_test_data): Likewise.
39036         (sin_towardzero_test_data): Likewise.
39037         (sin_downward_test_data): Likewise.
39038         (sin_upward_test_data): Likewise.
39039         (sinh_test_data): Likewise.
39040         (sinh_tonearest_test_data): Likewise.
39041         (sinh_towardzero_test_data): Likewise.
39042         (sinh_downward_test_data): Likewise.
39043         (sinh_upward_test_data): Likewise.
39044         (tan_test_data): Likewise.
39045         (tan_tonearest_test_data): Likewise.
39046         (tan_towardzero_test_data): Likewise.
39047         (tan_downward_test_data): Likewise.
39048         (tan_upward_test_data): Likewise.
39049         (tanh_test_data): Likewise.
39050         (tgamma_test_data): Likewise.
39051         (y0_test_data): Likewise.
39052         (y1_test_data): Likewise.
39053         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
39054         (special_real_inputs): Add pi/4.
39055         * sysdeps/i386/fpu/libm-test-ulps: Update.
39056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39058 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39060         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
39061         "longjmp_target" static probes.
39062         (__longjmp): Rename to __longjmp_symbol.
39063         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39064         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
39065         on which longjmp to generate.
39066         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39067         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
39068         probe.
39069         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39070         (__sigjmp_save): Rename to __sigjmp_save_symbol.
39071         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39072         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
39073         and __sigjmp_save_symbol based on which sigsetjmp to generated.
39074         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
39076         __longjmp_symbol based on which __longjmp to generate.
39077         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
39078         probe.
39079         (setjmp): Rename to setjmp_symbol.
39080         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39081         (_setjmp): Rename to _setjmp_symbol.
39082         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39083         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
39084         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
39085         which setjmp to generate.
39086         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
39087         "longjmp_target" static probes.
39089 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39091         * benchtests/README: Add note about output arguments.
39092         * benchtests/bench-sincos.c: Remove file.
39093         * benchtests/sincos-inputs: New file.
39094         * scripts/bench.pl: Identify output arguments and define
39095         static variables for them.
39097         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
39099         [BZ #15941]
39100         * Makefile (INSTALL): Add install-plain.texi as the primary
39101         dependency.
39102         * manual/install-plain.texi: New file.
39103         * manual/install.texi: Include node directive only for
39104         non-plaintext output.
39106 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
39108         * stdlib/longlong.h: Update from GCC.
39110         [BZ #6807]
39111         [BZ #15901]
39112         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
39113         * math/w_j0f.c (y0f): Likewise.
39114         * math/w_j0l.c (__y0l): Likewise.
39115         * math/w_j1.c (y1): Likewise.
39116         * math/w_j1f.c (y1f): Likewise.
39117         * math/w_j1l.c (__y1l): Likewise.
39118         * math/w_jn.c (yn): Likewise.
39119         * math/w_jnf.c (ynf): Likewise.
39120         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
39121         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
39122         value for Bessel function domain errors outside _SVID_ mode.
39123         Adjust sign of return value for yn (negative integer, 0).
39124         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
39125         by zero in return for negative x and set sign appropriately for
39126         negative n.
39127         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
39128         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39129         * math/libm-test.inc (y0_test_data): Add more tests and adjust
39130         expectations in error cases.
39131         (y1_test_data): Likewise.
39132         (yn_test_data): Likewise.
39133         * sysdeps/i386/fpu/libm-test-ulps: Update.
39134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39136 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39138         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
39139         "64" to "64-v1".  Add "64-v2".
39140         (abi-64-options): Rename to ...
39141         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
39142         (abi-64-condition): Rename to ...
39143         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
39144         (abi-64-ld-soname): Rename to ...
39145         (abi-64-v1-ld-soname): ... this.
39146         (abi-64-v2-options): Define.
39147         (abi-64-v2-condition): Likewise.
39148         (abi-64-v2-ld-soname): Likewise.
39149         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
39150         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
39151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
39152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
39153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
39155 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39156             Alan Modra  <amodra@gmail.com>
39158         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39159         New versions for use with the ELFv2 ABI.
39160         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39161         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39162         declaration.
39163         (struct La_ppc64v2_retval): Likewise.
39164         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39165         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39166         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39167         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39168         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39169         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39170         Do not save or restore CR.
39171         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39172         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39173         return values for ELFv2 ABI.  Fix location of FPR return registers.
39174         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39175         updated values for _CALL_ELF == 2.
39176         (La_regs, La_retval, int_retval): Likewise.
39178 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39180         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39181         (FRAME_MIN_SIZE_PARM): Likewise.
39182         (FRAME_BACKCHAIN): Likewise.
39183         (FRAME_CR_SAVE): Likewise.
39184         (FRAME_LR_SAVE): Likewise.
39185         (FRAME_TOC_SAVE): Likewise.
39186         (FRAME_PARM_SAVE): Likewise.
39187         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39188         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39189         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39190         (call_mcount_parm_offset): New macro.
39191         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39192         (PROF): Use symbolic stack frame offsets.
39193         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39194         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39195         Redefine in terms of FRAME_MIN_SIZE.
39196         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39197         (_dl_profile_resolve): Likewise.  Update comment.
39198         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39199         symbols stack frame offsets.
39200         (__sigsetjmp): Likewise.
39201         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39202         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39203         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39204         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39207         (FRAME_BACKCHAIN): Remove.
39208         (FRAME_CR_SAVE): Likewise.
39209         (FRAME_LR_SAVE): Likewise.
39210         (FRAME_COMPILER_DW): Likewise.
39211         (FRAME_LINKER_DW): Likewise.
39212         (FRAME_TOC_SAVE): Likewise.
39213         (FRAME_PARM_SAVE): Likewise.
39214         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
39215         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
39216         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39218         (CHECK_SP): Use symbolic stack frame offsets.
39219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39220         zone" instead of caller's parameter save area for temp storage.
39221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39222         Likewise.  Also, use symbolic stack frame offsets.
39223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39224         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39225         our own stack frame instead of the caller's.
39226         (__socket): Use symbolic stack frame offsets.
39228 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39229             Alan Modra  <amodra@gmail.com>
39231         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39232         Define.
39233         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39234         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39235         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39236         New function.
39237         (elf_machine_fixup_plt): Call it.
39238         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39239         reloc arguments.
39240         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39241         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39242         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39243         r2 before calling target.
39245 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39246             Alan Modra  <amodra@gmail.com>
39248         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39249         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39250         versions of macros to support ELFv2 ABI.
39251         (LOCALENTRY): New macro.
39252         (ENTRY, EALIGN): Use it.
39253         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39254         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39255         fall through into ENTRY entry point.
39256         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39257         Only define if _CALL_ELF != 2.
39259         (elf_machine_matches_host): Verify ABI version matches.
39260         (RTLD_START): Use LOCALENTRY.
39261         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39262         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39263         (PLT_ENTRY_WORDS): New macro.
39264         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39265         (elf_machine_runtime_setup): Support ELFv2 ABI.
39266         (elf_machine_fixup_plt): Likewise.
39267         (elf_machine_plt_conflict): Likewise.
39268         (resolve_ifunc): Likewise.
39269         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39270         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39271         Likewise.
39272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39273         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39275         (makecontext): Support ELFv2 ABI.
39276         * elf/elf.h (EF_PPC64_ABI): Define.
39278 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39280         * sysdeps/powerpc/powerpc64/sysdep.h
39281         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39282         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39283         (ENTRY) [ASSEMBLER]: ... but instead here ...
39284         (EALIGN) [ASSEMBLER]: ... and here.
39285         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39286         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39287         (ENTRY_2) [!ASSEMBLER]: Use it.
39288         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39289         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39290         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39291         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39292         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39294         Use PPC64_LOAD_FUNCPTR.
39296         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39298 2013-12-04  Alan Modra  <amodra@gmail.com>
39300         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39301         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39302         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39303         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39306         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39307         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39308         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39309         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39310         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39312 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39315         (__makecontext): Fix incorrect CFI when backtracing out of
39316         context created via makecontext.
39317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39318         (__setcontext): Fix incorrect CFI during switch to new context.
39319         (__novec_setcontext): Likewise.
39321 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39323         [BZ #4772]
39324         * time/strptime_l.c (__strptime_internal): Allow modifiers
39325         in strptime.
39326         * time/tst-strptime.c (day_tests): Add testcase.
39328 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39330         * scripts/bench.pl: Skip over blank lines.
39332 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39334         [BZ #926]
39335         * manual/time.texi (Calendar Time): Clarify what timezone functions
39336         use.
39338 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39342 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39344         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39345         implementation.
39346         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39347         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39348         * debug/memset_chk.c (__memset_chk): Likewise.
39349         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39350         * debug/strncpy_chk.c: Likewise.
39352 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39354         [BZ #15268]
39355         [BZ #15425]
39356         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39357         (__ieee754_exp): For possibly underflowing results, check size of
39358         result and force underflow exception if required.
39359         * math/auto-libm-test-in: Add more tests of exp.
39360         * math/auto-libm-test-out: Regenerated.
39361         * sysdeps/i386/fpu/libm-test-ulps: Update.
39362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39364         [BZ #16283]
39365         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39366         * math/w_exp2f.c (__exp2f): Likewise.
39367         * math/w_exp2l.c (__exp2l): Likewise.
39368         * math/auto-libm-test-in: Do not allow missing errno on exp2
39369         underflow.
39370         * math/auto-libm-test-out: Regenerated.
39372 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39374         [BZ #16274]
39375         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39376         handle filename validation.
39377         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39378         (do_open): Delete.
39380 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39382         [BZ #6786]
39383         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39384         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39385         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39386         <float.h>.
39387         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39388         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39389         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39390         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39391         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39392         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39393         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39394         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39395         Add more erfc tests.
39396         * math/auto-libm-test-out: Regenerated.
39397         * sysdeps/i386/fpu/libm-test-ulps: Update.
39398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39400         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39401         exp2, expm1, j0 and j1.
39402         * math/auto-libm-test-out: Regenerated.
39403         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39404         (erfc_test_data): Likewise.
39405         (exp_test_data): Likewise.
39406         (exp_tonearest_test_data): Likewise.
39407         (exp_towardzero_test_data): Likewise.
39408         (exp_downward_test_data): Likewise.
39409         (exp_upward_test_data): Likewise.
39410         (exp10_test_data): Likewise.
39411         (exp2_test_data): Likewise.
39412         (expm1_test_data): Likewise.
39413         (j0_test_data): Likewise.
39414         (j1_test_data): Likewise.
39415         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39416         (input_flag_type): Add flag_xfail_rounding.
39417         (input_flags): Add xfail-rounding.
39418         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39419         (output_for_one_input_case): Handle flag_xfail_rounding.
39420         * sysdeps/i386/fpu/libm-test-ulps: Update.
39421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39423 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39425         [BZ #16289]
39426         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39427         division by 0.
39429 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39431         [BZ #16195]
39432         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39433         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39434         (STAP_PROBE0): New macro.
39435         (STAP_PROBE1): Likewise.
39436         (STAP_PROBE2): Likewise.
39437         (STAP_PROBE3): Likewise.
39438         (STAP_PROBE4): Likewise.
39440 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39442         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39444 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39446         * benchtests/Makefile (bench): Add sqrt.
39447         (LDLIBS-bench-sqrt): New.
39448         * benchtests/sqrt-input: New.
39450 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39452         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39453         (GAIH_EAI): Likewise.
39454         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39455         (gaih_inet): Likewise.
39456         (getaddrinfo): Don't use GAIH_EAI.
39458         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39459         (struct gaih): Remove definition.
39461 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39463         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39464         Use HERRNOP directly.
39466 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39470 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39472         * math/gen-auto-libm-tests.c (test_functions): Add more
39473         single-argument functions.
39474         (special_fill_pi_2): New function.
39475         (special_fill_minus_pi_2): Likewise.
39476         (special_fill_pi_6): Likewise.
39477         (special_fill_minus_pi_6): Likewise.
39478         (special_fill_pi_3): Likewise.
39479         (special_fill_2pi_3): Likewise.
39480         (special_fill_e): Likewise.
39481         (special_fill_1_e): Likewise.
39482         (special_fill_e_minus_1): Likewise.
39483         (special_real_inputs): Add more special inputs.
39484         (output_for_one_input_case): Do not require ERANGE on underflow to
39485         zero if round-to-nearest result does not underflow to zero, unless
39486         exact results required.
39487         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39488         atan, atanh, cbrt, cos and cosh.
39489         * math/auto-libm-test-out: Regenerated.
39490         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39491         (acos_tonearest_test_data): Likewise.
39492         (acos_towardzero_test_data): Likewise.
39493         (acos_downward_test_data): Likewise.
39494         (acos_upward_test_data): Likewise.
39495         (acosh_test_data): Likewise.
39496         (asin_test_data): Likewise.
39497         (asin_tonearest_test_data): Likewise.
39498         (asin_towardzero_test_data): Likewise.
39499         (asin_upward_test_data): Likewise.
39500         (asinh_test_data): Likewise.
39501         (atan_test_data): Likewise.
39502         (atanh_test_data): Likewise.
39503         (cbrt_test_data): Likewise.
39504         (cos_test_data): Likewise.
39505         (cos_tonearest_test_data): Likewise.
39506         (cos_towardzero_test_data): Likewise.
39507         (cos_downward_test_data): Likewise.
39508         (cos_upward_test_data): Likewise.
39509         (cosh_test_data): Likewise.
39510         (cosh_tonearest_test_data): Likewise.
39511         (cosh_towardzero_test_data): Likewise.
39512         (cosh_downward_test_data): Likewise.
39513         (cosh_upward_test_data): Likewise.
39514         * sysdeps/i386/fpu/libm-test-ulps: Update.
39515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39517 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39519         [BZ #6787]
39520         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39521         * math/w_exp10f.c (__exp10f): Likewise.
39522         * math/w_exp10l.c (__exp10l): Likewise.
39523         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39524         errno settings in existing tests.
39526         [BZ #14032]
39527         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
39528         precision control set to double precision.
39529         * sysdeps/i386/fpu/w_sqrt.c: New file.
39530         * math/auto-libm-test-in: Add more tests.
39531         * math/auto-libm-test-out: Update.
39533         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
39534         (sqrt_test_tonearest): New function.
39535         (sqrt_towardzero_test_data): New variable.
39536         (sqrt_test_towardzero): New function.
39537         (sqrt_downward_test_data): New variable.
39538         (sqrt_test_downward): New function.
39539         (sqrt_upward_test_data): New variable.
39540         (sqrt_test_upward): New function.
39541         (main): Call the new functions.
39543         * math/gen-auto-libm-tests.c: New file.
39544         * math/auto-libm-test-in: Likewise.
39545         * math/auto-libm-test-out: New generated file.
39546         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39547         variables.
39548         (%beautify): Add generated representations of zero.
39549         (top level): Set $auto_input and call parse_auto_input.
39550         (beautify): Remove trailing "f" from hex float constants.
39551         (parse_args): Handle XFAIL_TEST.
39552         (convert_condition): New function.
39553         (or_value): Likewise.
39554         (or_cond_value): Likewise.
39555         (generate_testfile): Handle AUTO_TESTS_* lines.
39556         (parse_auto_input): New function.
39557         * math/libm-test.inc (XFAIL_TEST): New macro.
39558         (ERRNO_UNCHANGED): Update value.
39559         (ERRNO_EDOM): Likewise.
39560         (ERRNO_ERANGE): Likewise.
39561         (IGNORE_RESULT): Likewise.
39562         (TEST_COND_flt_32): New macro.
39563         (TEST_COND_dbl_64): Likewise.
39564         (TEST_COND_ldbl_96_intel): Likewise.
39565         (TEST_COND_ldbl_96_m68k): Likewise.
39566         (TEST_COND_ldbl_128): Likewise.
39567         (TEST_COND_ldbl_128ibm): Likewise.
39568         (TEST_COND_long32): Likewise.
39569         (TEST_COND_long64): Likewise.
39570         (TEST_COND_before_rounding): Likewise.
39571         (TEST_COND_after_rounding): Likewise.
39572         (enable_test): Handle XFAIL_TEST flag.
39573         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
39574         with finite results.
39575         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
39576         auto-libm-test-out.
39578 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39579             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39581         [BZ #16214]
39582         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
39583         __tls_get_addr_internal instead of __tls_get_offset in order to
39584         avoid GOT pointer dependency.  Make rtld export
39585         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
39586         __tls_get_addr since we are a __tls_get_offset platform.
39587         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
39588         GOT pointer being set up before.
39589         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
39591 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
39593         * manual/math.texi (Errors in Math Functions): Document accuracy
39594         goals.
39596         [BZ #15004]
39597         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
39598         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
39599         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39600         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39601         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39602         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39603         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39604         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39605         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39606         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39607         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39608         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39609         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39610         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39611         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39612         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39614         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
39615         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
39616         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
39617         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
39618         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
39619         Likewise.
39620         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
39621         Likewise.
39622         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
39623         Likewise.
39624         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
39625         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
39626         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
39627         atomic-feupdateenv and flt-rounds.
39628         * sysdeps/powerpc/nofpu/Versions (libc): Add
39629         __atomic_feholdexcept, __atomic_feclearexcept,
39630         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
39631         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
39632         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
39633         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
39634         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
39635         here.
39636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39637         Update.
39639         * manual/arith.texi (FP Exceptions): Document that exceptions may
39640         not be raised when matherr is used.
39641         (Math Error Reporting): Document overflow in directed rounding
39642         modes.  Document that errno may not be set when finite values are
39643         returned on overflow.  Document intent to set errno on underflow
39644         only for underflow to zero.
39646         [BZ #16271]
39647         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
39648         round-to-nearest then adjust result for other rounding modes.
39649         * include/fenv.h (fegetround): Use libm_hidden_proto.
39650         * math/fegetround.c (fegetround): Use libm_hidden_def.
39651         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39652         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39653         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39654         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39655         Likewise.
39656         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
39657         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39658         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39659         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
39661 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39663         [BZ #16077]
39664         * nss/Versions (libnss_files): Add
39665         _nss_files_gethostbyname3_r.
39666         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
39667         New function.
39668         (HOST_DB_LOOKUP): Remove macro.
39669         (_nss_files_gethostbyname_r): Implement function without the
39670         HOST_DB_LOOKUP macro.
39671         (_nss_files_gethostbyname2_r): Likewise.
39673 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
39675         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
39677 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
39679         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
39680         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
39681         warning.
39683 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39685         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
39686         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
39687         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39688         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39689         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
39690         __fe_nomask_env_priv and attribute_hidden.
39691         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
39692         (libc_feupdateenv_test_ppc): Likewise.
39693         (libc_feresetround_ppc): Likewise.
39694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39695         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
39696         compat_symbol macro.
39697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39698         (__fe_nomask_env): Likewise.
39699         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
39701 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39703         * string/Makefile: Remove ifunc tests.
39704         * string/test-string.h: Define TEST_IFUNC.
39705         * string/test-bcopy-ifunc.c: Remove.
39706         * string/test-bzero-ifunc.c: Likewise.
39707         * string/test-memccpy-ifunc.c: Likewise.
39708         * string/test-memchr-ifunc.c: Likewise.
39709         * string/test-memcmp-ifunc.c: Likewise.
39710         * string/test-memcpy-ifunc.c: Likewise.
39711         * string/test-memmem-ifunc.c: Likewise.
39712         * string/test-memmove-ifunc.c: Likewise.
39713         * string/test-mempcpy-ifunc.c: Likewise.
39714         * string/test-memrchr-ifunc.c: Likewise.
39715         * string/test-memset-ifunc.c: Likewise.
39716         * string/test-rawmemchr-ifunc.c: Likewise.
39717         * string/test-stpcpy-ifunc.c: Likewise.
39718         * string/test-stpncpy-ifunc.c: Likewise.
39719         * string/test-strcasecmp-ifunc.c: Likewise.
39720         * string/test-strcasestr-ifunc.c: Likewise.
39721         * string/test-strcat-ifunc.c: Likewise.
39722         * string/test-strchr-ifunc.c: Likewise.
39723         * string/test-strchrnul-ifunc.c: Likewise.
39724         * string/test-strcmp-ifunc.c: Likewise.
39725         * string/test-strcpy-ifunc.c: Likewise.
39726         * string/test-strcspn-ifunc.c: Likewise.
39727         * string/test-strlen-ifunc.c: Likewise.
39728         * string/test-strncasecmp-ifunc.c: Likewise.
39729         * string/test-strncat-ifunc.c: Likewise.
39730         * string/test-strncmp-ifunc.c: Likewise.
39731         * string/test-strncpy-ifunc.c: Likewise.
39732         * string/test-strnlen-ifunc.c: Likewise.
39733         * string/test-strpbrk-ifunc.c: Likewise.
39734         * string/test-strrchr-ifunc.c: Likewise.
39735         * string/test-strspn-ifunc.c: Likewise.
39736         * string/test-strstr-ifunc.c: Likewise.
39738 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39740         * benchtests/Makefile: Remove ifunc tests.
39741         * benchtests/bench-string.h: Define TEST_IFUNC.
39742         * benchtests/bench-bcopy-ifunc.c: Remove.
39743         * benchtests/bench-bzero-ifunc.c: Likewise.
39744         * benchtests/bench-memccpy-ifunc.c: Likewise.
39745         * benchtests/bench-memchr-ifunc.c: Likewise.
39746         * benchtests/bench-memcmp-ifunc.c: Likewise.
39747         * benchtests/bench-memcpy-ifunc.c: Likewise.
39748         * benchtests/bench-memmem-ifunc.c: Likewise.
39749         * benchtests/bench-memmove-ifunc.c: Likewise.
39750         * benchtests/bench-mempcpy-ifunc.c: Likewise.
39751         * benchtests/bench-memrchr-ifunc.c: Likewise.
39752         * benchtests/bench-memset-ifunc.c: Likewise.
39753         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
39754         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
39755         * benchtests/bench-stpcpy-ifunc.c: Likewise.
39756         * benchtests/bench-stpncpy-ifunc.c: Likewise.
39757         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
39758         * benchtests/bench-strcasestr-ifunc.c: Likewise.
39759         * benchtests/bench-strcat-ifunc.c: Likewise.
39760         * benchtests/bench-strchr-ifunc.c: Likewise.
39761         * benchtests/bench-strchrnul-ifunc.c: Likewise.
39762         * benchtests/bench-strcmp-ifunc.c: Likewise.
39763         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
39764         * benchtests/bench-strcpy-ifunc.c: Likewise.
39765         * benchtests/bench-strcspn-ifunc.c: Likewise.
39766         * benchtests/bench-strlen-ifunc.c: Likewise.
39767         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
39768         * benchtests/bench-strncat-ifunc.c: Likewise.
39769         * benchtests/bench-strncmp-ifunc.c: Likewise.
39770         * benchtests/bench-strncpy-ifunc.c: Likewise.
39771         * benchtests/bench-strnlen-ifunc.c: Likewise.
39772         * benchtests/bench-strpbrk-ifunc.c: Likewise.
39773         * benchtests/bench-strrchr-ifunc.c: Likewise.
39774         * benchtests/bench-strsep-ifunc.c: Likewise.
39775         * benchtests/bench-strspn-ifunc.c: Likewise.
39776         * benchtests/bench-strstr-ifunc.c: Likewise.
39778 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39780         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
39782 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39784         * resolv/netdb.h: Use __glibc_reserved instead __unused.
39785         * rt/aio.h: Likewise.
39786         * sysdeps/gnu/bits/utmp.h: Likewise.
39787         * sysdeps/gnu/bits/utmpx.h: Likewise.
39788         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39789         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
39790         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
39791         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
39792         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
39793         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
39794         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
39795         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
39796         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
39797         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
39798         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
39799         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
39800         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
39801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
39802         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39803         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
39804         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
39805         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
39806         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
39807         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
39808         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
39809         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
39810         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
39811         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39812         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
39813         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39814         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
39815         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
39816         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
39817         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
39818         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
39819         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
39820         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
39821         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39822         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
39823         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
39824         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
39825         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
39826         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
39827         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
39828         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
39829         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39831 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
39833         [BZ #16245]
39834         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
39835         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
39837 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
39839         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
39840         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39841         Likewise.
39843 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39845         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
39846         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
39847         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
39848         (__fesetround): Remove define.
39849         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
39850         rounding and exceptions handling.
39851         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
39852         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
39853         (__fe_nomask_env): Likewise.
39854         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
39855         __fegetround instead of fegetround.
39856         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39857         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
39859 2013-11-21  Roland McGrath  <roland@hack.frob.com>
39861         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
39862         it's there.
39864         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
39866 2013-11-21  Meador Inge  <meadori@codesourcery.com>
39868         [BZ #11157]
39869         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
39870         (encrypt_r): Likewise.
39871         * malloc/obstack.h (obstack_free): Likewise.
39872         * posix/unistd.h (encrypt): Likewise.
39874 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
39876         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
39877         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
39878         DL_CALL_DT_FINI() that call the functions directly.
39879         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
39880         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
39881         * elf/dl-fini.c: Likewise.
39883 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
39885         * malloc/hooks.c (memalign_check): Add alignment rounding.
39886         * malloc/malloc.c (_mid_memalign): New function.
39887         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
39888         Implement by calling _mid_memalign.
39889         * manual/probes.texi (Memory Allocation Probes): Remove
39890         memory_valloc_retry and memory_pvalloc_retry.
39892 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39894         * locale/programs/locarchive.c (open_archive): Add const
39895         qualifier to ARCHIVEFNAME and copy default fname to
39896         DEFAULT_FNAME.
39898         [BZ #15601]
39899         * libio/tst-widetext.input: Rename Oriya to Odia.
39900         * locale/iso-639.def: Likewise.
39902         * manual/probes.texi (Mathematical Function Probes): Add
39903         documentation for sin, cos, asin and acos probes.
39904         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
39905         (__sin32): Add slowasin probe.
39906         (__cos32): Add slowacos probe.
39907         (__mpsin): Add slowsin probe.
39908         (__mpcos): Add slowcos probe.
39910 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
39912         [BZ #15483]
39913         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
39914         thread-local __sim_exceptions_thread and global
39915         __sim_exceptions_global.
39916         (__sim_disabled_exceptions): Change to thread-local
39917         __sim_disabled_exceptions_thread and global
39918         __sim_disabled_exceptions_global.
39919         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39920         and global __sim_round_mode_global.
39921         (__simulate_exceptions): Use thread-local floating-point state and
39922         set global state from it as needed.
39923         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
39924         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
39925         __sim_round_mode_thread.
39926         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
39927         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
39928         and global __sim_exceptions_global.
39929         (__sim_disabled_exceptions): Change to thread-local
39930         __sim_disabled_exceptions_thread and global
39931         __sim_disabled_exceptions_global.
39932         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39933         and global __sim_round_mode_global.
39934         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
39935         (SIM_SET_GLOBAL): Likewise.
39936         * sysdeps/powerpc/soft-fp/sfp-machine.h
39937         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
39938         __sim_round_mode_thread.
39939         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
39940         __sim_disabled_exceptions_thread.
39941         (__sim_exceptions): Change to __sim_exceptions_thread.
39942         (__sim_disabled_exceptions): Change to
39943         __sim_disabled_exceptions_thread.
39944         (__sim_round_mode): Change to __sim_round_mode_thread.
39945         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
39946         thread-local floating-point state and set global state from it as
39947         needed.
39948         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
39949         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
39950         (__sim_disabled_exceptions): Remove extern declaration.
39951         (feenableexcept): Use thread-local floating-point state and set
39952         global state from it as needed.
39953         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
39954         extern declaration.
39955         (__sim_disabled_exceptions): Likewise.
39956         (__sim_round_mode): Likewise.
39957         (__fegetenv): Use thread-local floating-point state.
39958         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
39959         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39960         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
39961         floating-point state and set global state from it as needed.
39962         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
39963         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39964         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
39965         Likewise.
39966         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39967         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
39968         Likewise.
39969         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
39970         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
39971         Use __sim_round_mode_thread.
39972         * math/test-fenv-tls.c: New file.
39973         * math/Makefile (tests): Add test-fenv-tls.
39974         ($(objpfx)test-fenv-tls): Depend on
39975         $(common-objpfx)nptl/libpthread.so.
39977 2013-11-19  Andreas Schwab  <schwab@suse.de>
39979         * locale/programs/locale.c (show_info): Decode wordarray elements.
39980         * locale/categories.def (LC_MONETARY): Add element for
39981         _NL_MONETARY_CRNCYSTR.
39982         * locale/C-monetary.c (conversion_rate): New variable.
39983         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
39984         element.
39986 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
39988         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
39989         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
39991 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39993         * elf/Makefile (tst-auxv): New test.
39994         * elf/tst-auxv.c: New
39995         * elf/rtld.c (dl_main): Adjust AT_EXECFN
39997 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
39999         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
40000         (hidden_proto): Caller changed.
40001         (hidden_tls_proto): New macro.
40002         (libc_hidden_tls_proto): Likewise.
40003         (rtld_hidden_tls_proto): Likewise.
40004         (libm_hidden_tls_proto): Likewise.
40005         (libresolv_hidden_tls_proto): Likewise.
40006         (librt_hidden_tls_proto): Likewise.
40007         (libdl_hidden_tls_proto): Likewise.
40008         (libnss_files_hidden_tls_proto): Likewise.
40009         (libnsl_hidden_tls_proto): Likewise.
40010         (libnss_nisplus_hidden_tls_proto): Likewise.
40011         (libutil_hidden_tls_proto): Likewise.
40013 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
40015         [BZ #10253]
40016         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
40017         (decompose_rpath): Defer expansion to fillin_rpath.
40018         (_dl_init_paths): Pass linkmap to fillin_rpath.
40020 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40022         * benchtests/Makefile: Add strsep.
40023         * benchtests/bench-strsep.c: New file: strsep benchtest.
40024         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
40026 2013-11-18  Andreas Schwab  <schwab@suse.de>
40028         * locale/programs/locale.c (show_info) [case byte]: Check for
40029         '\377' instead of '\177'.
40030         * locale/C-monetary.c (not_available): Always use "\377".
40031         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
40032         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
40033         detect unavailable sign_posn locale elements.
40034         * locale/localeconv.c (__localeconv): For grouping and
40035         mon_grouping handle "\177" and "\377" like no grouping.
40036         (INT_ELEM): New macro.  Use it to set all numeric members.
40037         * locale/programs/ld-monetary.c (monetary_read)
40038         <tok_mon_grouping>: Normalize single -1 to the empty string.
40039         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
40040         Likewise.
40042 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40044         [BZ #16055]
40045         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
40046         when we match (nil).
40047         * stdio-common/tst-sscanf.c (struct test): Add testcase.
40049 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
40051         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
40052         (NO_TEST_INLINE): Update value.
40053         (ERRNO_UNCHANGED): Likewise.
40054         (ERRNO_EDOM): Likewise.
40055         (ERRNO_ERANGE): Likewise.
40056         (IGNORE_RESULT): Likewise.
40057         (check_float_internal): Check signs of NaN results if
40058         TEST_NAN_SIGN used.
40059         (check_complex): Pass TEST_NAN_SIGN flag through to second
40060         check_float_internal call.
40061         (copysign_test_data): Add tests with quiet NaNs as second
40062         argument.  Use TEST_NAN_SIGN.
40063         (fabs_test_data): Add test of negative quiet NaN argument.  Use
40064         TEST_NAN_SIGN.
40065         (signbit_test_data): Add tests of quiet NaN argument.
40066         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
40068         * math/gen-libm-test.pl (show_exceptions): Take extra argument
40069         $ignore_result.
40070         (parse_args): Handle function results specified as IGNORE.
40071         * math/libm-test.inc (IGNORE_RESULT): New macro.
40072         (check_float_internal): Do not check numerical result if flag
40073         IGNORE_RESULT set.
40074         (check_complex): Pass through IGNORE_RESULT to second
40075         check_float_internal call.
40076         (check_int): Do not check numerical result if flag IGNORE_RESULT
40077         set.
40078         (check_long): Likewise.
40079         (check_bool): Likewise.
40080         (check_longlong): Likewise.
40081         (lrint_test_data): Add tests of infinite and NaN arguments.
40082         (lrint_tonearest_test_data): Likewise.
40083         (lrint_towardzero_test_data): Likewise.
40084         (lrint_downward_test_data): Likewise.
40085         (lrint_upward_test_data): Likewise.
40086         (llrint_test_data): Likewise.
40087         (llrint_tonearest_test_data): Likewise.
40088         (llrint_towardzero_test_data): Likewise.
40089         (llrint_downward_test_data): Likewise.
40090         (llrint_upward_test_data): Likewise.
40091         (lround_test_data): Likewise.
40092         (llround_test_data): Likewise.
40094         * math/libm-test.inc (NO_TEST_INLINE): New macro.
40095         (ERRNO_UNCHANGED): Update value.
40096         (ERRNO_EDOM): Likewise.
40097         (ERRNO_ERANGE): Likewise.
40098         (NO_TEST_INLINE_FLOAT): New macro.
40099         (NO_TEST_INLINE_DOUBLE): Likewise.
40100         (enable_test): New function.
40101         (RUN_TEST_f_f): Check enable_test before running test.
40102         (RUN_TEST_2_f): Likewise.
40103         (RUN_TEST_fff_f): Likewise.
40104         (RUN_TEST_c_f): Likewise.
40105         (RUN_TEST_f_f1): Likewise.
40106         (RUN_TEST_fF_f1): Likewise.
40107         (RUN_TEST_fI_f1): Likewise.
40108         (RUN_TEST_ffI_f1): Likewise.
40109         (RUN_TEST_c_c): Likewise.
40110         (RUN_TEST_cc_c): Likewise.
40111         (RUN_TEST_f_i): Likewise.
40112         (RUN_TEST_f_i_tg): Likewise.
40113         (RUN_TEST_ff_i_tg): Likewise.
40114         (RUN_TEST_f_b): Likewise.
40115         (RUN_TEST_f_b_tg): Likewise.
40116         (RUN_TEST_f_l): Likewise.
40117         (RUN_TEST_f_L): Likewise.
40118         (RUN_TEST_fFF_11): Likewise.
40119         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
40120         conditionals.
40121         (cosh_test_data): Likewise.
40122         (exp_test_data): Likewise.
40123         (expm1_test_data): Likewise.
40124         (hypot_test_data): Likewise.
40125         (pow_test_data): Likewise.
40126         (sinh_test_data): Likewise.
40127         (tanh_test_data): Likewise.
40128         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
40129         flags argument.
40131         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
40132         tests with quiet NaN input and output.
40133         (acosh_test_data): Likewise.
40134         (asin_test_data): Likewise.
40135         (asinh_test_data): Likewise.
40136         (atan_test_data): Likewise.
40137         (atanh_test_data): Likewise.
40138         (atan2_test_data): Likewise.
40139         (cbrt_test_data): Likewise.
40140         (cos_test_data): Likewise.
40141         (cosh_test_data): Likewise.
40142         (erf_test_data): Likewise.
40143         (erfc_test_data): Likewise.
40144         (exp_test_data): Likewise.
40145         (exp10_test_data): Likewise.
40146         (exp2_test_data): Likewise.
40147         (expm1_test_data): Likewise.
40148         (hypot_test_data): Likewise.
40149         (j0_test_data): Likewise.
40150         (j1_test_data): Likewise.
40151         (jn_test_data): Likewise.
40152         (lgamma_test_data): Likewise.
40153         (log_test_data): Likewise.
40154         (log10_test_data): Likewise.
40155         (log1p_test_data): Likewise.
40156         (log2_test_data): Likewise.
40157         (pow_test_data): Likewise.
40158         (scalb_test_data): Likewise.
40159         (sin_test_data): Likewise.
40160         (sincos_test_data): Likewise.
40161         (sinh_test_data): Likewise.
40162         (tan_test_data): Likewise.
40163         (tanh_test_data): Likewise.
40164         (tgamma_test_data): Likewise.
40165         (y0_test_data): Likewise.
40166         (y1_test_data): Likewise.
40167         (yn_test_data): Likewise.
40169         [BZ #16167]
40170         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40171         argument being NaN and avoid computations with second argument in
40172         that case.
40173         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40174         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40175         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40177 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40179         * locale/iso-639.def: Add Chitwani Tharu (the).
40181 2013-11-14  Andreas Schwab  <schwab@suse.de>
40183         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40184         word instead of empty string.
40186 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40189         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40191         (__fe_nomask_env): Likewise.
40193 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40195         * benchtests/bench-timing.h: Include time.h.
40197 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40199         [BZ #15997]
40200         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40201         to 3.4.0 for x32.
40202         * sysdeps/unix/sysv/linux/configure: Regenerated.
40204 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40206         [BZ #16151]
40207         * stdlib/strtod_l.c (round_and_return): Do not consider
40208         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40209         exponent one less than half the least subnormal exponent.
40210         * stdlib/test-strtod-round-data: Add more tests.
40211         * stdlib/tst-strtod-round.c (tests): Regenerated.
40213 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40215         [BZ #14143]
40216         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40217         (__fe_mask_env): Likewise.
40218         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40219         libm_hidden_proto and add function prototype.
40220         (__fe_mask_env): Add function prototype.
40221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40222         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40224         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40226         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40228 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40230         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40231         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40233 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40235         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40236         of htab_find_slot().
40238 2013-11-11  David S. Miller  <davem@davemloft.net>
40240         [BZ #16150]
40241         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40242         symbol in the non-vis3 case in static builds.
40243         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40244         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40245         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40246         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40248 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40250         [BZ #387]
40251         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40252         it is empty.
40254 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40256         * benchtests/Makefile: Add bench-strtod.
40257         * benchtests/bench-strtod.c: New file: strtod benchtest
40259 2013-11-11  Andreas Schwab  <schwab@suse.de>
40261         [BZ #16153]
40262         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40263         terminating NUL in key length.
40265 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40267         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40268         Add artificial ODP entry for vDSO symbol for PPC64.
40269         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40270         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40272 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40274         [BZ #15374]
40275         * nss/getent.c (services_keys): Recognize services starting with digit.
40277 2013-11-06  David S. Miller  <davem@davemloft.net>
40279         [BZ #15985]
40280         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40281         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40283 2013-11-06  Will Newton  <will.newton@linaro.org>
40285         * manual/memory.texi (Malloc Examples): Remove register
40286         keyword from examples.
40288 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40290         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40292 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40294         [BZ #6981]
40295         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40296         depending on [__GCC_IEC_559 > 0].
40297         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40298         depending on [__GCC_IEC_559_COMPLEX > 0].
40300 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40302         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40303         to iso-639.def.
40305 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40307         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40309 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40311         [BZ #16112]
40312         * malloc/malloc (malloc_info): Do not handle first bin as
40313         special case.
40315 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40317         * locale/iso-639.def: Add Central Nahuatl (nhn).
40319 2013-11-01  Bruno Haible  <bruno@clisp.org>
40321         [BZ #7003]
40322         * manual/math.texi (BSD Random): Specify range upper bound as
40323         in POSIX.
40325 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40327         * locale/iso-639.def: Add Meadow Mari (mhr).
40329 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40331         [BZ #14752], [BZ #15763]
40332         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40333         Validate name.
40334         * rt/tst_shm.c: Add test for escaping directory.
40336 2013-10-31  Andreas Schwab  <schwab@suse.de>
40338         [BZ #15917]
40339         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40340         followed by 'x' as part of digit sequence.
40341         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40343 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40345         [BZ #16037]
40346         * configure.ac: allow GNU Make 4.0 and greater.
40347         * configure: Regenerated.
40349 2013-10-30  Will Newton  <will.newton@linaro.org>
40351         [BZ #16038]
40352         * malloc/hooks.c (memalign_check): Limit alignment to the
40353         maximum representable power of two.
40354         * malloc/malloc.c (__libc_memalign): Likewise.
40355         * malloc/tst-memalign.c (do_test): Add test for very
40356         large alignment values.
40357         * malloc/tst-posix_memalign.c (do_test): Likewise.
40359 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40361         [BZ #11087]
40362         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40363         (munmap_chunk): Likewise.
40364         (mremap_chunk): Likewise.
40366 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40368         [BZ #15799]
40369         * stdlib/div.c (div): Remove obsolete code.
40370         * stdlib/ldiv.c (ldiv): Likewise.
40371         * stdlib/lldiv.c (lldiv): Likewise.
40373 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40375         [BZ #16071]
40376         * nss/nss_files/files-XXX.c (get_contents_ret): New
40377         enumerator.
40378         (get_contents): New function.
40379         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40381 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40383         * configure.in: Moved to ...
40384         * configure.ac: ... here. Change reference to configure.in
40385         to configure.ac.
40386         * sysdeps/arm/preconfigure.ac: ... here.
40387         configure.in to configure.ac.
40388         * sysdeps/gnu/configure.in: Moved to ...
40389         * sysdeps/gnu/configure.ac: ... here.
40390         * sysdeps/i386/configure.in: Moved to ...
40391         * sysdeps/i386/configure.ac: ... here.
40392         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40393         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40394         * sysdeps/mach/configure.in: Moved to ...
40395         * sysdeps/mach/configure.ac: ... here.
40396         * sysdeps/mach/hurd/configure.in: Moved to ...
40397         * sysdeps/mach/hurd/configure.ac: ... here.
40398         * sysdeps/powerpc/configure.in: Moved to ...
40399         * sysdeps/powerpc/configure.ac: ... here.
40400         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40401         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40402         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40403         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40404         * sysdeps/s390/s390-32/configure.in: Moved to ...
40405         * sysdeps/s390/s390-32/configure.ac: ... here.
40406         * sysdeps/s390/s390-64/configure.in: Moved to ...
40407         * sysdeps/s390/s390-64/configure.ac: ... here.
40408         * sysdeps/sh/configure.in: Moved to ...
40409         * sysdeps/sh/configure.ac: ... here.
40410         * sysdeps/sparc/configure.in: Moved to ...
40411         * sysdeps/sparc/configure.ac: ... here.
40412         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40413         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40414         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40415         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40416         * sysdeps/x86_64/configure.in: Moved to ...
40417         * sysdeps/x86_64/configure.ac: ... here.
40418         * sysdeps/x86_64/preconfigure.in: Moved to ...
40419         * sysdeps/x86_64/preconfigure.ac: ... here.
40420         * aclocal.m4: Change reference to configure.in to configure.ac.
40421         * config.h.in: Likewise.
40422         * manual/install.texi: Likewise.
40423         * manual/maint.texi: Likewise.
40424         * Makefile: Likewise.
40425         * malloc/Makefile: Likewise.
40426         * nscd/Makefile: Likewise.
40427         * Makeconfig: Change reference to configure.in and
40428         preconfigure.in to configure.ac and preconfigure.ac
40429         respectively.
40430         * INSTALL: Regenerated.
40431         * configure: Likewise.
40432         * sysdeps/gnu/configure: Likewise.
40433         * sysdeps/i386/configure: Likewise.
40434         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40435         * sysdeps/mach/configure: Likewise.
40436         * sysdeps/mach/hurd/configure: Likewise.
40437         * sysdeps/powerpc/configure: Likewise.
40438         * sysdeps/powerpc/powerpc32/configure: Likewise.
40439         * sysdeps/powerpc/powerpc64/configure: Likewise.
40440         * sysdeps/s390/s390-32/configure: Likewise.
40441         * sysdeps/s390/s390-64/configure: Likewise.
40442         * sysdeps/sh/configure: Likewise.
40443         * sysdeps/sparc/configure: Likewise.
40444         * sysdeps/unix/sysv/linux/configure: Likewise.
40445         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40446         * sysdeps/x86_64/configure: Likewise.
40447         * sysdeps/x86_64/preconfigure: Likewise.
40449 2013-10-29  Andreas Schwab  <schwab@suse.de>
40451         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40453 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40455         * benchtests/pow-inputs: Add new inputs.
40457         * benchtests/exp-inputs: Add new inputs.
40459         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40460         conditional check for return value.
40461         (__cos32): Likewise.
40463 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40465         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40466         to provide a boost for large inputs with word alignment.
40467         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40468         implementation based on optimized PPC64 strcpy.
40469         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40470         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40471         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40472         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40474 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40476         [BZ #2801]
40477         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40479 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40481         [BZ #14876]
40482         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40483         * time/tst-strptime.c (day_tests): Add testcase.
40485 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40487         [BZ #14029]
40488         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40490 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40492         [BZ #16074]
40493         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40494         MAP_FAILED on error.
40496 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40498         [BZ #16072]
40499         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40500         heap for large requests.
40502 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40504         [BZ #9954]
40505         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40506         result if the result has no associated interface.
40507         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40508         interface for all 127.X.Y.Z addresses.
40510 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40512         * locale/iso-639.def: Add Ligurian (lij)
40514 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40516         [BZ #15825]
40517         * sunrpc/rpc_main.c: Document rpcgen -5.
40519 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40521         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40523 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40525         [BZ #10278]
40526         * posix/glob.c: Match only directories when trailing slash is present.
40527         * posix/tst-gnuglob.c (my_opendir): Do not open files.
40528         (main): Add testcase.
40530 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40532         [BZ #15670]
40533         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
40535 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
40537         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
40538         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
40539         AUTH_DES and cindex for FIPS 140-2.
40540         (DES Encryption): Add cindex FIPS 46-3.
40542         * locale/locarchive.h (struct locarhandle): Add fname.
40543         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40544         if an optional argument was specified to --list-archive,
40545         otherwise NULL.
40546         * locale/programs/locarchive.c (show_archive_content): Take new
40547         argument fname and pass it via ah.fname to open_archive.
40548         * locale/programs/localedef.h: Update decl.
40549         (open_archive): If AH->fname is non-null, open that file
40550         rather than the default file name, and don't ignore ENOENT.
40551         (create_archive): Set AH.fname to NULL.
40552         (delete_locales_from_archive): Likewise.
40553         (add_locales_to_archive): Likewise.
40554         * locale/programs/locfile.c (write_all_categories): Likewise.
40556 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40557             Aldy Hernandez  <aldyh@redhat.com>
40559         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40560         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40561         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40562         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
40563         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
40564         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
40565         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
40566         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
40567         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
40568         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40569         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
40570         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
40571         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
40572         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
40573         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
40574         Likewise.
40575         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
40576         Likewise.
40577         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
40578         Likewise.
40579         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
40580         Likewise.
40581         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
40582         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
40583         Likewise.
40584         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
40585         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
40586         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
40587         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
40588         Likewise.
40589         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
40590         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
40591         * sysdeps/powerpc/preconfigure: Likewise.
40592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
40593         Likewise.
40594         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
40595         Replace contents of file by #include of <fenv_libc.h>.
40596         * sysdeps/powerpc/soft-fp/sfp-machine.h
40597         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
40598         and <sys/prctl.h>.
40599         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
40600         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
40601         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
40602         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
40603         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
40604         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
40605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
40606         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
40607         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
40608         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
40609         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
40610         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
40611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40612         Allow copysignl PLT reference to be missing.
40614 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
40615             Joseph Myers  <joseph@codesourcery.com
40617         [BZ #15948]
40618         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
40619         single character.
40620         (add_to_tablewc): Assert sequence of wide characters is nonempty.
40622 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40624         * elf/tst-tls-dlinfo.c: Don't include tls.h.
40625         * elf/tst-tls1.c: Likewise.
40626         * elf/tst-tls10.h: Likewise.
40627         * elf/tst-tls14.c: Likewise.
40628         * elf/tst-tls2.c: Likewise.
40629         * elf/tst-tls3.c: Likewise.
40630         * elf/tst-tls4.c: Likewise.
40631         * elf/tst-tls5.c: Likewise.
40632         * elf/tst-tls6.c: Likewise.
40633         * elf/tst-tls7.c: Likewise.
40634         * elf/tst-tls8.c: Likewise.
40635         * elf/tst-tls9.c: Likewise.
40636         * elf/tst-tlsmod1.c: Likewise.
40637         * elf/tst-tlsmod13.c: Likewise.
40638         * elf/tst-tlsmod13a.c: Likewise.
40639         * elf/tst-tlsmod14a.c: Likewise.
40640         * elf/tst-tlsmod16a.c: Likewise.
40641         * elf/tst-tlsmod16b.c: Likewise.
40642         * elf/tst-tlsmod2.c: Likewise.
40643         * elf/tst-tlsmod3.c: Likewise.
40644         * elf/tst-tlsmod4.c: Likewise.
40645         * elf/tst-tlsmod5.c: Likewise.
40646         * elf/tst-tlsmod6.c: Likewise.
40648 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
40650         [BZ #12486]
40651         * malloc/malloc.c: remove checks for statistics.
40653 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40655         [BZ #15277]
40656         * inet/inet_net.c (inet_network): Detect additional invalid strings.
40657         * inet/tst-network.c: Add testcase.
40659 2013-10-17  Andreas Schwab  <schwab@suse.de>
40661         [BZ #15218]
40662         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
40663         to determine canonical name.
40665 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40667         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
40668         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
40669         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40670         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40671         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40672         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40673         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40674         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40675         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40676         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40677         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40678         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40679         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40680         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40681         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40682         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40683         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40684         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40685         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40686         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40687         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40688         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40689         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40690         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
40691         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
40692         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40693         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40694         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
40695         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40696         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
40697         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40698         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40699         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40700         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40701         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40702         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40703         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40704         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40705         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40706         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40707         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40708         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40709         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40710         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40711         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40712         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40713         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40714         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40715         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40716         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40717         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40718         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40719         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40720         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40721         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40722         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40723         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40724         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40726 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
40728         [BZ #16041]
40729         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
40730         make result into a quiet NaN.
40732 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
40734         * soft-fp/adddf3.c: Fix horizontal whitespace.
40735         * soft-fp/addsf3.c: Likewise.
40736         * soft-fp/addtf3.c: Likewise.
40737         * soft-fp/divdf3.c: Likewise.
40738         * soft-fp/divsf3.c: Likewise.
40739         * soft-fp/divtf3.c: Likewise.
40740         * soft-fp/double.h: Likewise.
40741         * soft-fp/eqdf2.c: Likewise.
40742         * soft-fp/eqsf2.c: Likewise.
40743         * soft-fp/eqtf2.c: Likewise.
40744         * soft-fp/extenddftf2.c: Likewise.
40745         * soft-fp/extended.h: Likewise.
40746         * soft-fp/extendsfdf2.c: Likewise.
40747         * soft-fp/extendsftf2.c: Likewise.
40748         * soft-fp/extendxftf2.c: Likewise.
40749         * soft-fp/fixdfdi.c: Likewise.
40750         * soft-fp/fixdfsi.c: Likewise.
40751         * soft-fp/fixdfti.c: Likewise.
40752         * soft-fp/fixsfdi.c: Likewise.
40753         * soft-fp/fixsfsi.c: Likewise.
40754         * soft-fp/fixsfti.c: Likewise.
40755         * soft-fp/fixtfdi.c: Likewise.
40756         * soft-fp/fixtfsi.c: Likewise.
40757         * soft-fp/fixtfti.c: Likewise.
40758         * soft-fp/fixunsdfdi.c: Likewise.
40759         * soft-fp/fixunsdfsi.c: Likewise.
40760         * soft-fp/fixunsdfti.c: Likewise.
40761         * soft-fp/fixunssfdi.c: Likewise.
40762         * soft-fp/fixunssfsi.c: Likewise.
40763         * soft-fp/fixunssfti.c: Likewise.
40764         * soft-fp/fixunstfdi.c: Likewise.
40765         * soft-fp/fixunstfsi.c: Likewise.
40766         * soft-fp/fixunstfti.c: Likewise.
40767         * soft-fp/floatdidf.c: Likewise.
40768         * soft-fp/floatdisf.c: Likewise.
40769         * soft-fp/floatditf.c: Likewise.
40770         * soft-fp/floatsidf.c: Likewise.
40771         * soft-fp/floatsisf.c: Likewise.
40772         * soft-fp/floatsitf.c: Likewise.
40773         * soft-fp/floattidf.c: Likewise.
40774         * soft-fp/floattisf.c: Likewise.
40775         * soft-fp/floattitf.c: Likewise.
40776         * soft-fp/floatundidf.c: Likewise.
40777         * soft-fp/floatundisf.c: Likewise.
40778         * soft-fp/floatunditf.c: Likewise.
40779         * soft-fp/floatunsidf.c: Likewise.
40780         * soft-fp/floatunsisf.c: Likewise.
40781         * soft-fp/floatunsitf.c: Likewise.
40782         * soft-fp/floatuntidf.c: Likewise.
40783         * soft-fp/floatuntisf.c: Likewise.
40784         * soft-fp/floatuntitf.c: Likewise.
40785         * soft-fp/fmadf4.c: Likewise.
40786         * soft-fp/fmasf4.c: Likewise.
40787         * soft-fp/fmatf4.c: Likewise.
40788         * soft-fp/gedf2.c: Likewise.
40789         * soft-fp/gesf2.c: Likewise.
40790         * soft-fp/getf2.c: Likewise.
40791         * soft-fp/ledf2.c: Likewise.
40792         * soft-fp/lesf2.c: Likewise.
40793         * soft-fp/letf2.c: Likewise.
40794         * soft-fp/muldf3.c: Likewise.
40795         * soft-fp/mulsf3.c: Likewise.
40796         * soft-fp/multf3.c: Likewise.
40797         * soft-fp/negdf2.c: Likewise.
40798         * soft-fp/negsf2.c: Likewise.
40799         * soft-fp/negtf2.c: Likewise.
40800         * soft-fp/op-1.h: Likewise.
40801         * soft-fp/op-2.h: Likewise.
40802         * soft-fp/op-4.h: Likewise.
40803         * soft-fp/op-8.h: Likewise.
40804         * soft-fp/op-common.h: Likewise.
40805         * soft-fp/quad.h: Likewise.
40806         * soft-fp/single.h: Likewise.
40807         * soft-fp/soft-fp.h: Likewise.
40808         * soft-fp/sqrtdf2.c: Likewise.
40809         * soft-fp/sqrtsf2.c: Likewise.
40810         * soft-fp/sqrttf2.c: Likewise.
40811         * soft-fp/subdf3.c: Likewise.
40812         * soft-fp/subsf3.c: Likewise.
40813         * soft-fp/subtf3.c: Likewise.
40814         * soft-fp/truncdfsf2.c: Likewise.
40815         * soft-fp/trunctfdf2.c: Likewise.
40816         * soft-fp/trunctfsf2.c: Likewise.
40817         * soft-fp/trunctfxf2.c: Likewise.
40818         * soft-fp/unorddf2.c: Likewise.
40819         * soft-fp/unordsf2.c: Likewise.
40820         * soft-fp/unordtf2.c: Likewise.
40822 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
40824         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
40825         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
40827 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
40829         * elf/dl-libc.c: Clear initfini list after freeing.
40831 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
40833         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
40834         * soft-fp/addsf3.c: Likewise.
40835         * soft-fp/addtf3.c: Likewise.
40836         * soft-fp/divdf3.c: Likewise.
40837         * soft-fp/divsf3.c: Likewise.
40838         * soft-fp/divtf3.c: Likewise.
40839         * soft-fp/double.h: Likewise.
40840         * soft-fp/eqdf2.c: Likewise.
40841         * soft-fp/eqsf2.c: Likewise.
40842         * soft-fp/eqtf2.c: Likewise.
40843         * soft-fp/extenddftf2.c: Likewise.
40844         * soft-fp/extended.h: Likewise.
40845         * soft-fp/extendsfdf2.c: Likewise.
40846         * soft-fp/extendsftf2.c: Likewise.
40847         * soft-fp/extendxftf2.c: Likewise.
40848         * soft-fp/fixdfdi.c: Likewise.
40849         * soft-fp/fixdfsi.c: Likewise.
40850         * soft-fp/fixdfti.c: Likewise.
40851         * soft-fp/fixsfdi.c: Likewise.
40852         * soft-fp/fixsfsi.c: Likewise.
40853         * soft-fp/fixsfti.c: Likewise.
40854         * soft-fp/fixtfdi.c: Likewise.
40855         * soft-fp/fixtfsi.c: Likewise.
40856         * soft-fp/fixtfti.c: Likewise.
40857         * soft-fp/fixunsdfdi.c: Likewise.
40858         * soft-fp/fixunsdfsi.c: Likewise.
40859         * soft-fp/fixunsdfti.c: Likewise.
40860         * soft-fp/fixunssfdi.c: Likewise.
40861         * soft-fp/fixunssfsi.c: Likewise.
40862         * soft-fp/fixunssfti.c: Likewise.
40863         * soft-fp/fixunstfdi.c: Likewise.
40864         * soft-fp/fixunstfsi.c: Likewise.
40865         * soft-fp/fixunstfti.c: Likewise.
40866         * soft-fp/floatdidf.c: Likewise.
40867         * soft-fp/floatdisf.c: Likewise.
40868         * soft-fp/floatditf.c: Likewise.
40869         * soft-fp/floatsidf.c: Likewise.
40870         * soft-fp/floatsisf.c: Likewise.
40871         * soft-fp/floatsitf.c: Likewise.
40872         * soft-fp/floattidf.c: Likewise.
40873         * soft-fp/floattisf.c: Likewise.
40874         * soft-fp/floattitf.c: Likewise.
40875         * soft-fp/floatundidf.c: Likewise.
40876         * soft-fp/floatundisf.c: Likewise.
40877         * soft-fp/floatunsidf.c: Likewise.
40878         * soft-fp/floatunsisf.c: Likewise.
40879         * soft-fp/floatuntidf.c: Likewise.
40880         * soft-fp/floatuntisf.c: Likewise.
40881         * soft-fp/floatuntitf.c: Likewise.
40882         * soft-fp/fmadf4.c: Likewise.
40883         * soft-fp/fmasf4.c: Likewise.
40884         * soft-fp/fmatf4.c: Likewise.
40885         * soft-fp/gedf2.c: Likewise.
40886         * soft-fp/gesf2.c: Likewise.
40887         * soft-fp/getf2.c: Likewise.
40888         * soft-fp/ledf2.c: Likewise.
40889         * soft-fp/lesf2.c: Likewise.
40890         * soft-fp/letf2.c: Likewise.
40891         * soft-fp/muldf3.c: Likewise.
40892         * soft-fp/mulsf3.c: Likewise.
40893         * soft-fp/multf3.c: Likewise.
40894         * soft-fp/negdf2.c: Likewise.
40895         * soft-fp/negsf2.c: Likewise.
40896         * soft-fp/negtf2.c: Likewise.
40897         * soft-fp/op-1.h: Likewise.
40898         * soft-fp/op-2.h: Likewise.
40899         * soft-fp/op-4.h: Likewise.
40900         * soft-fp/op-8.h: Likewise.
40901         * soft-fp/op-common.h: Likewise.
40902         * soft-fp/quad.h: Likewise.
40903         * soft-fp/single.h: Likewise.
40904         * soft-fp/soft-fp.h: Likewise.
40905         * soft-fp/sqrtdf2.c: Likewise.
40906         * soft-fp/sqrtsf2.c: Likewise.
40907         * soft-fp/sqrttf2.c: Likewise.
40908         * soft-fp/subdf3.c: Likewise.
40909         * soft-fp/subsf3.c: Likewise.
40910         * soft-fp/subtf3.c: Likewise.
40911         * soft-fp/truncdfsf2.c: Likewise.
40912         * soft-fp/trunctfdf2.c: Likewise.
40913         * soft-fp/trunctfsf2.c: Likewise.
40914         * soft-fp/trunctfxf2.c: Likewise.
40915         * soft-fp/unorddf2.c: Likewise.
40916         * soft-fp/unordsf2.c: Likewise.
40917         * soft-fp/unordtf2.c: Likewise.
40919 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
40921         [BZ #15672]
40922         * misc/error.c (error_tail): Fix possible buffer overflow.
40924 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
40926         [BZ #13028]
40927         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
40928         address.
40930 2013-10-14  P. J. McDermott  <pj@pehjota.net>
40932         [BZ #832]
40933         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
40934         testing pipefail option.
40936 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40938         * soft-fp/double.h: Indent preprocessor directives inside #if.
40939         * soft-fp/extended.h: Likewise.
40940         * soft-fp/op-2.h: Likewise.
40941         * soft-fp/op-4.h: Likewise.
40942         * soft-fp/op-common.h: Likewise.
40943         * soft-fp/quad.h: Likewise.
40944         * soft-fp/single.h: Likewise.
40945         * soft-fp/soft-fp.h: Likewise.
40947 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
40949         * iconv/iconv_prog.c: Fix typos.
40950         * stdio-common/psiginfo-data.h: Likewise.
40952 2013-10-12   Reuben Thomas <rrt@sc3d.org>
40954         [BZ #15764]
40955         * locale/setlocale.c: Fix typo.
40957 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40959         [BZ #16036]
40960         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
40961         signaling NaN arguments.
40962         * soft-fp/unordsf2.c (__unordsf2): Likewise.
40963         * soft-fp/unordtf2.c (__unordtf2): Likewise.
40965         [BZ #14910]
40966         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
40967         unordered operands.
40968         * soft-fp/gesf2.c (__gesf2): Likewise.
40969         * soft-fp/getf2.c (__getf2): Likewise.
40970         * soft-fp/ledf2.c (__ledf2): Likewise.
40971         * soft-fp/lesf2.c (__lesf2): Likewise.
40972         * soft-fp/letf2.c (__letf2): Likewise.
40974         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40975         * soft-fp/eqsf2.c (__eqsf2): Likewise.
40976         * soft-fp/eqtf2.c (__eqtf2): Likewise.
40977         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
40978         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
40979         * soft-fp/fixdfti.c (__fixdfti): Likewise.
40980         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
40981         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
40982         * soft-fp/fixsfti.c (__fixsfti): Likewise.
40983         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
40984         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
40985         * soft-fp/fixtfti.c (__fixtfti): Likewise.
40986         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
40987         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
40988         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
40989         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
40990         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
40991         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
40992         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
40993         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
40994         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
40995         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
40996         * soft-fp/floatdisf.c (__floatdisf): Likewise.
40997         * soft-fp/floatsisf.c (__floatsisf): Likewise.
40998         * soft-fp/floattidf.c (__floattidf): Likewise.
40999         * soft-fp/floattisf.c (__floattisf): Likewise.
41000         * soft-fp/floattitf.c (__floattitf): Likewise.
41001         * soft-fp/floatundidf.c (__floatundidf): Likewise.
41002         * soft-fp/floatundisf.c (__floatundisf): Likewise.
41003         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
41004         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
41005         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
41006         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
41007         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
41008         * soft-fp/gesf2.c (__gesf2): Likewise.
41009         * soft-fp/getf2.c (__getf2): Likewise.
41010         * soft-fp/ledf2.c (__ledf2): Likewise.
41011         * soft-fp/lesf2.c (__lesf2): Likewise.
41012         * soft-fp/letf2.c (__letf2): Likewise.
41014         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
41015         Undefine and redefine.
41016         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
41017         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
41018         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
41019         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
41020         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41021         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
41022         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41023         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
41024         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41025         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
41026         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41027         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
41028         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41029         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
41030         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41032         [BZ #16032]
41033         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
41034         without decrementing exponent if mantissa >= that for the
41035         denominator, not >.
41036         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
41037         denominator, not >.  Decrement exponent in < case instead of
41038         incrementing in >= case.
41039         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
41040         without decrementing exponent if mantissa >= that for the
41041         denominator, not >.
41043         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
41044         computing saturated result for unsigned overflow.
41046 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41047             Jeff Law  <law@redhat.com>
41049         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
41050         (atan2Mp): Add systemtap probe marker.
41051         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
41052         (__ieee754_log): Add systemtap probe marker.
41053         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
41054         (atanMp): Add systemtap probe marker.
41055         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
41056         (tanMp): Add systemtap probe marker.
41057         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
41058         (__slowexp): Add systemtap probe marker.
41059         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
41060         (__slowpow): Add systemtap probe marker.
41061         * manual/probes.texi: Document probes.
41063 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
41065         [BZ #15362]
41066         * libio/fileops.c (_IO_new_file_write): Return count of bytes
41067         written.
41068         (_IO_new_file_xsputn): Don't return EOF if nothing has been
41069         written.
41070         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
41071         written to buffer but not flushed.
41072         * libio/iofwrite_u.c:  Likewise.
41073         * libio/iopadn.c:  Return bytes returned even if EOF was
41074         encountered.
41075         * libio/iowpadn.c:  Likewise.
41076         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
41077         if _IO_padn does not write the whole buffer.
41078         [!COMPILE_WPRINTF] (PAD): Likewise.
41080 2013-10-10  David S. Miller  <davem@davemloft.net>
41082         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
41083         directory block.
41085 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41087         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
41088         instead of FSF address.
41089         * soft-fp/fixdfti.c: Likewise.
41090         * soft-fp/fixsfti.c: Likewise.
41091         * soft-fp/fixtfti.c: Likewise.
41092         * soft-fp/fixunsdfti.c: Likewise.
41093         * soft-fp/fixunssfti.c: Likewise.
41094         * soft-fp/fixunstfti.c: Likewise.
41095         * soft-fp/floattidf.c: Likewise.
41096         * soft-fp/floattisf.c: Likewise.
41097         * soft-fp/floattitf.c: Likewise.
41098         * soft-fp/floatuntidf.c: Likewise.
41099         * soft-fp/floatuntisf.c: Likewise.
41100         * soft-fp/floatuntitf.c: Likewise.
41101         * soft-fp/trunctfxf2.c: Likewise.
41103         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
41104         * soft-fp/fixdfti.c: Likewise.
41105         * soft-fp/fixsfti.c: Likewise.
41106         * soft-fp/fixtfti.c: Likewise.
41107         * soft-fp/fixunsdfti.c: Likewise.
41108         * soft-fp/fixunssfti.c: Likewise.
41109         * soft-fp/fixunstfti.c: Likewise.
41110         * soft-fp/floattidf.c: Likewise.
41111         * soft-fp/floattisf.c: Likewise.
41112         * soft-fp/floattitf.c: Likewise.
41113         * soft-fp/floatuntidf.c: Likewise.
41114         * soft-fp/floatuntisf.c: Likewise.
41115         * soft-fp/floatuntitf.c: Likewise.
41116         * soft-fp/trunctfxf2.c: Likewise.
41118 2013-10-10  David S. Miller  <davem@davemloft.net>
41120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41122 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
41124         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41125         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
41126         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
41127         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
41128         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
41129         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
41130         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
41132         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
41133         for NaNs before doing comparisons on argument.
41134         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
41135         Likewise.
41137 2013-10-10  Will Newton  <will.newton@linaro.org>
41139         * malloc/hooks.c (memalign_check): Ensure the value of bytes
41140         passed to _int_memalign does not overflow.
41142 2013-10-10  Torvald Riegel  <triegel@redhat.com>
41144         * scripts/bench.pl: Add include-sources directive.
41145         * benchtests/README: Update documentation.
41147 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41149         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
41150         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
41151         instead of FP_INIT_ROUNDMODE.
41152         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
41153         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
41155         [BZ #16034]
41156         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
41157         copy class of input value.
41158         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41159         not handle exceptions.
41160         * soft-fp/negsf2.c (__negsf2): Likewise.
41161         * soft-fp/negtf2.c (__negtf2): Likewise.
41162         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41164 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41166         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41167         semicolon.  From Linux kernel.
41169 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41171         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41173 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41175         [BZ #156]
41176         * manual/socket.texi: Added statement about buffer
41177         for gethostbyname2_r.
41179 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41181         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41182         Use .p2align directive instead, throughout.
41183         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41184         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41185         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41186         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41187         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41188         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41189         * sysdeps/x86_64/strchr.S: Likewise.
41190         * sysdeps/x86_64/strrchr.S: Likewise.
41192 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41194         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41196         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41198         * sysdeps/generic/math_private.h (__mpsin1): Remove
41199         declaration.
41200         (__mpcos1): Likewise.
41201         (__mpsin): New argument __range_reduce.
41202         (__mpcos): Likewise.
41203         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41204         (slow): Use __mpsin and __mpcos.
41205         (slow1): Likewise.
41206         (slow2): Likewise.
41207         (sloww): Likewise.
41208         (sloww1): Likewise.
41209         (sloww2): Likewise.
41210         (bsloww): Likewise.
41211         (bsloww1): Likewise.
41212         (bsloww2): Likewise.
41213         (cslow2): Likewise.
41214         (csloww): Likewise.
41215         (csloww1): Likewise.
41216         (csloww2): Likewise.
41217         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41218         range_reduce.  Merge in __mpsin1.
41219         (__mpcos): Likewise.
41220         (__mpsin1): Remove.
41221         (__mpcos1): Likewise.
41223 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41225         * locale/loadlocale.c (_nl_intern_locale_data): Use
41226         LOCFILE_ALIGNED_P.
41227         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41228         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41229         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41230         obstack data is appropriately aligned.
41231         (obstack_int32_grow_fast): Likewise.
41232         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41233         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41234         (add_locale_uint32_array): Likewise.
41236 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41238         * benchtests/Makefile: Remove ARGLIST and RET variables.
41239         ($(objpfx)bench-%.c): Pass only function name to the script.
41240         * benchtests/README: Update documentation.
41241         * benchtests/acos-inputs: Add new directives.
41242         * benchtests/acosh-inputs: Likewise.
41243         * benchtests/asin-inputs: Likewise.
41244         * benchtests/asinh-inputs: Likewise.
41245         * benchtests/atan-inputs: Likewise.
41246         * benchtests/atanh-inputs: Likewise.
41247         * benchtests/cos-inputs: Likewise.
41248         * benchtests/cosh-inputs: Likewise.
41249         * benchtests/exp-inputs: Likewise.
41250         * benchtests/log-inputs: Likewise.
41251         * benchtests/pow-inputs: Likewise.
41252         * benchtests/rint-inputs: Likewise.
41253         * benchtests/sin-inputs: Likewise.
41254         * benchtests/sinh-inputs: Likewise.
41255         * benchtests/tan-inputs: Likewise.
41256         * benchtests/tanh-inputs: Likewise.
41257         * scripts/bench.pl: Add support for new directives.
41259 2013-10-07  Alan Modra  <amodra@gmail.com>
41261         * README: Fix careless merge.
41263 2013-10-05  Alan Modra  <amodra@gmail.com>
41265         * NEWS: Mention powerpc64le support and bugs fixed.
41266         * README: Both big-endian and little-endian powerpc64 supported.
41268 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41270         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41271         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41272         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41273         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41275 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41277         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41278         match prototype.
41280 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41282         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41283         Move -mhard-float appending from
41284         ports/sysdeps/powerpc/powerpc32/Makefile.
41285         [$(with-fp) = yes] (ASFLAGS): Likewise.
41286         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41287         * sysdeps/powerpc/nofpu: Move directory from
41288         ports/sysdeps/powerpc/nofpu.
41289         * sysdeps/powerpc/soft-fp: Move directory from
41290         ports/sysdeps/powerpc/soft-fp.
41291         * sysdeps/powerpc/powerpc32/405: Move directory from
41292         ports/sysdeps/powerpc/powerpc32/405.
41293         * sysdeps/powerpc/powerpc32/440: Move directory from
41294         ports/sysdeps/powerpc/powerpc32/440.
41295         * sysdeps/powerpc/powerpc32/464: Move directory from
41296         ports/sysdeps/powerpc/powerpc32/464.
41297         * sysdeps/powerpc/powerpc32/476: Move directory from
41298         ports/sysdeps/powerpc/powerpc32/476.
41299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41300         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41302         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41304         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41306         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41308         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41309         * README: Update for powerpc-*-linux-gnu software floating point
41310         support in libc.
41312         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41313         case to powerpc/powerpc32*.
41314         * sysdeps/unix/sysv/linux/configure: Regenerated.
41316         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41317         (_FPU_MASK_OM): Define as 0x04.
41318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41320         0x00c10080.
41321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41322         0x0000003c.
41323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41326         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41327         getcontext_e500.
41328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41329         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41330         setcontext_e500.
41331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41332         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41333         and setcontext_e500.
41335 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41337         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41339 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41341         * manual/threads.texi (Default Thread Attributes): Fix typo.
41343 2013-10-04  Will Newton  <will.newton@linaro.org>
41345         * malloc/Makefile: Add tst-memalign.
41346         * malloc/tst-memalign.c: New file.
41348         * malloc/tst-posix_memalign.c: Add comments.
41349         (do_test): Add comments and call free on all potentially
41350         allocated pointers. Add space after cast.
41352         * malloc/tst-pvalloc.c: Add comments.
41353         (do_test): Add comments and call free on all potentially
41354         allocated pointers. Remove duplicate check for NULL pointer.
41355         Add space after cast.
41357         * malloc/tst-valloc.c: Add comments.
41358         (do_test): Add comments and call free on all potentially
41359         allocated pointers. Remove duplicate check for NULL pointer.
41360         Add space after cast.
41362 2013-10-04  Alan Modra  <amodra@gmail.com>
41364         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41365         Use stdint types in rather than __attribute__((mode())).
41366         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41368 2013-10-04  Alan Modra  <amodra@gmail.com>
41370         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41371         Correct handling of unaligned relocs for little-endian.
41372         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41374 2013-10-04  Alan Modra  <amodra@gmail.com>
41376         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41377         * configure: Regenerate.
41378         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41379         * shlib-versions: Likewise.
41381 2013-10-04  Alan Modra  <amodra@gmail.com>
41383         * string/tester.c (test_memrchr): Increment reported test cycle.
41385 2013-10-04  Alan Modra  <amodra@gmail.com>
41387         * string/test-memcpy.c (do_one_test): When reporting errors, print
41388         string address and don't overrun end of string.
41390 2013-10-04  Alan Modra  <amodra@gmail.com>
41392         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41393         insrdi.  Make better use of reg selection to speed exit slightly.
41394         Schedule entry path a little better.  Remove useless "are we done"
41395         checks on entry to main loop.  Handle wrapping around zero address.
41396         Correct main loop count.  Handle single left-over word from main
41397         loop inline rather than by using loop_small.  Remove extra word
41398         case in loop_small caused by wrong loop count.  Add little-endian
41399         support.
41400         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41401         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41402         cache hint.
41403         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41404         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41405         support.  Avoid rlwimi.
41406         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41408 2013-10-04  Alan Modra  <amodra@gmail.com>
41410         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41411         insrdi.  Formatting.
41412         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41413         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41414         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41415         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41416         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41417         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41419 2013-10-04  Alan Modra  <amodra@gmail.com>
41421         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41422         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41423         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41424         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41425         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41426         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41427         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41428         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41429         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41430         use of regs.  Use power7 mtocrf.  Tidy function tails.
41432 2013-10-04  Alan Modra  <amodra@gmail.com>
41434         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41435         Formatting.  Consistently use rXXX register defines or rN defines.
41436         Use early exit labels that avoid restoring unused non-volatile regs.
41437         Make cr field use more consistent with rWORDn compares.  Rename
41438         regs used as shift registers for unaligned loop, using rN defines
41439         for short lifetime/multiple use regs.
41440         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41441         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41442         addi 1,1,64 to pop stack frame.  Simplify return value code.
41443         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41445 2013-10-04  Alan Modra  <amodra@gmail.com>
41447         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41448         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41449         rather than rlwimi.
41450         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41451         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41452         little-endian support.  Correct typos.
41453         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41454         rather than rlwimi.
41455         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41456         in loop and entry code to keep "and." results.
41457         (strchr): Add little-endian support.  Comment.  Move cntlzd
41458         earlier in tail.
41459         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41461 2013-10-04  Alan Modra  <amodra@gmail.com>
41463         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41464         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41465         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41466         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41468 2013-10-04  Alan Modra  <amodra@gmail.com>
41470         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41471         (rTMP): Define as r11.
41472         (strcmp): Add little-endian support.  Optimise tail.
41473         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41474         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41475         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41476         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41477         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41478         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41479         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41481 2013-10-04  Alan Modra  <amodra@gmail.com>
41483         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41484         little-endian support.  Remove unnecessary "are we done" tests.
41485         Handle "s" wrapping around zero and extremely large "size".
41486         Correct main loop count.  Handle single left-over word from main
41487         loop inline rather than by using small_loop.  Correct comments.
41488         Delete "zero" tail, use "end_max" instead.
41489         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41491 2013-10-04  Alan Modra  <amodra@gmail.com>
41493         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41494         support.  Don't branch over align.
41495         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41496         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41497         support.  Rearrange tmp reg use to suit.  Comment.
41498         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41500 2013-10-04  Alan Modra  <amodra@gmail.com>
41502         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41504 2013-10-04  Alan Modra  <amodra@gmail.com>
41506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41507         conditional form of branch and link when obtaining pc.
41508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41510 2013-10-04  Alan Modra  <amodra@gmail.com>
41512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41513         HIWORD/LOWORD.
41514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41517 2013-10-04  Alan Modra  <amodra@gmail.com>
41519         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41520         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41521         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41522         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41523         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41524         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41525         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41526         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41527         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41528         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
41530 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41531             Alistair Popple <alistair@ozlabs.au.ibm.com>
41532             Alan Modra <amodra@gmail.com>
41534         [BZ #15723]
41535         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
41536         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
41537         _dl_hwcap access for little-endian.
41538         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
41539         destroy vmx regs when saving unaligned.
41540         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
41541         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
41542         destroy vmx regs when saving unaligned.
41544 2013-10-04  Alan Modra  <amodra@gmail.com>
41546         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41547         Don't use a union to pack hi/low value.
41549 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41551         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41552         for little-endian.
41553         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41554         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41555         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41556         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41557         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41559 2013-10-04  Alan Modra  <amodra@gmail.com>
41561         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41562         constants to usual value for .cst8 section, and remove redundant
41563         high address load.
41564         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
41565         constant for 0x1p52.  Load little-endian words of double from
41566         correct stack offsets.
41568 2013-10-04  Alan Modra  <amodra@gmail.com>
41570         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
41571         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
41572         words of double from correct stack offsets.
41573         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41574         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
41575         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41576         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41577         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41578         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41579         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41580         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41581         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41582         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41583         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41584         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41585         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41586         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41587         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41588         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
41589         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41591 2013-10-04  Alan Modra  <amodra@gmail.com>
41593         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
41594         64-bit int/double union.
41595         (_FPU_SETCW): Likewise.
41596         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
41597         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
41599 2013-10-04  Alan Modra  <amodra@gmail.com>
41601         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
41602         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
41604 2013-10-04  Alan Modra  <amodra@gmail.com>
41606         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
41607         use vector int constants.
41608         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
41610 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41612         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
41613         array with long long.
41614         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
41615         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
41616         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
41617         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
41618         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
41619         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
41620         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
41621         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
41622         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
41623         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
41624         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
41625         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
41626         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
41628 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41630         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
41631         (__signbit): Likewise.  Correct for little-endian.
41632         (__signbitl): Call __signbit.
41633         (lrint): Correct for little-endian.
41634         (lrintf): Call lrint.
41636 2013-10-04  Alan Modra  <amodra@gmail.com>
41638         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
41639         union 32-bit int array member with 64-bit int array.
41640         (t515, tm256): Double rather than long double.
41641         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
41643 2013-10-04  Alan Modra  <amodra@gmail.com>
41645         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
41646         Delete.
41647         (IEEE854_LONG_DOUBLE_BIAS): Delete.
41648         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
41649         version of math_ldbl.h.
41651 2013-10-04  Alan Modra  <amodra@gmail.com>
41653         [BZ #15734], [BZ #15735]
41654         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
41655         all uses of ieee875 long double macros and unions.  Simplify test
41656         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
41657         ldbl_extract_mantissa value for ix,iy exponents.  Properly
41658         normalize after ldbl_extract_mantissa, and don't add hidden bit
41659         already handled.  Don't treat low word of ieee854 mantissa like
41660         low word of IBM long double and mask off bit when testing for
41661         zero.
41662         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
41663         all uses of ieee875 long double macros and unions.  Simplify tests
41664         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
41665         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
41666         two1022, instead use their values.  Recognise that tests for large
41667         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
41668         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
41669         Rewrite all uses of ieee875 long double macros and unions.  Simplify
41670         test for 0.0L and nan.  Correct negation.
41671         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
41672         ieee875 long double macros and unions.  Correct output for large
41673         magnitude x.  Correct absolute value calculation.
41674         (__erfcl): Likewise.
41675         * math/libm-test.inc: Add tests for errors discovered in IBM long
41676         double versions of fmodl, remainderl, erfl and erfcl.
41678 2013-10-04  Alan Modra  <amodra@gmail.com>
41680         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
41681         all uses of ieee854 long double macros and unions.  Simplify tests
41682         for long doubles that are fully specified by the high double.
41683         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
41684         Likewise.
41685         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
41686         Remove dead code too.
41687         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
41688         (__ieee754_ynl): Likewise.
41689         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
41690         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
41691         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
41692         Remove dead code too.
41693         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
41694         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
41695         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
41696         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
41697         Simplify.
41698         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
41699         Simplify.
41700         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
41701         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
41702         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
41703         Comment on variable precision.
41704         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
41705         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41706         Likewise.
41707         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
41708         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41709         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41710         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
41711         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
41713 2013-10-04  Alan Modra  <amodra@gmail.com>
41715         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
41716         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
41717         all uses of ieee854 long double macros and unions.
41718         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
41719         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41720         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
41721         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
41722         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
41723         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41724         Likewise.
41725         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
41726         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41727         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
41728         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41729         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
41730         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
41731         Simplify sign and nan test too.
41732         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
41733         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
41734         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
41735         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
41736         Likewise.
41737         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41738         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
41739         Likewise.
41740         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41741         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
41742         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
41743         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
41744         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
41745         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
41747 2013-10-04  Alan Modra  <amodra@gmail.com>
41749         * stdio-common/printf_size.c (__printf_size): Don't use
41750         union ieee854_long_double in fpnum union.
41751         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
41752         signbit macro to retrieve sign from long double.
41753         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
41754         retrieve sign from long double.
41755         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
41756         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
41757         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
41758         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41759         * math/test-misc.c (main): Don't use union ieee854_long_double.
41761 2013-10-04  Alan Modra  <amodra@gmail.com>
41763         [BZ #15680]
41764         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
41765         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
41766         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
41767         calculation.  Remove unnecessary test for denormal exponent.
41768         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
41769         Correct handling of denormals.  Avoid undefined shift behaviour.
41770         Correct normalisation of low mantissa when low double is denormal.
41771         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
41772         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
41773         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
41774         Correct normalisation of low mantissa.  Test for overflow of high
41775         mantissa and normalise.
41776         (ldbl_nearbyint): Use more readable constant for two52.
41777         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
41778         (__mpn_construct_long_double): Fix test for overflow of high
41779         mantissa and correct normalisation.  Avoid undefined shift.
41781 2013-10-04  Alan Modra  <amodra@gmail.com>
41783         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41784         (union ibm_extended_long_double): Define as an array of ieee754_double.
41785         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
41786         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
41787         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
41788         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41789         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41790         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
41791         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41792         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41793         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41794         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
41795         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41797 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
41799         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
41800         page size instead of calling getpagesize.
41802         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
41803         (LOCFILE_ALIGN_MASK): Likewise.
41804         (LOCFILE_ALIGN_UP): Likewise.
41805         (LOCFILE_ALIGNED_P): Likewise.
41806         * locale/programs/ld-collate.c (collate_output): Use the new
41807         macros instead of __alignof__ (int32_t).
41808         * locale/weight.h (findidx): Likewise.
41810 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
41812         [BZ #431]
41813         * manual/string.texi: Fix strncat and wcsncat.
41815 2013-10-03  Brooks Moses  <bmoses@google.com>
41817         [BZ #15915]
41818         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
41819         * Makerules: ...here, and adjust associated comments.
41821 2013-10-02  Will Newton  <will.newton@linaro.org>
41823         * malloc/Makefile: Add tst-pvalloc.
41824         * malloc/tst-pvalloc.c: New file.
41826 2013-10-02  Will Newton  <will.newton@linaro.org>
41828         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
41829         improve test coverage.
41831 2013-10-02  Will Newton  <will.newton@linaro.org>
41833         * malloc/Makefile: Add tst-posix_memalign.
41834         * malloc/tst-posix_memalign.c: New file.
41836 2013-10-01  Eric Blake  <eblake@redhat.com>
41838         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
41839         Use __THROWNL rather than __THROW on static functions.
41841 2013-09-30  Petr Machata  <pmachata@redhat.com>
41843         * elf/elf.h (R_AARCH64_ABS16): New macro.
41844         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
41845         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
41846         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
41847         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
41848         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
41849         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
41850         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
41851         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
41852         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
41853         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
41854         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
41855         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
41856         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
41857         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
41858         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
41859         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
41860         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
41861         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
41862         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
41863         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
41864         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
41865         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
41866         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
41867         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
41868         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
41869         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
41870         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
41871         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
41872         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
41873         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
41874         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
41875         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
41876         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
41877         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
41878         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
41879         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
41880         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
41881         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
41882         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
41883         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
41884         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
41885         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
41886         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
41887         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
41888         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
41889         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
41890         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
41891         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
41892         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
41893         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
41894         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
41895         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
41896         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
41897         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
41898         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
41899         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
41900         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
41901         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
41902         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
41903         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
41904         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
41905         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
41906         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
41907         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
41908         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
41909         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
41910         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
41911         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
41912         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
41913         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
41914         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
41915         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
41916         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
41917         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
41918         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
41919         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
41920         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
41921         (R_AARCH64_TLSDESC_LDR): Likewise.
41922         (R_AARCH64_TLSDESC_ADD): Likewise.
41923         (R_AARCH64_TLSDESC_CALL): Likewise.
41925 2013-09-30  Andreas Schwab  <schwab@suse.de>
41927         [BZ #15048]
41928         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
41929         the nss database lookup.
41930         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41933 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
41935         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
41937 2013-09-28  P. J. McDermott  <pj@pehjota.net>
41939         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
41940         ${Bash-specific parameter/pattern/string} parameter expansion.
41941         * sysdeps/unix/make-syscalls.sh: Likewise.
41943 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41945         * sysdeps/sh/stackguard-macros.h: New file.
41947 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
41949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
41951         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
41952         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
41953         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41954         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
41956 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41958         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
41959         Fix thread ID register.
41961 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
41963         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
41964         [POSIX || UNIX98]: Require rather than permitting all symbols from
41965         <time.h>.
41966         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
41967         element of struct sched_param.
41968         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
41969         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
41970         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
41971         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
41972         constant.
41974 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
41976         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
41977         argument calculation.
41979 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41981         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
41982         Expect macro.
41983         [POSIX] (pthread_attr_t): Do not require type.
41984         [POSIX] (pthread_cond_t): Likewise.
41985         [POSIX] (pthread_condattr_t): Likewise.
41986         [POSIX] (pthread_key_t): Likewise.
41987         [POSIX] (pthread_mutex_t): Likewise.
41988         [POSIX] (pthread_mutexattr_t): Likewise.
41989         [POSIX] (pthread_once_t): Likewise.
41990         [POSIX] (pthread_t): Likewise.
41991         [POSIX-based standards] (pthread_atfork): Expect function.
41993 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41994             Richard Sandiford  <richard@codesourcery.com>
41996         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
41997         (swap_endianness_p): New extern variable.
41998         (set_big_endian): New inline function.
41999         (maybe_swap_uint32): Likewise.
42000         (maybe_swap_uint32_array): Likewise.
42001         (maybe_swap_uint32_obstack): Likewise.
42002         * locale/programs/locfile.c: Include <stdbool.h>.
42003         (swap_endianness_p): New variable.
42004         (add_locale_uint32): Call maybe_swap_uint32.
42005         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
42006         (write_locale_data): Call maybe_swap_uint32_array.
42007         * locale/programs/ld-collate.c (obstack_int32_grow): Call
42008         maybe_swap_uint32.
42009         (obstack_int32_grow_fast): Likewise.
42010         (output_weightwc): Call maybe_swap_uint32_obstack.
42011         (collate_output): Likewise.
42012         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
42013         (OPT_LITTLE_ENDIAN): Likewise.
42014         (options): Add --little-endian and --big-endian options.
42015         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
42016         * locale/programs/locarchive.c: Include "locfile.h".
42017         (GET): New macro.
42018         (SET): Likewise.
42019         (INC): Likewise.
42020         (create_archive): Use the new macros to access fields of
42021         structures directly mapped from or written to locale archives.
42022         (oldlocrecentcmp): Likewise.
42023         (enlarge_archive): Likewise.
42024         (insert_name): Likewise.
42025         (add_alias): Likewise.
42026         (add_locale): Likewise.
42027         (delete_locales_from_archive): Likewise.
42028         (show_archive_content): Likewise.
42029         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
42030         locale data.
42032 2013-09-24  Roland McGrath  <roland@hack.frob.com>
42034         * manual/freemanuals.texi: Updated from (newly) canonical copy at
42035         http://www.gnu.org/doc/freemanuals.texi.
42036         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
42038 2013-09-24  Will Newton  <will.newton@linaro.org>
42040         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
42041         macro.
42043 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
42045         * locale/hashval.h (compute_hashval): Interpret bytes of key as
42046         unsigned char.
42048 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
42050         * manual/threads.texi (POSIX Threads): Fix a typo.
42052 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42054         [BZ #14547]
42055         * string/tst-strcoll-overflow.c: New test case.
42056         * string/Makefile (xtests): Add tst-strcoll-overflow.
42057         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
42058         cache if string sizes may cause integer overflow.
42060         [BZ #14547]
42061         * string/strcoll_l.c (coll_seq): New members rule, idx,
42062         save_idx and back_us.
42063         (get_next_seq_nocache): New function.
42064         (do_compare_nocache): New function.
42065         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
42066         when malloc fails.
42068 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
42070         [BZ #15754]
42071         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
42072         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
42073         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
42075         [BZ #15754]
42076         * elf/Makefile (tests): Add tst-ptrguard1.
42077         (tests-static): Add tst-ptrguard1-static.
42078         (tst-ptrguard1-ARGS): Define.
42079         (tst-ptrguard1-static-ARGS): Define.
42080         * elf/tst-ptrguard1.c: New file.
42081         * elf/tst-ptrguard1-static.c: New file.
42082         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
42083         * sysdeps/i386/stackguard-macros.h: Likewise.
42084         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42085         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42086         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42087         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42088         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42089         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42091 2013-09-23  Hector Marco  <hecmargi@upv.es>
42092             Ismael Ripoll  <iripoll@disca.upv.es>
42093             Carlos O'Donell  <carlos@redhat.com>
42095         [BZ #15754]
42096         * sysdeps/generic/stackguard-macros.h: Define
42097         __pointer_chk_guard_local and POINTER_CHK_GUARD.
42098         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
42099         Define __pointer_chk_guard_local.
42100         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
42101         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
42103 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
42105         [BZ #15859]
42106         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
42108 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
42110         * include/string.h (__ffs): Declare as hidden.
42111         * string/ffs.c (__ffs): Define as hidden.
42112         * sysdeps/i386/ffs.c (__ffs): Likewise.
42113         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42114         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
42115         * sysdeps/s390/ffs.c (__ffs): Likewise.
42116         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
42118 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
42120         * NEWS: Mention malloc probes.
42122         * malloc/arena.c (new_heap): New memory_heap_new probe.
42123         (grow_heap): New memory_heap_more probe.
42124         (shrink_heap): New memory_heap_less probe.
42125         (heap_trim): New memory_heap_free probe.
42126         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
42127         (systrim): New memory_sbrk_less probe.
42128         * manual/probes.texi: Document them.
42130         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
42131         * manual/probes.texi: Document it.
42133         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
42134         (__libc_realloc): Add memory_realloc_retry probe.
42135         (__libc_memalign): Add memory_memalign_retry probe.
42136         (__libc_valloc): Add memory_valloc_retry probe.
42137         (__libc_pvalloc): Add memory_pvalloc_retry probe.
42138         (__libc_calloc): Add memory_calloc_retry probe.
42139         * manual/probes.texi: Document them.
42141         * malloc/arena.c (get_free_list): Add probe
42142         memory_arena_reuse_free_list.
42143         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
42144         and memory_arena_reuse.
42145         (arena_get2) [!PER_THREAD]: Likewise.
42146         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
42147         memory_arena_reuse_realloc.
42148         * manual/probes.texi: Document them.
42150         * malloc/malloc.c (__libc_free): Add
42151         memory_mallopt_free_dyn_thresholds probe.
42152         (__libc_mallopt): Add multiple memory_mallopt probes.
42153         * manual/probes.texi: Document them.
42155         * malloc/malloc.c: Include stap-probe.h.
42156         (__libc_mallopt): Add memory_mallopt probe.
42157         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
42158         * manual/probes.texi: New.
42159         * manual/Makefile (chapters): Add probes.
42160         * manual/threads.texi: Set next node.
42162 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42164         [BZ #15963, #13985]
42165         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42166         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42167         Add `Chinese' to `nan' entry name.
42169 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42171         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42172         (POLYNOMIAL): Likewise.
42173         (TAYLOR_SINCOS): Likewise.
42174         (TAYLOR_SLOW): Likewise.
42175         (__sin): Use TAYLOR_SINCOS.
42176         (__cos): Likewise.
42177         (slow): Use TAYLOR_SLOW.
42178         (sloww): Likewise.
42179         (bsloww): Likewise.
42180         (csloww): Likewise.
42182 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42184         * stdlib/strtod_l.c: Fix buffer overrun.
42186 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42188         * benchtests/Makefile (bench): Add sincos.
42189         * benchtests/bench-sincos.c: New file.
42191         * math/libm-test.inc (cos_test_data): New test inputs.
42192         (sin_test_data): Likewise.
42194         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42195         macro.
42196         (__sin): Use it.
42197         (__cos): Likewise.
42198         (slow1): Likewise.
42199         (slow2): Likewise.
42200         (sloww1): Likewise.
42201         (sloww2): Likewise.
42202         (bsloww1): Likewise.
42203         (bsloww2): Likewise.
42204         (cslow2): Likewise.
42205         (csloww1): Likewise.
42206         (csloww2): Likewise.
42208         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42209         function.
42210         (__sin): Use it.
42211         (__cos): Likewise.
42213         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42214         gotos.
42215         (__cos): Likewise.
42217 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42219         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42220         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42221         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42222         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42223         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42224         * elf/cache.c (print_entry): Handle the new cache flags.
42226 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42227             Aldy Hernandez  <aldyh@redhat.com>
42229         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42230         Change condition to [_SOFT_FLOAT].
42231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42243         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42246         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42247         declaration.
42249 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42251         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42252         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42253         (__longjmp): Use LOAD_GP to load saved GPRs.
42254         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42255         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42256         (__sigsetjmp): Use SAVE_GP to save GPRs.
42258         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42259         Do not append -msoft-float.
42260         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42262 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42264         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42266 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42268         [BZ #15966]
42269         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42270         (_FPU_GETCW): Use initial "__" on variable and field names but not
42271         on macro parameter name.
42272         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42273         parentheses around reference to macro parameter.
42275 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42277         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42278         prototype.
42279         (ctype_startup): Use uint32_t in cast and sizeof for
42280         ctype->charnames.
42282 2013-09-11  Jia Liu  <proljc@gmail.com>
42284         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42285         __daddr_t_defined.
42286         [__FreeBSD__]: Likewise.
42288 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42290         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42291         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42292         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42293         (strchr): Remove __strchr_sse42 ifunc selection.
42294         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42295         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42297 2013-09-11  Will Newton  <will.newton@linaro.org>
42299         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42300         parameter to RES. Remove hardcoded 1000 value.
42301         * benchtests/bench-skeleton.c (main): Pass RES parameter
42302         to TIMING_INIT and multiply result by 1000.
42304 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42308 2013-09-11  Andreas Schwab  <schwab@suse.de>
42310         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42311         if not defined.
42312         (O_TMPFILE) [__USE_GNU]: Define.
42313         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42314         Define.
42316 2013-09-11  Will Newton  <will.newton@linaro.org>
42318         [BZ #15857]
42319         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42320         does not overflow.
42322 2013-09-11  Will Newton  <will.newton@linaro.org>
42324         [BZ #15856]
42325         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42326         does not overflow.
42328 2013-09-11  Will Newton  <will.newton@linaro.org>
42330         [BZ #15855]
42331         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42332         does not overflow.
42334 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42336         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42337         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42338         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42339         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42340         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42342 2013-09-10  Allan McRae  <allan@archlinux.org>
42344         [BZ #15748]
42345         * manual/arith.texi (Parsing of Floats): Clarify
42346         cross-reference.
42348         [BZ #15849]
42349         * manual/install.texi (Running make install): Mention
42350         --enable-pt-chown.
42351         * INSTALL: Regenerated.
42353 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42355         * csu/init-first.c (_init): Remove the !SHARED condition around
42356         FPU control word initialization.
42357         * elf/dl-support.c (_dl_fpu_control): New variable.
42358         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42359         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42360         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42361         * math/test-fpucw-static.c: New file.
42362         * math/test-fpucw-ieee.c: New file.
42363         * math/test-fpucw-ieee-static.c: New file.
42364         * math/Makefile (tests): Add `test-fpucw-ieee' and
42365         `$(tests-static)'.
42366         (tests-static): New variable.
42367         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42368         dependency to...
42369         [($(build-shared),yes)]
42370         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42371         ... this.
42372         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42373         New dependency.
42375 2013-09-09  Allan McRae  <allan@archlinux.org>
42377         [BZ #15939]
42378         * manual/string.texi (Collation Functions): Fix typo in
42379         strcoll example.
42380         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42382         [BZ #15893]
42383         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42385         [BZ #15892]
42386         * libio/memstream.c (open_memstream): Fix memory leak.
42387         * libio/wmemstream.c (open_wmemstream): Likewise.
42389         [BZ #15895]
42390         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42392 2013-09-09  Will Newton  <will.newton@linaro.org>
42394         * malloc/Makefile: Add tst-realloc to tests.
42395         * malloc/tst-realloc.c: New file.
42397 2013-09-09  Allan McRae  <allan@archlinux.org>
42399         [BZ #15844]
42400         * COPYING: Update from GNU website to fix FSF address.
42401         * COPYING.LIB: Likewise.
42403 2013-09-06  David S. Miller  <davem@davemloft.net>
42405         * po/zh_TW.po: Update Chinese (traditional) translation from
42406         translation project.
42408 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42409             Joseph Myers  <joseph@codesourcery.com>
42411         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42412         "localeinfo.h".
42413         (obstack_chunk_alloc): New macro.
42414         (obstack_chunk_free): Likewise.
42415         (record_offset): New function.
42416         (init_locale_data): Likewise.
42417         (align_locale_data): Likewise.
42418         (add_locale_empty): Likewise.
42419         (add_locale_raw_data): Likewise.
42420         (add_locale_raw_obstack): Likewise.
42421         (add_locale_string): Likewise.
42422         (add_locale_wstring): Likewise.
42423         (add_locale_uint32): Likewise.
42424         (add_locale_uint32_array): Likewise.
42425         (add_locale_char): Likewise.
42426         (start_locale_structure): Likewise.
42427         (end_locale_structure): Likewise.
42428         (start_locale_prelude): Likewise.
42429         (end_locale_prelude): Likewise.
42430         (write_locale_data): Take locale_file structure rather than an
42431         iovec.
42432         * locale/programs/locfile.h: Include "obstack.h".
42433         (struct locale_file): Change to store locale file contents instead
42434         of header.
42435         (init_locale_data): New prototype.
42436         (align_locale_data): Likewise.
42437         (add_locale_empty): Likewise.
42438         (add_locale_raw_data): Likewise.
42439         (add_locale_raw_obstack): Likewise.
42440         (add_locale_string): Likewise.
42441         (add_locale_wstring): Likewise.
42442         (add_locale_uint32): Likewise.
42443         (add_locale_uint32_array): Likewise.
42444         (add_locale_char): Likewise.
42445         (start_locale_structure): Likewise.
42446         (end_locale_structure): Likewise.
42447         (start_locale_prelude): Likewise.
42448         (end_locale_prelude): Likewise.
42449         (write_locale_data): Update prototype.
42450         * locale/programs/3level.h (struct TABLE): Remove result field.
42451         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42452         Use new locale_file interface.
42453         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42454         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42455         * locale/programs/ld-address.c (address_output): Use new
42456         locale_file interface.
42457         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42458         NO_ADD_LOCALE.
42459         (collate_finish): Don't call collseq_table_finalize.
42460         (collate_output): Use new locale_file interface.
42461         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42462         in file.
42463         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42464         (TABLE): Move defines earlier in file.
42465         (ELEMENT): Likewise.
42466         (DEFAULT): Likewise.
42467         (wctrans_table_add): Move macro and inline function earlier in
42468         file.
42469         (struct wctype_table): Move type earlier in file.
42470         (add_locale_wctype_table): New static prototype.
42471         (struct locale_ctype_t): Use logical types instead of struct iovec
42472         pointers for members.
42473         (ctype_output): Use new locale_file interface.
42474         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42475         new locale_file interface.
42476         (allocate_arrays): Update for use of new locale_file interface.
42477         * locale/programs/ld-identification.c (identification_output): Use
42478         new locale_file interface.
42479         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42480         * locale/programs/ld-messages.c (messages_output): Likewise.
42481         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42482         * locale/programs/ld-name.c (name_output): Likewise.
42483         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42484         * locale/programs/ld-paper.c (paper_output): Likewise.
42485         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42486         * locale/programs/ld-time.c (time_output): Likewise.
42488 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42490         * benchtests/Makefile: Add memrchr benchmark.
42491         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42492         benchmark as memrchr.
42493         * benchtests/bench-memrchr-ifunc.c: New file.
42494         * benchtests/bench-memrchr.c: New file.
42496 2013-09-06   Will Newton  <will.newton@linaro.org>
42498         * benchtests/Makefile (string-bench): Add memcpy.
42500 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42501             Cong Wang  <amwang@redhat.com>
42503         [BZ #15850]
42504         * sysdeps/unix/sysv/linux/bits/in.h
42505         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42506         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42507         before __USE_KERNEL_IPV6_DEFS uses.
42508         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42509         IPPROTO_BEETPH.
42510         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42511         sockaddr_in6, or ipv6_mreq.
42513 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42515         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42516         memory access for final bytes in some large inputs.
42517         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42519 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42521         * string/test-memrchr.c: New file.
42522         * string/test-memrchr-ifunc.c: New file.
42523         * string/Makefile: Add new memrchr testcase.
42525 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
42527         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
42528         fanotify_init returns EPERM.
42530 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42532         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
42533         errors.
42534         (top level): Treat second token from macro or constant entries for
42535         allowed headers as allowed.
42536         * include/complex.h: Condition internal declarations on
42537         [!_ISOMAC].
42538         * include/fenv.h: Condition include of <stdbool.h> and internal
42539         declarations on [!_ISOMAC].
42541 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42543         [BZ #15923]
42544         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42546 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42548         * configure.in (--enable-versioning): Remove configure option.
42549         (libc_cv_asm_symver_directive): Remove configure test.
42550         (libc_cv_ld_version_script_option): Likewise.
42551         (VERSIONING): Remove variable and AC_SUBST.
42552         (DO_VERSIONING): Remove AC_DEFINE.
42553         * configure: Regenerated.
42554         * config.h.in (DO_VERSIONING): Remove macro.
42555         * Makerules [$(versioning) = yes]: Change conditionals to
42556         [$(build-shared) = yes].
42557         * config.make.in (versioning): Remove variable.
42558         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42559         [$(build-shared) = yes].
42560         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42561         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42562         * elf/Makefile [$(versioning) = yes]: Change conditionals to
42563         [$(build-shared) = yes].
42564         * extra-lib.mk [$(versioning) = yes]: Likewise.
42565         * hurd/Makefile [$(versioning) = yes]: Likewise.
42566         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
42567         [SHARED].
42568         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
42569         [SHARED].
42570         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42571         [SHARED && !NO_HIDDEN].
42572         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
42573         [SHARED].
42574         [SHARED && DO_VERSIONING]: Likewise..
42575         * libio/Makefile [$(versioning) = yes]: Change conditionals to
42576         [$(build-shared) = yes].
42577         * manual/install.texi (--disable-versioning): Remove
42578         documentation.
42579         * INSTALL: Regenerated.
42580         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
42581         to [SHARED].
42582         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
42583         [$(build-shared) = yes].
42584         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
42585         * sysdeps/i386/i686/multiarch/strstr-c.c
42586         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42587         [SHARED && !NO_HIDDEN].
42588         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
42589         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
42590         * sysdeps/powerpc/powerpc32/dl-machine.c
42591         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
42592         * sysdeps/powerpc/powerpc32/sysdep.h
42593         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
42594         to [SHARED && PIC && !NO_HIDDEN].
42595         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
42596         conditional to [SHARED].
42598 2013-09-04   Will Newton  <will.newton@linaro.org>
42600         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
42601         * benchtests/bench-string.h: Include bench-timing.h instead
42602         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
42603         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
42604         call to HP_TIMING_DIFF_INIT.
42605         * benchtests/bench-memccpy.c: Use bench-timing.h macros
42606         instead of hp-timing.h macros.
42607         * benchtests/bench-memchr.c: Likewise.
42608         * benchtests/bench-memcmp.c: Likewise.
42609         * benchtests/bench-memcpy.c: Likewise.
42610         * benchtests/bench-memmem.c: Likewise.
42611         * benchtests/bench-memmove.c: Likewise.
42612         * benchtests/bench-memset.c: Likewise.
42613         * benchtests/bench-rawmemchr.c: Likewise.
42614         * benchtests/bench-strcasecmp.c: Likewise.
42615         * benchtests/bench-strcasestr.c: Likewise.
42616         * benchtests/bench-strcat.c: Likewise.
42617         * benchtests/bench-strchr.c: Likewise.
42618         * benchtests/bench-strcmp.c: Likewise.
42619         * benchtests/bench-strcpy.c: Likewise.
42620         * benchtests/bench-strcpy_chk.c: Likewise.
42621         * benchtests/bench-strlen.c: Likewise.
42622         * benchtests/bench-strncasecmp.c: Likewise.
42623         * benchtests/bench-strncat.c: Likewise.
42624         * benchtests/bench-strncmp.c: Likewise.
42625         * benchtests/bench-strncpy.c: Likewise.
42626         * benchtests/bench-strnlen.c: Likewise.
42627         * benchtests/bench-strpbrk.c: Likewise.
42628         * benchtests/bench-strrchr.c: Likewise.
42629         * benchtests/bench-strspn.c: Likewise.
42630         * benchtests/bench-strstr.c: Likewise.
42632 2013-09-04  Will Newton  <will.newton@linaro.org>
42634         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
42636 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
42638         [BZ #15427]
42639         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
42640         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
42641         * math/libm-test.inc (lgamma_test_data): Add more tests.
42642         * sysdeps/i386/fpu/libm-test-ulps: Update.
42643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42645 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
42647         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
42648         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42649         Add ifunc.
42650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42651         Add strcmp-sse2-unaligned
42652         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
42654 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42656         * Versions.def (libc): Add GLIBC_2.19.
42658 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42660         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
42661         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
42663 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
42665         [BZ #14155]
42666         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
42667         intermediate calculations in recurrence.
42668         (__ieee754_ynf): Likewise.
42669         * math/libm-test.inc (jn_test_data): Do not allow spurious
42670         underflow exception.  Add more tests.
42671         (yn_test_data): Add more tests.
42672         * sysdeps/i386/fpu/libm-test-ulps: Update.
42673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42675 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
42677         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
42679 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42681         * csu/init-first.c: Fix then/than typos.
42682         * locale/programs/ld-collate.c: Likewise.
42683         * locale/programs/linereader.h: Likewise.
42684         * manual/charset.texi: Likewise.
42685         * manual/filesys.texi: Likewise.
42686         * manual/stdio.texi: Likewise.
42687         * manual/string.texi: Likewise.
42688         * stdlib/fmtmsg.c: Likewise.
42689         * sysdeps/i386/stpncpy.S: Likewise.
42690         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42691         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42692         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42693         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42695 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42697         * elf/dl-open.c: Fix typos.
42698         * iconvdata/gbbig5.c: Likewise.
42699         * iconvdata/iso-2022-jp.c: Likewise.
42700         * iconv/gconv_int.h: Likewise.
42701         * iconv/loop.c: Likewise.
42702         * nis/rpcsvc/nis.h: Likewise.
42703         * resolv/ns_name.c: Likewise.
42704         * stdio-common/vfscanf.c: Likewise.
42705         * streams/stropts.h: Likewise.
42706         * sunrpc/rpc_thread.c: Likewise.
42707         * sysdeps/i386/strpbrk.S: Likewise.
42708         * sysdeps/ieee754/k_standard.c: Likewise.
42709         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42710         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42711         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
42712         * sysdeps/mach/hurd/profil.c: Likewise.
42713         * sysdeps/s390/dl-procinfo.h: Likewise.
42714         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
42715         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42716         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
42717         * sysdeps/x86_64/dl-trampoline.S: Likewise.
42718         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42720 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
42722         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
42723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
42725 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
42727         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
42728         aix specific files.
42729         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
42730         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
42731         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
42732         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
42733         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
42734         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
42735         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
42736         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
42738 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42739             Roland McGrath  <roland@hack.frob.com>
42741         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
42742         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
42744 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42746         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
42747         __executable_start symbol instead of _start.
42749 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42751         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
42752         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
42753         Move macros to...
42754         * sysdeps/gnu/ldsodefs.h: ... this new file.
42756         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
42757         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
42758         instead of ELFOSABI_LINUX.
42760         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
42761         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
42762         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
42763         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
42764         Likewise.
42765         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
42766         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
42767         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
42768         Likewise.
42769         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42770         (ibm_extended_long_double): Add ieee_nan member.
42771         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
42772         (do_test): New function.
42774         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
42775         TEST_TRUNC.
42776         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
42777         functions, renamed from truncdfsf_test, trunctfsf_test,
42778         trunctfdf_test.
42779         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
42780         functions.
42781         (do_test): Run all these.
42783 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
42785         * argp/argp-help.c: Fix typos.
42786         * argp/argp-parse.c: Likewise.
42787         * debug/backtracesyms.c: Likewise.
42788         * elf/elf.h: Likewise.
42789         * malloc/malloc.c: Likewise.
42790         * nis/nis_print.c: Likewise.
42791         * resolv/res_comp.c: Likewise.
42792         * stdlib/stdlib.h: Likewise.
42793         * sunrpc/clnt_tcp.c: Likewise.
42794         * sunrpc/clnt_udp.c: Likewise.
42795         * sunrpc/clnt_unix.c: Likewise.
42796         * sysdeps/unix/bsd/ptsname.c: Likewise.
42797         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42798         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
42799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
42800         Likewise.
42801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
42802         Likewise.
42803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
42804         Likewise.
42805         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42807 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42809         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
42810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42812 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
42814         [BZ #15897]
42815         * dlfcn/Makefile (tests): Add bug-dl-leaf.
42816         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
42817         ($(objpfx)bug-dl-leaf): New rule.
42818         ($(objpfx)bug-dl-leaf.so): Likewise.
42819         ($(objpfx)bug-dl-leaf.out): Likewise.
42820         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
42821         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
42822         * dlfcn/bug-dl-leaf.c: New test.
42823         * dlfcn/bug-dl-leaf-lib.c: Likewise.
42824         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
42825         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
42826         (dlclose): Likewise.
42827         (dlmopen): Likewise.
42829 2013-08-27  Roland McGrath  <roland@hack.frob.com>
42831         * include/netdb.h [!_ISOMAC]:
42832         Don't include <tls.h>.
42833         (h_errno, __libc_h_errno): Move declaration and macros out of
42834         [_LIBC_REENTRANT].
42836         * include/resolv.h [_RESOLV_H_]:
42837         Don't include <tls.h>.
42838         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
42839         * resolv/res_libc.c: Don't include <tls.h>.
42840         (_res): Use __attribute__ ((nocommon)) in place of
42841         __attribute__ ((section (".bss"))).
42843         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
42844         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
42846         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
42848         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
42849         only under [SIOCGIFCONF && SIOCGIFNETMASK].
42851         * resolv/res_mkquery.c: Include <sys/time.h>.
42853         * inet/ifreq.c: Moved to ...
42854         * sysdeps/unix/ifreq.c: ... here.
42855         * inet/ifreq.c: New file, true stub version.
42857         * socket/sa_len.c: New file.
42858         * socket/Makefile (aux): Add it.
42859         * sysdeps/unix/sysv/linux/Makefile
42860         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
42861         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
42862         and #include <socket/sa_len.c>.
42863         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
42864         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
42866         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
42867         * bits/socket.h: ... here.
42869         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
42870         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
42871         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
42873 2013-08-27  Andreas Schwab  <schwab@suse.de>
42875         [BZ #15736]
42876         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
42877         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
42878         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
42879         * string/test-strcasecmp.c (test_main): Run tests in several
42880         locales.
42881         * string/test-strncasecmp.c (test_main): Likewise.
42883         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
42884         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
42885         to __strcasecmp_nonascii and __strncasecmp_nonascii.
42886         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
42887         (__strncasecmp_ssse3) [PIC]: Likewise.
42889 2013-08-26  Roland McGrath  <roland@hack.frob.com>
42891         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
42893         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
42894         instead of explicitly declaring xdecrypt.
42895         * nis/nss_nis/nis-publickey.c: Likewise.
42897 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42899         [BZ #15890]
42900         * nscd/aicache.c: Include res_hconf.h.
42901         (addhstaiX): Initialize res_hconf.
42903 2013-08-26  Andreas Schwab  <schwab@suse.de>
42905         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
42906         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
42908 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42910         * nscd/aicache.c (addhstaiX): Fix indentation.
42912 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
42914         * configure.ac: Quote $build_pt_chown test.
42915         * configure: Regenerated.
42917 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
42919         [BZ #15532]
42920         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
42921         * math/s_cexpf.c (__cexpf): Likewise.
42922         * math/s_cexpl.c (__cexpl): Likewise.
42923         * math/libm-test.inc (cexp_test_data): Correct expected return
42924         value for NaN + i0.  Add another test.
42926 2013-08-22  David S. Miller  <davem@davemloft.net>
42928         * po/ca.po: Update Catalan translation from translation project.
42929         * po/uk.po: Add Ukrainian translations from translation project.
42931 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
42933         [BZ #15797]
42934         * math/s_fdim.c (__fdim): Check for infinite arguments if result
42935         is infinite, not alongside NaN test.
42936         * math/s_fdimf.c (__fdimf): Likewise.
42937         * math/s_fdiml.c (__fdiml): Likewise.
42938         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
42939         errno is unchanged.
42941 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
42943         * argp/argp-help.c: Fix typos.
42944         * crypt/speeds.c: Likewise.
42945         * csu/check_fds.c: Likewise.
42946         * elf/dl-load.c: Likewise.
42947         * elf/dl-open.c: Likewise.
42948         * elf/reldep3.c: Likewise.
42949         * elf/reldep.c: Likewise.
42950         * elf/sprof.c: Likewise.
42951         * iconv/iconv_charmap.c: Likewise.
42952         * iconv/skeleton.c: Likewise.
42953         * iconv/strtab.c: Likewise.
42954         * io/lockf64.c: Likewise.
42955         * libio/libioP.h: Likewise.
42956         * resolv/gai_notify.c: Likewise.
42957         * resolv/ns_name.c: Likewise.
42958         * resolv/ns_samedomain.c: Likewise.
42959         * resolv/res_send.c: Likewise.
42960         * stdlib/random.c: Likewise.
42961         * sunrpc/rpc/xdr.h: Likewise.
42962         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
42963         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42964         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42965         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42966         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42967         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42968         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42969         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42970         * sysdeps/mach/hurd/check_fds.c: Likewise.
42971         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42972         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42973         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42974         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42975         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42976         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42977         * sysdeps/pthread/aio_notify.c: Likewise.
42978         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
42979         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
42980         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
42981         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42982         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42984 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42986         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
42987         version if bit_Slow_SSE4_2 is set.
42988         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42989         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42991 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42993         [BZ #15867]
42994         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
42995         trampoline stack frame information.
42996         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
42997         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
42998         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
42999         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
43000         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
43001         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43002         (_libc_vdso_platform_setup): Initialize the signal trampolines.
43003         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
43004         sa_flags value.
43005         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
43006         interrupting a syscall and set with option SA_SIGINFO.
43008 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43010         [BZ #15531]
43011         * math/s_cproj.c (__cproj): Only return an infinity if one part of
43012         argument is infinite.
43013         * math/s_cprojf.c (__cprojf): Likewise.
43014         * math/s_cprojl.c (__cprojl): Likewise.
43015         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
43016         * math/libm-test.inc (cproj_test_data): Add more tests.
43018         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
43020         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
43021         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
43022         size.  Use __ffs to determine corresponding shift.
43024 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43025             Roland McGrath  <roland@hack.frob.com>
43027         * Makefile (INSTALL): Remove trailing blank lines from output of
43028         makeinfo.
43030 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43032         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
43033         Align 32 bit compat elf_greg to 8 bytes.
43035 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
43037         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
43039 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43041         * string/strcoll_l.c (coll_seq): New structure.
43042         (get_next_seq_cached): New function.
43043         (get_next_seq): New function.
43044         (do_compare): New function.
43045         (STRCOLL): Use GNU style definition.  Simplify implementation
43046         by using get_next_seq, get_next_seq_cached and do_compare.
43048 2013-08-16  Florian Weimer  <fweimer@redhat.com>
43050         [BZ #14699]
43051         CVE-2013-4237
43052         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
43053         member.
43054         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
43055         member.
43056         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
43057         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
43058         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
43059         conditional.
43060         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
43061         GETDENTS_64BIT_ALIGNED.
43062         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43063         * manual/filesys.texi (Reading/Closing Directory): Document
43064         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
43065         strongly.
43066         * manual/conf.texi (Limits for Files): Add portability note to
43067         NAME_MAX, PATH_MAX.
43068         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
43070 2013-08-13  Andreas Schwab  <schwab@suse.de>
43072         [BZ #15749]
43073         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
43074         of fabs.
43075         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
43076         LDBL_MAX_EXP >= 16384]: Add tests for it.
43078 2013-08-12  David S. Miller  <davem@davemloft.net>
43080         * version.h (RELEASE): Set to "development".
43081         (VERSION): Set to "2.18.90".
43082         * NEWS: Add 2.19 section.
43084 2013-08-03  David S. Miller  <davem@davemloft.net>
43086         * po/ko.po: Update Korean translation from translation project.
43088 2013-08-01  David S. Miller  <davem@davemloft.net>
43090         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
43091         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
43092         Bilka.
43094 2013-07-30  David S. Miller  <davem@davemloft.net>
43096         * po/fr.po: Update French translation from translation project.
43098 2013-07-28  David S. Miller  <davem@davemloft.net>
43100         * po/cs.po: Update Czech translation from translation project.
43102         * po/sv.po: Update Swedish translation from translation project.
43104 2013-07-27  David S. Miller  <davem@davemloft.net>
43106         * po/eo.po: Update Esperanto translation from translation project.
43108         * po/vi.po: Update Vietnamese translation from translation project.
43110         * po/de.po: Update German translation from translation project.
43112 2013-07-26  David S. Miller  <davem@davemloft.net>
43114         * po/bg.po: Update Bulgarian translation from translation project.
43116         * po/nl.po: Update Dutch translation from translation project.
43117         * po/pl.po: Update Polish translation from translation project.
43118         * po/ru.po: Update Russian translation from translation project.
43120 2013-07-24  David S. Miller  <davem@davemloft.net>
43122         * po/libc.pot: Update.
43124 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43126         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
43127         variable page size.
43128         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
43129         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43130         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
43132 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43134         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
43136 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43137             Andreas Schwab  <schwab@suse.de>
43138             Roland McGrath  <roland@hack.frob.com>
43139             Joseph Myers  <joseph@codesourcery.com>
43140             Carlos O'Donell  <carlos@redhat.com>
43142         [BZ #15755]
43143         * config.h.in: Define HAVE_PT_CHOWN.
43144         * config.make.in (build-pt-chown): New variable.
43145         * configure.in (--enable-pt_chown): New configure option.
43146         * configure: Regenerate.
43147         * login/Makefile: Include Makeconfig.  Build pt_chown only if
43148         build-pt-chown is enabled.
43149         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
43150         pt_chown to fix pty ownership.
43151         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
43152         CLOSE_ALL_FDS.
43153         * manual/install.texi (Configuring and compiling): Mention
43154         --enable-pt_chown. Add @findex for grantpt.
43155         * INSTALL: Regenerate.
43157 2013-07-20  David S. Miller  <davem@davemloft.net>
43159         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43160         difference between 32-bit and 64-bit.
43162 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43164         [BZ #15711]
43165         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43166         Avoid system header dependency with -ffreestanding.
43167         ($(objpfx)bits/syscall%d): Likewise.
43169 2013-07-13  David S. Miller  <davem@davemloft.net>
43171         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43172         underflows from atanl/atan2l due to bug 15319.
43173         (casinh_test_data): Likewise.
43175 2013-07-07  David S. Miller  <davem@davemloft.net>
43177         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43179 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43181         * sysdeps/i386/fpu/libm-test-ulps: Update.
43182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43184 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43186         * configure.in (--enable-lock-elision): Fix message text.
43187         * INSTALL: Regenerate.
43188         * configure: Regenerate.
43190 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43194 2013-07-03  Andreas Jaeger  <aj@suse.de>
43196         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43197         define.
43198         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43199         (ptrace_peeksiginfo_args): Add.
43200         (__ptrace_peeksiginfo_flags): Add.
43201         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43202         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43203         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43205 2013-07-03  Allan McRae  <allan@archlinux.org>
43207         * sysdeps/i386/fpu/libm-test-ulps: Update.
43209 2013-07-02  David S. Miller  <davem@davemloft.net>
43211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43213 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43215         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43217 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43219         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43222 2013-07-02  Andi Kleen <ak@linux.intel.com>
43224         * config.h.in (ENABLE_LOCK_ELISION): Add.
43225         * configure.in (--enable-lock-elision): Add option.
43226         * manual/install.texi: Document --enable lock elision.
43227         * configure: Regenerate
43228         * INSTALL: Regenerate.
43230 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43232         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43233         SSE4.2 strcasecmp for libc.a.
43234         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43236 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43238         [BZ #13304]
43239         * soft-fp/op-common.h (_FP_FMA): New macro.
43240         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43241         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43242         (_FP_MUL_MEAT_1_imm): ... here.
43243         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43244         (_FP_MUL_MEAT_1_wide): ... here.
43245         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43246         (_FP_MUL_MEAT_1_hard): ... here.
43247         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43248         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43249         (_FP_MUL_MEAT_2_wide): ... here.
43250         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43251         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43252         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43253         (_FP_MUL_MEAT_2_gmp): ... here.
43254         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43255         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43256         (_FP_MUL_MEAT_4_wide): ... here.
43257         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43258         (_FP_MUL_MEAT_4_gmp): ... here.
43259         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43260         (_FP_WFRACBITS_DW_S): Likewise.
43261         (_FP_WFRACXBITS_DW_S): Likewise.
43262         (_FP_HIGHBIT_DW_S): Likewise.
43263         (FP_FMA_S): Likewise.
43264         (_FP_FRAC_HIGH_DW_S): Likewise.
43265         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43266         (_FP_WFRACBITS_DW_D): Likewise.
43267         (_FP_WFRACXBITS_DW_D): Likewise.
43268         (_FP_HIGHBIT_DW_D): Likewise.
43269         (FP_FMA_D): Likewise.
43270         (_FP_FRAC_HIGH_DW_D): Likewise.
43271         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43272         (_FP_WFRACBITS_DW_E): Likewise.
43273         (_FP_WFRACXBITS_DW_E): Likewise.
43274         (_FP_HIGHBIT_DW_E): Likewise.
43275         (FP_FMA_E): Likewise.
43276         (_FP_FRAC_HIGH_DW_E): Likewise.
43277         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43278         (_FP_WFRACBITS_DW_Q): Likewise.
43279         (_FP_WFRACXBITS_DW_Q): Likewise.
43280         (_FP_HIGHBIT_DW_Q): Likewise.
43281         (FP_FMA_Q): Likewise.
43282         (_FP_FRAC_HIGH_DW_Q): Likewise.
43283         * soft-fp/fmasf4.c: New file.
43284         * soft-fp/fmadf4.c: Likewise.
43285         * soft-fp/fmatf4.c: Likewise.
43287 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43290         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43291         Silvermont.
43292         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43293         macro.
43294         (index_Slow_SSE4_2): Likewise.
43295         (index_Prefer_PMINUB_for_stringop): Likewise.
43296         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43297         bit_Slow_SSE4_2 is set.
43298         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43299         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43301 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43303         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43304         rtld_global._dl_hwcap2.
43305         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43306         POWER8.
43307         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43308         POWER8 feature descriptions defined in _dl_hwcap2.
43309         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43310         string handling for POWER8 feature bits.
43311         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43312         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43313         _dl_powerpc_cap_flags.
43314         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43315         * sysdeps/powerpc/rtld-global-offsets.sym
43316         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43317         _dl_hwcap2 in the rtld_global_ro structure.
43319 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43321         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43322         hardware capabilities in support of AT_HWCAP2.
43323         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43324         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43325         GLRO(dl_hwcap2).
43326         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43327         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43328         explicitly the unknown a_type display mechanism is used.
43329         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43330         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43331         struct member.
43332         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43333         to macro prototype for AT_HWCAP2 support.
43334         * sysdeps/i386/dl-procinfo.h: Likewise.
43335         * sysdeps/s390/dl-procinfo.h: Likewise.
43336         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43337         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43338         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43339         return -1 for unknown a_type display fallback.
43340         * sysdeps/sparc/dl-procinfo.h: Likewise.
43341         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43342         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43344 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43346         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43347         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43349 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43351         [BZ #12492]
43352         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43353         mprotect making __stack_prot writable.
43355 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43356             Joseph Myers  <joseph@codesourcery.com>
43358         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43359         as being properly aligned.
43361 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43363         * dlfcn/modstatic5.c: New file.
43364         * dlfcn/tststatic5.c: New file.
43365         * dlfcn/Makefile (tests): Add tststatic5.
43366         (tests-static): Likewise.
43367         (modules-names): Add modstatic5.
43368         (tststatic5-ENV): New variable.
43369         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43371         [BZ #15022]
43372         * elf/dl-support.c (_dl_main_map): New variable.
43373         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43374         (_dl_nns, _dl_load_adds): Set to 1.
43375         (_dl_initial_searchlist): Refer to _dl_main_map.
43376         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43377         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43378         call to _dl_get_origin.
43379         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43380         around call_map.
43381         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43382         * dlfcn/modstatic3.c: New file.
43383         * dlfcn/tststatic3.c: New file.
43384         * dlfcn/tststatic4.c: New file.
43385         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43386         (tests-static): Likewise.
43387         (modules-names): Add modstatic3.
43388         (tststatic3-ENV, tststatic4-ENV): New variables.
43389         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43390         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43392 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43394         * configure.in (CC): Require GCC version 4.4 or later.
43395         * configure: Regenerated.
43396         * manual/install.texi (Tools for Compilation): Update GCC version
43397         requirement.
43398         * INSTALL: Regenerated.
43400 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43402         [BZ #15674]
43403         * string/test-memcmp.c (check2): New.
43404         (main): Call check2.
43406         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43408 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43410         [BZ #15022]
43411         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43412         over to...
43413         (dl_open_worker) [!SHARED]: ... here.
43415 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43417         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43419 2013-06-25  Richard Henderson  <rth@redhat.com>
43421         * locale/programs/locarchive.c: Include <libc-internal.h>
43423 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43425         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43426         trailing whitespace removed.
43428 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43430         [BZ #10283]
43431         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43432         * locale/programs/locarchive.c: Include libc-mmap.h.
43433         (prepare_address_space): Take two new outputs (the mmap base and len).
43434         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43435         values.
43436         (create_archive): Declare new mmap base and len values for
43437         prepare_address_space, and store the result in ah.
43438         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43439         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43440         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43441         Declare new mmap base and len values for
43442         prepare_address_space, and store the result in new_ah.
43443         (open_archive): Declare new mmap base and len values for
43444         prepare_address_space, and store the result in ah.
43445         (close_archive): If ah->mmap_base is not NULL, use that and
43446         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43447         * sysdeps/generic/libc-mmap.h: New file.
43449 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43451         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43452         (ALIGN_UP): Likewise.
43453         (PTR_ALIGN_DOWN): Likewise.
43454         (PTR_ALIGN_UP): Likewise.
43456 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43458         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43459         entry mapped to PPC_PLATFORM_POWER8.
43460         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43461         POWER8.
43462         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43463         (_dl_string_platform): Add case for exporting platform position for
43464         POWER8.
43465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43466         search path to sysdeps/powerpc/powerpc32/power8 directory.
43467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43468         search path to sysdeps/powerpc/powerpc64/power8 directory.
43469         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43470         power7 directories.
43471         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43472         power7 directories.
43474 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43476         * INSTALL: Regenerate.
43478         * nscd/connections.c (nscd_init): Fix comment.
43480 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43482         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43484         [BZ #15667]
43485         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43486         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43488 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43490         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43491         DL_DST_REQ_STATIC.
43492         (DL_DST_REQ_STATIC): Remove macro.
43494 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43496         [BZ #7006]
43497         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43498         with a shift of 0 bits.
43500 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43502         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43503         $(tststatic-ENV).
43505 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43507         [BZ #15655]
43508         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43510 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43512         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43513         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43514         accepts -fno-tree-loop-distribute-patterns.
43515         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43516         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43517         recursive call.
43518         * string/memset.c (memset): Likewise.
43519         * string/test-memmove.c (simple_memmove): Disable loop transformation
43520         to library calls.
43521         * string/test-memset.c (simple_memset): Likewise.
43522         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43523         * benchtests/bench-memset.c (simple_memset): Likewise.
43524         * configure: Regenerated.
43526 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
43528         * math/test-misc.c (main): Ignore fesetround failure when failures
43529         of subsequent rounding tests would be ignored.
43531         [BZ #15654]
43532         * math/fedisblxcpt.c (fedisableexcept): Return 0.
43533         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
43534         * math/fegetenv.c (__fegetenv): Return 0.
43535         * math/fegetexcept.c (fegetexcept): Return 0.
43536         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
43537         FE_TONEAREST.
43538         * math/feholdexcpt.c (feholdexcept): Return 0.
43539         * math/fesetenv.c (__fesetenv): Return 0.
43540         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
43541         argument FE_TONEAREST.
43542         * math/feupdateenv.c (__feupdateenv): Return 0.
43543         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43545 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43547         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43548         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43549         ($(objpfx)rtld-%.os rules): Use them.
43551 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43553         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43554         fields.
43556 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43558         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43559         length of target pattern, then descending length of dependency pattern.
43560         * configure.in (AWK): Require gawk 3.1.2 or newer.
43561         * manual/install.texi (Tools for Compilation): Say that we do.
43562         * configure: Regenerated.
43564         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
43565         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
43566         * scripts/sysd-rules.awk: ... this new script.
43567         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
43568         than a glob-style pattern.
43570 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
43572         * math/test-misc.c (main): Do not treat incorrectly rounded
43573         conversions as failure unless ROUNDING_TESTS passes.
43575 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
43577         [BZ #15631]
43578         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
43579         restore exception state around main square root computation, then
43580         check for inexactness explicitly.
43582         * math/libm-test.inc (fma_test_data): Add another test.
43584 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43586         * manual/threads.texi (Non-POSIX Extensions): New document
43587         node.  Document pthread_getattr_default_np and
43588         pthread_setattr_default_np.
43590         * Versions.def (libpthread): Add GLIBC_2.18.
43591         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
43592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43593         Likewise.
43594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43595         Likewise.
43596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43597         Likewise.
43598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43599         Likewise.
43600         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
43601         Likewise.
43602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43603         Likewise.
43604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43605         Likewise.
43606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43607         Likewise.
43608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43609         Likewise.
43611 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43614         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
43616 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43617             H.J. Lu  <hjl.tools@gmail.com>
43619         [BZ #15627]
43620         * sysdeps/x86_64/rtld-memset.c: Remove file.
43621         * sysdeps/x86_64/rtld-memset.S: New file.
43623 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
43625         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
43626         (test_in_one_mode): Take arguments for whether the rounding mode
43627         is supported for each floating-point type.
43628         (do_test): Pass new arguments to test_in_one_mode using
43629         ROUNDING_TESTS.
43631 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43633         * posix/tst-waitid.c (do_test): Distinguish different instances of
43634         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
43635         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
43636         before entering the kernel for waitpid.
43638 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43640         * NEWS: Fix note on clock function precision.  Text by Roland
43641         McGrath.
43643 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43645         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
43646         it into place only when and if the sanity check passes.
43648 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
43650         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
43651         output for whether conversion result is exact.  Take argument
43652         indicating whether type is IBM long double.
43653         (round_for_all): Change need_exact field to ibm_ld.
43654         * stdlib/tst-strtod-round.c (struct exactness): New type.
43655         (struct test): Change bool ld_ok field to struct exactness exact.
43656         (TEST): Update all definitions for change to field.
43657         (tests): Regenerate array contents.
43658         (test_in_one_mode): Take pointer to new field instead of old ld_ok
43659         field value.  Check for IBM long double here.
43660         (do_test): Update calls to test_in_one_mode.
43662 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43664         [BZ #12515]
43665         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
43666         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
43668 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43670         [BZ #15605]
43671         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
43672         generated by the compiler on loop optimizations.
43673         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
43674         general definitions.
43676 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
43678         * math/bug-nextafter.c: Include <math-tests.h>.
43679         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43680         the relevant type.
43681         * math/bug-nexttoward.c: Include <math-tests.h>.
43682         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43683         the relevant type.
43684         * math/test-misc.c: Include <math-tests.h>.
43685         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43686         the relevant type.
43688 2013-06-12  Andreas Jaeger  <aj@suse.de>
43690         * po/ia.po: Update Interlingua translation from translation
43691         project.
43693 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43695         * include/fenv.h: Include stdbool.h.
43696         (struct rm_ctx): New structure.
43697         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
43698         Define macro.
43699         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
43700         (SET_RESTORE_ROUNDF): Likewise.
43701         (SET_RESTORE_ROUNDL): Likewise.
43702         (SET_RESTORE_ROUND_NOEX): Likewise.
43703         (SET_RESTORE_ROUND_NOEXF): Likewise.
43704         (SET_RESTORE_ROUND_NOEXL): Likewise.
43705         (SET_RESTORE_ROUND_53BIT): Likewise.
43706         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
43707         (libc_feresetround_noexf_ctx): Likewise.
43708         (libc_feresetround_noexl_ctx): Likewise.
43709         (libc_feholdsetround_53bit_ctx): Likewise.
43710         (libc_feresetround_53bit_ctx): Likewise.
43711         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
43712         (libc_feholdexcept_setround_sse_ctx): New function.
43713         (libc_fesetenv_sse_ctx): Likewise.
43714         (libc_feupdateenv_sse_ctx): Likewise.
43715         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
43716         (libc_feholdexcept_setround_387_ctx): Likewise.
43717         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
43718         (libc_feholdsetround_387_prec_ctx): Likewise.
43719         (libc_feholdsetround_387_ctx): Likewise.
43720         (libc_feholdsetround_387_53bit_ctx): Likewise.
43721         (libc_feholdsetround_sse_ctx): Likewise.
43722         (libc_feresetround_sse_ctx): Likewise.
43723         (libc_feresetround_387_ctx): Likewise.
43724         (libc_feupdateenv_387_ctx): Likewise.
43725         (libc_feholdexcept_setroundf_ctx): Define macro.
43726         (libc_fesetenvf_ctx): Likewise.
43727         (libc_feupdateenvf_ctx): Likewise.
43728         (libc_feholdsetroundf_ctx): Likewise.
43729         (libc_feresetroundf_ctx): Likewise.
43730         (libc_feholdexcept_setround_ctx): Likewise.
43731         (libc_fesetenv_ctx): Likewise.
43732         (libc_feupdateenv_ctx): Likewise.
43733         (libc_feholdsetround_ctx): Likewise.
43734         (libc_feresetround_ctx): Likewise.
43735         (libc_feholdexcept_setroundl_ctx): Likewise.
43736         (libc_feupdateenvl_ctx): Likewise.
43737         (libc_feholdsetroundl_ctx): Likewise.
43738         (libc_feresetroundl_ctx): Likewise.
43739         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
43740         (libc_feresetround_53bit_ctx): Likewise.
43742 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43744         * locale/iso-639.def: Convert to UTF-8.
43746 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
43748         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
43749         (EXCEPTION_TESTS_double): Likewise.
43750         (EXCEPTION_TESTS_long_double): Likewise.
43751         (EXCEPTION_TESTS): Likewise.
43752         * math/libm-test.inc (test_exceptions): Only test exceptions if
43753         EXCEPTION_TESTS (FLOAT).
43755 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43757         * benchtests/Makefile (string-bench): Add strcpy_chk and
43758         stpcpy_chk.
43759         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
43760         * benchtests/bench-stpcpy_chk.c: New file.
43761         * benchtests/bench-strcpy_chk-ifunc.c: New file.
43762         * benchtests/bench-strcpy_chk.c: New file.
43763         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
43764         code.
43765         (do_test): Likewise.
43767 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43769         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
43770         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
43771         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
43772         with tabs where appropriate.
43773         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
43774         dl-procinfo.h.
43775         [PPC_PLATFORM_PPC440]: Likewise.
43776         [PPC_PLATFORM_PPC464]: Likewise.
43777         [PPC_PLATFORM_PPC476]: Likewise.
43778         (_dl_string_platform): Add support for detecting ppc405, ppc440,
43779         ppc464, and ppc476 platform strings merging from ports/
43780         dl-procinfo.h.
43782 2013-06-11  Andreas Schwab  <schwab@suse.de>
43784         [BZ #14991]
43785         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
43786         (from_ucs4_idx): Regenerate.
43787         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
43788         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
43789         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
43790         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
43791         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
43792         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
43793         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
43794         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
43795         from FROM_LOOP and TO_LOOP specific macros.
43796         (BODY): Handle combining characters.
43797         * iconvdata/BIG5HKSCS.irreversible: Update.
43798         * iconvdata/BIG5HKSCS.precomposed: New file.
43799         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
43800         characters.
43801         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
43803 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43805         * include/sys/time.h: Fix indentation and add copyright header.
43807         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
43808         (do_test): Likewise.
43809         * string/test-memchr.c (do_one_test): Likewise.
43810         (do_test): Likewise.
43811         * string/test-memcmp.c (do_one_test): Likewise.
43812         (do_test): Likewise.
43813         * string/test-memcpy.c (do_one_test): Likewise.
43814         (do_test): Likewise.
43815         * string/test-memmem.c (do_one_test): Likewise.
43816         (do_test): Likewise.
43817         (do_random_tests): Likewise.
43818         * string/test-memmove.c (do_one_test): Likewise.
43819         (do_test): Likewise.
43820         * string/test-memset.c (do_one_test): Likewise.
43821         (do_test): Likewise.
43822         * string/test-rawmemchr.c (do_one_test): Likewise.
43823         (do_test): Likewise.
43824         * string/test-strcasecmp.c (do_one_test): Likewise.
43825         (do_test): Likewise.
43826         * string/test-strcasestr.c (do_one_test): Likewise.
43827         (do_test): Likewise.
43828         * string/test-strcat.c (do_one_test): Likewise.
43829         (do_test): Likewise.
43830         * string/test-strchr.c (do_one_test): Likewise.
43831         (do_test): Likewise.
43832         * string/test-strcmp.c (do_one_test): Likewise.
43833         (do_test): Likewise.
43834         * string/test-strcpy.c (do_one_test): Likewise.
43835         (do_test): Likewise.
43836         * string/test-string.h: Likewise.
43837         (test_init): Likewise.
43838         * string/test-strlen.c (do_one_test): Likewise.
43839         (do_test): Likewise.
43840         * string/test-strncasecmp.c (do_one_test): Likewise.
43841         (do_test): Likewise.
43842         * string/test-strncat.c (do_one_test): Likewise.
43843         (do_test): Likewise.
43844         * string/test-strncmp.c (do_one_test): Likewise.
43845         (do_test_limit): Likewise.
43846         (do_test): Likewise.
43847         * string/test-strncpy.c (do_one_test): Likewise.
43848         (do_test): Likewise.
43849         * string/test-strnlen.c (do_one_test): Likewise.
43850         (do_test): Likewise.
43851         * string/test-strpbrk.c (do_one_test): Likewise.
43852         (do_test): Likewise.
43853         * string/test-strrchr.c (do_one_test): Likewise.
43854         (do_test): Likewise.
43855         * string/test-strspn.c (do_one_test): Likewise.
43856         (do_test): Likewise.
43857         * string/test-strstr.c (do_one_test): Likewise.
43858         (do_test): Likewise.
43860         * benchtests/Makefile (string-bench): Add string benchmarks.
43861         * benchtests/bench-bcopy-ifunc.c: New file.
43862         * benchtests/bench-bcopy.c: New file.
43863         * benchtests/bench-bzero-ifunc.c: New file.
43864         * benchtests/bench-bzero.c: New file.
43865         * benchtests/bench-memccpy-ifunc.c: New file.
43866         * benchtests/bench-memccpy.c: New file.
43867         * benchtests/bench-memchr-ifunc.c: New file.
43868         * benchtests/bench-memchr.c: New file.
43869         * benchtests/bench-memcmp-ifunc.c: New file.
43870         * benchtests/bench-memcmp.c: New file.
43871         * benchtests/bench-memmem-ifunc.c: New file.
43872         * benchtests/bench-memmem.c: New file.
43873         * benchtests/bench-memmove-ifunc.c: New file.
43874         * benchtests/bench-memmove.c: New file.
43875         * benchtests/bench-mempcpy-ifunc.c: New file.
43876         * benchtests/bench-mempcpy.c: New file.
43877         * benchtests/bench-memset-ifunc.c: New file.
43878         * benchtests/bench-memset.c: New file.
43879         * benchtests/bench-rawmemchr-ifunc.c: New file.
43880         * benchtests/bench-rawmemchr.c: New file.
43881         * benchtests/bench-stpcpy-ifunc.c: New file.
43882         * benchtests/bench-stpcpy.c: New file.
43883         * benchtests/bench-stpncpy-ifunc.c: New file.
43884         * benchtests/bench-stpncpy.c: New file.
43885         * benchtests/bench-strcasecmp-ifunc.c: New file.
43886         * benchtests/bench-strcasecmp.c: New file.
43887         * benchtests/bench-strcasestr-ifunc.c: New file.
43888         * benchtests/bench-strcasestr.c: New file.
43889         * benchtests/bench-strcat-ifunc.c: New file.
43890         * benchtests/bench-strcat.c: New file.
43891         * benchtests/bench-strchr-ifunc.c: New file.
43892         * benchtests/bench-strchr.c: New file.
43893         * benchtests/bench-strchrnul-ifunc.c: New file.
43894         * benchtests/bench-strchrnul.c: New file.
43895         * benchtests/bench-strcmp-ifunc.c: New file.
43896         * benchtests/bench-strcmp.c: New file.
43897         * benchtests/bench-strcpy-ifunc.c: New file.
43898         * benchtests/bench-strcpy.c: New file.
43899         * benchtests/bench-strcspn-ifunc.c: New file.
43900         * benchtests/bench-strcspn.c: New file.
43901         * benchtests/bench-strlen-ifunc.c: New file.
43902         * benchtests/bench-strlen.c: New file.
43903         * benchtests/bench-strncasecmp-ifunc.c: New file.
43904         * benchtests/bench-strncasecmp.c: New file.
43905         * benchtests/bench-strncat-ifunc.c: New file.
43906         * benchtests/bench-strncat.c: New file.
43907         * benchtests/bench-strncmp-ifunc.c: New file.
43908         * benchtests/bench-strncmp.c: New file.
43909         * benchtests/bench-strncpy-ifunc.c: New file.
43910         * benchtests/bench-strncpy.c: New file.
43911         * benchtests/bench-strnlen-ifunc.c: New file.
43912         * benchtests/bench-strnlen.c: New file.
43913         * benchtests/bench-strpbrk-ifunc.c: New file.
43914         * benchtests/bench-strpbrk.c: New file.
43915         * benchtests/bench-strrchr-ifunc.c: New file.
43916         * benchtests/bench-strrchr.c: New file.
43917         * benchtests/bench-strspn-ifunc.c: New file.
43918         * benchtests/bench-strspn.c: New file.
43919         * benchtests/bench-strstr-ifunc.c: New file.
43920         * benchtests/bench-strstr.c: New file.
43922         * benchtests/Makefile: Disable parallel execution of targets.
43923         (string-bench): Add memcpy.
43924         (benchset): New variable to store a list of benchmark sets.
43925         (bench-func): Renamed from bench.
43926         (bench-set): New target.
43927         (bench): Depend on bench-func and bench-set.
43928         * benchtests/README: Add section on benchmark sets.
43929         * benchtests/bench-memcpy-ifunc.c: New file.
43930         * benchtests/bench-memcpy.c: New file.
43931         * benchtests/bench-string.h: New file.
43933 2013-06-11  Andreas Schwab  <schwab@suse.de>
43935         [BZ #15577]
43936         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
43937         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
43938         values in the triple.
43939         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
43940         terminator in the group key.
43942 2013-06-11  Andreas Jaeger  <aj@suse.de>
43944         * po/zh_TW.po: Update Chinese (traditional) translation from
43945         translation project.
43947 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43949         * include/time.h (__clock_gettime): Add libc_hidden_proto.
43950         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
43951         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
43952         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43953         (clock_getcpuclockid): Likewise.
43954         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
43955         Add weak_alias and libc_hidden_def.
43956         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
43957         * rt/clock_gettime.c (clock_gettime): Rename to
43958         __clock_gettime.  Add weak_alias and libc_hidden_def.
43959         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
43960         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
43961         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
43962         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
43963         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
43964         Likewise.
43965         * rt/clock_settime.c (clock_settime): Rename to
43966         __clock_settime.  Add weak_alias and libc_hidden_def.
43967         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
43969 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
43971         * mach/err_boot.sub: Remove trailing whitespace.
43972         * mach/err_ipc.sub: Likewise.
43973         * mach/err_mach.sub: Likewise.
43975         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
43976         (ROUNDING_TESTS_double): Likewise.
43977         (ROUNDING_TESTS_long_double): Likewise.
43978         (ROUNDING_TESTS): Likewise.
43979         * math/libm-test.inc: Include <math-tests.h>.
43980         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
43981         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43982         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43983         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43985 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43987         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
43988         of assigning.
43990 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
43992         * sysdeps/gnu/errlist.awk: Do not generate space at end of
43993         otherwise empty TRANS lines.
43994         * sysdeps/gnu/errlist.c: Regenerated.
43996         * catgets/gencat.c (error_print): Use (void) in function
43997         definition.
43998         * crypt/crypt_util.c (__init_des): Likewise.
43999         * crypt/speeds.c (Stop): Likewise.
44000         (main): Likewise.
44001         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
44002         * inet/ruserpass.c (token): Likewise.
44003         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
44004         * intl/localealias.c (extend_alias_table): Likewise.
44005         * intl/plural-exp.c (init_germanic_plural): Likewise.
44006         * libio/fcloseall.c (__fcloseall): Likewise.
44007         * libio/genops.c (_IO_flush_all): Likewise.
44008         (_IO_flush_all_linebuffered): Likewise.
44009         (_IO_cleanup): Likewise.
44010         (_IO_iter_begin): Likewise.
44011         (_IO_iter_end): Likewise.
44012         (_IO_list_lock): Likewise.
44013         (_IO_list_unlock): Likewise.
44014         (_IO_list_resetlock): Likewise.
44015         * libio/getchar.c (getchar): Likewise.
44016         * libio/getchar_u.c (getchar_unlocked): Likewise.
44017         * libio/getwchar.c (getwchar): Likewise.
44018         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
44019         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
44020         * login/getpt.c (__getpt): Likewise.
44021         * login/tst-utmp.c (main): Likewise.
44022         * malloc/hooks.c (__malloc_check_init): Likewise.
44023         * malloc/malloc.c (__malloc_stats): Likewise.
44024         * malloc/mtrace.c (tr_break): Likewise.
44025         (mtrace): Likewise.
44026         (muntrace): Likewise.
44027         * misc/fstab.c (endfsent): Likewise.
44028         * misc/getclktck.c (__getclktck): Likewise.
44029         * misc/getdtsz.c (__getdtablesize): Likewise.
44030         * misc/gethostid.c (gethostid): Likewise.
44031         * misc/getpagesize.c (__getpagesize): Likewise.
44032         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
44033         (__get_nprocs): Likewise.
44034         (__get_phys_pages): Likewise.
44035         (__get_avphys_pages): Likewise.
44036         * misc/getttyent.c (getttyent): Likewise.
44037         (setttyent): Likewise.
44038         (endttyent): Likewise.
44039         * misc/getusershell.c (getusershell): Likewise.
44040         (endusershell): Likewise.
44041         (setusershell): Likewise.
44042         (initshells): Likewise.
44043         * misc/hsearch.c (__hdestroy): Likewise.
44044         * misc/sync.c (sync): Likewise.
44045         * misc/syslog.c (closelog_internal): Likewise.
44046         (closelog): Likewise.
44047         * misc/ttyslot.c (ttyslot): Likewise.
44048         * misc/vhangup.c (vhangup): Likewise.
44049         * posix/fork.c (__fork): Likewise.
44050         * posix/getegid.c (__getegid): Likewise.
44051         * posix/geteuid.c (__geteuid): Likewise.
44052         * posix/getgid.c (__getgid): Likewise.
44053         * posix/getpid.c (__getpid): Likewise.
44054         * posix/getppid.c (__getppid): Likewise.
44055         * posix/getuid.c (__getuid): Likewise.
44056         * posix/pause.c (pause): Likewise.
44057         * posix/setpgrp.c (setpgrp): Likewise.
44058         * posix/setsid.c (__setsid): Likewise.
44059         * posix/test-vfork.c (noop): Likewise.
44060         * resolv/gethnamaddr.c (_endhtent): Likewise.
44061         (_gethtent): Likewise.
44062         (ht_endhostent): Likewise.
44063         (gethostent): Likewise.
44064         (dns_service): Likewise.
44065         * stdlib/drand48.c (drand48): Likewise.
44066         * stdlib/lrand48.c (lrand48): Likewise.
44067         * stdlib/mrand48.c (mrand48): Likewise.
44068         * stdlib/rand.c (rand): Likewise.
44069         * stdlib/random.c (__random): Likewise.
44070         * stdlib/setenv.c (clearenv): Likewise.
44071         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
44072         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
44073         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
44074         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
44075         (__get_nprocs): Likewise.
44076         (__get_phys_pages): Likewise.
44077         (__get_avphys_pages): Likewise.
44078         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
44079         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
44080         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
44081         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
44082         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
44083         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
44084         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
44085         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
44086         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
44087         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
44088         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
44089         * sysdeps/mach/hurd/sync.c (sync): Likewise.
44090         * sysdeps/posix/clock.c (clock): Likewise.
44091         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
44092         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
44093         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
44094         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
44095         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
44096         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
44097         (__get_nprocs_conf): Likewise.
44098         (__get_phys_pages): Likewise.
44099         (__get_avphys_pages): Likewise.
44100         * time/clock.c (clock): Likewise.
44101         * time/tzset.c (__tzname_max): Likewise.
44103 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
44105         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
44106         (__bswap_32): Do not use "register".
44107         * crypt/crypt.c (_ufc_doit_r): Likewise.
44108         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44109         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44110         * gmon/gmon.c (__monstartup): Likewise.
44111         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
44112         * hurd/hurdmalloc.c (more_memory): Likewise.
44113         (malloc): Likewise.
44114         (free): Likewise.
44115         (realloc): Likewise.
44116         (malloc_fork_prepare): Likewise.
44117         (malloc_fork_parent): Likewise.
44118         (malloc_fork_child): Likewise.
44119         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
44120         (_svcauth_des): Likewise.
44121         * inet/inet_lnaof.c (inet_lnaof): Likewise.
44122         * inet/inet_net.c (inet_network): Likewise.
44123         * inet/inet_netof.c (inet_netof): Likewise.
44124         * inet/rcmd.c (__validuser2_sa): Likewise.
44125         * io/fts.c (fts_open): Likewise.
44126         (fts_load): Likewise.
44127         (fts_close): Likewise.
44128         (fts_read): Likewise.
44129         (fts_children): Likewise.
44130         (fts_build): Likewise.
44131         (fts_stat): Likewise.
44132         (fts_sort): Likewise.
44133         (fts_alloc): Likewise.
44134         (fts_lfree): Likewise.
44135         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
44136         (_IO_file_xsgetn): Likewise.
44137         (_IO_file_xsgetn_mmap): Likewise.
44138         * libio/iofopncook.c (_IO_cookie_read): Likewise.
44139         (_IO_cookie_write): Likewise.
44140         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
44141         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
44142         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
44143         * malloc/obstack.c (_obstack_begin): Likewise.
44144         (_obstack_begin_1): Likewise.
44145         (_obstack_newchunk): Likewise.
44146         (_obstack_allocated_p): Likewise.
44147         (obstack_free): Likewise.
44148         (_obstack_memory_used): Likewise.
44149         * misc/getttyent.c (getttynam): Likewise.
44150         (getttyent): Likewise.
44151         (skip): Likewise.
44152         (value): Likewise.
44153         * misc/getusershell.c (initshells): Likewise.
44154         * misc/syslog.c (__vsyslog_chk): Likewise.
44155         * misc/ttyslot.c (ttyslot): Likewise.
44156         * nis/nis_hash.c (__nis_hash): Likewise.
44157         * posix/fnmatch_loop.c (FCT): Likewise.
44158         * posix/getconf.c (print_all): Likewise.
44159         (main): Likewise.
44160         * posix/getopt.c (exchange): Likewise.
44161         * posix/glob.c (globfree): Likewise.
44162         (prefix_array): Likewise.
44163         (__glob_pattern_type): Likewise.
44164         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44165         (NS_GET32): Likewise.
44166         (NS_PUT16): Likewise.
44167         (NS_PUT32): Likewise.
44168         * resolv/gethnamaddr.c (getanswer): Likewise.
44169         (gethostbyname2): Likewise.
44170         (gethostbyaddr): Likewise.
44171         (_gethtent): Likewise.
44172         (_gethtbyname2): Likewise.
44173         (_gethtbyaddr): Likewise.
44174         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44175         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44176         * resolv/res_init.c (__res_vinit): Likewise.
44177         (net_mask): Likewise.
44178         * resolv/res_mkquery.c (outchar): Likewise.
44179         (PRINT): Likewise.
44180         * stdio-common/printf_fp.c (outchar): Likewise.
44181         (PRINT): Likewise.
44182         * stdio-common/printf_fphex.c (outchar): Likewise.
44183         (PRINT): Likewise.
44184         * stdio-common/printf_size.c (outchar): Likewise.
44185         (PRINT): Likewise.
44186         * stdio-common/test_rdwr.c (main): Likewise.
44187         * stdio-common/tfformat.c (matches): Likewise.
44188         * stdio-common/vfprintf.c (outchar): Likewise.
44189         (printf_unknown): Likewise.
44190         (buffered_vfprintf): Likewise.
44191         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44192         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44193         (ReadFile): Likewise.
44194         * stdlib/qsort.c (SWAP): Likewise.
44195         (_quicksort): Likewise.
44196         * stdlib/setenv.c (__add_to_environ): Likewise.
44197         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44198         * stdlib/strtol_l.c (__strtol_l): Likewise.
44199         * stdlib/tst-strtod.c (main): Likewise.
44200         * stdlib/tst-strtol.c (main): Likewise.
44201         * stdlib/tst-strtoll.c (main): Likewise.
44202         * string/bits/string2.h (__strcmp_cc): Likewise.
44203         (__strcmp_cg): Likewise.
44204         (__strcspn_c1): Likewise.
44205         (__strcspn_c2): Likewise.
44206         (__strcspn_c3): Likewise.
44207         (__strspn_c1): Likewise.
44208         (__strspn_c2): Likewise.
44209         (__strspn_c3): Likewise.
44210         (__strsep_1c): Likewise.
44211         (__strsep_2c): Likewise.
44212         (__strsep_3c): Likewise.
44213         * string/memccpy.c (__memccpy): Likewise.
44214         * string/stpcpy.c (__stpcpy): Likewise.
44215         * string/strcmp.c (strcmp): Likewise.
44216         * string/strrchr.c (strrchr): Likewise.
44217         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44218         Likewise.
44219         * sysdeps/mach/hurd/getcwd.c
44220         (_hurd_canonicalize_directory_name_internal): Likewise.
44221         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44222         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44223         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44224         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44225         Likewise, in both definitions.
44226         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44227         definitions.
44228         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44229         64] (__bswap_64): Likewise.
44230         * time/test_time.c (main): Likewise.
44231         * time/tzfile.c (__tzfile_read): Likewise.
44232         (__tzfile_compute): Likewise.
44233         * time/tzset.c (__tzset_parse_tz): Likewise.
44234         (tzset_internal): Likewise.
44235         (compute_change): Likewise.
44236         * wcsmbs/wcscat.c (__wcscat): Likewise.
44237         * wcsmbs/wcschr.c (wcschr): Likewise.
44238         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44239         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44240         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44241         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44242         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44243         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44244         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44245         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44246         * wcsmbs/wmemset.c (wmemset): Likewise.
44248 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44250         * scripts/config.guess: Update to version 2013-05-16.
44251         * scripts/config.sub: Update to version 2013-04-24.
44252         * scripts/install-sh: Update to version 2011-11-20.07.
44253         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44254         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44256 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44258         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44259         * elf/sln.c: Likewise.
44260         * hurd/hurd/ioctl.h: Likewise.
44261         * hurd/hurdmalloc.c: Likewise.
44262         * hurd/xattr.c: Likewise.
44263         * include/shlib-compat.h: Likewise.
44264         * inet/ruserpass.c: Likewise.
44265         * libio/iofgets_u.c: Likewise.
44266         * libio/iofgetws_u.c: Likewise.
44267         * locale/programs/ld-identification.c: Likewise.
44268         * locale/programs/ld-time.c: Likewise.
44269         * mach/msg-destroy.c: Likewise.
44270         * nss/nss_files/files-netgrp.c: Likewise.
44271         * resolv/res_data.c: Likewise.
44272         * soft-fp/op-1.h: Likewise.
44273         * soft-fp/op-2.h: Likewise.
44274         * soft-fp/op-4.h: Likewise.
44275         * soft-fp/op-common.h: Likewise.
44276         * stdio-common/printf_fphex.c: Likewise.
44277         * stdlib/strtod_l.c: Likewise.
44278         * sunrpc/rpc/clnt.h: Likewise.
44279         * sysdeps/generic/framestate.c: Likewise.
44280         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44281         * sysdeps/i386/bsd-setjmp.S: Likewise.
44282         * sysdeps/i386/__longjmp.S: Likewise.
44283         * sysdeps/i386/setjmp.S: Likewise.
44284         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44285         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44286         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44287         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44288         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44289         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44290         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44291         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44292         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44293         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44294         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44295         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44296         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44297         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44298         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44299         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44300         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44301         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44302         * sysdeps/ieee754/support.c: Likewise.
44303         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44304         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44305         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44306         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44307         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44308         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44309         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44310         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44311         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44312         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44313         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44314         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44315         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44316         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44317         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44318         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44319         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44322 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44324         * posix/transbug.c: Remove executable mode.
44326 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44328         * crypt/speeds.c: Remove trailing whitespace.
44329         * dlfcn/default.c: Likewise.
44330         * elf/ifuncdep2.c: Likewise.
44331         * elf/ifuncmain1.c: Likewise.
44332         * elf/ifuncmain1vis.c: Likewise.
44333         * elf/testobj.h: Likewise.
44334         * elf/tst-stackguard1.c: Likewise.
44335         * gmon/sys/gmon.h: Likewise.
44336         * hurd/hurdmsg.c: Likewise.
44337         * hurd/new-fd.c: Likewise.
44338         * hurd/ports-get.c: Likewise.
44339         * iconvdata/ibm1008_420.c: Likewise.
44340         * inet/tst-getni1.c: Likewise.
44341         * inet/tst-getni2.c: Likewise.
44342         * libio/ioungetc.c: Likewise.
44343         * libio/wfiledoalloc.c: Likewise.
44344         * manual/libm-err-tab.pl: Likewise.
44345         * math/w_dremf.c: Likewise.
44346         * misc/ftruncate.c: Likewise.
44347         * posix/bug-glob2.c: Likewise.
44348         * posix/tst-pcre.c: Likewise.
44349         * posix/wait4.c: Likewise.
44350         * resolv/README: Likewise.
44351         * resolv/res_debug.h: Likewise.
44352         * resolv/tst-inet_ntop.c: Likewise.
44353         * setjmp/bug269-setjmp.c: Likewise.
44354         * soft-fp/extended.h: Likewise.
44355         * soft-fp/op-1.h: Likewise.
44356         * soft-fp/op-2.h: Likewise.
44357         * soft-fp/op-4.h: Likewise.
44358         * soft-fp/op-8.h: Likewise.
44359         * soft-fp/testit.c: Likewise.
44360         * stdio-common/bug16.c: Likewise.
44361         * stdlib/random.c: Likewise.
44362         * sunrpc/rpcsvc/rquota.x: Likewise.
44363         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44364         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44365         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44366         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44367         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44368         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44369         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44370         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44371         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44372         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44373         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44374         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44375         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44376         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44377         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44378         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44379         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44380         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44381         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44382         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44383         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44384         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44385         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44386         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44387         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44388         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44389         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44390         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44391         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44392         * sysdeps/ieee754/s_lib_version.c: Likewise.
44393         * sysdeps/mach/hurd/check_fds.c: Likewise.
44394         * sysdeps/mach/hurd/getsockname.c: Likewise.
44395         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44396         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44397         * sysdeps/powerpc/bits/link.h: Likewise.
44398         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44399         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44400         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44401         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44402         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44403         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44404         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44405         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44406         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44407         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44408         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44409         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44410         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44411         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44412         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44413         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44414         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44415         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44416         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44417         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44418         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44419         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44420         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44421         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44422         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44423         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44424         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44425         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44426         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44427         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44428         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44429         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44430         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44431         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44432         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44433         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44434         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44435         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44436         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44437         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44438         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44439         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44440         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44441         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44442         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44443         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44444         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44445         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44446         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44447         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44448         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44449         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44450         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44451         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44452         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44453         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44454         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44455         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44456         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44457         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44458         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44459         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44460         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44461         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44462         * sysdeps/powerpc/sysdep.h: Likewise.
44463         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44464         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44465         * sysdeps/sh/dl-trampoline.S: Likewise.
44466         * sysdeps/sh/memset.S: Likewise.
44467         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44468         * sysdeps/sh/strlen.S: Likewise.
44469         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44470         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44471         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44472         * sysdeps/sparc/sparc32/rem.S: Likewise.
44473         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44474         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44475         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44476         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44477         * sysdeps/sparc/sparc32/urem.S: Likewise.
44478         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44479         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44480         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44481         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44482         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44483         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44484         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44485         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44486         * sysdeps/unix/bsd/times.c: Likewise.
44487         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44488         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44492         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44493         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44494         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44495         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44496         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44497         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44498         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44499         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44500         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44501         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44502         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44503         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44504         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44505         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44506         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44507         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44508         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44509         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44510         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44511         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44512         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44513         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44514         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44515         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44516         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44517         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44518         * sysdeps/x86_64/strcspn.S: Likewise.
44520 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44522         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44523         generated file.  Regenerate properly from gen-translit.pl.
44524         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44525         locale/C-translit.h.
44527 2013-06-05  Andreas Schwab  <schwab@suse.de>
44529         [BZ #15100]
44530         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
44531         week as 6 instead of -1.
44532         * time/tst-strptime.c (day_tests): Add test case.
44534 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44536         * sysdeps/generic/math_private.h
44537         (libc_feholdexcept_setround_53bit): Replace with
44538         libc_feholdsetround_53bit.
44539         (libc_feupdateenv_53bit): Replace with
44540         libc_feresetround_53bit.
44541         (SET_RESTORE_ROUND_53BIT): Adjust.
44543 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44545         * string/test-strchrnul.c: Add copyright header.
44547         * posix/tst-getaddrinfo4.c: Increase test timeout.
44549 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44551         [BZ #15536]
44552         * math/libm-test.inc (MAX_EXP): Remove
44553         (MIN_EXP): Define.
44554         (ulp): Use MIN_EXP - MANT_DIG.
44555         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44557 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44559         * po/be.po: Revert last change.
44560         * po/zh_CN.po: Likewise.
44561         * po/header.pot: Likewise.
44563 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
44565         * Makefile ($(common-objpfx)linkobj/libc.so): Define
44566         link-libc-deps to empty as target-specific variable.
44567         * Makerules (link-libc-args): New variable.
44568         (libc-for-link): Likewise.
44569         (link-libc-deps): Likewise.
44570         (lib%.so): Depend on $(link-libc-deps).  Link with
44571         $(link-libc-args).
44572         (build-module): Link with $(link-libc-args).
44573         (build-module-asneeded): Likewise.
44574         (build-module-helper-objlist): Filter out $(link-libc-deps) from
44575         list of objects.
44576         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
44577         target-specific variable.
44578         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
44579         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
44580         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
44581         libc.
44582         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
44583         libc and ld.so.
44584         ($(objpfx)libpcprofile.so): Likewise.
44585         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
44586         libc_nonshared.a.
44587         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
44588         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
44589         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
44590         $(link-libc-deps).
44591         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
44592         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
44593         * login/Makefile ($(objpfx)libutil.so): Likewise.
44594         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
44595         * math/Makefile ($(objpfx)libm.so): Likewise.
44596         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
44597         $(objpfx)libnsl.so): Define libc-for-link as target-specific
44598         variable instead of depending directly on libc.
44599         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
44600         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
44601         $(link-libc-deps).
44602         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
44603         libc.
44604         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
44605         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
44606         ($(objpfx)libanl.so): Likewise.
44607         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
44608         ld.so.
44609         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
44610         $(link-libc-deps).
44611         * sysdeps/i386/fpu/Makefile: Remove file.
44612         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
44613         ($(objpfx)libm.so): Remove dependency on ld.so.
44615 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
44617         [BZ # 15553]
44618         * nis/yp_xdr.c (XDRMAXNAME): Define.
44619         (XDRMAXRECORD): Define.
44620         (xdr_domainname): Use XDRMAXNAME.
44621         (xdr_mapname): Likewise.
44622         (xdr_peername): Likewise.
44623         (xdr_keydat): Use XDRMAXRECORD.
44624         (xdr_valdat): Likewise.
44626 2013-05-30  Jeff Law  <law@redhat.com>
44628         [BZ #14256]
44629         * manual/errno.texi (ESTALE): Update to account for more than
44630         just NFS file systems.
44631         * sysdeps/gnu/errlist.c: Regenerated.
44633 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44635         [BZ #15465]
44636         * elf/Makefile (tests): Add tst-null-argv.
44637         (modules-names):  Add tst-null-argv-lib.
44638         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
44639         (tst-null-argv-ENV): Set environment for tst-null-argv.
44640         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
44641         (RTLD_PROGNAME): New macro.
44642         * elf/tst-null-argv.c: New test case.
44643         * elf/tst-null-argv-lib.c: Library for test case.
44644         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
44645         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
44646         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
44647         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
44648         * elf/dl-init.c (call_init): Likewise.
44649         (_dl_init): Likewise.
44650         * elf/dl-load.c (print_search_path): Likewise.
44651         (_dl_map_object): Likewise.
44652         * elf/dl-lookup.c (do_lookup_x): Likewise.
44653         (add_dependency): Likewise.
44654         (_dl_lookup_symbol_x): Likewise.
44655         (_dl_debug_bindings): Likewise.
44656         * elf/dl-open.c (_dl_show_scope): Likewise.
44657         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44658         * elf/dl-version.c (match_symbol): Likewise.
44659         (_dl_check_map_versions): Likewise.
44660         * elf/rtld.c (dl_main): Likewise.
44661         (print_unresolved): Use RTLD_PROGNAME.
44662         (print_missing_version): Likewise.
44663         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
44664         (elf_machine_rela): Likewise.
44665         * sysdeps/powerpc/powerpc32/dl-machine.c
44666         (__process_machine_rela): Likewise.
44667         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44668         Likewise.
44669         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44670         Likewise.
44671         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44672         Likewise.
44673         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44674         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
44675         Likewise.
44676         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
44677         Likewise.
44678         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44680 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
44682         * po/be.po: Add descriptive title.
44683         * po/zh_CN.po: Likewise.
44684         * po/header.pot: Likewise.
44686 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
44688         * locale/programs/locarchive.c (create_archive): Inlucde fname in
44689         error message.
44690         (enlarge_archive): Likewise.
44692 2013-05-28  Ben North  <ben@redfrontdoor.org>
44694         * manual/arith.texi (frexp): It is the magnitude of the return
44695         value which lies in [0.5, 1), not the return value itself.
44697 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44701 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
44703         * stdio-common/bug26.c (main): Correct fscanf template.
44705         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
44706         declare _dl_skip_args.
44708         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
44709         Don't declare.
44711         * manual/platform.texi: Add missing @end deftypefun.
44713 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44715         [BZ #15529]
44716         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
44717         bit of mantissa of 2^16382.
44718         * math/libm-test.inc (hypot_test_data): Add more tests.
44720         * math/libm-test.inc: Add drem and pow10 to list of tested
44721         functions.
44722         (pow10_test): New function.
44723         (drem_test): Likewise.
44724         (drem_test_tonearest): Likewise.
44725         (drem_test_towardzero): Likewise.
44726         (drem_test_downward): Likewise.
44727         (drem_test_upward): Likewise.
44728         (main): Call the new functions.
44730         * math/libm-test.inc (finite_test_data): Remove.
44731         (finite_test): Run tests from isfinite_test_data.
44732         (gamma_test_data): Remove.
44733         (gamma_test): Run tests from lgamma_test_data.
44734         * sysdeps/i386/fpu/libm-test-ulps: Update.
44735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44737 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44739         * manual/platform.texi: Add PowerPC PPR function set documentation.
44740         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
44741         implementation.
44743 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
44745         * math/libm-test.inc (MAX_EXP): Define.
44746         (ULPDIFF): Define.
44747         (ulp): New function.
44748         (check_float_internal): Use ULPDIFF.
44749         (cpow_test): Disable failing test.
44750         (check_ulp): Test ulp() implemetnation.
44751         (main): Call check_ulp before starting tests.
44753 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44755         * math/gen-libm-test.pl (generate_testfile): Do not handle
44756         START_DATA and END_DATA.
44757         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
44758         END_DATA.
44759         (acos_tonearest_test_data): Likewise.
44760         (acos_towardzero_test_data): Likewise.
44761         (acos_downward_test_data): Likewise.
44762         (acos_upward_test_data): Likewise.
44763         (acosh_test_data): Likewise.
44764         (asin_test_data): Likewise.
44765         (asin_tonearest_test_data): Likewise.
44766         (asin_towardzero_test_data): Likewise.
44767         (asin_downward_test_data): Likewise.
44768         (asin_upward_test_data): Likewise.
44769         (asinh_test_data): Likewise.
44770         (atan_test_data): Likewise.
44771         (atanh_test_data): Likewise.
44772         (atan2_test_data): Likewise.
44773         (cabs_test_data): Likewise.
44774         (cacos_test_data): Likewise.
44775         (cacosh_test_data): Likewise.
44776         (carg_test_data): Likewise.
44777         (casin_test_data): Likewise.
44778         (casinh_test_data): Likewise.
44779         (catan_test_data): Likewise.
44780         (catanh_test_data): Likewise.
44781         (cbrt_test_data): Likewise.
44782         (ccos_test_data): Likewise.
44783         (ccosh_test_data): Likewise.
44784         (ceil_test_data): Likewise.
44785         (cexp_test_data): Likewise.
44786         (cimag_test_data): Likewise.
44787         (clog_test_data): Likewise.
44788         (clog10_test_data): Likewise.
44789         (conj_test_data): Likewise.
44790         (copysign_test_data): Likewise.
44791         (cos_test_data): Likewise.
44792         (cos_tonearest_test_data): Likewise.
44793         (cos_towardzero_test_data): Likewise.
44794         (cos_downward_test_data): Likewise.
44795         (cos_upward_test_data): Likewise.
44796         (cosh_test_data): Likewise.
44797         (cosh_tonearest_test_data): Likewise.
44798         (cosh_towardzero_test_data): Likewise.
44799         (cosh_downward_test_data): Likewise.
44800         (cosh_upward_test_data): Likewise.
44801         (cpow_test_data): Likewise.
44802         (cproj_test_data): Likewise.
44803         (creal_test_data): Likewise.
44804         (csin_test_data): Likewise.
44805         (csinh_test_data): Likewise.
44806         (csqrt_test_data): Likewise.
44807         (ctan_test_data): Likewise.
44808         (ctan_tonearest_test_data): Likewise.
44809         (ctan_towardzero_test_data): Likewise.
44810         (ctan_downward_test_data): Likewise.
44811         (ctan_upward_test_data): Likewise.
44812         (ctanh_test_data): Likewise.
44813         (ctanh_tonearest_test_data): Likewise.
44814         (ctanh_towardzero_test_data): Likewise.
44815         (ctanh_downward_test_data): Likewise.
44816         (ctanh_upward_test_data): Likewise.
44817         (erf_test_data): Likewise.
44818         (erfc_test_data): Likewise.
44819         (exp_test_data): Likewise.
44820         (exp_tonearest_test_data): Likewise.
44821         (exp_towardzero_test_data): Likewise.
44822         (exp_downward_test_data): Likewise.
44823         (exp_upward_test_data): Likewise.
44824         (exp10_test_data): Likewise.
44825         (exp2_test_data): Likewise.
44826         (expm1_test_data): Likewise.
44827         (fabs_test_data): Likewise.
44828         (fdim_test_data): Likewise.
44829         (finite_test_data): Likewise.
44830         (floor_test_data): Likewise.
44831         (fma_test_data): Likewise.
44832         (fma_towardzero_test_data): Likewise.
44833         (fma_downward_test_data): Likewise.
44834         (fma_upward_test_data): Likewise.
44835         (fmax_test_data): Likewise.
44836         (fmin_test_data): Likewise.
44837         (fmod_test_data): Likewise.
44838         (fpclassify_test_data): Likewise.
44839         (frexp_test_data): Likewise.
44840         (gamma_test_data): Likewise.
44841         (hypot_test_data): Likewise.
44842         (ilogb_test_data): Likewise.
44843         (isfinite_test_data): Likewise.
44844         (isgreater_test_data): Likewise.
44845         (isgreaterequal_test_data): Likewise.
44846         (isinf_test_data): Likewise.
44847         (isless_test_data): Likewise.
44848         (islessequal_test_data): Likewise.
44849         (islessgreater_test_data): Likewise.
44850         (isnan_test_data): Likewise.
44851         (isnormal_test_data): Likewise.
44852         (issignaling_test_data): Likewise.
44853         (isunordered_test_data): Likewise.
44854         (j0_test_data): Likewise.
44855         (j1_test_data): Likewise.
44856         (jn_test_data): Likewise.
44857         (ldexp_test_data): Likewise.
44858         (lgamma_test_data): Likewise.
44859         (lrint_test_data): Likewise.
44860         (lrint_tonearest_test_data): Likewise.
44861         (lrint_towardzero_test_data): Likewise.
44862         (lrint_downward_test_data): Likewise.
44863         (lrint_upward_test_data): Likewise.
44864         (llrint_test_data): Likewise.
44865         (llrint_tonearest_test_data): Likewise.
44866         (llrint_towardzero_test_data): Likewise.
44867         (llrint_downward_test_data): Likewise.
44868         (llrint_upward_test_data): Likewise.
44869         (log_test_data): Likewise.
44870         (log10_test_data): Likewise.
44871         (log1p_test_data): Likewise.
44872         (log2_test_data): Likewise.
44873         (logb_test_data): Likewise.
44874         (logb_downward_test_data): Likewise.
44875         (lround_test_data): Likewise.
44876         (llround_test_data): Likewise.
44877         (modf_test_data): Likewise.
44878         (nearbyint_test_data): Likewise.
44879         (nextafter_test_data): Likewise.
44880         (nexttoward_test_data): Likewise.
44881         (pow_test_data): Likewise.
44882         (pow_tonearest_test_data): Likewise.
44883         (pow_towardzero_test_data): Likewise.
44884         (pow_downward_test_data): Likewise.
44885         (pow_upward_test_data): Likewise.
44886         (remainder_test_data): Likewise.
44887         (remainder_tonearest_test_data): Likewise.
44888         (remainder_towardzero_test_data): Likewise.
44889         (remainder_downward_test_data): Likewise.
44890         (remainder_upward_test_data): Likewise.
44891         (remquo_test_data): Likewise.
44892         (rint_test_data): Likewise.
44893         (rint_tonearest_test_data): Likewise.
44894         (rint_towardzero_test_data): Likewise.
44895         (rint_downward_test_data): Likewise.
44896         (rint_upward_test_data): Likewise.
44897         (round_test_data): Likewise.
44898         (scalb_test_data): Likewise.
44899         (scalbn_test_data): Likewise.
44900         (scalbln_test_data): Likewise.
44901         (signbit_test_data): Likewise.
44902         (sin_test_data): Likewise.
44903         (sin_tonearest_test_data): Likewise.
44904         (sin_towardzero_test_data): Likewise.
44905         (sin_downward_test_data): Likewise.
44906         (sin_upward_test_data): Likewise.
44907         (sincos_test_data): Likewise.
44908         (sinh_test_data): Likewise.
44909         (sinh_tonearest_test_data): Likewise.
44910         (sinh_towardzero_test_data): Likewise.
44911         (sinh_downward_test_data): Likewise.
44912         (sinh_upward_test_data): Likewise.
44913         (sqrt_test_data): Likewise.
44914         (tan_test_data): Likewise.
44915         (tan_tonearest_test_data): Likewise.
44916         (tan_towardzero_test_data): Likewise.
44917         (tan_downward_test_data): Likewise.
44918         (tan_upward_test_data): Likewise.
44919         (tanh_test_data): Likewise.
44920         (tgamma_test_data): Likewise.
44921         (trunc_test_data): Likewise.
44922         (y0_test_data): Likewise.
44923         (y1_test_data): Likewise.
44924         (yn_test_data): Likewise.
44925         (significand_test_data): Likewise.
44927         * math/gen-libm-test.pl (@functions): Remove variable.
44928         (generate_testfile): Don't handle START and END lines.
44929         * math/libm-test.inc (START): New macro.
44930         (END): Likewise.
44931         (END_COMPLEX): Likewise.
44932         (acos_test): Use END macro without arguments.
44933         (acos_test_tonearest): Likewise.
44934         (acos_test_towardzero): Likewise.
44935         (acos_test_downward): Likewise.
44936         (acos_test_upward): Likewise.
44937         (acosh_test): Likewise.
44938         (asin_test): Likewise.
44939         (asin_test_tonearest): Likewise.
44940         (asin_test_towardzero): Likewise.
44941         (asin_test_downward): Likewise.
44942         (asin_test_upward): Likewise.
44943         (asinh_test): Likewise.
44944         (atan_test): Likewise.
44945         (atanh_test): Likewise.
44946         (atan2_test): Likewise.
44947         (cabs_test): Likewise.
44948         (cacos_test): Use END_COMPLEX macro without arguments.
44949         (cacosh_test): Likewise.
44950         (carg_test): Use END macro without arguments.
44951         (casin_test): Use END_COMPLEX macro without arguments.
44952         (casinh_test): Likewise.
44953         (catan_test): Likewise.
44954         (catanh_test): Likewise.
44955         (cbrt_test): Use END macro without arguments.
44956         (ccos_test): Use END_COMPLEX macro without arguments.
44957         (ccosh_test): Likewise.
44958         (ceil_test): Use END macro without arguments.
44959         (cexp_test): Use END_COMPLEX macro without arguments.
44960         (cimag_test): Use END macro without arguments.
44961         (clog_test): Use END_COMPLEX macro without arguments.
44962         (clog10_test): Likewise.
44963         (conj_test): Likewise.
44964         (copysign_test): Use END macro without arguments.
44965         (cos_test): Likewise.
44966         (cos_test_tonearest): Likewise.
44967         (cos_test_towardzero): Likewise.
44968         (cos_test_downward): Likewise.
44969         (cos_test_upward): Likewise.
44970         (cosh_test): Likewise.
44971         (cosh_test_tonearest): Likewise.
44972         (cosh_test_towardzero): Likewise.
44973         (cosh_test_downward): Likewise.
44974         (cosh_test_upward): Likewise.
44975         (cpow_test): Use END_COMPLEX macro without arguments.
44976         (cproj_test): Likewise.
44977         (creal_test): Use END macro without arguments.
44978         (csin_test): Use END_COMPLEX macro without arguments.
44979         (csinh_test): Likewise.
44980         (csqrt_test): Likewise.
44981         (ctan_test): Likewise.
44982         (ctan_test_tonearest): Likewise.
44983         (ctan_test_towardzero): Likewise.
44984         (ctan_test_downward): Likewise.
44985         (ctan_test_upward): Likewise.
44986         (ctanh_test): Likewise.
44987         (ctanh_test_tonearest): Likewise.
44988         (ctanh_test_towardzero): Likewise.
44989         (ctanh_test_downward): Likewise.
44990         (ctanh_test_upward): Likewise.
44991         (erf_test): Use END macro without arguments.
44992         (erfc_test): Likewise.
44993         (exp_test): Likewise.
44994         (exp_test_tonearest): Likewise.
44995         (exp_test_towardzero): Likewise.
44996         (exp_test_downward): Likewise.
44997         (exp_test_upward): Likewise.
44998         (exp10_test): Likewise.
44999         (exp2_test): Likewise.
45000         (expm1_test): Likewise.
45001         (fabs_test): Likewise.
45002         (fdim_test): Likewise.
45003         (finite_test): Likewise.
45004         (floor_test): Likewise.
45005         (fma_test): Likewise.
45006         (fma_test_towardzero): Likewise.
45007         (fma_test_downward): Likewise.
45008         (fma_test_upward): Likewise.
45009         (fmax_test): Likewise.
45010         (fmin_test): Likewise.
45011         (fmod_test): Likewise.
45012         (fpclassify_test): Likewise.
45013         (frexp_test): Likewise.
45014         (gamma_test): Likewise.
45015         (hypot_test): Likewise.
45016         (ilogb_test): Likewise.
45017         (isfinite_test): Likewise.
45018         (isgreater_test): Likewise.
45019         (isgreaterequal_test): Likewise.
45020         (isinf_test): Likewise.
45021         (isless_test): Likewise.
45022         (islessequal_test): Likewise.
45023         (islessgreater_test): Likewise.
45024         (isnan_test): Likewise.
45025         (isnormal_test): Likewise.
45026         (issignaling_test): Likewise.
45027         (isunordered_test): Likewise.
45028         (j0_test): Likewise.
45029         (j1_test): Likewise.
45030         (jn_test): Likewise.
45031         (ldexp_test): Likewise.
45032         (lgamma_test): Likewise.
45033         (lrint_test): Likewise.
45034         (lrint_test_tonearest): Likewise.
45035         (lrint_test_towardzero): Likewise.
45036         (lrint_test_downward): Likewise.
45037         (lrint_test_upward): Likewise.
45038         (llrint_test): Likewise.
45039         (llrint_test_tonearest): Likewise.
45040         (llrint_test_towardzero): Likewise.
45041         (llrint_test_downward): Likewise.
45042         (llrint_test_upward): Likewise.
45043         (log_test): Likewise.
45044         (log10_test): Likewise.
45045         (log1p_test): Likewise.
45046         (log2_test): Likewise.
45047         (logb_test): Likewise.
45048         (logb_test_downward): Likewise.
45049         (lround_test): Likewise.
45050         (llround_test): Likewise.
45051         (modf_test): Likewise.
45052         (nearbyint_test): Likewise.
45053         (nextafter_test): Likewise.
45054         (nexttoward_test): Likewise.
45055         (pow_test): Likewise.
45056         (pow_test_tonearest): Likewise.
45057         (pow_test_towardzero): Likewise.
45058         (pow_test_downward): Likewise.
45059         (pow_test_upward): Likewise.
45060         (remainder_test): Likewise.
45061         (remainder_test_tonearest): Likewise.
45062         (remainder_test_towardzero): Likewise.
45063         (remainder_test_downward): Likewise.
45064         (remainder_test_upward): Likewise.
45065         (remquo_test): Likewise.
45066         (rint_test): Likewise.
45067         (rint_test_tonearest): Likewise.
45068         (rint_test_towardzero): Likewise.
45069         (rint_test_downward): Likewise.
45070         (rint_test_upward): Likewise.
45071         (round_test): Likewise.
45072         (scalb_test): Likewise.
45073         (scalbn_test): Likewise.
45074         (scalbln_test): Likewise.
45075         (signbit_test): Likewise.
45076         (sin_test): Likewise.
45077         (sin_test_tonearest): Likewise.
45078         (sin_test_towardzero): Likewise.
45079         (sin_test_downward): Likewise.
45080         (sin_test_upward): Likewise.
45081         (sincos_test): Likewise.
45082         (sinh_test): Likewise.
45083         (sinh_test_tonearest): Likewise.
45084         (sinh_test_towardzero): Likewise.
45085         (sinh_test_downward): Likewise.
45086         (sinh_test_upward): Likewise.
45087         (sqrt_test): Likewise.
45088         (tan_test): Likewise.
45089         (tan_test_tonearest): Likewise.
45090         (tan_test_towardzero): Likewise.
45091         (tan_test_downward): Likewise.
45092         (tan_test_upward): Likewise.
45093         (tanh_test): Likewise.
45094         (tgamma_test): Likewise.
45095         (trunc_test): Likewise.
45096         (y0_test): Likewise.
45097         (y1_test): Likewise.
45098         (yn_test): Likewise.
45099         (significand_test): Likewise.
45101 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
45103         [BZ #15381]
45104         * libio/genops.c (_IO_no_init): Initialize wide struct info.
45106 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45108         [BZ #14894]
45109         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
45110         __ppc_mdoio and __ppc_mdoom.
45111         * manual/platform.texi: Document new functions __ppc_yield,
45112         __ppc_mdoio and __ppc_mdoom.
45114 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
45116         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
45117         (main): Mention "tls" pseudo-hwcap is legacy.
45118         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
45120 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45122         * math/gen-libm-test.pl (parse_args): Output only string of
45123         arguments as text for test name, not full call or descriptions of
45124         tests for extra outputs.
45125         (generate_testfile): Do not pass function name to parse_args.
45126         Generate this_func variable from START.
45127         * math/libm-test.inc (struct test_f_f_data): Rename test_name
45128         field to arg_str.
45129         (struct test_ff_f_data): Likewise.
45130         (test_ff_f_data_nexttoward): Likewise.
45131         (struct test_fi_f_data): Likewise.
45132         (struct test_fl_f_data): Likewise.
45133         (struct test_if_f_data): Likewise.
45134         (struct test_fff_f_data): Likewise.
45135         (struct test_c_f_data): Likewise.
45136         (struct test_f_f1_data): Likewise.  Remove field extra_name.
45137         (struct test_fF_f1_data): Likewise.
45138         (struct test_ffI_f1_data): Likewise.
45139         (struct test_c_c_data): Rename test_name field to arg_str.
45140         (struct test_cc_c_data): Likewise.
45141         (struct test_f_i_data): Likewise.
45142         (struct test_ff_i_data): Likewise.
45143         (struct test_f_l_data): Likewise.
45144         (struct test_f_L_data): Likewise.
45145         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
45146         and extra2_name.
45147         (COMMON_TEST_SETUP): New macro.
45148         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
45149         (COMMON_TEST_CLEANUP): Likewise.
45150         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
45151         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
45152         macros.
45153         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
45154         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
45155         macros.
45156         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
45157         (RUN_TEST_fff_f): Take argument string.  Call new setup and
45158         cleanup macros.
45159         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45160         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45161         macros.
45162         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45163         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45164         macros.
45165         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45166         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45167         cleanup macros.
45168         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45169         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45170         cleanup macros.
45171         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45172         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45173         cleanup macros.
45174         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45175         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45176         macros.
45177         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45178         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45179         macros.
45180         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45181         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45182         macros.
45183         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45184         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45185         cleanup macros.
45186         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45187         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45188         cleanup macros.
45189         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45190         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45191         macros.
45192         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45193         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45194         cleanup macros.
45195         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45196         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45197         macros.
45198         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45199         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45200         macros.
45201         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45202         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45203         cleanup macros.
45204         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45206 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45208         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45209         to _sifields.sigfault.
45210         (si_addr_lsb): Define new macro.
45211         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45212         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45213         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45215 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45217         [BZ #15441]
45218         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45219         returns -1.
45220         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45221         null return -1.
45222         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45223         loading the domain.
45225 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45227         * math/gen-libm-test.pl (parse_args): Do not include expected
45228         result in test name.
45229         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45230         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45231         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45232         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45233         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45236 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45238         * benchtests/Makefile: Sort function entries.
45240         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45241         tanh, asinh, acosh, atanh.
45242         * benchtests/acos-inputs: New file.
45243         * benchtests/acosh-inputs: New file.
45244         * benchtests/asin-inputs: New file.
45245         * benchtests/asinh-inputs: New file.
45246         * benchtests/atanh-inputs: New file.
45247         * benchtests/cosh-inputs: New file.
45248         * benchtests/log-inputs: New file.
45249         * benchtests/sinh-inputs: New file.
45250         * benchtests/tanh-inputs: New file.
45252 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45254         [BZ #15339]
45255         * posix/tst-getaddrinfo4.c: New test.
45256         * posix/Makefile (tests): Add it.
45258 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45260         [BZ #15339]
45261         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45262         when no services were used.
45263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45264         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45266 2013-05-21  Andreas Schwab  <schwab@suse.de>
45268         [BZ #15014]
45269         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45270         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45271         successful.
45272         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45273         redundant variable declarations and reallocation of buffer when
45274         parsing as IPv6 address.  Always set NSS status when called from
45275         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45276         buffer too small.  Correct computation of needed size.
45277         * nss/Makefile (tests): Add test-digits-dots.
45278         * nss/test-digits-dots.c: New test.
45280 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45282         * benchtests/Makefile: Remove instructions for adding
45283         benchmark tests.
45284         * benchtests/README: New file to explain how to execute and
45285         enhance the benchmark tests.
45287 2013-05-21  Andreas Schwab  <schwab@suse.de>
45289         [BZ #15493]
45290         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45291         * setjmp/tst-sigsetjmp.c: New test.
45293 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45295         * sysdeps/x86_64/memset.S (memset): New implementation.
45296         (__bzero): Likewise.
45297         (__memset_tail): New function.
45299 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45301         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45302         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45303         __memcpy_sse2_unaligned ifunc selection.
45304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45305         Add memcpy-sse2-unaligned.S.
45306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45307         Add: __memcpy_sse2_unaligned.
45309 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45311         [BZ #15490]
45312         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45313         math_force_eval before restoring floating-point envrionment.
45314         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45315         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45316         Likewise.
45317         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45318         <math_private.h>.
45319         (__nearbyintl): Use math_force_eval before restoring
45320         floating-point environment.
45321         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45323         * math/gen-libm-test.pl (special_functions): Remove.
45324         (parse_args): Don't handle TEST_extra.  Handle functions with no
45325         return value.
45326         * math/libm-test.inc (struct test_sincos_data): Replace with
45327         struct test_fFF_11_data.
45328         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45329         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45330         (sincos_test_data): Change element type to struct
45331         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45332         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45333         RUN_TEST_LOOP_sincos.
45334         * math/README.libm-test: Don't mention special handling of
45335         individual functions.
45336         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45337         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45338         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45339         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45340         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45343         * math/gen-libm-test.pl (get_variable): Remove function.
45344         (parse_args): Don't show pointer parameters to call in test
45345         names.  Use "extra output N" in test names for extra outputs
45346         rather than naming variables.
45348 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45350         [BZ #15488]
45351         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45352         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45353         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45354         double tests.
45355         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45356         disable.
45357         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45358         check_long_double.
45360         * math/gen-libm-test.pl (@tests): Remove variable.
45361         ($count): Likewise.
45362         (new_test): Remove function.
45363         (show_exceptions): New function.
45364         (special_functions): Use show_exceptions instead of new_test.
45365         (parse_args): Likewise.
45366         (generate_testfile): Pass only function name in generated call to
45367         print_max_error or print_complex_max_error.
45368         (get_ulps): Do not handle complex tests specially.
45369         (output_test): Rename to ...
45370         (get_all_ulps_for_test): ... this.  Return a string rather than
45371         printing to a file.  Require ulps to be present.
45372         (output_ulps): Generate arrays rather than #defines.
45373         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45374         (struct ulp_data): New type.
45375         (BUILD_COMPLEX_ULP): Remove macro.
45376         (compare_ulp_data): New function.
45377         (find_ulps): Likewise.
45378         (find_test_ulps): Likewise.
45379         (find_function_ulps): Likewise.
45380         (find_complex_function_ulps): Likewise.
45381         (print_max_error): Determine allowed ulps using
45382         find_function_ulps.
45383         (print_complex_max_error): Determine allowed ulps using
45384         find_complex_function_ulps.
45385         (check_float_internal): Determine max ulps using find_test_ulps.
45386         (check_float): Do not take max_ulp parameter.  Update call to
45387         check_float_internal.
45388         (check_complex): Likewise.
45389         (check_int): Do not take max_ulp parameter.
45390         (check_long): Likewise.
45391         (check_bool): Likewise.
45392         (check_longlong): Likewise.
45393         (struct test_f_f_data): Remove max_ulp field.
45394         (struct test_ff_f_data): Likewise.
45395         (struct test_ff_f_data_nexttoward): Likewise.
45396         (struct test_fi_f_data): Likewise.
45397         (struct test_fl_f_data): Likewise.
45398         (struct test_if_f_data): Likewise.
45399         (struct test_fff_f_data): Likewise.
45400         (struct test_c_f_data): Likewise.
45401         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45402         (struct test_fF_f1_data): Likewise.
45403         (struct test_ffI_f1_data): Likewise.
45404         (struct test_c_c_data): Remove max_ulp field.
45405         (struct test_cc_c_data): Likewise.
45406         (struct test_f_i_data): Likewise.
45407         (struct test_ff_i_data): Likewise.
45408         (struct test_f_l_data): Likewise.
45409         (struct test_f_L_data): Likewise.
45410         (struct test_sincos_data): Likewise.
45411         (RUN_TEST_f_f): Do not handle ulps.
45412         (RUN_TEST_LOOP_f_f): Likewise.
45413         (RUN_TEST_2_f): Likewise.
45414         (RUN_TEST_LOOP_2_f): Likewise.
45415         (RUN_TEST_fff_f): Likewise.
45416         (RUN_TEST_LOOP_fff_f): Likewise.
45417         (RUN_TEST_c_f): Likewise.
45418         (RUN_TEST_LOOP_c_f): Likewise.
45419         (RUN_TEST_f_f1): Likewise.
45420         (RUN_TEST_LOOP_f_f1): Likewise.
45421         (RUN_TEST_fF_f1): Likewise.
45422         (RUN_TEST_LOOP_fF_f1): Likewise.
45423         (RUN_TEST_fI_f1): Likewise.
45424         (RUN_TEST_LOOP_fI_f1): Likewise.
45425         (RUN_TEST_ffI_f1): Likewise.
45426         (RUN_TEST_LOOP_ffI_f1): Likewise.
45427         (RUN_TEST_c_c): Likewise.
45428         (RUN_TEST_LOOP_c_c): Likewise.
45429         (RUN_TEST_cc_c): Likewise.
45430         (RUN_TEST_LOOP_cc_c): Likewise.
45431         (RUN_TEST_f_i): Likewise.
45432         (RUN_TEST_LOOP_f_i): Likewise.
45433         (RUN_TEST_f_i_tg): Likewise.
45434         (RUN_TEST_LOOP_f_i_tg): Likewise.
45435         (RUN_TEST_ff_i_tg): Likewise.
45436         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45437         (RUN_TEST_f_b): Likewise.
45438         (RUN_TEST_LOOP_f_b): Likewise.
45439         (RUN_TEST_f_b_tg): Likewise.
45440         (RUN_TEST_LOOP_f_b_tg): Likewise.
45441         (RUN_TEST_f_l): Likewise.
45442         (RUN_TEST_LOOP_f_l): Likewise.
45443         (RUN_TEST_f_L): Likewise.
45444         (RUN_TEST_LOOP_f_L): Likewise.
45445         (RUN_TEST_sincos): Likewise.
45446         (RUN_TEST_LOOP_sincos): Likewise.
45448 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45450         [BZ #15480]
45451         [BZ #15485]
45452         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45453         main case of finite arguments, set rounding mode to FE_TONEAREST
45454         and discard exceptions.
45455         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45456         exceptions.
45457         (remainder_tonearest_test_data): New variable.
45458         (remainder_test_tonearest): New function.
45459         (remainder_towardzero_test_data): New variable.
45460         (remainder_test_towardzero): New function.
45461         (remainder_downward_test_data): New variable.
45462         (remainder_test_downward): New function.
45463         (remainder_upward_test_data): New variable.
45464         (remainder_test_upward): New function.
45465         (main): Call the new test functions.
45467         * math/libm-test.inc (struct test_f_f1_data): Remove field
45468         extra_init.
45469         (struct test_fF_f1_data): Likewise.
45470         (struct test_ffI_f1_data): Likewise.
45471         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45472         based on value of EXTRA_EXPECTED.
45473         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45474         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45475         EXTRA_VAR based on value of EXTRA_EXPECTED.
45476         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45477         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45478         EXTRA_VAR based on value of EXTRA_EXPECTED.
45479         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45480         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45481         EXTRA_VAR based on value of EXTRA_EXPECTED.
45482         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45483         * math/gen-libm-test.pl (parse_args): Don't output initializers
45484         for extra output values.
45486         * math/libm-test.inc (check_int): Expect result to be exactly
45487         equal to expected value and do not handle ulps.
45488         (check_long): Likewise.
45489         (check_longlong): Likewise.
45491         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45492         exceptions.
45493         (cimag_test_data): Likewise.
45494         (conj_test_data): Likewise.
45495         (copysign_test_data): Likewise.
45496         (cproj_test_data): Likewise.
45497         (creal_test_data): Likewise.
45498         (fabs_test_data): Likewise.
45499         (fdim_test_data): Likewise.
45500         (finite_test_data): Likewise.
45501         (floor_test_data): Likewise.
45502         (fmax_test_data): Likewise.
45503         (fmin_test_data): Likewise.
45504         (fmod_test_data): Likewise.
45505         (fpclassify_test_data): Likewise.
45506         (frexp_test_data): Likewise.
45507         (ilogb_test_data): Likewise.
45508         (isfinite_test_data): Likewise.
45509         (isgreater_test_data): Likewise.
45510         (isgreaterequal_test_data): Likewise.
45511         (isinf_test_data): Likewise.
45512         (isless_test_data): Likewise.
45513         (islessequal_test_data): Likewise.
45514         (islessgreater_test_data): Likewise.
45515         (isnan_test_data): Likewise.
45516         (isnormal_test_data): Likewise.
45517         (issignaling_test_data): Likewise.
45518         (isunordered_test_data): Likewise.
45519         (ldexp_test_data): Likewise.
45520         (lrint_test_data): Likewise.
45521         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45522         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45523         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45524         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45525         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45526         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45527         test input.
45528         (lrint_towardzero_test_data): Test for "inexact" exceptions.
45529         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45530         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
45531         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
45532         that test input.
45533         (lrint_downward_test_data): Test for "inexact" exceptions.
45534         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45535         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
45536         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45537         test input.
45538         (lrint_upward_test_data): Test for "inexact" exceptions.
45539         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
45540         test input.
45541         (llrint_test_data): Test for "inexact" exceptions.
45542         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45543         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45544         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45545         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45546         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45547         (llrint_downward_test_data): Test for "inexact" exceptions.
45548         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45549         (llrint_upward_test_data): Test for "inexact" exceptions.
45550         (logb_test_data): Likewise.
45551         (logb_downward_test_data): Likewise.
45552         (nextafter_test_data): Likewise.
45553         (nexttoward_test_data): Likewise.
45554         (remainder_test_data): Likewise.
45555         (remquo_test_data): Likewise.
45556         (scalbn_test_data): Likewise.
45557         (scalbln_test_data): Likewise.
45558         (signbit_test_data): Likewise.
45559         (sqrt_test_data): Likewise.
45560         (significand_test_data): Likewise.
45562 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45564         [BZ #15424]
45565         * benchtests/bench-modf.c (struct args): Mark arg0 as
45566         volatile.
45567         * scripts/bench.pl: Mark members of struct args as volatile.
45569 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45571         [BZ # 15497]
45572         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
45573         negative infinity on POWER6 or lower.
45574         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
45576 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45578         [BZ #15442]
45579         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
45580         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
45581         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
45582         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
45583         (_FP_SETQNAN): New macro.
45584         (_FP_SETQNAN_SEMIRAW): Likewise.
45585         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
45586         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
45587         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
45588         (FP_EXTEND): Use _FP_FRAC_SNANP.
45589         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
45590         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
45591         into account.
45592         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45593         New macro.
45594         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45595         Likewise.
45597 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45599         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
45600         with DIVIDE_BY_ZERO_EXCEPTION.
45601         (gamma_test_data): Likewise.
45602         (lgamma_test_data): Likewise.
45603         (log_test_data): Likewise.
45604         (log10_test_data): Likewise.
45605         (log2_test_data): Likewise.
45606         (tgamma_test_data): Likewise.
45608         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
45609         (acos_test_tonearest): Likewise.
45610         (acos_test_towardzero): Likewise.
45611         (acos_test_downward): Likewise.
45612         (acos_test_upward): Likewise.
45613         (acosh_test): Likewise.
45614         (asin_test): Likewise.
45615         (asin_test_tonearest): Likewise.
45616         (asin_test_towardzero): Likewise.
45617         (asin_test_downward): Likewise.
45618         (asin_test_upward): Likewise.
45619         (asinh_test): Likewise.
45620         (atan_test): Likewise.
45621         (atanh_test): Likewise.
45622         (atan2_test): Likewise.
45623         (cabs_test): Likewise.
45624         (cacos_test): Likewise.
45625         (cacosh_test): Likewise.
45626         (casin_test): Likewise.
45627         (casinh_test): Likewise.
45628         (catan_test): Likewise.
45629         (catanh_test): Likewise.
45630         (cbrt_test): Likewise.
45631         (ccos_test): Likewise.
45632         (ccosh_test): Likewise.
45633         (cexp_test): Likewise.
45634         (clog_test): Likewise.
45635         (clog10_test): Likewise.
45636         (cos_test): Likewise.
45637         (cos_test_tonearest): Likewise.
45638         (cos_test_towardzero): Likewise.
45639         (cos_test_downward): Likewise.
45640         (cos_test_upward): Likewise.
45641         (cosh_test): Likewise.
45642         (cosh_test_tonearest): Likewise.
45643         (cosh_test_towardzero): Likewise.
45644         (cosh_test_downward): Likewise.
45645         (cosh_test_upward): Likewise.
45646         (cpow_test): Likewise.
45647         (csin_test): Likewise.
45648         (csinh_test): Likewise.
45649         (csqrt_test): Likewise.
45650         (ctan_test): Likewise.
45651         (ctan_test_tonearest): Likewise.
45652         (ctan_test_towardzero): Likewise.
45653         (ctan_test_downward): Likewise.
45654         (ctan_test_upward): Likewise.
45655         (ctanh_test): Likewise.
45656         (ctanh_test_tonearest): Likewise.
45657         (ctanh_test_towardzero): Likewise.
45658         (ctanh_test_downward): Likewise.
45659         (ctanh_test_upward): Likewise.
45660         (erf_test): Likewise.
45661         (erfc_test): Likewise.
45662         (exp_test): Likewise.
45663         (exp_test_tonearest): Likewise.
45664         (exp_test_towardzero): Likewise.
45665         (exp_test_downward): Likewise.
45666         (exp_test_upward): Likewise.
45667         (exp10_test): Likewise.
45668         (exp2_test): Likewise.
45669         (expm1_test): Likewise.
45670         (fmod_test): Likewise.
45671         (gamma_test): Likewise.
45672         (hypot_test): Likewise.
45673         (j0_test): Likewise.
45674         (j1_test): Likewise.
45675         (jn_test): Likewise.
45676         (lgamma_test): Likewise.
45677         (log_test): Likewise.
45678         (log10_test): Likewise.
45679         (log1p_test): Likewise.
45680         (log2_test): Likewise.
45681         (logb_test_downward): Likewise.
45682         (pow_test): Likewise.
45683         (pow_test_tonearest): Likewise.
45684         (pow_test_towardzero): Likewise.
45685         (pow_test_downward): Likewise.
45686         (pow_test_upward): Likewise.
45687         (remainder_test): Likewise.
45688         (remquo_test): Likewise.
45689         (sin_test): Likewise.
45690         (sin_test_tonearest): Likewise.
45691         (sin_test_towardzero): Likewise.
45692         (sin_test_downward): Likewise.
45693         (sin_test_upward): Likewise.
45694         (sincos_test): Likewise.
45695         (sinh_test): Likewise.
45696         (sinh_test_tonearest): Likewise.
45697         (sinh_test_towardzero): Likewise.
45698         (sinh_test_downward): Likewise.
45699         (sinh_test_upward): Likewise.
45700         (sqrt_test): Likewise.
45701         (tan_test): Likewise.
45702         (tan_test_tonearest): Likewise.
45703         (tan_test_towardzero): Likewise.
45704         (tan_test_downward): Likewise.
45705         (tan_test_upward): Likewise.
45706         (tanh_test): Likewise.
45707         (tgamma_test): Likewise.
45708         (y0_test): Likewise.
45709         (y1_test): Likewise.
45710         (yn_test): Likewise.
45712         * math/gen-libm-test.pl (adjust_arg): Remove function.
45713         (special_function): Remove argument $in_func.  Only handle
45714         generating output for tables of tests, not inside functions.
45715         (parse_args): Likewise.
45716         (generate_testfile): Remove variable $in_func.  Update call to
45717         parse_args.
45718         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
45719         (MINUS_ZERO_INIT): Rename macro to minus_zero.
45720         (PLUS_INFTY_INIT): Rename macro to plus_infty.
45721         (MINUS_INFTY_INIT): Rename macro to minus_infty.
45722         (QNAN_VALUE_INIT): Rename macro to qnan_value.
45723         (MAX_VALUE_INIT): Rename macro to max_value.
45724         (MIN_VALUE_INIT): Rename macro to min_value.
45725         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
45726         (plus_zero): Remove variable.
45727         (minus_zero): Likewise.
45728         (plus_infty): Likewise.
45729         (minus_infty): Likewise.
45730         (qnan_value): Likewise.
45731         (max_value): Likewise.
45732         (min_value): Likewise.
45733         (min_subnorm_value): Likewise.
45735 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45737         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
45738         uint64_t or uint32_t usage.
45739         * crypt/sha256-block.c: Likewise.
45740         * crypt/sha256-crypt.c: Likewise.
45741         * crypt/sha256.c: Likewise.
45742         * crypt/sha512-block.c: Likewise.
45743         * crypt/sha512-crypt.c: Likewise.
45744         * crypt/sha512.c: Likewise.
45745         * debug/backtrace-tst.c: Likewise.
45746         * debug/pcprofiledump.c: Likewise.
45747         * elf/cache.c: Likewise.
45748         * elf/dl-cache.c: Likewise.
45749         * elf/dl-misc.c: Likewise.
45750         * elf/dl-profile.c: Likewise.
45751         * elf/dl-support.c: Likewise.
45752         * elf/ldconfig.c: Likewise.
45753         * elf/sprof.c: Likewise.
45754         * iconv/dummy-repertoire.c: Likewise.
45755         * iconv/iconv_charmap.c: Likewise.
45756         * iconv/skeleton.c: Likewise.
45757         * iconvdata/8bit-generic.c: Likewise.
45758         * iconvdata/cp737.h: Likewise.
45759         * iconvdata/cp775.h: Likewise.
45760         * iconvdata/ibm1008.h: Likewise.
45761         * iconvdata/ibm1025.h: Likewise.
45762         * iconvdata/ibm1046.h: Likewise.
45763         * iconvdata/ibm1097.h: Likewise.
45764         * iconvdata/ibm1112.h: Likewise.
45765         * iconvdata/ibm1122.h: Likewise.
45766         * iconvdata/ibm1123.h: Likewise.
45767         * iconvdata/ibm1124.h: Likewise.
45768         * iconvdata/ibm1129.h: Likewise.
45769         * iconvdata/ibm1130.h: Likewise.
45770         * iconvdata/ibm1132.h: Likewise.
45771         * iconvdata/ibm1133.h: Likewise.
45772         * iconvdata/ibm1137.h: Likewise.
45773         * iconvdata/ibm1140.h: Likewise.
45774         * iconvdata/ibm1141.h: Likewise.
45775         * iconvdata/ibm1142.h: Likewise.
45776         * iconvdata/ibm1143.h: Likewise.
45777         * iconvdata/ibm1144.h: Likewise.
45778         * iconvdata/ibm1145.h: Likewise.
45779         * iconvdata/ibm1146.h: Likewise.
45780         * iconvdata/ibm1147.h: Likewise.
45781         * iconvdata/ibm1148.h: Likewise.
45782         * iconvdata/ibm1149.h: Likewise.
45783         * iconvdata/ibm1153.h: Likewise.
45784         * iconvdata/ibm1154.h: Likewise.
45785         * iconvdata/ibm1155.h: Likewise.
45786         * iconvdata/ibm1156.h: Likewise.
45787         * iconvdata/ibm1157.h: Likewise.
45788         * iconvdata/ibm1158.h: Likewise.
45789         * iconvdata/ibm1160.h: Likewise.
45790         * iconvdata/ibm1161.h: Likewise.
45791         * iconvdata/ibm1162.h: Likewise.
45792         * iconvdata/ibm1163.h: Likewise.
45793         * iconvdata/ibm1164.h: Likewise.
45794         * iconvdata/ibm1166.h: Likewise.
45795         * iconvdata/ibm1167.h: Likewise.
45796         * iconvdata/ibm12712.h: Likewise.
45797         * iconvdata/ibm1390.h: Likewise.
45798         * iconvdata/ibm1399.h: Likewise.
45799         * iconvdata/ibm16804.h: Likewise.
45800         * iconvdata/ibm4517.h: Likewise.
45801         * iconvdata/ibm4899.h: Likewise.
45802         * iconvdata/ibm4909.h: Likewise.
45803         * iconvdata/ibm4971.h: Likewise.
45804         * iconvdata/ibm5347.h: Likewise.
45805         * iconvdata/ibm803.h: Likewise.
45806         * iconvdata/ibm856.h: Likewise.
45807         * iconvdata/ibm901.h: Likewise.
45808         * iconvdata/ibm902.h: Likewise.
45809         * iconvdata/ibm9030.h: Likewise.
45810         * iconvdata/ibm9066.h: Likewise.
45811         * iconvdata/ibm921.h: Likewise.
45812         * iconvdata/ibm922.h: Likewise.
45813         * iconvdata/ibm9448.h: Likewise.
45814         * iconvdata/isiri-3342.h: Likewise.
45815         * iconvdata/jis0201.h: Likewise.
45816         * include/link.h: Likewise.
45817         * include/netdb.h: Likewise.
45818         * inet/check_native.c: Likewise.
45819         * inet/check_pf.c: Likewise.
45820         * inet/getipv4sourcefilter.c: Likewise.
45821         * inet/getnameinfo.c: Likewise.
45822         * inet/getsourcefilter.c: Likewise.
45823         * inet/htonl.c: Likewise.
45824         * inet/setipv4sourcefilter.c: Likewise.
45825         * inet/setsourcefilter.c: Likewise.
45826         * inet/test-inet6_opt.c: Likewise.
45827         * inet/tst-network.c: Likewise.
45828         * locale/C-collate.c: Likewise.
45829         * locale/C-ctype.c: Likewise.
45830         * locale/C-time.c: Likewise.
45831         * locale/C-translit.h: Likewise.
45832         * locale/loadarchive.c: Likewise.
45833         * locale/programs/3level.h: Likewise.
45834         * locale/programs/charmap.c: Likewise.
45835         * locale/programs/charmap.h: Likewise.
45836         * locale/programs/ld-address.c: Likewise.
45837         * locale/programs/ld-collate.c: Likewise.
45838         * locale/programs/ld-ctype.c: Likewise.
45839         * locale/programs/ld-identification.c: Likewise.
45840         * locale/programs/ld-measurement.c: Likewise.
45841         * locale/programs/ld-messages.c: Likewise.
45842         * locale/programs/ld-monetary.c: Likewise.
45843         * locale/programs/ld-name.c: Likewise.
45844         * locale/programs/ld-numeric.c: Likewise.
45845         * locale/programs/ld-paper.c: Likewise.
45846         * locale/programs/ld-telephone.c: Likewise.
45847         * locale/programs/ld-time.c: Likewise.
45848         * locale/programs/linereader.c: Likewise.
45849         * locale/programs/locale.c: Likewise.
45850         * locale/programs/locarchive.c: Likewise.
45851         * locale/programs/locfile.h: Likewise.
45852         * locale/programs/repertoire.c: Likewise.
45853         * locale/programs/simple-hash.c: Likewise.
45854         * locale/programs/simple-hash.h: Likewise.
45855         * malloc/memusage.c: Likewise.
45856         * malloc/memusagestat.c: Likewise.
45857         * nis/nis_defaults.c: Likewise.
45858         * nis/nis_hash.c: Likewise.
45859         * nis/nis_print.c: Likewise.
45860         * nis/nis_xdr.c: Likewise.
45861         * nscd/connections.c: Likewise.
45862         * nscd/hstcache.c: Likewise.
45863         * nscd/nscd_gethst_r.c: Likewise.
45864         * nscd/nscd_getserv_r.c: Likewise.
45865         * nscd/nscd_helper.c: Likewise.
45866         * nscd/servicescache.c: Likewise.
45867         * nss/makedb.c: Likewise.
45868         * nss/nss_db/db-XXX.c: Likewise.
45869         * nss/nss_db/db-initgroups.c: Likewise.
45870         * nss/nss_db/db-netgrp.c: Likewise.
45871         * nss/nss_files/files-network.c: Likewise.
45872         * nss/nss_files/files-parse.c: Likewise.
45873         * posix/bug-regex5.c: Likewise.
45874         * posix/fnmatch_loop.c: Likewise.
45875         * posix/regcomp.c: Likewise.
45876         * posix/regexec.c: Likewise.
45877         * posix/tst-rfc3484-2.c: Likewise.
45878         * posix/tst-rfc3484-3.c: Likewise.
45879         * posix/tst-rfc3484.c: Likewise.
45880         * resolv/nss_dns/dns-canon.c: Likewise.
45881         * resolv/nss_dns/dns-network.c: Likewise.
45882         * resolv/res_init.c: Likewise.
45883         * resolv/res_mkquery.c: Likewise.
45884         * resolv/tst-aton.c: Likewise.
45885         * stdlib/cxa_atexit.c: Likewise.
45886         * stdlib/cxa_finalize.c: Likewise.
45887         * stdlib/gen-fpioconst.c: Likewise.
45888         * stdlib/strtol_l.c: Likewise.
45889         * string/tst-endian.c: Likewise.
45890         * sunrpc/auth_des.c: Likewise.
45891         * sunrpc/clnt_udp.c: Likewise.
45892         * sunrpc/rtime.c: Likewise.
45893         * sunrpc/svcauth_des.c: Likewise.
45894         * sunrpc/xdr.c: Likewise.
45895         * sunrpc/xdr_intXX_t.c: Likewise.
45896         * sunrpc/xdr_rec.c: Likewise.
45897         * sysdeps/generic/ldconfig.h: Likewise.
45898         * sysdeps/generic/ldsodefs.h: Likewise.
45899         * sysdeps/generic/memusage.h: Likewise.
45900         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45901         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
45902         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
45903         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45904         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45905         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45906         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45907         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45908         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45909         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45910         * sysdeps/posix/getaddrinfo.c: Likewise.
45911         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45912         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45913         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45914         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45915         * sysdeps/powerpc/test-gettimebase.c: Likewise.
45916         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45917         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
45918         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
45919         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45920         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
45921         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45922         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45923         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
45924         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
45925         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
45926         * sysdeps/x86_64/dl-tls.h: Likewise.
45927         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
45928         * time/alt_digit.c: Likewise.
45929         * time/era.c: Likewise.
45930         * wcsmbs/tst-c16c32-1.c: Likewise.
45932 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45934         * math/libm-test.inc (struct test_sincos_data): New type.
45935         (RUN_TEST_LOOP_sincos): New macro.
45936         (sincos_test_data): New variable.
45937         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
45939 2013-05-16  Richard Henderson  <rth@redhat.com>
45941         * math/atest-exp2.c (LIMB64): New macro.
45942         (CONSTSZ): New macro.
45943         (mp_exp1, mp_exp_m1, mp_log2): New variables.
45944         (hexdig): Move ...
45945         (print_mpn_fp): ... to function scope.
45946         (read_mpn_hex): Remove.
45947         (get_log2): Remove.
45948         (exp2_mpn): Use mp_log2.
45949         (main): Use mp_exp1.
45951 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45953         * math/libm-test.inc: Remove comment about not testing "inexact"
45954         exceptions.
45955         (INEXACT_EXCEPTION): New macro.
45956         (NO_INEXACT_EXCEPTION): Likewise.
45957         (INVALID_EXCEPTION_OK): Update value.
45958         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45959         (OVERFLOW_EXCEPTION_OK): Likewise.
45960         (UNDERFLOW_EXCEPTION_OK): Likewise.
45961         (IGNORE_ZERO_INF_SIGN): Likewise.
45962         (ERRNO_UNCHANGED): Likewise.
45963         (ERRNO_EDOM): Likewise.
45964         (ERRNO_ERANGE): Likewise.
45965         (test_exceptions): Handle testing "inexact" exceptions.
45966         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
45967         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
45968         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
45969         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
45970         INEXACT_EXCEPTION.
45971         (rint_towardzero_test_data): Likewise.
45972         (rint_downward_test_data): Likewise.
45973         (rint_upward_test_data): Likewise.
45975         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45976         with OVERFLOW_EXCEPTION.
45977         (exp10_test_data): Likewise.
45978         (exp2_test_data): Likewise.
45979         (expm1_test_data): Likewise.
45980         (lgamma_test_data): Likewise.
45981         (pow_test_data): Likewise.
45982         (tgamma_test_data): Likewise.
45983         (yn_test_data): Remove duplicate test of overflow.
45985         * math/libm-test.inc (struct test_cc_c_data): New type.
45986         (RUN_TEST_LOOP_cc_c): New macro.
45987         (cpow_test_data): New variable.
45988         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
45990         * math/libm-test.inc (struct test_f_L_data): New type.
45991         (RUN_TEST_LOOP_f_L): New macro.
45992         (llrint_test_data): New variable.
45993         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
45994         (llrint_tonearest_test_data): New variable.
45995         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
45996         (llrint_towardzero_test_data): New variable.
45997         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
45998         (llrint_downward_test_data): New variable.
45999         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
46000         (llrint_upward_test_data): New variable.
46001         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
46002         (llround_test_data): New variable.
46003         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
46005 2013-05-13  Peter Collingbourne  <pcc@google.com>
46007         * math/atest-exp2.c (get_log2): Remove const attribute.
46009 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46011         * math/libm-test.inc (struct test_f_l_data): New type.
46012         (RUN_TEST_LOOP_f_l): New macro.
46013         (lrint_test_data): New variable.
46014         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
46015         (lrint_tonearest_test_data): New variable.
46016         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
46017         (lrint_towardzero_test_data): New variable.
46018         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
46019         (lrint_downward_test_data): New variable.
46020         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
46021         (lrint_upward_test_data): New variable.
46022         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
46023         (lround_test_data): New variable.
46024         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
46026 2013-05-15  Peter Collingbourne  <pcc@google.com>
46028         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
46029         (EXTRACT_WORDS64) Use where appropriate.
46030         (INSERT_WORDS64) Likewise.
46032         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
46033         constraints with x constraints.
46034         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
46036         * malloc/obstack.c (_obstack_compat): Add initializer.
46038 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46040         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
46041         si_trapno and add si_addr_lsb to _sifields.sigfault.
46042         (si_trapno): Remove macro.
46043         (si_addr_lsb): Define new macro.
46044         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46046 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46048         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
46049         instead of TEST_f_l.
46050         (llrint_test_tonearest): Likewise.
46051         (llrint_test_towardzero): Likewise.
46052         (llrint_test_downward): Likewise.
46053         (llrint_test_upward): Likewise.
46054         (llround_test): Likewise.
46056         * math/libm-test.inc (struct test_f_i_data): Add comment.
46057         (RUN_TEST_LOOP_f_b): New macro.
46058         (RUN_TEST_LOOP_f_b_tg): Likewise.
46059         (finite_test_data): New variable.
46060         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
46061         (isfinite_test_data): New variable.
46062         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46063         (isinf_test_data): New variable.
46064         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46065         (isnan_test_data): New variable.
46066         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46067         (isnormal_test_data): New variable.
46068         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46069         (issignaling_test_data): New variable.
46070         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46071         (signbit_test_data): New variable.
46072         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46074         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
46075         with INVALID_EXCEPTION.
46076         (acosh_test_data): Likewise.
46077         (asin_test_data): Likewise.
46078         (atanh_test_data): Likewise.
46079         (fmod_test_data): Likewise.
46080         (log_test_data): Likewise.
46081         (log10_test_data): Likewise.
46082         (log2_test_data): Likewise.
46083         (pow_test_data): Likewise.
46084         (sqrt_test_data): Likewise.
46085         (y0_test_data): Likewise.
46086         (y1_test_data): Likewise.
46087         (yn_test_data): Likewise.
46089         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
46090         function contents.
46092         * math/libm-test.inc (struct test_ff_i_data): New type.
46093         (RUN_TEST_LOOP_ff_i_tg): New macro.
46094         (isgreater_test_data): New variable.
46095         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46096         (isgreaterequal_test_data): New variable.
46097         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46098         (isless_test_data): New variable.
46099         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46100         (islessequal_test_data): New variable.
46101         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46102         (islessgreater_test_data): New variable.
46103         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46104         (isunordered_test_data): New variable.
46105         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46107 2013-05-14  David S. Miller  <davem@davemloft.net>
46109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46111 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
46113         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
46115         * math/libm-test.inc (struct test_fF_f1_data): Change type of
46116         extra_test to int.
46117         (struct test_f_i_data): Change type of max_ulp to int.
46119         * math/libm-test.inc (test_ffI_f1_data): New type.
46120         (RUN_TEST_LOOP_ffI_f1): New macro.
46121         (remquo_test_data): New variable.
46122         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
46124         * setjmp/tst-setjmp-fp.c: New file.
46125         * setjmp/Makefile (tests): Add tst-setjmp-fp.
46126         (link-libm): New variable.
46127         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
46129         * math/libm-test.inc (struct test_f_i_data): New type.
46130         (RUN_TEST_LOOP_f_i): New macro.
46131         (RUN_TEST_LOOP_f_i_tg): Likewise.
46132         (fpclassify_test_data): New variable.
46133         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
46134         (ilogb_test_data): New variable.
46135         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
46137         * math/libm-test.inc (scalbln_test): Correct function name in END
46138         call.
46140         * math/libm-test.inc (struct test_f_f1_data): Add comment.
46141         (RUN_TEST_LOOP_fI_f1): New macro.
46142         (frexp_test_data): New variable.
46143         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
46145         * math/libm-test.inc (struct test_fF_f1_data): New type.
46146         (RUN_TEST_LOOP_fF_f1): New macro.
46147         (modf_test_data): New variable.
46148         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
46150         * math/libm-test.inc (struct test_f_f1_data): New type.
46151         (RUN_TEST_LOOP_f_f1): New macro.
46152         (gamma_test_data): New variable.
46153         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46154         (lgamma_test_data): New variable.
46155         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46157 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46159         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46160         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46161         (main): Comment "tls" pseudo-hwcap.
46163 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46165         * math/libm-test.inc (struct test_fl_f_data): New type.
46166         (RUN_TEST_LOOP_fl_f): New variable.
46167         (scalbln_test_data): New variable.
46168         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46170         * math/libm-test.inc (struct test_fi_f_data): New type.
46171         (RUN_TEST_LOOP_fi_f): New macro.
46172         (ldexp_test_data): New variable.
46173         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46174         (scalbn_test_data): New variable.
46175         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46177         * math/libm-test.inc (struct test_c_f_data): New type.
46178         (RUN_TEST_LOOP_c_f): New macro.
46179         (cabs_test_data): New variable.
46180         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46181         (carg_test_data): New variable.
46182         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46183         (cimag_test_data): New variable.
46184         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46185         (creal_test_data): New variable.
46186         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46188         * math/libm-test.inc (struct test_if_f_data): New type.
46189         (RUN_TEST_LOOP_if_f): New macro.
46190         (jn_test_data): New variable.
46191         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46192         (yn_test_data): New variable.
46193         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46195         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46197 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46199         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46200         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46202 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46204         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46205         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46206         (bench-deps): Add bench-timing.h.
46207         * benchtests-bench-skeleton.c: Include bench-timing.h.
46208         (main): Use TIMING_* macros instead of clock_gettime.
46209         * benchtests/bench-timing.h: New file.
46211         [BZ #14582]
46212         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46213         Renamed from _LIB_VERSION.
46214         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46216 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46218         * math/libm-test.inc (struct test_fff_f_data): New type.
46219         (RUN_TEST_LOOP_fff_f): New macro.
46220         (fma_test_data): New variable.
46221         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46222         (fma_towardzero_test_data): New variable.
46223         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46224         (fma_downward_test_data): New variable.
46225         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46226         (fma_upward_test_data): New variable.
46227         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46229         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46230         (struct test_c_c_data): New type.
46231         (RUN_TEST_LOOP_c_c): New macro.
46232         (cacos_test_data): New variable.
46233         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46234         (cacosh_test_data): New variable.
46235         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46236         (casin_test_data): New variable.
46237         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46238         (casinh_test_data): New variable.
46239         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46240         (catan_test_data): New variable.
46241         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46242         (catanh_test_data): New variable.
46243         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46244         (ccos_test_data): New variable.
46245         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46246         (ccosh_test_data): New variable.
46247         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46248         (cexp_test_data): New variable.
46249         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46250         (clog_test_data): New variable.
46251         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46252         (clog10_test_data): New variable.
46253         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46254         (conj_test_data): New variable.
46255         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46256         (cproj_test_data): New variable.
46257         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46258         (csin_test_data): New variable.
46259         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46260         (csinh_test_data): New variable.
46261         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46262         (csqrt_test_data): New variable.
46263         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46264         (ctan_test_data): New variable.
46265         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46266         (ctan_tonearest_test_data): New variable.
46267         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46268         (ctan_towardzero_test_data): New variable.
46269         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46270         (ctan_downward_test_data): New variable.
46271         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46272         (ctan_upward_test_data): New variable.
46273         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46274         (ctanh_test_data): New variable.
46275         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46276         (ctanh_tonearest_test_data): New variable.
46277         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46278         (ctanh_towardzero_test_data): New variable.
46279         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46280         (ctanh_downward_test_data): New variable.
46281         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46282         (ctanh_upward_test_data): New variable.
46283         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46284         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46285         of BUILD_COMPLEX.
46287         * math/libm-test.inc (struct test_ff_f_data): New type.
46288         (struct test_ff_f_data_nexttoward): Likewise.
46289         (RUN_TEST_LOOP_2_f): New macro.
46290         (RUN_TEST_LOOP_ff_f): Likewise.
46291         (atan2_test_data): New variable.
46292         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46293         (copysign_test_data): New variable.
46294         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46295         (fdim_test_data): New variable.
46296         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46297         (fmax_test_data): New variable.
46298         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46299         (fmin_test_data): New variable.
46300         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46301         (fmod_test_data): New variable.
46302         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46303         (hypot_test_data): New variable.
46304         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46305         (nextafter_test_data): New variable.
46306         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46307         (nexttoward_test_data): New variable.
46308         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46309         (pow_test_data): New variable.
46310         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46311         (pow_tonearest_test_data): New variable.
46312         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46313         (pow_towardzero_test_data): New variable.
46314         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46315         (pow_downward_test_data): New variable.
46316         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46317         (pow_upward_test_data): New variable.
46318         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46319         (remainder_test_data): New variable.
46320         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46321         (scalb_test_data): New variable.
46322         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46323         * sysdeps/i386/fpu/libm-test-ulps: Update.
46325 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46327         * math/libm-test.inc (fma_test): Use max_value instead of local
46328         variable fltmax.
46329         (nextafter_test): Likewise.
46331         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46332         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46333         (acos_downward_test_data): New variable.
46334         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46335         (acos_upward_test_data): New variable.
46336         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46337         (acosh_test_data): New variable.
46338         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46339         (asin_test_data): New variable.
46340         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46341         (asin_tonearest_test_data): New variable.
46342         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46343         (asin_towardzero_test_data): New variable.
46344         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46345         (asin_downward_test_data): New variable.
46346         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46347         (asin_upward_test_data): New variable.
46348         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46349         (asinh_test_data): New variable.
46350         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46351         (atan_test_data): New variable.
46352         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46353         (atanh_test_data): New variable.
46354         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46355         (cbrt_test_data): New variable.
46356         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46357         (ceil_test_data): New variable.
46358         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46359         (cos_test_data): New variable.
46360         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46361         (cos_tonearest_test_data): New variable.
46362         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46363         (cos_towardzero_test_data): New variable.
46364         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46365         (cos_downward_test_data): New variable.
46366         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46367         (cos_upward_test_data): New variable.
46368         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46369         (cosh_test_data): New variable.
46370         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46371         (cosh_tonearest_test_data): New variable.
46372         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46373         (cosh_towardzero_test_data): New variable.
46374         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46375         (cosh_downward_test_data): New variable.
46376         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46377         (cosh_upward_test_data): New variable.
46378         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46379         (erf_test_data): New variable.
46380         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46381         (erfc_test_data): New variable.
46382         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46383         (exp_test_data): New variable.
46384         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46385         (exp_tonearest_test_data): New variable.
46386         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46387         (exp_towardzero_test_data): New variable.
46388         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46389         (exp_downward_test_data): New variable.
46390         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46391         (exp_upward_test_data): New variable.
46392         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46393         (exp10_test_data): New variable.
46394         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46395         (exp2_test_data): New variable.
46396         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46397         (expm1_test_data): New variable.
46398         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46399         (fabs_test_data): New variable.
46400         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46401         (floor_test_data): New variable.
46402         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46403         (j0_test_data): New variable.
46404         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46405         (j1_test_data): New variable.
46406         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46407         (log_test_data): New variable.
46408         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46409         (log10_test_data): New variable.
46410         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46411         (log1p_test_data): New variable.
46412         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46413         (log2_test_data): New variable.
46414         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46415         (logb_test_data): New variable.
46416         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46417         (logb_downward_test_data): New variable.
46418         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46419         (nearbyint_test_data): New variable.
46420         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46421         (rint_test_data): New variable.
46422         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46423         (rint_tonearest_test_data): New variable.
46424         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46425         (rint_towardzero_test_data): New variable.
46426         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46427         (rint_downward_test_data): New variable.
46428         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46429         (rint_upward_test_data): New variable.
46430         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46431         (round_test_data): New variable.
46432         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46433         (sin_test_data): New variable.
46434         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46435         (sin_tonearest_test_data): New variable.
46436         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46437         (sin_towardzero_test_data): New variable.
46438         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46439         (sin_downward_test_data): New variable.
46440         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46441         (sin_upward_test_data): New variable.
46442         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46443         (sinh_test_data): New variable.
46444         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46445         (sinh_tonearest_test_data): New variable.
46446         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46447         (sinh_towardzero_test_data): New variable.
46448         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46449         (sinh_downward_test_data): New variable.
46450         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46451         (sinh_upward_test_data): New variable.
46452         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46453         (sqrt_test_data): New variable.
46454         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46455         (tan_test_data): New variable.
46456         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46457         (tan_tonearest_test_data): New variable.
46458         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46459         (tan_towardzero_test_data): New variable.
46460         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46461         (tan_downward_test_data): New variable.
46462         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46463         (tan_upward_test_data): New variable.
46464         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46465         (tanh_test_data): New variable.
46466         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46467         (tgamma_test_data): New variable.
46468         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46469         (trunc_test_data): New variable.
46470         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46471         (y0_test_data): New variable.
46472         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46473         (y1_test_data): New variable.
46474         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46475         (significand_test_data): New variable.
46476         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46478 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46480         [BZ #12387]
46481         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46483 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46485         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46487 2013-05-10  Andreas Jaeger  <aj@suse.de>
46489         [BZ #15448]
46490         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46491         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46493 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46495         * math/gen-libm-test.pl (adjust_arg): New function.
46496         (special_functions): Handle generating output in both functions
46497         and arrays.
46498         (parse_args): Likewise.
46499         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46500         $in_func argument to parse_args.
46501         * math/libm-test.inc (struct test_f_f_data): New type.
46502         (IF_ROUND_INIT_): New macro.
46503         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46504         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46505         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46506         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46507         (ROUND_RESTORE_): Likewise.
46508         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46509         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46510         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46511         (ROUND_RESTORE_FE_UPWARD): Likewise.
46512         (RUN_TEST_LOOP_f_f): New macro.
46513         (acos_test_data): New variable.
46514         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46515         (acos_tonearest_test_data): New variable.
46516         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46518 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46520         * benchtests/bench-skeleton.c (startup): Fix coding style.
46522 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46524         [BZ #6809]
46525         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46526         negative infinity argument.
46527         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
46528         negative infinity argument.
46529         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
46530         negative infinity argument.
46531         * math/libm-test.inc (tgamma_test): Expect errno to be set for
46532         domain errors.
46534 2013-05-10  Florian Weimer  <fweimer@redhat.com>
46536         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
46537         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46538         * iconv/iconv_prog.c (main): Likewise.
46539         * locale/programs/charmap-dir.c (charmap_readdir)
46540         (fopen_uncompressed): Likewise.
46541         * locale/programs/locfile.c (siblings_uncached)
46542         (write_locale_data): Use lstat64 instead of lstat.
46543         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46544         stat.
46546 2013-05-10  Andreas Jaeger  <aj@suse.de>
46548         [BZ #15395]
46549         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46550         localization.
46551         Include <locale.h>.
46553 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46555         * elf/dl-close.c (_dl_close_worker): Add comments.
46557 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46559         [BZ #15359]
46560         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46561         high part of pi/2.
46562         (__ieee754_rem_pio2l): Update comments.
46564         [BZ #15429]
46565         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
46566         high part of pi/2.
46567         (__ieee754_rem_pio2l): Update comments.
46569         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
46570         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
46572         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
46573         M_PI_4l.
46575         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
46576         (M_PI_34_LOG10El): Likewise.
46577         (M_PI2_LOG10El): Likewise.
46578         (M_PI4_LOG10El): Likewise.
46579         (M_PI_LOG10El): Likewise.
46581 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46585 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
46587         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
46588         (MINUS_ZERO_INIT): Likewise.
46589         (PLUS_INFTY_INIT): Likewise.
46590         (MINUS_INFTY_INIT): Likewise.
46591         (QNAN_VALUE_INIT): Likewise.
46592         (MAX_VALUE_INIT): Likewise.
46593         (MIN_VALUE_INIT): Likewise.
46594         (MIN_SUBNORM_VALUE_INIT): Likewise.
46595         (plus_zero): Initialize with PLUS_ZERO_INIT.
46596         (minus_zero): Initialize with MINUS_ZERO_INIT.
46597         (plus_infty): Initialize with PLUS_INFTY_INIT.
46598         (minus_infty): Initialize with MINUS_INFTY_INIT.
46599         (qnan_value): Initialize with QNAN_VALUE_INIT.
46600         (max_value): Initialize with MAX_VALUE_INIT.
46601         (min_value): Initialize with MIN_VALUE_INIT.
46602         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
46604         * math/libm-test.inc (RUN_TEST_if_f): New macro.
46605         (jn_test): Use TEST_if_f instead of TEST_ff_f.
46606         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
46607         (yn_test): Use TEST_if_f instead of TEST_ff_f.
46609         * math/libm-test.inc (RUN_TEST_f_f): New macro.
46610         (RUN_TEST_2_f): Likewise.
46611         (RUN_TEST_ff_f): Likewise.
46612         (RUN_TEST_fi_f): Likewise.
46613         (RUN_TEST_fl_f): Likewise.
46614         (RUN_TEST_fff_f): Likewise.
46615         (RUN_TEST_c_f): Likewise.
46616         (RUN_TEST_f_f1): Likewise.
46617         (RUN_TEST_fF_f1): Likewise.
46618         (RUN_TEST_fI_f1): Likewise.
46619         (RUN_TEST_ffI_f1): Likewise.
46620         (RUN_TEST_c_c): Likewise.
46621         (RUN_TEST_cc_c): Likewise.
46622         (RUN_TEST_f_i): Likewise.
46623         (RUN_TEST_f_i_tg): Likewise.
46624         (RUN_TEST_ff_i_tg): Likewise.
46625         (RUN_TEST_f_b): Likewise.
46626         (RUN_TEST_f_b_tg): Likewise.
46627         (RUN_TEST_f_l): Likewise.
46628         (RUN_TEST_f_L): Likewise.
46629         (RUN_TEST_sincos): Likewise.
46630         * math/gen-libm-test.pl (new_test): Take new argument to indicate
46631         whether to show exceptions.  Do not include ");\n" in return
46632         value.
46633         (special_functions): Output call to RUN_TEST_sincos instead of
46634         check_float calls.  Update calls to new_test.
46635         (parse_args): Output call to single RUN_TEST_* macro instead of
46636         check_* calls and other assignments.  Update calls to new_test.
46638         [BZ #2546]
46639         [BZ #2560]
46640         [BZ #5159]
46641         [BZ #15426]
46642         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
46643         input to result for tgamma overflow.
46644         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
46645         (gamma_coeff): New variable.
46646         (NCOEFF): New macro.
46647         (gamma_positive): New function.
46648         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
46649         underflow here.  Use gamma_positive instead of exp (lgamma) for
46650         other arguments.
46651         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
46652         (gamma_coeff): New variable.
46653         (NCOEFF): New macro.
46654         (gammaf_positive): New function.
46655         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
46656         underflow here.  Use gamma_positive instead of exp (lgamma) for
46657         other arguments.
46658         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
46659         (gamma_coeff): New variable.
46660         (NCOEFF): New macro.
46661         (gammal_positive): New function.
46662         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
46663         underflow here.  Use gamma_positive instead of exp (lgamma) for
46664         other arguments.
46665         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
46666         (gamma_coeff): New variable.
46667         (NCOEFF): New macro.
46668         (gammal_positive): New function.
46669         (__ieee754_gammal_r): Handle positive infinity, overflow and
46670         underflow here.  Handle NaN the same as positive infinity.  Remove
46671         check x < 0xffffffff for negative integers.  Use gamma_positive
46672         instead of exp (lgamma) for other arguments.
46673         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
46674         (gamma_coeff): New variable.
46675         (NCOEFF): New macro.
46676         (gammal_positive): New function.
46677         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
46678         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
46679         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
46680         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
46681         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
46682         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
46683         * sysdeps/generic/math_private.h (__gamma_productf): New
46684         prototype.
46685         (__gamma_product): Likewise.
46686         (__gamma_productl): Likewise.
46687         * math/Makefile (libm-calls): Add gamma_product.
46688         * math/libm-test.inc (tgamma_test): Add more tests.
46689         * sysdeps/i386/fpu/libm-test-ulps: Update.
46690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46692 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
46694         * benchtests/bench-skeleton.c (main): Preheat CPU.
46696 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
46698         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
46700 2013-05-07  Roland McGrath  <roland@hack.frob.com>
46702         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
46703         and _dl_skip_args_internal.
46705 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
46707         * manual/message.texi (Message Translation): Talk about users.
46708         Message to key mapping impacts design.
46710 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46712         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
46714         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
46716         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
46717         * sysdeps/wordsize-64/glob64.c: ... here.
46719         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
46720         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
46721         New macros.
46723         * debug/getlogin_r_chk.c: Moved to ...
46724         * login/getlogin_r_chk.c: ... here.
46725         * debug/Makefile (routines): Move getlogin_r_chk to ...
46726         * login/Makefile (routines): ... here.
46727         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
46728         * login/Versions (libc: GLIBC_2.4): ... here.
46730         * io/poll.c (__poll): Renamed from poll.
46731         Add libc_hidden_def.
46732         (poll): Define as weak alias.
46734         * debug/ptsname_r_chk.c: Moved to ...
46735         * login/ptsname_r_chk.c: ... here.
46736         * debug/Makefile (routines): Move ptsname_r_chk to ...
46737         * login/Makefile (routines): ... here.
46738         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
46739         * login/Versions (libc: GLIBC_2.4): ... here.
46741         * posix/getlogin.c: Moved to ...
46742         * login/getlogin.c: ... here.
46743         * posix/getlogin_r.c: Moved to ...
46744         * login/getlogin_r.c: ... here.
46745         * posix/getlogin_r.c: Moved to ...
46746         * login/getlogin_r.c: ... here.
46747         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
46748         * login/Makefile (routines): ... here.
46749         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
46750         * login/Versions (libc: GLIBC_2.0): ... here.
46752         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
46753         (setrlimit): Define as weak alias.
46755         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
46756         Call __ names for open, ftruncate, and close.
46757         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
46758         (truncate): Define as weak alias.
46760 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
46762         * math/gen-libm-test.pl (parse_args): Initialize x before each
46763         test of frexp, modf and remquo.
46765         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
46766         test signgam value.
46768 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46770         [BZ #15418]
46771         [BZ #15419]
46772         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
46773         internal tests.
46774         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46776 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46778         * elf/dl-writev.h: New file.
46779         * elf/dl-misc.c: Include it.
46780         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
46781         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
46783 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
46785         * math/libm-test.inc (noXFails): Remove variable.
46786         (noXPasses): Likewise.
46787         (BUILD_COMPLEX_INT): Remove macro.
46788         (print_screen): Remove xfail argument.
46789         (print_screen_max_error): Likewise.
46790         (update_stats): Likewise.
46791         (print_max_error): Likewise.  Update calls to other affected
46792         functions.
46793         (print_complex_max_error): Likewise.
46794         (test_single_exception): Update calls to print_screen.
46795         (test_single_errno): Likewise.
46796         (check_float_internal): Remove xfail argument.  Update calls to
46797         other affected functions.
46798         (check_float): Likewise.
46799         (check_complex): Likewise.
46800         (check_int): Likewise.
46801         (check_long): Likewise.
46802         (check_bool): Likewise.
46803         (check_longlong): Likewise.
46804         (main): Don't print noXFails and noXPasses.
46805         * math/gen-libm-test.pl (top level): Don't mention expected
46806         failure handling in comment.
46807         (new_test): Don't handle expected failures.
46808         (parse_args): Don't mention expected failure handling in comment.
46809         (generate_testfile): Don't handle expected failures.
46810         (parse_ulps): Likewise.
46811         (print_ulps_file): Likewise.
46812         (get_failure): Remove function.
46813         (output_test): Don't handle expected failures.
46814         * make/README.libm-test: Don't mention expected failure handling.
46816         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
46817         (minus_zero): Likewise.
46818         (plus_infty): Likewise.
46819         (minus_infty): Likewise.
46820         (qnan_value): Likewise.
46821         (max_value): Likewise.
46822         (min_value): Likewise.
46823         (min_subnorm_value): Likewise.
46824         (initialize): Do not initialize those variables dynamically.
46826 2013-05-03  Roland McGrath  <roland@hack.frob.com>
46828         * io/open.c (__open_2): Moved to ...
46829         * io/open_2.c: ... this new file.
46830         * io/open64.c (__open64_2): Moved to ...
46831         * io/open64_2.c: ... this new file.
46832         * io/openat.c (__openat_2): Moved to ...
46833         * io/openat_2.c: ... this new file.
46834         * io/openat64.c (__openat64_2): Moved to ...
46835         * io/openat64_2.c: ... this new file.
46836         * io/Makefile (routines): Add them.
46837         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
46838         * sysdeps/unix/sysv/linux/open_2.c: File removed.
46839         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
46840         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
46841         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
46842         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
46843         (__openat64): Add hidden_ver.
46844         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
46845         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
46847         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
46848         Separately conditionalize setting of GLRO(dl_sysinfo) so
46849         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
46850         as well, but the actual setting is only under [NEED_DL_SYSINFO].
46852 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46854         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
46855         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
46856         definition.
46857         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
46858         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46859         (_libc_vdso_platform_setup): Add __vdso_time initialization.
46860         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
46861         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
46863 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
46865         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
46866         test signgam value.
46868         * math/libm-test.inc (hypot_test): Do not use
46869         IGNORE_ZERO_INF_SIGN.
46871 2013-05-03  Andreas Jaeger  <aj@suse.de>
46873         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
46874         Linux 3.9.
46875         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
46876         (PF_MAX): Adjust for VSOCK change.
46878 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46882 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
46884         [BZ #15264]
46885         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
46886         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
46887         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
46889 2013-05-02  David S. Miller  <davem@davemloft.net>
46891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46893 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
46895         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
46897 2013-05-01  Roland McGrath  <roland@hack.frob.com>
46899         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
46901 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
46903         [BZ #14952]
46904         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
46905         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46906         Use __attribute__ ((__gnu_inline__)).
46907         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46908         Don't use __attribute__ ((__gnu_inline__)).
46910 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
46912         [BZ #15423]
46913         * math/s_catan.c (__catan): Handle small real or imaginary part of
46914         input specially to avoid spurious underflow.
46915         * math/s_catanf.c (__catanf): Likewise.
46916         * math/s_catanh.c (__catanh): Likewise.
46917         * math/s_catanhf.c (__catanhf): Likewise.
46918         * math/s_catanhl.c (__catanhl): Likewise.
46919         * math/s_catanl.c (__catanl): Likewise.
46920         * math/libm-test.inc (catan_test): Add more tests.
46921         (catanh_test): Likewise.
46922         * sysdeps/i386/fpu/libm-test-ulps: Update.
46923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46925 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46929 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
46931         [BZ #15416]
46932         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
46933         accurately for denominator in atan2.
46934         * math/s_catanf.c (__catanf): Likewise.
46935         * math/s_catanh.c (__catanh): Likewise.
46936         * math/s_catanhf.c (__catanhf): Likewise.
46937         * math/s_catanhl.c (__catanhl): Likewise.
46938         * math/s_catanl.c (__catanl): Likewise.
46939         * math/libm-test.inc (catan_test): Add more tests.
46940         (catanh_test): Likewise.
46941         * sysdeps/i386/fpu/libm-test-ulps: Update.
46942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46944 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46946         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46948         * benchtests/Makefile (bench): Remove slow benchmarks.
46949         * benchtests/atan-inputs: Add slow benchmark inputs.
46950         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
46951         (BENCH_FUNC): Accept variant offset.
46952         (VARIANT): Define.
46953         * benchtests/bench-skeleton.c (main): Run benchmark for each
46954         variant.
46955         * benchtests/cos-inputs: Add slow benchmark inputs.
46956         * benchtests/exp-inputs: Likewise.
46957         * benchtests/pow-inputs: Likewise.
46958         * benchtests/sin-inputs: Likewise.
46959         * benchtests/slowatan-inputs: Remove.
46960         * benchtests/slowatan.c: Remove.
46961         * benchtests/slowcos-inputs: Remove.
46962         * benchtests/slowcos.c: Remove.
46963         * benchtests/slowexp-inputs: Remove.
46964         * benchtests/slowexp.c: Remove.
46965         * benchtests/slowpow-inputs: Remove.
46966         * benchtests/slowpow.c: Remove.
46967         * benchtests/slowsin-inputs: Remove.
46968         * benchtests/slowsin.c: Remove.
46969         * benchtests/slowtan-inputs: Remove.
46970         * benchtests/slowtan.c: Remove.
46971         * benchtests/tan-inputs: Add slow benchmark inputs.
46972         * scripts/bench.pl: Parse comments and directives.
46974         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
46975         in CPPFLAGS.
46976         ($(objpfx)bench-%.c): Remove *-ITER.
46977         * benchtests/bench-modf.c: Remove definition of ITER.
46978         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
46979         (main): Loop for DURATION seconds instead of fixed number of
46980         iterations.
46981         * scripts/bench.pl: Don't expect iterations in parameters.
46983 2013-04-29  Roland McGrath  <roland@hack.frob.com>
46985         * io/fchdir.c (__fchdir): Renamed from fchdir.
46986         (fchdir): Define as weak alias.
46988 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46990         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46991         (ERRNO_EDOM): Likewise.
46992         (ERRNO_ERANGE): Likewise.
46993         (noErrnoTests): New variable.
46994         (init_max_error): Set errno to 0.
46995         (test_single_errno): New function.
46996         (test_errno): Likewise.
46997         (check_float_internal): Call test_errno.  Set errno to 0.
46998         (check_complex): Refer to errno tests in comment.
46999         (check_int): Call test_errno.  Set errno to 0.
47000         (check_long): Likewise.
47001         (check_bool): Likewise.
47002         (check_longlong): Likewise.
47003         (cos_test): Use ERRNO_* flags for errno tests instead of
47004         check_int.
47005         (expm1_test): Likewise.
47006         (fmod_test): Likewise.
47007         (ilogb_test): Likewise.
47008         (lgamma_test): Likewise.
47009         (pow_test): Likewise.
47010         (remainder_test): Likewise.
47011         (sin_test): Likewise.
47012         (tan_test): Likewise.
47013         (yn_test): Likewise.
47014         (initialize): Set errno to 0.
47015         (main): Print number of errno tests.
47016         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
47018 2013-04-29  Andreas Jaeger  <aj@suse.de>
47020         [BZ #15084]
47021         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
47022         and RES_USEVC.
47024         [BZ #15085]
47025         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
47026         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
47027         unimplemented.
47029         [BZ #15380]
47030         * stdlib/random.c (__initstate): Return NULL if
47031         __initstate fails.
47033         [BZ #15086]
47034         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
47035         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
47036         RES_SNGLKUPREOP.
47038 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47042 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47044         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
47045         of individual tests.
47046         (casin_test): Likewise.
47047         (casinh_test): Likewise.
47049 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
47051         [BZ #15409]
47052         * math/s_catan.c (__catan): Handle arguments with large real or
47053         imaginary part separately without squaring.
47054         * math/s_catanf.c (__catanf): Likewise.
47055         * math/s_catanh.c (__catanh): Likewise.
47056         * math/s_catanhf.c (__catanhf): Likewise.
47057         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47058         and redefine.
47059         (__catanhl): Handle arguments with large real or imaginary part
47060         separately without squaring.
47061         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47062         and redefine.
47063         (__catanl): Handle arguments with large real or imaginary part
47064         separately without squaring.
47065         * math/libm-test.inc (catan_test): Add more tests.
47066         (catanh_test): Likewise.
47067         * sysdeps/i386/fpu/libm-test-ulps: Update.
47068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47070 2013-04-27  Andreas Jaeger  <aj@suse.de>
47072         [BZ #15007]
47073         * stdlib/stdlib.h: Update guards for qecvt.
47074         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
47075         <stdlib.h>.
47077 2013-04-27  Allan McRae  <allan@archlinux.org>
47079         * sysdeps/i386/fpu/libm-test-ulps: Update.
47081 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
47083         [BZ #15406]
47084         * math/s_catan.c: Include <float.h>.
47085         (__catan): Ensure underflow exception occurs for underflowed
47086         result.
47087         * math/s_catanf.c: Include <float.h>.
47088         (__catanf): Ensure underflow exception occurs for underflowed
47089         result.
47090         * math/s_catanh.c: Include <float.h>.
47091         (__catanh): Ensure underflow exception occurs for underflowed
47092         result.
47093         * math/s_catanhf.c: Include <float.h>.
47094         (__catanhf): Ensure underflow exception occurs for underflowed
47095         result.
47096         * math/s_catanhl.c: Include <float.h>.
47097         (__catanhl): Ensure underflow exception occurs for underflowed
47098         result.
47099         * math/s_catanl.c: Include <float.h>.
47100         (__catanl): Ensure underflow exception occurs for underflowed
47101         result.
47102         * math/libm-test.inc (catan_test): Add more tests.
47103         (catanh_test): Likewise.
47105         [BZ #15405]
47106         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
47107         underflowed result.
47108         * math/s_ccoshf.c (__ccoshf): Likewise.
47109         * math/s_ccoshl.c (__ccoshl): Likewise.
47110         * math/s_csin.c (__csin): Likewise.
47111         * math/s_csinf.c (__csinf): Likewise.
47112         * math/s_csinh.c (__csinh): Likewise.
47113         * math/s_csinhf.c (__csinhf): Likewise.
47114         * math/s_csinhl.c (__csinhl): Likewise.
47115         * math/s_csinl.c (__csinl): Likewise.
47116         * math/libm-test.inc (ccos_test): Add more tests.
47117         (ccosh_test): Likewise.
47118         (csin_test): Likewise.
47119         (csinh_test): Likewise.
47121 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47123         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
47124         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
47125         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
47126         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47127         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
47128         powerpc/power5+/fpu folders.
47129         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
47132 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47136 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
47138         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
47139         additions to variable.
47140         [$(config-machine) = x86_64] (modules-names): Likewise.
47141         ($(objpfx)tst-audit3): Remove dependency.
47142         ($(objpfx)tst-audit3.out): Likewise.
47143         ($(objpfx)tst-audit4): Likewise.
47144         ($(objpfx)tst-audit4.out): Likewise.
47145         ($(objpfx)tst-audit5): Likewise.
47146         ($(objpfx)tst-audit5.out): Likewise.
47147         ($(objpfx)tst-audit6): Likewise.
47148         ($(objpfx)tst-audit6.out): Likewise.
47149         ($(objpfx)tst-audit7): Likewise.
47150         ($(objpfx)tst-audit7.out): Likewise.
47151         (tst-audit3-ENV): Remove variable.
47152         (tst-audit4-ENV): Likewise.
47153         (tst-audit5-ENV): Likewise.
47154         (tst-audit6-ENV): Likewise.
47155         (tst-audit7-ENV): Likewise.
47156         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
47157         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
47158         addition to variable.
47159         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47160         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47161         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47162         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47163         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47164         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47165         tst-audit3, tst-audit4 and tst-audit5.
47166         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47167         tst-audit6 and tst-audit7.
47168         [$(subdir) = elf] (modules-names): Add audit modules for those
47169         tests.
47170         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47171         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47172         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47173         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47174         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47175         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47176         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47177         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47178         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47179         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47180         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47181         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47182         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47183         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47184         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47185         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47186         Likewise.
47187         [$(subdir) = elf && $(config-cflags-avx) = yes]
47188         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47189         [$(subdir) = elf && $(config-cflags-avx) = yes]
47190         (CFLAGS-tst-auditmod4a.c): Likewise.
47191         [$(subdir) = elf && $(config-cflags-avx) = yes]
47192         (CFLAGS-tst-auditmod4b.c): Likewise.
47193         [$(subdir) = elf && $(config-cflags-avx) = yes]
47194         (CFLAGS-tst-auditmod6b.c): Likewise.
47195         [$(subdir) = elf && $(config-cflags-avx) = yes]
47196         (CFLAGS-tst-auditmod6c.c): Likewise.
47197         [$(subdir) = elf && $(config-cflags-avx) = yes]
47198         (CFLAGS-tst-auditmod7b.c): Likewise.
47199         * elf/tst-audit3.c: Move to ...
47200         * sysdeps/x86_64/tst-audit3.c: ... here.
47201         * elf/tst-audit4.c: Move to ...
47202         * sysdeps/x86_64/tst-audit4.c: ... here.
47203         * elf/tst-audit5.c: Move to ...
47204         * sysdeps/x86_64/tst-audit5.c: ... here.
47205         * elf/tst-audit6.c: Move to ...
47206         * sysdeps/x86_64/tst-audit6.c: ... here.
47207         * elf/tst-audit7.c: Move to ...
47208         * sysdeps/x86_64/tst-audit7.c: ... here.
47209         * elf/tst-auditmod3a.c: Move to ...
47210         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47211         * elf/tst-auditmod3b.c: Move to ...
47212         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47213         * elf/tst-auditmod4a.c: Move to ...
47214         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47215         * elf/tst-auditmod4b.c: Move to ...
47216         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47217         * elf/tst-auditmod5a.c: Move to ...
47218         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47219         * elf/tst-auditmod5b.c: Move to ...
47220         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47221         * elf/tst-auditmod6a.c: Move to ...
47222         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47223         * elf/tst-auditmod6b.c: Move to ...
47224         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47225         * elf/tst-auditmod6c.c: Move to ...
47226         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47227         * elf/tst-auditmod7a.c: Move to ...
47228         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47229         * elf/tst-auditmod7b.c: Move to ...
47230         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47232 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47234         [BZ #15366]
47235         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47236         define unconditionally.
47237         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47238         define unconditionally.
47239         (INT8_C, INT16_C, etc.): Likewise.
47241 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47243         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47244         __ehdr_start with hidden visibility.
47246         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47248 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47250         * math/libm-test.inc (cos_test): Use accurate hex constants.
47251         (sincost_test): Likewise.
47253 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47255         * math/libm-test.inc (catan_test): Add more tests.
47256         (catanh_test): Likewise.
47258         * math/s_catanf.c (__catanf): Use suffixed floating-point
47259         constants.
47260         * math/s_catanhf.c (__catanhf): Likewise.
47261         * math/s_catanhl.c (__catanhl): Likewise.
47262         * math/s_catanl.c (__catanl): Likewise.
47264         [BZ #15394]
47265         * math/s_catan.c (__catan): Calculate imaginary part of result
47266         with log1p not log unless computing log of number close to 0.
47267         * math/s_catanf.c (__catanf): Likewise.
47268         * math/s_catanl.c (__catanl): Likewise.
47269         * math/s_catanh.c (__catanh): Calculate real part of result with
47270         log1p not log unless computing log of number close to 0.
47271         * math/s_catanhf.c (__catanhf): Likewise.
47272         * math/s_catanhl.c (__catanhl): Likewise.
47273         * math/libm-test.inc (catan_test): Add more tests.
47274         (catanh_test): Likewise.
47275         * sysdeps/i386/fpu/libm-test-ulps: Update.
47276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47278 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47280         * benchtests/Makefile: Mention files in which fast and slow
47281         paths of math functions are implemented.
47283 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47285         * sysdeps/posix/timespec_get.c: New file.
47287 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47289         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47290         POWER.
47291         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47292         for POWER.
47293         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47294         powerpc/power5/fpu folders.
47295         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47296         * benchtests/Makefile: Add modf testcase.
47297         * benchtests/bench-modf.c: New file: Benchmark test for mo
47299 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47301         [BZ #14888]
47302         * time/Makefile (tests): Add tst-strptime-whitespace.
47303         * time/strptime_l.c (get_number): Use ISSPACE.
47304         (__strptime_internal): Likewise.
47305         * time/tst-strptime-whitespace.c: New test case.
47307 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47309         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47310         member.
47311         (_nss_files_init): Set it here.
47313 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47315         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47316         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47317         unsigned.
47319 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47321         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47323 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47325         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47326         size just once.
47328 2013-04-21  David S. Miller  <davem@davemloft.net>
47330         * po/ru.po: Update Russion translation from translation project.
47332 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47334         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47335         and setfsgid.
47337 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47339         * configure.in: Remove i386 configure warning. Remove i386 case.
47340         * configure: Regenerate.
47341         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47342         Add example to error message.
47343         * sysdeps/i386/configure: Regenerate.
47345 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47347         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47348         slowtan.
47349         * benchtests/cos-inputs: New file.
47350         * benchtests/slowcos-inputs: New file.
47351         * benchtests/slowcos.c: New file.
47352         * benchtests/slowtan-inputs: New file.
47353         * benchtests/slowtan.c: New file.
47354         * benchtests/tan-inputs: New file.
47356 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47358         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47359         considered kosher.
47361 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47363         * benchtests/Makefile: Include cppflags-iterator.mk to add
47364         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47366         * Makefile.in (bench-clean): New target.
47367         * benchtests/Makefile (bench-clean): Likewise.
47369 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47371         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47373 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47375         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47377 2013-04-15  Andreas Schwab  <schwab@suse.de>
47379         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47380         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47381         * nscd/pwdcache.c (cache_addpw): Likewise.
47382         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47383         more than recsize.
47385 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47387         * benchtests/Makefile (bench): Write all output to
47388         bench-out.tmp together.
47390 2013-04-15  Andreas Schwab  <schwab@suse.de>
47392         * nscd/nscd.c (main): Don't fork again after closing files.
47394 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47396         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47398         * benchtests/Rules (bench-deps): Collect dependencies into a
47399         single variable.  Add Makefile to dependencies.
47400         ($(objpfx)bench-%.c): Depend on bench-deps.
47402 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47403             Xavier Roche  <roche+kml2@exalead.com>
47405         [BZ #15361]
47406         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47407         just that it's a file descriptor.
47408         * manual/llio.texi (Synchronizing AIO Operations): Update description
47409         for EBADF error from aio_fsync.
47411 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47413         * Rules (bench): Move target definition...
47414         * benchtests/Makefile: ... here.
47416 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47418         * math/libm-test.inc (cos_test): Fix PI/2 test.
47419         (sincos_test): Likewise.
47420         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47421         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47423 2013-04-11  Andreas Schwab  <schwab@suse.de>
47425         [BZ #13988]
47426         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47427         accept exponent character only when digits were seen.
47428         * stdio-common/Makefile (tests): Add bug26.
47429         * stdio-common/bug26.c: New file.
47431         [BZ #14293]
47432         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47433         non-freeable.
47435 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47437         * Makeconfig (rtld-prefix): Define built linker prefix.
47438         * Rules (run-bench): Use it.
47439         * math/Makefile (run-regen-ulps): Likewise.
47441         * Rules (bench): Remove eval.
47443 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47444             Roland McGrath  <roland@hack.frob.com>
47445             Ondrej Bilka  <neleai@seznam.cz>
47447         [BZ #15346]
47448         * time/getdate.c: Include ctype.h and alloca.h.
47449         (__getdate_r): Trim leading and trailing spaces of input.
47450         * time/tst-getdate.c (tests): Add tests with leading and
47451         trailing spaces.
47453 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47455         [BZ #14280]
47456         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47457         when computing value.
47459 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47461         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47462         Use testrun.sh to run libm tests.
47464         [BZ #15309]
47465         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47467 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47469         [BZ #15264]
47470         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47472 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47474         * Makefile.in (regen-ulps): New target.
47475         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47476         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47477         [ifneq (no,$(PERL)] (regen-ulps): New target.
47478         [ifeq (no,$(PERL)] (regen-ulps): New target.
47479         * math/libm-test.inc (ulps_file_name): Define.
47480         (output_dir): New variable.
47481         (options): Add "output-dir" option.
47482         (parse_opt): Handle 'o' case.
47483         (main): If output_dir is non-NULL use it as a prefix
47484         otherwise use "".
47485         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47487 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47489         [BZ #10060, #10062]
47490         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47491         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47492         fail configure if __sync_val_compare_and_swap is not inlined.
47493         * sysdeps/i386/configure: Regenerate.
47494         * configure.in: Build for i686 when configured for i386.
47495         * configure: Regenerate.
47496         * README: Remove i386 reference.
47498 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47500         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47501         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47503 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47505         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47506         (lmsnanval): New variables.
47507         (F): Add conversion tests.
47508         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47509         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47511         * stdio-common/tstdiomisc.c (F): Properly collect individual
47512         tests' results.
47514         [BZ #14686, #15336]
47515         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47516         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47517         Instead, use input NaN values or generate a qNaN by arithmetic
47518         operation.  Also fix bugs to comply with the standard.
47519         * math/libm-test.inc (remainder_test): Add more tests.
47521         [BZ #15335, #15342]
47522         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47523         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47524         input NaN values or generate a qNaN by arithmetic operation.
47526         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
47527         unreachable code.
47529         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
47530         definitions.
47532 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
47534         [BZ #14478]
47535         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
47536         underflowed result.
47537         * math/s_cexpf.c (__cexpf): Likewise.
47538         * math/s_cexpl.c (__cexpl): Likewise.
47539         * math/libm-test.inc (cexp_test): Add more tests.
47541 2013-04-03  Andreas Schwab  <schwab@suse.de>
47543         [BZ #15330]
47544         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47545         order arrays from heap if bigger than alloca cutoff.
47547 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47549         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47550         (SNAN_TESTS_double): Refer to GCC PR56831.
47551         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47552         GCC PR56828.
47554 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47556         * Rules (bench): Move bench.out after the run is complete.
47558         * Rules (bench): Echo currently running benchmark.
47560         * benchtests/Makefile (bench): Add atan and slowatan.
47561         * benchtests/atan-inputs: New file.
47562         * benchtests/slowatan-inputs: New file.
47563         * benchtests/slowatan.c: New file.
47565         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
47566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
47567         its value.
47569         [BZ #15305]
47570         * sysdeps/unix/sysv/linux/kernel-features.h
47571         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
47572         __ASSUME_XFS_RESTRICTED_CHOWN.
47573         * sysdeps/unix/sysv/linux/pathconf.c
47574         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47575         Save and restore errno.
47577 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
47579         [BZ #15327]
47580         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
47581         arguments using __kernel_casinh.
47582         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
47583         arguments using __kernel_casinhf.
47584         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
47585         arguments using __kernel_casinhl.
47586         * math/libm-test.inc (cacosh_test): Add more tests.
47587         * sysdeps/i386/fpu/libm-test-ulps: Update.
47588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47590 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47592         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
47593         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
47595         * bench/Makefile (bench): Add sin and slowsin.
47596         * benchtests/sin-inputs: New file.
47597         * benchtests/slowsin-inputs: New file.
47598         * benchtests/slowsin.c: New file.
47600         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
47601         (bench): Add slowexp and slowpow.
47602         (exp-ITER): Increase iterations.
47603         (pow-ITER): Likewise.
47604         * benchtests/exp-inputs: Change input.
47605         * benchtests/pow-inputs: Likewise.
47606         * benchtests/slowexp-inputs: New file.
47607         * benchtests/slowexp.c: New file.
47608         * benchtests/slowpow-inputs: New file.
47609         * benchtests/slowpow.c: New file.
47611 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47613         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
47614         instructions.
47615         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47616         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
47617         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47618         * benchtests/Makefile: Add rint benchtest.
47619         * benchtests/rint-inputs: Input for rint benchtest.
47621 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47623         * Versions.def (libm): Add GLIBC_2.18.
47624         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
47625         hidden libm prototypes.
47626         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
47627         * math/Makefile (libm-calls): Add s_issignaling.
47628         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
47629         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
47630         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
47631         declaration.
47632         * math/math.h [__USE_GNU] (issignaling): New macro.
47633         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
47634         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
47635         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
47636         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
47637         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
47638         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
47639         * manual/arith.texi (issignaling): New section.
47640         * manual/libm-err-tab.pl (@all_functions): Update comment.
47641         * math/gen-libm-test.pl (parse_args): Apply special handling for
47642         issignaling.
47643         * math/libm-test.inc (print_float, issignaling_test): New
47644         functions.
47645         (check_float_internal): Add issignaling checks.
47646         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
47647         default definition.
47648         * sysdeps/powerpc/math-tests.h: New file.
47649         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
47650         tests.
47651         * math/test-snan.c (TEST_FUNC): Likewise.
47653 2013-03-30  David S. Miller  <davem@davemloft.net>
47655         * po/de.po: Update from translation team.
47657 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
47659         [BZ #10357]
47660         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47661         imaginary part less than 1.0 and real part less than 0.5
47662         specially.
47663         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47664         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47665         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
47666         (cacos_test): Add more tests.
47667         (casin_test): Likewise.
47668         (casinh_test): Likewise.
47669         * sysdeps/i386/fpu/libm-test-ulps: Update.
47670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47672 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47674         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
47675         ONE with its value.
47677         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
47678         (__pow_mp): Replace ONE and MONE with their values.
47679         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47680         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
47681         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47682         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
47683         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47684         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47686         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
47688         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
47689         (__pow_mp): Replace ZERO and MZERO with their values.
47690         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47691         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47692         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47693         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47694         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47695         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
47696         (__sqr): Likewise.
47698         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
47700         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
47702 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47704         * include/stdlib.h [!SHARED] (__call_tls_dtors):
47705         Declare with __attribute__ ((weak)).
47706         * stdlib/exit.c (__libc_atexit) [!SHARED]:
47707         Call __call_tls_dtors only if it's not NULL.
47709 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47711         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
47712         didn't do it already, then set _dl_phdr and _dl_phnum based on the
47713         magic __ehdr_start linker symbol if it's defined.
47714         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
47715         them up here if it was already done.
47717         * elf/dl-support.c (_dl_phdr): Make pointer to const.
47718         (_dl_aux_init): Use const in cast when setting it.
47719         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
47720         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
47721         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
47723         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
47724         Declare them here.
47725         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
47726         * csu/libc-tls.c: Nor here.
47727         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
47729         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
47730         (__libc_message): Never call vsyslog.
47732 2013-03-28  Alan Modra  <amodra@gmail.com>
47734         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
47735         Define as empty.
47736         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
47737         Likewise.
47739 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47741         [BZ #15214]
47742         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
47743         underflow.
47744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47746 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47748         [BZ #15304]
47749         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47750         Don't add gid passed as argument.
47752         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
47754 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
47756         [BZ #15307]
47757         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47758         imaginary part between 1.0 and 1.5 and real part less than 0.5
47759         specially.
47760         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47761         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47762         * math/libm-test.inc (cacos_test): Add more tests.
47763         (casin_test): Likewise.
47764         (casinh_test): Likewise.
47765         * sysdeps/i386/fpu/libm-test-ulps: Update.
47766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47768 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47770         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
47771         constants.
47772         (norm): Likewise.
47773         (denorm): Likewise.
47774         (__dbl_mp): Likewise.
47775         (add_magnitudes): Likewise.
47776         (sub_magnitudes): Likewise.
47777         (__add): Likewise.
47778         (__sub): Likewise.
47779         (__mul): Likewise.
47780         (__sqr): Likewise.
47781         (__inv): Likewise.
47782         (__dvd): Likewise.
47784         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
47785         commented code.
47786         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
47787         (__dubcos): Likewise.
47788         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
47789         (__ieee754_acos): Likewise.
47790         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47791         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
47792         (__exp1): Likewise.
47793         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47794         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47795         (log1): Likewise.
47796         (my_log2): Likewise.
47797         (checkint): Likewise.
47798         * sysdeps/ieee754/dbl-64/e_remainder.c
47799         (__ieee754_remainder): Likewise.
47800         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47801         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
47802         (bsloww): Likewise.
47803         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47805         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47806         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
47807         MANTISSA_STORE_T to store computations on mantissa.  Use
47808         macros for rounding and division.
47809         (denorm): Likewise.
47810         (__dbl_mp): Likewise.
47811         (add_magnitudes): Likewise.
47812         (sub_magnitudes): Likewise.
47813         (__mul): Likewise.
47814         (__sqr): Likewise.
47815         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47816         powers of two in terms of TWOPOW macro.
47817         (mp_no): Make type of mantissa as MANTISSA_T.
47818         [!RADIXI]: Define RADIXI.
47819         [!TWO52]: Define TWO52.
47820         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47822 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47824         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
47825         llroundl symbol when building for PPC32.
47827 2013-03-24  Mark H Weaver  <mhw@netris.org>
47829         * manual/arith.texi (Normalization Functions): Fix prototypes for
47830         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
47832 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47834         [BZ #13889]
47835         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
47836         high value to check if expl overflow.
47837         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
47838         to check for underflow and overflow.
47839         * math/libm-test.inc: Add exp test.
47841 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
47843         [BZ #11120]
47844         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
47845         with NOT_IN_libc.
47847 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47849         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
47850         symbol.
47852 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47854         * math/gen-libm-test.pl (parse_args, special_functions): Properly
47855         wrap blocks consisting of several statements.
47857         * sysdeps/generic/math-tests.h: New file.
47858         * sysdeps/i386/fpu/math-tests.h: Likewise.
47859         * math/test-snan.c: Include it.
47860         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
47862 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47864         [BZ #15285]
47865         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
47866         (__ieee754_j0l): Do not improve calculations using cos of twice
47867         input for inputs above LDBL_MAX / 2.0L.
47868         (__ieee754_y0l): Likewise.
47869         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
47870         (__ieee754_j1l): Do not improve calculations using cos of twice
47871         input for inputs above LDBL_MAX / 2.0L.
47872         (__ieee754_y1l): Likewise.
47873         * math/libm-test.inc (j0_test): Add another test.
47874         (j1_test): Likewise.
47875         (y0_test): Likewise.
47876         (y1_test): Likewise.
47877         * sysdeps/i386/fpu/libm-test-ulps: Update.
47879 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47881         * Rules ($(objpfx)bench-%.c): Include code from a C source
47882         file.
47884 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47886         [BZ #15287]
47887         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47888         imaginary part 1.0 and real part less than 0.5 specially.
47889         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47890         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47891         * math/libm-test.inc (cacos_test): Add more tests.
47892         (casin_test): Likewise.
47893         (casinh_test): Likewise.
47894         * sysdeps/i386/fpu/libm-test-ulps: Update.
47895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47897 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47899         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
47900         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
47902 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
47904         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
47905         * config.make.in (config-cflags-sse4): Remove variable.
47906         (config-cflags-avx): Likewise.
47907         (config-cflags-sse2avx): Likewise.
47908         (config-cflags-novzeroupper): Likewise.
47909         (config-asflags-i686): Likewise.
47910         (have-mfma4): Likewise.
47911         (have-as-vis3): Likewise.
47912         (MIG): Likewise.
47913         * configure.in (MIG): Do not AC_SUBST.
47914         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
47915         (libc_cv_cc_sse4): Do not AC_SUBST.
47916         (libc_cv_cc_avx): Likewise.
47917         (libc_cv_cc_sse2avx): Likewise.
47918         (libc_cv_cc_novzeroupper): Likewise.
47919         (libc_cv_cc_fma4): Likewise.
47920         (libc_cv_as_i686): Likewise.
47921         (libc_cv_sparc_as_vis3): Likewise.
47922         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
47923         LIBC_CONFIG_VAR.
47924         (config-asflags-i686): Likewise.
47925         (config-cflags-avx): Likewise.
47926         (config-cflags-sse2avx): Likewise.
47927         (have-mfma4): Likewise.
47928         (config-cflags-novzeroupper): Likewise.
47929         * sysdeps/mach/configure.in (MIG): Likewise.
47930         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
47931         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
47932         LIBC_CONFIG_VAR.
47933         (config-cflags-avx): Likewise.
47934         (config-cflags-sse2avx): Likewise.
47935         (have-mfma4): Likewise.
47936         (config-cflags-novzeroupper): Likewise.
47937         * configure: Regenerated.
47938         * sysdeps/i386/configure: Likewise.
47939         * sysdeps/mach/configure: Likewise.
47940         * sysdeps/sparc/configure: Likewise.
47941         * sysdeps/x86_64/configure: Likewise.
47943 2013-03-20  Roland McGrath  <roland@hack.frob.com>
47945         [BZ #14812]
47946         * locale/programs/localedef.c (options): Put N_ translation marker
47947         on argument names, not just descriptions.
47949 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47951         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
47953 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
47955         [BZ #14176]
47956         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
47958 2013-03-19  Roland McGrath  <roland@hack.frob.com>
47960         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
47961         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
47962         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
47963         [!BEFORE_ABORT] (before_abort): New function.
47964         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
47965         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
47966         (writev_for_fatal): New function.
47967         (WRITEV_FOR_FATAL): New macro; call that.
47968         (backtrace_and_maps): New function.
47969         (BEFORE_ABORT): New macro; call that.
47970         (struct str_list): Type removed.
47971         (__libc_message, __libc_fatal): Functions removed.
47972         Include <sysdeps/posix/libc_fatal.c> instead.
47974 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
47976         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
47977         constants.
47978         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
47979         double constants.
47981 2013-03-19  Andreas Schwab  <schwab@suse.de>
47983         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
47984         * sysdeps/gnu/configure: Regenerate.
47986         * configure.in: Substitute libc_cv_rtlddir.
47987         * configure: Regenerate.
47988         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47989         * Makeconfig (rtlddir, inst_rtlddir): New variables.
47990         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
47991         * elf/Makefile (install-others, CFLAGS-interp.c)
47992         (ldso_install, common-ldd-rewrite): Likewise.
47993         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
47994         $(inst_slibdir)/$(rtld-installed-name).
47995         * scripts/rellns-sh: Add -p option.
47996         * Makerules (make-shlib-link): Use rellns-sh to get relative name
47997         for source.
47999 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48001         * manual/nptl.texi: Renamed to ...
48002         * manual/threads.texi: ... this.
48003         * manual/Makefile (chapters): Update.
48005 2013-03-18  Roland McGrath  <roland@hack.frob.com>
48007         [BZ #14812]
48008         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
48009         on argument names, not just descriptions.
48010         * malloc/memusagestat.c (options): Likewise.
48011         * nss/getent.c (options): Likewise.
48013 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
48015         [BZ #14812]
48016         * iconv/iconv_prog.c (options): Put N_ translation marker
48017         on argument names, not just descriptions.
48018         * iconv/iconvconfig.c (options): Likewise.
48020 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
48022         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
48023         implementation which is faster on all x86_64 architectures.
48024         Tested on AMD, Intel Nehalem, SNB, IVB.
48025         * sysdeps/x86_64/strnlen.S: Likewise.
48027         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48028         Remove all multiarch strlen and strnlen versions.
48029         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48030         Remove strlen and strnlen related parts.
48032         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
48033         Inline strlen part.
48034         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
48036         * sysdeps/x86_64/multiarch/strlen.S: Remove.
48037         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
48038         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
48039         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
48040         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48041         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
48043 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
48045         * manual/memory.texi (Malloc Tunable Parameters):
48046         Sort parameters alphabetically. Add comments for missing entries.
48048 2013-03-17  David S. Miller  <davem@davemloft.net>
48050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48052 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
48054         [BZ #15283]
48055         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
48056         for arguments at most half maximum finite value.
48057         * math/libm-test.inc (j0_test): Add more tests.
48058         (j1_test): Likewise.
48059         (y0_test): Likewise.
48060         (y1_test): Likewise.
48061         * sysdeps/i386/fpu/libm-test-ulps: Update.
48062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48064         [BZ #14155]
48065         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
48066         1 / x and functions P and Q for arguments above 0x1p256L.
48067         (__ieee754_y0l): Likewise.
48068         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
48069         (__ieee754_y1l): Likewise.
48070         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
48071         (j1_test): Likewise.
48072         (y0_test): Likewise.
48073         (y1_test): Likewise.
48075 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
48077         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
48078         variable.
48080 2013-03-15  Roland McGrath  <roland@hack.frob.com>
48082         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
48083         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
48084         zero since it's initialized to EXEC_PAGESIZE.
48086         * sysdeps/unix/sysv/linux/ldsodefs.h
48087         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
48088         * sysdeps/generic/ldsodefs.h: ... here.
48090 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
48092         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
48094         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
48095         math/test-snan.c.
48096         * math/test-snan.c: Renamed from
48097         sysdeps/powerpc/fpu/test-powerpc-snan.c.
48098         * math/Makefile (tests): Add test-snan.
48099         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
48100         test-powerpc-snan.
48102         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
48103         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
48104         functions.
48105         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
48106         __builtin_nan family of functions.
48107         * math/libm-test.inc (initialize): Initialize qnan_value with
48108         __builtin_nan family of functions.
48109         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
48110         Remove variables.
48111         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
48112         Remove functions.
48113         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
48114         storage class.  Initialize qNaN_var and sNaN_var with
48115         __builtin_nan and __builtin_nans families of functions,
48116         respectively.
48118         * math/libm-test.inc (acosh_test): Also test with qNaN input.
48119         (sqrt_test): Remove duplicate test with qNaN input.
48120         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
48121         (round_test, signbit_test, significand_test): Note missing +/-Inf
48122         as well as qNaN tests.
48124         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
48125         qNaN_var.  Fix a few strings, too.
48126         * math/libm-test.inc (nan_value): Rename to qnan_value.
48127         * math/gen-libm-test.pl (%beautify): Adjust to that.
48128         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
48129         * math/test-misc.c (main): Likewise.
48130         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
48131         to __qnan_bytes, and __qnan_union, respectively.
48132         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
48133         Likewise.
48134         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
48135         and lqnanval, respectively.
48136         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
48137         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
48138         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
48139         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
48141         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
48142         * math/test-misc.c (main) [__x86_64__]: Enable test for long
48143         doubles.
48145         * math/test-misc.c (main): Fix copy'n'pastos.
48146         * misc/tst-efgcvt.c (special): Likewise.
48148         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
48149         Remove declarations.
48151 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48153         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
48154         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
48155         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
48156         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
48158 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48160         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48161         macro to return vdso values correctly in IFUNC implementations.
48162         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48163         Optimization by using IFUNC.
48165 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48166             Richard Henderson  <rth@redhat.com>
48167             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48169         * Makefile.in (bench): New target.
48170         * NEWS: Mention the benchmark framework.
48171         * Rules (bench): Likewise.
48172         (binaries-bench): Generate binaries for functions to
48173         benchmark.
48174         * benchtests/Makefile: New makefile for benchmark tests.
48175         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48176         programs.
48177         * benchtests/exp-inputs: New input file for EXP function.
48178         * benchtests/pow-inputs: New input file for POW function.
48179         * scripts/bench.pl: New script to generate source files for
48180         benchmark programs.
48182 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48184         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48185         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48186         computations on mantissa.  Use macros for rounding and
48187         division.
48188         (denorm): Likewise.
48189         (__dbl_mp): Likewise.
48190         (add_magnitudes): Likewise.
48191         (sub_magnitudes): Likewise.
48192         (__mul): Likewise.
48193         (__sqr): Likewise.
48194         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48195         powers of two in terms of TWOPOW macro.
48196         (mp_no): Make type of mantissa as MANTISSA_T.
48197         [!RADIXI]: Define RADIXI.
48198         [!TWO52]: Define TWO52.
48199         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48201         * manual/nptl.texi (cindex): Modify threads to pthreads.
48203 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48205         * sysdeps/x86_64/preconfigure: Regenerated.
48207 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48209         [BZ #14155]
48210         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48211         0x1p28 and above.
48212         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48213         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48214         0x1p28 and above.
48215         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48216         * math/libm-test.inc (j0_test): Do not allow one spurious
48217         underflow exception.
48218         (y1_test): Likewise.
48220 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48222         * manual/Makefile (chapters): Add nptl.
48223         * manual/debug.texi (Debugging Support): Add link to Threads
48224         chapter.
48225         * manual/nptl.texi: New file.
48227         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48229 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48231         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48232         for non-NULL pointer before the memory validity test. Pointed
48233         out by Holger Brunck <holger.brunck@keymile.com>.
48235 2013-03-13  Andreas Schwab  <schwab@suse.de>
48237         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48238         instead of .os.
48240 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48242         * timezone/zic.c: Update from tzcode 2013b.
48244 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48246         * manual/install.texi (Configuring and compiling):
48247         Mention i686 and i586.
48248         * INSTALL: Regenerate.
48250 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48252         * sysdeps/init_array/elf-init.c: New file.
48253         * csu/elf-init.c
48254         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48255         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48257         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48258         __gmon_start__ as global, but as static with a .preinit_array pointer.
48259         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48260         * sysdeps/init_array/crti.S: New file, empty except for comments.
48261         * sysdeps/init_array/crtn.S: Likewise.
48263 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48265         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48266         definining bcopy.
48267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48268         Remove Prefer_SSE_for_memop.
48269         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48270         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48271         HAS_PREFER_SSE_FOR_MEMOP.
48272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48273         memset-x86-64.
48274         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48275         Remove bzero, memset ifunc support.
48276         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48277         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48278         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48279         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48281 2013-03-11  Andreas Schwab  <schwab@suse.de>
48283         [BZ #15234]
48284         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48285         by SHLIB_COMPAT.
48286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48287         (GLIBC_2.16): Remove pthread_atfork.
48289 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48291         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48292         (ptestcases.h): Likewise.
48294 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48296         * Makeconfig ($(common-objpfx)config.status): Depend on
48297         sysdeps/*/preconfigure{,.in} too.
48299 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48301         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48302         (__free_hook): Use void * instead of __malloc_ptr_t.
48303         (__malloc_hook): Likewise.
48304         (__realloc_hook): Likewise.
48305         (__memalign_hook): Likewise.
48306         (__after_morecore_hook): Likewise.
48307         * malloc/arena.c (save_malloc_hook): Likewise.
48308         (save_free_hook): Likewise.
48309         * malloc/hooks.c (malloc_hook_ini): Likewise.
48310         (realloc_hook_ini): Likewise.
48311         (memalign_hook_ini): Likewise.
48312         * malloc/malloc.c (malloc_hook_ini): Likewise.
48313         (realloc_hook_ini): Likewise.
48314         (memalign_hook_ini): Likewise.
48315         (__free_hook): Likewise.
48316         (__malloc_hook): Likewise.
48317         (__realloc_hook): Likewise.
48318         (__memalign_hook): Likewise.
48319         (__libc_malloc): Likewise.
48320         (__libc_free): Likewise.
48321         (__libc_realloc): Likewise.
48322         (__libc_memalign): Likewise.
48323         (__libc_valloc): Likewise.
48324         (__libc_pvalloc): Likewise.
48325         (__libc_calloc): Likewise.
48326         (__posix_memalign): Likewise.
48327         * malloc/morecore.c (__sbrk): Likewise.
48328         (__default_morecore): Likewise.
48330         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48332         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48333         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48334         __malloc_ptrdiff_t.
48336         * malloc/malloc.h (__malloc_size_t): Remove macro.
48337         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48338         __malloc_size_t.
48339         (old_memalign_hook): Likewise.
48340         (old_realloc_hook): Likewise.
48341         (struct hdr): Likewise.
48342         (flood): Likewise.
48343         (mallochook): Likewise.
48344         (memalignhook): Likewise.
48345         (reallochook): Likewise.
48346         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48347         (tr_old_realloc_hook): Likewise.
48348         (tr_old_memalign_hook): Likewise.
48349         (tr_mallochook): Likewise.
48350         (tr_reallochook): Likewise.
48351         (tr_memalignhook): Likewise.
48353 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48355         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48356         default_ldbl_pack and using as default implementation.
48357         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48358         implementation.
48359         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48360         redundant definition.
48361         (ldbl_insert_mantissa): Likewise.
48362         (ldbl_canonicalize): Likewise.
48363         (ldbl_nearbyint): Likewise.
48364         (ldbl_pack): Rename to ldbl_pack_ppc.
48365         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48366         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48367         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48369 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48372         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48373         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48374         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48376         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48377         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48378         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48380 2013-03-07  Andreas Jaeger  <aj@suse.de>
48382         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48383         bits/mman-linux.h.
48385 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48387         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48388         Include mpa.h and declare __MPEXP.
48389         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48390         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48391         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48392         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48393         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48394         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48395         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48397         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48398         (__slowpow): Use long double EXPL and LOGL functions to
48399         compute POW.
48400         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48401         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48402         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48403         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48404         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48405         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48408         intermediate variable to calculate exponent.
48409         (__sqr): Likewise.
48410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48411         Likewise.
48412         (__sqr): Likewise.
48414         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48415         [!NO__SQR]: Define __sqr.
48416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48417         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48418         sysdeps/ieee754/dbl-64/mpa.c.
48419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48421         [BZ #12723]
48422         * posix/Makefile (tests): Add tst-pathconf.
48423         * posix/tst-pathconf.c: New test case.
48424         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48425         _PC_PIPE_BUF.
48426         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48428 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48430         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48432 2013-03-06  Andreas Jaeger  <aj@suse.de>
48434         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48435         definition via __MAP_ANONYMOUS.
48437         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48438         it's not part of Linux headers.
48440         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48441         (MAP_HUGE_MASK): Define.
48443         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48444         Define.
48445         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48446         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48447         Define.
48448         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48449         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48450         Define.
48451         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48452         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48453         Define.
48454         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48456         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48457         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48458         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48459         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48460         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48461         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48463         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48464         Handle f2fs.
48466         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48467         Handle f2fs and efivarfs.
48469         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48470         f2fs.
48472         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48473         (EFIVARFS_MAGIC): Add.
48474         (F2FS_LINK_MAX): Add.
48476 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48478         * stdio-common/vfprintf.c: Replace __builtin_expect with
48479         __glibc_unlikely.
48481 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48483         [BZ #13550]
48484         * sysdeps/generic/bp-sym.h: Remove file.
48485         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48486         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48487         <bp-sym.h> and <bp-asm.h>.
48488         (__longjmp): Don't use BP_SYM.
48489         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48490         and <bp-asm.h>.
48491         (memcpy): Don't use BP_SYM.
48492         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48493         <bp-sym.h> and <bp-asm.h>.
48494         (memcpy): Don't use BP_SYM.
48495         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48496         <bp-asm.h>.
48497         (memcpy): Don't use BP_SYM.
48498         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48499         <bp-asm.h>.
48500         (memset): Don't use BP_SYM.
48501         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48502         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48503         (__bzero): Don't use BP_SYM.
48504         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48505         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48506         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48507         <bp-sym.h> and <bp-asm.h>.
48508         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48509         pointers.
48510         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48511         <bp-sym.h> and <bp-asm.h>.
48512         (memcpy): Don't use BP_SYM.
48513         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48514         <bp-sym.h> and <bp-asm.h>.
48515         (memset): Don't use BP_SYM.
48516         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48517         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48518         (__bzero): Don't use BP_SYM.
48519         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48520         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48521         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48522         <bp-sym.h> and <bp-asm.h>.
48523         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48524         pointers.
48525         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48526         <bp-sym.h> and <bp-asm.h>.
48527         (memcpy): Don't use BP_SYM.
48528         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
48529         <bp-sym.h> and <bp-asm.h>.
48530         (memset): Don't use BP_SYM.
48531         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48532         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48533         (__bzero): Don't use BP_SYM.
48534         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48535         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48536         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
48537         <bp-sym.h> and <bp-asm.h>.
48538         (__memchr): Don't use BP_SYM.
48539         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
48540         <bp-sym.h> and <bp-asm.h>.
48541         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48542         pointers.
48543         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48544         <bp-sym.h> and <bp-asm.h>.
48545         (memcpy): Don't use BP_SYM.
48546         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48547         <bp-sym.h> and <bp-asm.h>.
48548         (__mempcpy): Don't use BP_SYM.
48549         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48550         <bp-sym.h> and <bp-asm.h>.
48551         (__memrchr): Don't use BP_SYM.
48552         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48553         <bp-sym.h> and <bp-asm.h>.
48554         (memset): Don't use BP_SYM.
48555         (__bzero): Likewise.
48556         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48557         <bp-sym.h> and <bp-asm.h>.
48558         (__rawmemchr): Don't use BP_SYM.
48559         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48560         <bp-sym.h> and <bp-asm.h>.
48561         (__STRCMP): Don't use BP_SYM.
48562         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
48563         <bp-sym.h> and <bp-asm.h>.
48564         (strchr): Don't use BP_SYM.
48565         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
48566         <bp-sym.h> and <bp-asm.h>.
48567         (__strchrnul): Don't use BP_SYM.
48568         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
48569         <bp-sym.h> and <bp-asm.h>.
48570         (strlen): Don't use BP_SYM.
48571         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
48572         <bp-sym.h> and <bp-asm.h>.
48573         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48574         pointers.
48575         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
48576         <bp-sym.h> and <bp-asm.h>.
48577         (__strnlen): Don't use BP_SYM.
48578         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
48579         <bp-sym.h> and <bp-asm.h>.
48580         (__GI__setjmp): Don't use BP_SYM.
48581         (_setjmp): Likewise.
48582         (__sigsetjmp): Likewise.
48583         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
48584         (L(start_addresses)): Don't use BP_SYM.
48585         (_start): Likewise.
48586         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
48587         <bp-asm.h>.
48588         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
48589         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
48590         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48591         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48592         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
48593         <bp-asm.h>.
48594         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
48595         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
48596         about bounded pointers.
48597         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48598         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48599         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
48600         <bp-asm.h>.
48601         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48602         about bounded pointers.  Remove GKM FIXME comments.
48603         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48604         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
48605         <bp-asm.h>.
48606         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
48607         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
48608         Remove GKM FIXME comments.
48609         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48610         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48611         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
48612         <bp-asm.h>.
48613         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48614         about bounded pointers.  Remove GKM FIXME comment.
48615         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
48616         and <bp-asm.h>.
48617         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48618         pointers.
48619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
48620         <bp-sym.h> and <bp-asm.h>.
48621         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
48623         <bp-sym.h> and <bp-asm.h>.
48624         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48625         comment.
48627 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48629         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
48630         call free(NULL).
48632 2013-03-05  David S. Miller  <davem@davemloft.net>
48634         * po/es.po: Update from translation team.
48636 2013-03-05  Andreas Jaeger  <aj@suse.de>
48638         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
48639         <bits/mman-linux.h>.
48640         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48641         is fine.
48642         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
48643         <bits/mman-linux.h> to end of file.
48644         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48645         is fine.
48646         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
48647         <bits/mman-linux.h> to end of file.
48648         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48649         is fine.
48650         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
48651         <bits/mman-linux.h> to end of file.
48653         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
48654         (MCL_CURRENT, MCL_FUTURE): Define here.
48656 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48658         [BZ #15232]
48659         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
48660         attribute_hidden.
48661         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
48663 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48665         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
48666         fourth parameter needed for rt_sigprocmask syscall.
48667         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
48668         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48669         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
48670         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48671         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48672         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
48674 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
48676         [BZ #13550]
48677         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
48678         comment about bounded pointers.
48679         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
48680         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
48682 2013-03-04  Andreas Jaeger  <aj@suse.de>
48684         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
48685         common definitions.
48687         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
48688         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
48689         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
48690         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48691         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48692         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48694 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48696         [BZ #15055]
48697         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
48698         __ieee754_sqrl instead of __sqrl.
48700 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
48702         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
48703         * sysdeps/powerpc/fpu_control.h: ... here.
48704         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
48705         * sysdeps/powerpc/bits/fenvinline.h: ... here.
48706         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
48707         * sysdeps/powerpc/bits/mathinline.h: ... here.
48709 2013-03-01  Roland McGrath  <roland@hack.frob.com>
48711         * elf/dl-hwcaps.c (_dl_important_hwcaps):
48712         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
48713         to just [NEED_DL_SYSINFO_DSO].
48714         * elf/dl-support.c: Likewise.
48715         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
48716         * elf/rtld.c (dl_main): Likewise.
48717         * elf/setup-vdso.h (setup_vdso): Likewise.
48718         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
48719         * sysdeps/unix/sysv/linux/dl-sysdep.c
48720         (_dl_discover_osversion): Likewise.
48722 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
48724         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
48725         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48727 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48729         * NEWS: Mention libm performance improvements and non-x86 PI
48730         futex support.
48732         * csu/libc-start.c (__pthread_initialize_minimal): Change
48733         function arguments.
48734         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48736 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
48738         [BZ #13550]
48739         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
48740         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
48741         <bp-sym.h> and <bp-asm.h>.
48742         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48743         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
48744         and <bp-asm.h>.
48745         (memcpy): Don't use BP_SYM.
48746         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
48747         <bp-asm.h>.
48748         (__mpn_add_n): Don't use BP_SYM.
48749         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
48750         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
48751         and <bp-asm.h>.
48752         (__mpn_addmul_1): Don't use BP_SYM.
48753         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48754         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
48755         <bp-sym.h>.
48756         (_setjmp): Don't use BP_SYM.
48757         (__novmx_setjmp): Likewise.
48758         (__GI__setjmp): Likewise.
48759         (__vmx_setjmp): Likewise.
48760         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
48761         <bp-sym.h>.
48762         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
48763         (__bzero): Don't use BP_SYM.
48764         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48765         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48766         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
48767         <bp-sym.h> and <bp-asm.h>.
48768         (memcpy): Don't use BP_SYM.
48769         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
48770         <bp-sym.h> and <bp-asm.h>.
48771         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48772         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
48773         <bp-sym.h> and <bp-asm.h>.
48774         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48775         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
48776         <bp-asm.h>.
48777         (__mpn_lshift): Don't use BP_SYM.
48778         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48779         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
48780         <bp-asm.h>.
48781         (memset): Don't use BP_SYM.
48782         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48783         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48784         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
48785         <bp-asm.h>.
48786         (__mpn_mul_1): Don't use BP_SYM.
48787         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48788         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
48789         <bp-sym.h> and <bp-asm.h>.
48790         (memcmp): Don't use BP_SYM.
48791         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
48792         <bp-sym.h> and <bp-asm.h>.
48793         (memcpy): Don't use BP_SYM.
48794         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
48795         <bp-sym.h> and <bp-asm.h>.
48796         (memset): Don't use BP_SYM.
48797         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
48798         <bp-sym.h> and <bp-asm.h>.
48799         (strncmp): Don't use BP_SYM.
48800         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
48801         <bp-sym.h> and <bp-asm.h>.
48802         (memcpy): Don't use BP_SYM.
48803         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
48804         <bp-sym.h> and <bp-asm.h>.
48805         (memset): Don't use BP_SYM.
48806         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
48807         <bp-sym.h> and <bp-asm.h>.
48808         (__memchr): Don't use BP_SYM.
48809         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
48810         <bp-sym.h> and <bp-asm.h>.
48811         (memcmp): Don't use BP_SYM.
48812         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
48813         <bp-sym.h> and <bp-asm.h>.
48814         (memcpy): Don't use BP_SYM.
48815         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
48816         <bp-sym.h> and <bp-asm.h>.
48817         (__mempcpy): Don't use BP_SYM.
48818         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
48819         <bp-sym.h> and <bp-asm.h>.
48820         (__memrchr): Don't use BP_SYM.
48821         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
48822         <bp-sym.h> and <bp-asm.h>.
48823         (memset): Don't use BP_SYM.
48824         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
48825         <bp-sym.h> and <bp-asm.h>.
48826         (__rawmemchr): Don't use BP_SYM.
48827         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
48828         <bp-sym.h> and <bp-asm.h>.
48829         (__STRCMP): Don't use BP_SYM.
48830         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
48831         <bp-sym.h> and <bp-asm.h>.
48832         (strchr): Don't use BP_SYM.
48833         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
48834         <bp-sym.h> and <bp-asm.h>.
48835         (__strchrnul): Don't use BP_SYM.
48836         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
48837         <bp-sym.h> and <bp-asm.h>.
48838         (strlen): Don't use BP_SYM.
48839         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
48840         <bp-sym.h> and <bp-asm.h>.
48841         (strncmp): Don't use BP_SYM.
48842         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
48843         <bp-sym.h> and <bp-asm.h>.
48844         (__strnlen): Don't use BP_SYM.
48845         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
48846         <bp-asm.h>.
48847         (__mpn_rshift): Don't use BP_SYM.
48848         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48849         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
48850         <bp-sym.h> and <bp-asm.h>.
48851         (__sigsetjmp): Don't use BP_SYM.
48852         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
48853         (L(start_addresses)): Don't use BP_SYM.
48854         (_start): Likewise.
48855         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
48856         <bp-asm.h>.
48857         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
48858         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48859         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48860         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
48861         <bp-asm.h>.
48862         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
48863         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48864         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48865         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
48866         <bp-asm.h>.
48867         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48868         comments.
48869         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48870         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
48871         <bp-asm.h>.
48872         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
48873         FIXME comments.
48874         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48875         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48876         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
48877         <bp-asm.h>.
48878         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48879         comment.
48880         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
48881         and <bp-asm.h>.
48882         (strncmp): Don't use BP_SYM,
48883         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
48884         <bp-asm.h>.
48885         (__mpn_sub_n): Don't use BP_SYM.
48886         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48887         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
48888         and <bp-asm.h>.
48889         (__mpn_submul_1): Don't use BP_SYM.
48890         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
48892         <bp-sym.h> and <bp-asm.h>.
48893         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
48895         <bp-sym.h> and <bp-asm.h>.
48896         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48897         comment.
48899 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
48902         Use ZK to minimize writes to Z.
48903         (sub_magnitudes): Simplify code a bit.
48904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
48905         Use ZK to minimize writes to Z.
48906         (sub_magnitudes): Simplify code a bit.
48908 2013-02-27  Roland McGrath  <roland@hack.frob.com>
48910         * csu/gmon-start.c: Add special exception to license text.
48912 2013-02-27  Richard Henderson  <rth@redhat.com>
48914         * scripts/config.guess: Update from config.git.
48915         * scripts/config.sub: Likewise.
48917 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48919         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
48921         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
48923         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
48925         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
48927         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
48929 2013-02-26  Roland McGrath  <roland@hack.frob.com>
48931         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
48932         [$(build-shared = yes].
48934 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48936         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
48937         (__mul): Reduce iterations for calculating mantissa.
48939         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
48940         MPTWO.
48941         (__mpranred): Likewise.
48943         [BZ #15160]
48944         * malloc/memusagestat.c (main): Draw graphs for heap and stack
48945         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48947 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
48949         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
48950         Define __attribute__.
48952 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48954         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48955         unused.
48956         * posix/regex_internal.h (__attribute): Remove.
48957         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
48958         (re_string_context_at): Likewise.
48959         (bitset_not): Use __attribute__ and mark function as possibly
48960         unused.
48961         (bitset_merge): Likewise.
48962         (bitset_mask): Likewise.
48963         (re_string_char_size_at): Likewise.
48964         (re_string_wchar_at): Likewise.
48965         (re_string_elem_size_at): Likewise.
48967 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48969         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48970         code.
48971         (cc32): Likewise.
48973         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
48974         (__acr): Likewise.
48975         (__cpy): Likewise.
48976         (norm): Likewise.
48977         (denorm): Likewise.
48978         (__dbl_mp): Likewise.
48979         (add_magnitudes): Likewise.
48980         (sub_magnitudes): Likewise.
48981         (__mul): Likewise.
48982         (__inv): Likewise.
48984         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
48985         style.
48987         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48988         style.
48990         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
48991         code.
48993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48994         up changes with default code.
48995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
48996         Likewise.
48998 2013-02-24  Allan McRae  <allan@archlinux.org>
49000         * manual/socket.texi (The Internet Namespace): Order menu items
49001         to match that in the file.
49003         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
49004         node listing of the info page menu.
49006 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
49008         [BZ #13550]
49009         * sysdeps/i386/bp-asm.h: Remove file.
49010         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49011         (PARMS): Do not use macros from bp-asm.h.
49012         (S1): Likewise.
49013         (S2): Likewise.
49014         (SIZE): Likewise.
49015         (__mpn_add_n): Do not use BP_SYM
49016         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
49017         "bp-asm.h".
49018         (PARMS): Do not use macros from bp-asm.h.
49019         (S1): Likewise.
49020         (SIZE): Likewise.
49021         (__mpn_addmul_1): Do not use BP_SYM
49022         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
49023         "bp-asm.h".
49024         (PARMS): Do not use macros from bp-asm.h.
49025         (SIGMSK): Likewise.
49026         (_setjmp): Likewise.  Do not use BP_SYM.
49027         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
49028         "bp-asm.h".
49029         (PARMS): Do not use macros from bp-asm.h.
49030         (SIGMSK): Likewise.
49031         (setjmp): Likewise.  Do not use BP_SYM.
49032         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
49033         "bp-asm.h".
49034         (PARMS): Do not use macros from bp-asm.h.
49035         (__frexp): Do not use BP_SYM.
49036         (frexp): Likewise.
49037         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
49038         "bp-asm.h".
49039         (PARMS): Do not use macros from bp-asm.h.
49040         (__frexpf): Do not use BP_SYM.
49041         (frexpf): Likewise.
49042         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
49043         "bp-asm.h".
49044         (PARMS): Do not use macros from bp-asm.h.
49045         (__frexpl): Do not use BP_SYM.
49046         (frexpl): Likewise.
49047         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
49048         "bp-asm.h".
49049         (PARMS): Do not use macros from bp-asm.h.
49050         (__remquo): Do not use BP_SYM.
49051         (remquo): Likewise.
49052         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
49053         "bp-asm.h".
49054         (PARMS): Do not use macros from bp-asm.h.
49055         (__remquof): Do not use BP_SYM.
49056         (remquof): Likewise.
49057         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
49058         "bp-asm.h".
49059         (PARMS): Do not use macros from bp-asm.h.
49060         (__remquol): Do not use BP_SYM.
49061         (remquol): Likewise.
49062         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
49063         "bp-asm.h".
49064         (PARMS): Do not use macros from bp-asm.h.
49065         (DEST): Likewise.
49066         (SRC): Likewise.
49067         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
49068         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
49069         "bp-asm.h".
49070         (PARMS): Do not use macros from bp-asm.h.
49071         (strlen): Do not use BP_SYM.
49072         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
49073         "bp-asm.h".
49074         (PARMS): Do not use macros from bp-asm.h.
49075         (S1): Likewise.
49076         (S2): Likewise.
49077         (SIZE): Likewise.
49078         (__mpn_add_n): Do not use BP_SYM.
49079         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
49080         "bp-asm.h".
49081         (PARMS): Do not use macros from bp-asm.h.
49082         (S1): Likewise.
49083         (SIZE): Likewise.
49084         (__mpn_addmul_1): Do not use BP_SYM.
49085         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
49086         weak_alias.
49087         (bzero): Likewise.
49088         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
49089         "bp-asm.h".
49090         (PARMS): Do not use macros from bp-asm.h.
49091         (S): Likewise.
49092         (SIZE): Likewise.
49093         (__mpn_lshift): Do not use BP_SYM.
49094         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
49095         "bp-asm.h".
49096         (PARMS): Do not use macros from bp-asm.h.
49097         (DEST): Likewise.
49098         (SRC): Likewise.
49099         (LEN): Likewise.
49100         (memcpy): Likewise.  Do not use BP_SYM.
49101         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
49102         libc_hidden_def and weak_alias.
49103         (mempcpy): Do not use BP_SYM in weak_alias.
49104         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
49105         "bp-asm.h".
49106         (PARMS): Do not use macros from bp-asm.h.
49107         (DEST): Likewise.
49108         (LEN): Likewise.
49109         [!BZERO_P] (CHR): Likewise.
49110         (memset): Likewise.  Do not use BP_SYM.
49111         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
49112         "bp-asm.h".
49113         (PARMS): Do not use macros from bp-asm.h.
49114         (S1): Likewise.
49115         (SIZE): Likewise.
49116         (__mpn_mul_1): Do not use BP_SYM.
49117         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
49118         "bp-asm.h".
49119         (PARMS): Do not use macros from bp-asm.h.
49120         (S): Likewise.
49121         (SIZE): Likewise.
49122         (__mpn_rshift): Do not use BP_SYM.
49123         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
49124         "bp-asm.h".
49125         (PARMS): Do not use macros from bp-asm.h.
49126         (STR): Likewise.
49127         (CHR): Likewise.
49128         (strchr): Likewise.  Do not use BP_SYM.
49129         (index): Do not use BP_SYM in weak_alias.
49130         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
49131         "bp-asm.h".
49132         (PARMS): Do not use macros from bp-asm.h.
49133         (DEST): Likewise.
49134         (SRC): Likewise.
49135         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
49136         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
49137         "bp-asm.h".
49138         (PARMS): Do not use macros from bp-asm.h.
49139         (strlen): Do not use BP_SYM.
49140         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
49141         "bp-asm.h".
49142         (PARMS): Do not use macros from bp-asm.h.
49143         (S1): Likewise.
49144         (S2): Likewise.
49145         (SIZE): Likewise.
49146         (__mpn_sub_n): Do not use BP_SYM.
49147         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
49148         "bp-asm.h".
49149         (PARMS): Do not use macros from bp-asm.h.
49150         (S1): Likewise.
49151         (SIZE): Likewise.
49152         (__mpn_submul_1): Do not use BP_SYM.
49153         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
49154         "bp-asm.h".
49155         (PARMS): Do not use macros from bp-asm.h.
49156         (S1): Likewise.
49157         (S2): Likewise.
49158         (SIZE): Likewise.
49159         (__mpn_add_n): Do not use BP_SYM.
49160         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49161         weak_alias.
49162         (bzero): Likewise.
49163         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49164         "bp-asm.h".
49165         (PARMS): Do not use macros from bp-asm.h.
49166         (BLK2): Likewise.
49167         (LEN): Likewise.
49168         (memcmp): Do not use BP_SYM.
49169         (bcmp): Do not use BP_SYM in weak_alias.
49170         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49171         "bp-asm.h".
49172         (PARMS): Do not use macros from bp-asm.h.
49173         (DEST): Likewise.
49174         (SRC): Likewise.
49175         (LEN): Likewise.
49176         (memcpy): Likewise.  Do not use BP_SYM.
49177         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49178         "bp-asm.h".
49179         (PARMS): Do not use macros from bp-asm.h.
49180         (DEST): Likewise.
49181         (SRC): Likewise.
49182         (LEN): Likewise.
49183         (memmove): Likewise.  Do not use BP_SYM.
49184         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49185         "bp-asm.h".
49186         (PARMS): Do not use macros from bp-asm.h.
49187         (DEST): Likewise.
49188         (SRC): Likewise.
49189         (LEN): Likewise.
49190         (__mempcpy): Likewise.  Do not use BP_SYM.
49191         (mempcpy): Do not use BP_SYM in weak_alias.
49192         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49193         "bp-asm.h".
49194         (PARMS): Do not use macros from bp-asm.h.
49195         (DEST): Likewise.
49196         (LEN): Likewise.
49197         [!BZERO_P] (CHR): Likewise.
49198         (memset): Likewise.  Do not use BP_SYM.
49199         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49200         "bp-asm.h".
49201         (PARMS): Do not use macros from bp-asm.h.
49202         (STR2): Likewise.
49203         (strcmp): Do not use BP_SYM.
49204         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49205         "bp-asm.h".
49206         (PARMS): Do not use macros from bp-asm.h.
49207         (STR): Likewise.
49208         (DELIM): Likewise.
49209         [USE_AS_STRTOK_R] (SAVE): Likewise.
49210         (FUNCTION): Likewise.  Do not use BP_SYM.
49211         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49212         aliases.
49213         (strtok_r): Likewise.
49214         (__GI___strtok_r): Likewise.
49215         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49216         (PARMS): Do not use macros from bp-asm.h.
49217         (S): Likewise.
49218         (SIZE): Likewise.
49219         (__mpn_lshift): Do not use BP_SYM.
49220         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49221         (PARMS): Do not use macros from bp-asm.h.
49222         (STR): Likewise.
49223         (CHR): Likewise.
49224         (__memchr): Do not use BP_SYM.
49225         (memchr): Do not use BP_SYM in weak_alias.
49226         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49227         (PARMS): Do not use macros from bp-asm.h.
49228         (BLK2): Likewise.
49229         (LEN): Likewise.
49230         (memcmp): Do not use BP_SYM.
49231         (bcmp): Do not use BP_SYM in weak_alias.
49232         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49233         (PARMS): Do not use macros from bp-asm.h.
49234         (S1): Likewise.
49235         (SIZE): Likewise.
49236         (__mpn_mul_1): Do not use BP_SYM.
49237         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49238         "bp-asm.h".
49239         (PARMS): Do not use macros from bp-asm.h.
49240         (STR): Likewise.
49241         (CHR): Likewise.
49242         (__rawmemchr): Do not use BP_SYM.
49243         (rawmemchr): Do not use BP_SYM in weak_alias.
49244         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49245         (PARMS): Do not use macros from bp-asm.h.
49246         (S): Likewise.
49247         (SIZE): Likewise.
49248         (__mpn_rshift): Do not use BP_SYM.
49249         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49250         (PARMS): Do not use macros from bp-asm.h.
49251         (SIGMSK): Likewise.
49252         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49253         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49254         (_start): Do not use BP_SYM.
49255         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49256         (PARMS): Do not use macros from bp-asm.h.
49257         (DEST): Likewise.
49258         (SRC): Likewise.
49259         (__stpcpy): Likewise.  Do not use BP_SYM.
49260         (stpcpy): Do not use BP_SYM in weak_alias.
49261         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49262         "bp-asm.h".
49263         (PARMS): Do not use macros from bp-asm.h.
49264         (DEST): Likewise.
49265         (SRC): Likewise.
49266         (LEN): Likewise.
49267         (__stpncpy): Likewise.  Do not use BP_SYM.
49268         (stpncpy): Do not use BP_SYM in weak_alias.
49269         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49270         (PARMS): Do not use macros from bp-asm.h.
49271         (STR): Likewise.
49272         (CHR): Likewise.
49273         (strchr): Likewise.  Do not use BP_SYM.
49274         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49275         "bp-asm.h".
49276         (PARMS): Do not use macros from bp-asm.h.
49277         (STR): Likewise.
49278         (CHR): Likewise.
49279         (__strchrnul): Likewise.  Do not use BP_SYM.
49280         (strchrnul): Do not use BP_SYM in weak_alias.
49281         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49282         "bp-asm.h".
49283         (PARMS): Do not use macros from bp-asm.h.
49284         (STOP): Likewise.
49285         (strcspn): Do not use BP_SYM.
49286         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49287         "bp-asm.h".
49288         (PARMS): Do not use macros from bp-asm.h.
49289         (STR): Likewise.
49290         (STOP): Likewise.
49291         (strpbrk): Likewise.  Do not use BP_SYM.
49292         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49293         "bp-asm.h".
49294         (PARMS): Do not use macros from bp-asm.h.
49295         (STR): Likewise.
49296         (CHR): Likewise.
49297         (strrchr): Likewise.  Do not use BP_SYM.
49298         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49299         (PARMS): Do not use macros from bp-asm.h.
49300         (SKIP): Likewise.
49301         (strspn): Do not use BP_SYM.
49302         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49303         (PARMS): Do not use macros from bp-asm.h.
49304         (STR): Likewise.
49305         (DELIM): Likewise.
49306         (SAVE): Likewise.
49307         (FUNCTION): Likewise.  Do not use BP_SYM.
49308         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49309         aliases.
49310         (strtok_r): Likewise.
49311         (__GI___strtok_r): Likewise.
49312         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49313         (PARMS): Do not use macros from bp-asm.h.
49314         (S1): Likewise.
49315         (S2): Likewise.
49316         (SIZE): Likewise.
49317         (__mpn_sub_n): Do not use BP_SYM.
49318         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49319         "bp-asm.h".
49320         (PARMS): Do not use macros from bp-asm.h.
49321         (S1): Likewise.
49322         (SIZE): Likewise.
49323         (__mpn_submul_1): Do not use BP_SYM.
49324         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49325         <bp-sym.h>.
49326         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49327         and <bp-asm.h>.
49328         (PARMS): Do not use macros from bp-asm.h.
49329         (FLAGS): Likewise.
49330         (PTID): Likewise.
49331         (TLS): Likewise.
49332         (CTID): Likewise.
49333         (__clone): Do not use BP_SYM.
49334         (clone): Do not use BP_SYM in weak_alias.
49335         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49336         and <bp-asm.h>.
49337         (PARMS): Do not use macros from bp-asm.h.
49338         (LEN): Likewise.
49339         (__mmap64): Do not use BP_SYM.
49340         (mmap64): Do not use BP_SYM in weak_alias.
49341         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49342         <bp-sym.h> and <bp-asm.h>.
49343         (PARMS): Do not use macros from bp-asm.h.
49344         (__posix_fadvise64_l64): Do not use BP_SYM.
49345         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49346         (PARMS): Do not use macros from bp-asm.h.
49347         (NSOPS): Likewise.
49348         (semtimedop): Do not use BP_SYM.
49349         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49350         and <bp-asm.h>.
49352 2013-02-21  Allan McRae  <allan@archlinux.org>
49354         * manual/message.texi (Charset conversion in gettext):
49355         Move @end statement to beginning of line.
49357 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49360         static.
49361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49362         Likewise.
49364         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49365         (denorm): Likewise.
49366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49369 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49371         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49372         tail-call to the resolved function if pltexit isn't needed.
49374 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49377         or Y being zero as being unlikely.
49378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49379         Likewise.
49381 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49383         * manual/nss.texi (System Databases and Name Service Switch):
49384         Remove frobnicate @pxref.
49386 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49388         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49389         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49391 2013-02-20  Petr Machata  <pmachata@redhat.com>
49393         * elf/elf.h (R_ARM_TARGET1): New macro.
49394         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49395         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49396         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49397         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49398         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49399         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49400         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49401         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49402         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49403         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49404         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49405         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49406         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49407         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49408         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49409         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49410         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49411         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49412         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49413         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49414         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49415         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49416         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49417         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49418         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49419         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49420         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49421         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49422         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49423         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49424         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49425         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49426         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49427         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49428         (R_ARM_THM_GOT_BREL12): Likewise.
49429         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49430         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49431         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49432         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49433         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49434         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49435         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49436         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49437         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49439 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49441         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49442         __attribute_used__ to __attribute__ ((unused)).
49444 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49446         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49447         powerpc mpa.c.
49448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49449         comment formatting.
49450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49452 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49454         [BZ #13550]
49455         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49456         Remove macro.
49457         (ENTER): Remove both macro definitions.
49458         (LEAVE): Likewise.
49459         (CHECK_BOUNDS_LOW): Likewise.
49460         (CHECK_BOUNDS_HIGH): Likewise.
49461         (CHECK_BOUNDS_BOTH): Likewise.
49462         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49463         (RETURN_BOUNDED_POINTER): Likewise.
49464         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49465         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49466         (POP_ERRNO_LOCATION_RETURN): Likewise.
49467         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49468         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49469         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49470         macros.
49471         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49472         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49473         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49474         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49475         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49476         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49477         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49478         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49479         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49480         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49481         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49482         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49483         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49484         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49485         removed macros.
49486         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49487         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49488         macros.
49489         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49490         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49491         * sysdeps/i386/i586/memset.S (memset): Likewise.
49492         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49493         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49494         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49495         macros.
49496         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49497         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49498         Change uses of L(2) to L(out).
49499         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49500         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49501         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49502         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49503         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49504         removed macros.
49505         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49506         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49507         macros.
49508         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49509         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49510         (RETURN): Do not use macro LEAVE.
49511         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49512         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49513         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49514         * sysdeps/i386/i686/memset.S (memset): Likewise.
49515         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49516         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49517         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49518         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49519         Likewise.
49520         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49521         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49522         L(1_2) and L(1_3) into L(1).
49523         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49524         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49525         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49526         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
49527         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49528         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
49529         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
49530         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49531         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
49532         macros.
49533         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
49534         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49535         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
49536         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
49537         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
49538         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49539         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
49540         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
49541         * sysdeps/i386/strcspn.S (strcspn): Likewise.
49542         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49543         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49544         * sysdeps/i386/strspn.S (strspn): Likewise.
49545         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49546         conditional code.
49547         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49548         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49549         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49550         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49551         L(1_3) into L(1_1).
49552         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49553         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49554         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49555         macros.
49556         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49558 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49560         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49561         macro.
49563 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49565         * math/atest-exp.c (exp_mpn): Remove ROUND.
49566         * math/atest-exp2.c (exp_mpn): Likewise.
49567         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
49569         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
49570         * stdlib/tst-tls-atexit-lib.c: Likewise.
49571         * stdlib/tst-tls-atexit.c: Likewise.
49573 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49575         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
49576         and __attribute_alloc_size__.
49578 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49580         * include/programs/xmalloc.h: Change __attribute_alloc_size to
49581         __attribute_alloc_size__.
49582         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
49583         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
49585 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49587         * include/programs/xmalloc.h: New file.
49588         * catgets/gencat.c: Include it.
49589         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
49590         * elf/pldd.c: Likewise.
49591         * iconv/iconv_charmap.c: Likewise.
49592         * iconv/iconvconfig.c: Likewise.
49593         * iconv/strtab.c: Likewise.
49594         * locale/programs/locale.c: Likewise.
49595         * locale/programs/localedef.h: Likewise.
49596         * locale/programs/simple-hash.c: Likewise.
49597         * nscd/nscd.h: Likewise.
49598         * nss/makedb.c: Likewise.
49599         * sysdeps/generic/ldconfig.h: Likewise.
49601 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49603         * Versions.def: Add GLIBC_2.18.
49604         * include/link.h (struct link_map): New member l_tls_dtor_count.
49605         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
49606         (__call_tls_dtors): Likewise.
49607         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
49608         __cxa_thread_atexit_impl.
49609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49610         Likewise.
49611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49612         Likewise.
49613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49614         Likewise.
49615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49616         Likewise.
49617         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
49619         Likewise.
49620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
49621         Likewise.
49622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49624         Likewise.
49625         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
49626         (tests): Add test case tst-tls-atexit.
49627         (modules-names): Add shared library for tst-tls-atexit.
49628         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
49629         (GLIBC_PRIVATE): Add __call_tls_dtors.
49630         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
49631         for libstdc++.
49632         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
49633         * stdlib/tst-tls-atexit.c: New test case.
49634         * stdlib/tst-tls-atexit-lib.c: New test case.
49636         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
49638         * elf/Versions (ld): Add _dl_find_dso_for_object.
49639         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
49640         * elf/dl-open.c (_dl_find_dso_for_object): New function.
49641         (dl_open_worker): Use _dl_find_dso_for_object.
49642         * elf/dl-sym.c (do_sym): Likewise.
49643         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
49645 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49647         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
49648         Syntactic changes only.
49649         (_dl_runtime_profile): Do a tail-call to the resolved function.
49651 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
49653         [BZ #13550]
49654         * sysdeps/x86_64/bp-asm.h: Remove file.
49655         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
49656         <bp-sym.h> and <bp-asm.h>.
49657         (__clone): Do not use BP_SYM.
49658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
49659         <bp-sym.h> and <bp-asm.h>.
49660         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49661         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
49662         "bp-asm.h".
49663         (_setjmp): Do not use BP_SYM.
49664         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
49665         "bp-asm.h".
49666         (setjmp): Do not use BP_SYM.
49667         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
49668         libc_hidden_def.
49669         (mempcpy): Do not use BP_SYM in weak_alias.
49670         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
49671         "bp-asm.h".
49672         (strchr): Do not use BP_SYM.
49673         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
49674         "bp-asm.h".
49675         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
49676         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
49677         (_start): Do not use BP_SYM.
49678         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
49679         "bp-asm.h".
49680         (strcat): Do not use BP_SYM.
49681         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
49682         "bp-asm.h".
49683         (STRCMP): Do not use BP_SYM.
49684         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
49685         "bp-asm.h".
49686         (STRCPY): Do not use BP_SYM.
49687         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
49688         "bp-asm.h".
49689         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
49690         "bp-asm.h".
49691         (FUNCTION): Do not use BP_SYM.
49692         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
49693         weak_alias.
49694         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
49696 2013-02-17  Andreas Jaeger  <aj@suse.de>
49698         * time/Versions: Sort entries.
49699         * string/Versions: Likewise.
49700         * resolv/Versions: Likewise.
49701         * posix/Versions: Likewise.
49702         * iconv/Versions: Likewise.
49703         * elf/Versions: Likewise.
49704         * wcsmbs/Versions: Likewise.
49706 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49708         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
49709         loop termination condition.
49711         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
49712         variable to calculate EZ.
49713         (__sqr): Likewise.
49715         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
49716         the lower precision input.
49718 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
49720         [BZ #13550]
49721         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
49722         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
49723         (run-via-rtld-prefix): Do not handle %-bp tests.
49724         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
49725         (all-object-suffixes): Remove .ob.
49726         (bppfx): Remove variable.
49727         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
49728         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
49729         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
49730         [$(build-bounded) = yes] (libtype.ob): Likewise.
49731         * Makerules (elide-routines.ob): Remove variable.
49732         (do-tests-clean): Do not handle *-bp.out.
49733         (common-mostlyclean): Do not handle *-bp and *-bp.out.
49734         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
49735         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
49736         (tests): Do not include $(tests-bp.out).
49737         (xtests): Do not include $(xtests-bp.out).
49738         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
49739         [$(build-bounded) = yes] ($(addprefix
49740         $(objpfx),$(binaries-bounded))): Remove rule.
49741         ($(objpfx)%-bp.out): Remove rule.
49742         * config.make.in (build-bounded): Remove variable.
49743         * crypt/Makefile [$(build-bounded) = yes]
49744         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
49745         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
49746         append to variable.
49747         [$(build-bounded) = yes] (install-lib): Likewise.
49748         [$(build-bounded) = yes] (generated): Likewise.
49749         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
49750         Remove rule.
49751         * intl/Makefile [$(build-bounded) = yes]
49752         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
49753         * math/Makefile [$(build-bounded) = yes]
49754         ($(tests:%=$(objpfx)%-bp): Likewise.
49755         * misc/Makefile [$(build-bounded) = yes]
49756         ($(objpfx)tst-tsearch-bp): Likewise.
49757         * nptl/Makeconfig (bounded-thread-library): Remove variable.
49758         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
49759         Remove dependency.
49760         * string/Makefile (o-objects.ob): Remove variable.
49761         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
49762         (CFLAGS-.ob): Remove variable.
49763         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
49764         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
49765         both definitions of variable.
49766         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
49767         (ASFLAGS-.ob): Remove variable.
49769 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
49771         [BZ #13550]
49772         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
49773         Remove __BOUNDED_POINTERS__ from condition.
49774         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
49775         * string/bits/string2.h [!__NO_STRING_INLINES &&
49776         !__BOUNDED_POINTERS__]: Likewise.
49777         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
49778         Likewise.
49779         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
49780         Remove conditional code.
49781         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
49782         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
49783         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
49784         condition.
49786         [BZ #13550]
49787         * csu/libc-start.c: Do not include <bp-sym.h>.
49788         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
49789         * elf/dl-open.c: Do not include <bp-sym.h>.
49790         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
49791         * math/fegetenv.c: Do not include <bp-sym.h>.
49792         (fegetenv): Do not use BP_SYM in versioned symbols.
49793         * nptl/sysdeps/pthread/bits/libc-lockP.h
49794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
49795         <bp-sym.h>.
49796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49797         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
49798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49799         (__pthread_mutex_destroy): Likewise.
49800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49801         (__pthread_mutex_lock): Likewise.
49802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49803         (__pthread_mutex_trylock): Likewise.
49804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49805         (__pthread_mutex_unlock): Likewise.
49806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49807         (__pthread_mutexattr_init): Likewise.
49808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49809         (__pthread_mutexattr_destroy): Likewise.
49810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49811         (__pthread_mutexattr_settype): Likewise.
49812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49813         (__pthread_rwlock_init): Likewise.
49814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49815         (__pthread_rwlock_destroy): Likewise.
49816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49817         (__pthread_rwlock_rdlock): Likewise.
49818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49819         (__pthread_rwlock_tryrdlock): Likewise.
49820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49821         (__pthread_rwlock_wrlock): Likewise.
49822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49823         (__pthread_rwlock_trywrlock): Likewise.
49824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49825         (__pthread_rwlock_unlock): Likewise.
49826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49827         (__pthread_key_create): Likewise.
49828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49829         (__pthread_setspecific): Likewise.
49830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49831         (__pthread_getspecific): Likewise.
49832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
49833         Likewise.
49834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49835         (_pthread_cleanup_push_defer): Likewise.
49836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49837         (_pthread_cleanup_pop_restore): Likewise.
49838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49839         (pthread_setcancelstate): Likewise.
49840         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
49841         <bp-sym.h>.
49842         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
49843         (memchr): Do not use BP_SYM in weak_alias.
49844         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
49845         (fegetenv): Do not use BP_SYM in versioned symbols.
49846         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
49847         (fesetenv): Do not use BP_SYM in versioned symbols.
49848         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49849         (feupdateenv): Do not use BP_SYM in versioned symbols.
49850         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49851         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49852         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
49853         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
49854         (open64): Do not use BP_SYM in weak_alias.
49855         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
49856         (fegetenv): Do not use BP_SYM in versioned symbols.
49857         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
49858         (fesetenv): Do not use BP_SYM in versioned symbols.
49859         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49860         (feupdateenv): Do not use BP_SYM in versioned symbols.
49861         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
49862         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
49863         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
49864         (feraiseexcept): Do not use BP_SYM in versioned symbols.
49865         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49866         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49867         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
49868         <bp-sym.h>.
49869         (__libc_start_main): Do not use BP_SYM.
49871 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
49874         redundant return line.
49875         (norm): Likewise.
49876         (denorm): Likewise.
49877         (dbl_mp): Likewise.
49878         (sub_magnitudes): Likewise.
49879         (__add): Likewise.
49880         (__sub): Likewise.
49881         (__mul): Likewise.
49882         (__inv): Likewise.
49883         (__dvd): Likewise.
49884         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
49885         (norm): Likewise.
49886         (denorm): Likewise.
49887         (dbl_mp): Likewise.
49888         (sub_magnitudes): Likewise.
49889         (__add): Likewise.
49890         (__sub): Likewise.
49891         (__mul): Likewise.
49892         (__inv): Likewise.
49893         (__dvd): Likewise.
49895         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
49896         instead of __mul.
49897         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49898         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
49899         (cc32): Likewise.
49901         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
49902         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
49903         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
49904         of __mul for squares.
49905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
49906         function
49907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
49908         Likewise.
49909         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
49910         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49912 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
49914         [BZ #13550]
49915         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
49916         code.
49917         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
49918         prototype or function definition.  Rename ubp_* variables and
49919         parameters.  Remove argv definitions conditional on
49920         [__BOUNDED_POINTERS__].
49921         * debug/backtrace.c (__backtrace): Do not use __unbounded.
49922         * elf/dl-runtime.c (_dl_fixup): Likewise.
49923         * include/set-hooks.h (RUN_HOOK): Likewise.
49924         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
49925         definition.
49926         * string/strcpy.c (strcpy): Do not use __unbounded.
49927         * sysdeps/generic/frame.h (struct layout): Likewise.
49928         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
49929         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
49930         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
49931         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
49932         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
49933         (__backtrace): Likewise.
49934         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
49935         use __ptrvalue.
49936         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
49937         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49938         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
49939         Likewise.
49940         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
49941         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
49942         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49943         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49944         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
49945         Do not use __unbounded.
49946         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
49947         Rename __unboundedrlimits parameter to rlimits in prototype.
49948         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
49949         Do not use __unbounded.
49950         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
49951         not use __ptrvalue.
49952         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49953         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
49954         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49955         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
49956         __ptrvalue or __unbounded.
49957         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
49958         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
49959         use __unbounded.
49960         (__new_msgctl): Do not use __ptrvalue.
49961         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
49962         __unbounded.
49963         (__libc_msgrcv): Do not use __ptrvalue.
49964         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
49965         startup_info): Do not use __unbounded.
49966         (__libc_start_main): Likewise.  Rename ubp_* variables and
49967         parameters.  Remove argv definitions conditional on
49968         [__BOUNDED_POINTERS__].
49969         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
49970         __ptrvalue.
49971         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
49972         use __unbounded.
49973         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
49974         or __ptrvalue.
49975         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
49976         use __unbounded.
49977         (__new_shmctl): Do not use __ptrvalue.
49978         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
49979         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
49980         Likewise.
49981         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
49982         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
49983         (__libc_sigaction): Likewise.
49984         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
49985         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
49986         Likewise.
49987         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49989 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
49991         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
49993         * string/mempcpy.c: Implement by calling memcpy.
49995 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49997         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
49999         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
50000         evaluation.
50002         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
50003         values in the mantissa.
50005         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
50006         minimize writes to Z.
50007         (sub_magnitudes): Simplify code a bit.
50009 2013-02-12  Roland McGrath  <roland@hack.frob.com>
50011         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
50012         from the message.  The linker prefixes all warnings with that already.
50014 2013-02-12  Andreas Schwab  <schwab@suse.de>
50016         [BZ #15078]
50017         * posix/regexec.c (extend_buffers): Add parameter min_len.
50018         (check_matching): Pass minimum needed length.
50019         (clean_state_log_if_needed): Likewise.
50020         (get_subexp): Likewise.
50021         * posix/Makefile (tests): Add bug-regex34.
50022         (bug-regex34-ENV): Define.
50023         * posix/bug-regex34.c: New file.
50025         [BZ #11561]
50026         * posix/regcomp.c (parse_bracket_exp): When looking up collating
50027         elements compare against the byte sequence of it, not its name.
50028         * posix/Makefile (tests): Add bug-regex35.
50029         (bug-regex35-ENV): Define.
50030         * posix/bug-regex35.c: New file.
50032 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50034         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
50035         comment.
50036         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
50037         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
50038         (CHECK_EOL): Add undef.
50040 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
50042         * bits/stdlib-bsearch.h: New file.
50043         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
50044         * stdlib/stdlib.h: Likewise.
50046 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50048         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
50049         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
50050         declaration.
50051         * manual/search.texi (Array Search Function): Add missing const in
50052         lfind prototype.
50053         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
50054         declaration to use rlim_t.
50055         (Basic Scheduling Functions): Remove erroneous const from
50056         sched_getparam prototype.  Remove erroneous * from
50057         sched_get_priority_max and sched_get_priority_min prototypes.
50058         (Resource Usage): Fix summary @comment on vtimes to refer to
50059         sys/vtimes.h rather than vtimes.h.
50060         Add missing *s in vtimes prototype.
50061         (Limits on Resources): Fix ulimit prototype to return long int.
50062         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
50063         prototypes to use long int rather than double.
50064         (BSD Random): Fix initstate and setstate to use char *, not void *.
50065         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
50066         prototype to make second argument 'struct aiocb64 *const[]'.
50067         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
50068         (Status of AIO Operations): Remove erroneous const in aio_return and
50069         aio_return64 prototypes.
50070         (Synchronizing I/O): Fix sync prototype to return void.
50071         * manual/startup.texi (Suboptions): Remove an erroneous const in
50072         getsubopt prototype.
50073         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
50074         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
50075         use size_t rather than int.
50076         (Scanning All Users): Likewise for getpwent_r.
50077         (Setting Groups): Add missing const to setgroups prototype.
50078         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
50079         * manual/socket.texi (Host Names): Fix gethostbyaddr and
50080         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
50081         'const void *' rather than 'const char *'.
50082         (Host Address Functions): Likewise for inet_ntop.
50083         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
50084         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
50085         ssize_t for return value.
50086         (Sending Data): Likewise for send, sendto, sendmsg.
50087         (Socket Option Functions): Add a missing const in setsockopt prototype.
50088         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
50089         use wchar_t for the argument.
50090         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
50091         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
50092         take no arguments.
50093         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
50094         double/float/long double for second argument.
50095         Fix return types of significand, significandf, significandl.
50096         * manual/filesys.texi (Setting Permissions): Use mode_t for second
50097         argument in fchmod prototype.
50098         (File Owner): Use uid_t and gid_t in fchown prototype.
50099         (File Times): Add const to utimes, futimes, and lutimes prototypes.
50100         (Making Special Files): Use mode_t and dev_t in mknod prototype.
50101         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
50102         use 'const struct dirent **' as argument types to CMP function pointer
50103         argument.
50104         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
50105         (File Times): Fix summary magic @comment for struct utimbuf and utime
50106         to refer to utime.h, not time.h.
50107         * manual/string.texi (Argz Functions): Add missing const in
50108         argz_extract and argz_next prototypes.
50109         (Finding Tokens in a String): Likewise for basename.
50110         (String/Array Comparison): Fix typo in wcscasecmp prototype.
50111         (Copying and Concatenation): Fix typo in wmemmove prototype.
50112         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
50113         (Signal Stack): Remove erroneous const in sigstack prototype.
50114         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
50115         prototype.
50116         (Simple Calendar Time): Likewise for stime.
50117         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
50118         prototype.
50119         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
50120         say sys/sysctl.h instead.
50121         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
50122         and vsyslog prototypes.
50124 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50126         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
50127         Remove.
50129 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50131         * misc/sys/mman.h: Fix typo in mremap comment.
50133 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50135         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
50136         the '\0' terminator.
50138 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50140         [BZ #13550]
50141         * debug/segfault.c: Don't include <bp-checks.h>.
50142         * sysdeps/generic/bp-checks.h: Remove file.
50143         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
50144         (__GETDENTS): Don't use CHECK_N.
50145         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
50146         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
50147         (__getgroups): Don't use CHECK_N.
50148         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
50149         (setgroups): Don't use CHECK_N.
50150         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
50151         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
50152         (__libc_msgrcv): Don't use CHECK_N.
50153         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
50154         (__libc_msgsnd): Don't use CHECK_N.
50155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
50156         <bp-checks.h>.
50157         (__libc_pread): Don't use CHECK_N.
50158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50159         include <bp-checks.h>.
50160         (__libc_pread64): Don't use CHECK_N.
50161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50162         include <bp-checks.h>.
50163         (__libc_pwrite): Don't use CHECK_N.
50164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50165         include <bp-checks.h>.
50166         (__libc_pwrite64): Don't use CHECK_N.
50167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50168         <bp-checks.h>.
50169         (__libc_pread): Don't use CHECK_N.
50170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50171         include <bp-checks.h>.
50172         (__libc_pread64): Don't use CHECK_N.
50173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50174         include <bp-checks.h>.
50175         (__libc_pwrite): Don't use CHECK_N.
50176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50177         include <bp-checks.h>.
50178         (__libc_pwrite64): Don't use CHECK_N.
50179         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50180         (do_pread): Don't use CHECK_N.
50181         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50182         (do_pread64): Don't use CHECK_N.
50183         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50184         (do_pwrite): Don't use CHECK_N.
50185         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50186         (do_pwrite64): Don't use CHECK_N.
50187         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50188         (__libc_readv): Don't use CHECK_N.
50189         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50190         (semop): Don't use CHECK_N.
50191         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50192         <bp-checks.h>.
50193         (semtimedop): Don't use CHECK_N.
50194         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50195         (__libc_pread): Don't use CHECK_N.
50196         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50197         <bp-checks.h>.
50198         (__libc_pread64): Don't use CHECK_N.
50199         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50200         <bp-checks.h>.
50201         (__libc_pwrite): Don't use CHECK_N.
50202         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50203         <bp-checks.h>.
50204         (__libc_pwrite64): Don't use CHECK_N.
50205         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50206         <bp-checks.h>.
50207         (__libc_msgrcv): Don't use CHECK_N.
50208         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50209         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50210         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50211         (__libc_writev): Don't use CHECK_N.
50213 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50215         * string/strcpy.c: Removed unused variable.
50217         * Makeconfig (+sysdep-includes): Define with := rather than =.
50218         Use an existing include/ subdir of each sysdeps dir before it.
50220 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50222         * nscd/connection.c (register_traced_file): Comment function.
50223         [HAVE_INOTIFY] (union __inev): Define.
50224         [HAVE_INOTIFY] (inotify_check_files): New function.
50225         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50226         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50227         clear_db_cache.
50228         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50230 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50232         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50233         loaded if not already and that a failure is permanent.
50235 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50237         [BZ #15006]
50238         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50239         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50241 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50243         [BZ #13550]
50244         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50245         (CHECK_1_NULL_OK): Likewise.
50246         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50247         (__fxstat): Do not use CHECK_1.
50248         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50249         <bp-checks.h>.
50250         (___fxstat64): Do not use CHECK_1.
50251         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50252         <bp-checks.h>.
50253         (__fxstatat): Do not use CHECK_1.
50254         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50255         <bp-checks.h>.
50256         (__fxstatat64): Do not use CHECK_1.
50257         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50258         <bp-checks.h>.
50259         (__fxstat): Do not use CHECK_1.
50260         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50261         <bp-checks.h>.
50262         (__fxstatat): Do not use CHECK_1.
50263         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50264         <bp-checks.h>.
50265         (__getresgid): Do not use CHECK_1.
50266         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50267         <bp-checks.h>.
50268         (__getresuid): Do not use CHECK_1.
50269         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50270         <bp-checks.h>.
50271         (__lxstat): Do not use CHECK_1.
50272         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50273         <bp-checks.h>.
50274         (__old_msgctl): Do not use CHECK_1.
50275         (__new_msgctl): Likewise.
50276         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50277         <bp-checks.h>.
50278         (__new_setrlimit): Do not use CHECK_1.
50279         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50280         <bp-checks.h>.
50281         (__old_shmctl): Do not use CHECK_1.
50282         (__new_shmctl): Likewise.
50283         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50284         <bp-checks.h>.
50285         (__xstat): Do not use CHECK_1.
50286         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50287         (__lxstat): Do not use CHECK_1.
50288         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50289         <bp-checks.h>.
50290         (___lxstat64): Do not use CHECK_1.
50291         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50292         (__old_msgctl): Do not use CHECK_1.
50293         (__new_msgctl): Likewise.
50294         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50295         <bp-checks.h>.
50296         (__gettimeofday): Do not use CHECK_1.
50297         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50298         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50299         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50300         <bp-checks.h>.
50301         (__gettimeofday): Do not use CHECK_1.
50302         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50303         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50304         (__new_shmctl): Do not use CHECK_1.
50305         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50306         <bp-checks.h>.
50307         (do_sigtimedwait): Do not use CHECK_1.
50308         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50309         <bp-checks.h>.
50310         (do_sigwaitinfo): Do not use CHECK_1.
50311         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50312         <bp-checks.h>.
50313         (msgctl): Do not use CHECK_1.
50314         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50315         <bp-checks.h>.
50316         (shmctl): Do not use CHECK_1.
50317         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50318         (ustat): Do not use CHECK_1.
50319         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50320         <bp-checks.h>.
50321         (__fxstat): Do not use CHECK_1.
50322         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50323         <bp-checks.h>.
50324         (__fxstatat): Do not use CHECK_1.
50325         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50326         <bp-checks.h>.
50327         (__lxstat): Do not use CHECK_1.
50328         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50329         <bp-checks.h>.
50330         (__xstat): Do not use CHECK_1.
50331         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50332         (__xstat): Do not use CHECK_1.
50333         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50334         (___xstat64): Do not use CHECK_1.
50336         [BZ #13550]
50337         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50338         definitions.
50339         (CHECK_BOUNDS_HIGH): Likewise.
50340         * string/strcpy.c: Do not include <bp-checks.h>.
50341         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50343 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50345         * nscd/nscd-client.h (__nscd_drop_map_ref):
50346         Add __attribute__ ((unused)).
50347         * nis/nss-nisplus.h (niserr2nss): Likewise.
50349         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50350         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50352         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50353         Remove inline keyword.
50354         * include/rounding-mode.h (round_away): Likewise.
50355         * libio/wfileops.c (adjust_wide_data): Likewise.
50356         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50357         (__m128i_strloadu_tolower): Likewise.
50358         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50359         (__m128i_strloadu_tolower): Likewise.
50360         * time/mktime.c (ydhms_diff): Likewise.
50361         * locale/elem-hash.h (elem_hash): Likewise.
50362         * locale/setlocale.c (setdata): Likewise.
50363         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50364         (re_string_wchar_at): Likewise.
50365         (bitset_not, bitset_merge, bitset_mask): Likewise.
50366         [!(__GNUC__ > 3)] (inline): Remove macro.
50367         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50368         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50369         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50370         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50371         * string/memcmp.c (memcmp_bytes): Likewise.
50372         * locale/programs/locarchive.c (compute_hashval): Likewise.
50373         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50374         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50375         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50376         * nss/getent.c (print_rpc, print_protocols): Likewise.
50377         (print_passwd, print_group, print_aliases): Likewise.
50378         * nis/nss-nisplus.h (niserr2nss): Likewise.
50379         * nscd/connections.c (restart_p): Likewise.
50380         Change return type to bool.
50382 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50384         * Makeconfig (all-Depend-files): Add existing
50385         $(sorted-subdirs:=/Depend) files.
50386         (all-subdirs): Remove nss.
50387         * sysdeps/unix/inet/Subdirs: Add it here instead.
50388         * hesiod/Depend: New file.
50390         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50391         instead of calling alloca.
50393         * io/lseek.c (__lseek): Rename to __libc_lseek.
50394         Define __lseek as an alias.
50396         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50398 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50400         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50401         else clause and remove check for non-standard endianness.
50403 2013-02-04  David S. Miller  <davem@davemloft.net>
50405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50407 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50409         [BZ #13550]
50410         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50411         (__ubp_memchr): Remove prototype.
50412         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50413         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50414         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50415         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50416         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50417         Remove alias.
50418         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50419         (__ubp_memchr): Likewise.
50420         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50421         (__ubp_memchr): Likewise.
50422         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50423         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50424         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50425         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50426         CHECK_STRING.
50427         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50428         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50429         (__getcwd): Do not use CHECK_STRING.
50430         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50431         <bp-checks.h>.
50432         (__real_chown): Do not use CHECK_STRING.
50433         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50434         <bp-checks.h>.
50435         (fchownat): Do not use CHECK_STRING.
50436         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50437         CHECK_STRING.
50438         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50439         <bp-checks.h>.
50440         (__lchown): Do not use CHECK_STRING.
50441         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50442         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50443         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50444         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50446         include <bp-checks.h>.
50447         (truncate64): Do not use CHECK_STRING.
50448         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50449         <bp-checks.h>.
50450         (__real_chown): Do not use CHECK_STRING.
50451         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50452         <bp-checks.h>.
50453         (__lchown): Do not use CHECK_STRING.
50454         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50455         <bp-checks.h>.
50456         (__chown): Do not use CHECK_STRING.
50457         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50458         <bp-checks.h>.
50459         (truncate64): Do not use CHECK_STRING.
50460         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50461         Likewise.
50462         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50463         (__xmknod): Do not use CHECK_STRING.
50464         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50465         <bp-checks.h>.
50466         (__xmknodat): Do not use CHECK_STRING.
50467         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50468         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50470 2013-02-04  Andreas Schwab  <schwab@suse.de>
50472         [BZ #14142]
50473         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50474         * include/netdb.h: Likewise for h_errno.
50475         * elf/tst-stackguard1.c: Include <tls.h>.
50477 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50479         * elf/link.h (struct link_map): Extend the l_addr comment.
50480         * include/link.h (struct link_map): Likewise.
50482 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50484         [BZ #13550]
50485         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50486         (BOUNDED_1): Remove macro.
50487         * debug/backtrace.c: Don't include <bp-checks.h>.
50488         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50489         (__backtrace): Likewise.
50490         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50491         <bp-checks.h>.
50492         (__backtrace): Don't use BOUNDED_1.
50493         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50494         <bp-checks.h>.
50495         (__backtrace): Don't use BOUNDED_1.
50496         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50497         (__backtrace): Don't use BOUNDED_1.
50498         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50499         (shmat): Don't use BOUNDED_N.
50501 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50503         [BZ #13550]
50504         * sysdeps/generic/bp-start.h: Remove file.
50505         * csu/libc-start.c: Don't include <bp-start.h>.
50506         (LIBC_START_MAIN): Set up __environ directly instead of using
50507         INIT_ARGV_and_ENVIRON.
50508         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50509         <bp-start.h>.
50511         [BZ #13550]
50512         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50513         definitions.
50514         (CHECK_FCNTL): Likewise.
50515         (CHECK_N_PAGES): Likewise.
50517         [BZ #13550]
50518         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50519         definitions.
50520         (CHECK_SIGSET_NULL_OK): Likewise.
50521         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50522         <bp-checks.h>.
50523         (sigpending): Don't use CHECK_SIGSET.
50524         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50525         <bp-checks.h>.
50526         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50527         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
50528         <bp-checks.h>.
50529         (do_sigsuspend): Don't use CHECK_SIGSET.
50530         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50531         use CHECK_SIGSET.
50532         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
50533         (do_sigwait): Don't use CHECK_SIGSET.
50534         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
50535         use CHECK_SIGSET.
50536         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
50537         include <bp-checks.h>.
50538         (sigpending): Don't use CHECK_SIGSET.
50539         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
50540         include <bp-checks.h>.
50541         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50542         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50543         <bp-checks.h>.
50544         (sigpending): Don't use CHECK_SIGSET.
50545         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50546         <bp-checks.h>.
50547         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50549         [BZ #13550]
50550         * sysdeps/generic/bp-semctl.h: Remove file.
50551         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50552         <bp-checks.h> and <bp-semctl.h>.
50553         (__old_semctl): Don't use CHECK_SEMCTL.
50554         (__new_semctl): Likewise.
50555         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50556         and <bp-semctl.h>.
50557         (__old_semctl): Don't use CHECK_SEMCTL.
50558         (__new_semctl): Likewise.
50559         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50560         <bp-checks.h> and <bp-semctl.h>.
50561         (__old_semctl): Don't use CHECK_SEMCTL.
50562         (__new_semctl): Likewise.
50563         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
50564         <bp-checks.h> and <bp-semctl.h>.
50565         (semctl): Don't use CHECK_SEMCTL.
50567         [BZ #13550]
50568         * Makerules (elide-bp-thunks): Remove variable.
50569         (elide-routines.oS): Don't use $(elide-bp-thunks).
50570         (elide-routines.os): Likewise.
50571         (elide-routines.o): Likewise.
50572         (elide-routines.op): Likewise.
50573         (elide-routines.og): Likewise.
50574         (objects): Don't use $(bp-thunks).
50575         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
50576         include.
50577         (common-generated): Do not add s-proto-bp.d.
50578         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
50579         (int): Likewise.
50580         (typ): Likewise.
50581         Do not generate makefile rules for bounded-pointer thunks.
50582         * sysdeps/generic/bp-thunks.h: Remove file.
50583         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
50584         * sysdeps/unix/s-proto-bp.S: Likewise.
50586         [BZ #15062]
50587         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
50588         parts of result separately when argument is not close to line from
50589         -i to i and one part of argument is small.
50590         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50591         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50592         * math/libm-test.inc (cacos_test): Add more tests.
50593         (casin_test): Likewise.
50594         (casinh_test): Likewise.
50595         * sysdeps/i386/fpu/libm-test-ulps: Update.
50596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50598 2013-01-31  David S. Miller  <davem@davemloft.net>
50600         * po/de.po: Update from translation team.
50602 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
50604         * time/tzfile.c: Include stdint.h for SIZE_MAX.
50606 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
50608         * configure.in (_AC_PROG_CC_C89): New definition.
50609         * configure: Regenerate.
50611         * configure.in (AC_PROG_CPP): New definition.
50612         * configure: Regenerate.
50614 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50616         * debug/tst-backtrace.h: New file.
50617         * debug/tst-backtrace2.c: Include tst-backtrace.h.
50618         (ret): Remove variable.
50619         (x): Likewise.
50620         (FAIL): Remove macro.
50621         (NO_INLINE): Likewise.
50622         (fn1): Use match function instead of strstr.
50623         * debug/tst-backtrace3.c: Include tst-backtrace.h.
50624         (ret): Remove variable.
50625         (x): Likewise.
50626         (FAIL): Remove macro.
50627         (NO_INLINE): Likewise.
50628         (fn): Use match function instead of strstr.
50629         * debug/tst-backtrace4.c: Include tst-backtrace.h.
50630         (ret): Remove variable.
50631         (x): Likewise.
50632         (FAIL): Remove macro.
50633         (NO_INLINE): Likewise.
50634         (handle_signal): Use match function instead of strstr.
50635         * debug/tst-backtrace5.c: Include tst-backtrace.h.
50636         (ret): Remove variable.
50637         (x): Likewise.
50638         (FAIL): Remove macro.
50639         (NO_INLINE): Likewise.
50640         (handle_signal): Use match function instead of strstr.
50642 2013-01-23  Roland McGrath  <roland@hack.frob.com>
50644         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
50646 2013-01-23  David S. Miller  <davem@davemloft.net>
50648         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
50649         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
50650         argument of CAS if possible.
50651         * sysdeps/sparc/sparc64/bits/atomic.h
50652         (__arch_compare_and_exchange_val_32_acq): Likewise.
50653         (__arch_compare_and_exchange_val_64_acq): Likewise.
50655 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
50657         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
50658         * sysdeps/posix/ulimit.c: ... this.
50659         Include <limits.h>.
50660         * sysdeps/unix/bsd/ulimit.c: Remove file.
50662 2013-01-23  Adam Conrad  <adconrad@0c3.net>
50664         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
50665         (LDFLAGS-tst-array5): Likewise.
50667 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50669         [BZ #15036]
50670         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
50671         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
50672         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
50673         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
50675 2013-01-21  David S. Miller  <davem@davemloft.net>
50677         * sysdeps/sparc/backtrace.c: New file.
50678         * sysdeps/sparc/sparc32/backtrace.h: New file.
50679         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
50680         * sysdeps/sparc/sparc64/backtrace.h: New file.
50681         * sysdeps/sparc/sparc64/backtrace.c: Delete.
50682         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
50683         -funwind-tables.
50685 2013-01-21  Andreas Schwab  <schwab@suse.de>
50687         [BZ #15020]
50688         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
50689         closed its stdout.
50691 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
50693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
50694         "mpa2.h".
50695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50697 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
50698             Mark Mitchell  <mark@codesourcery.com>
50699             Tom de Vries  <tom@codesourcery.com>
50700             Paul Pluzhnikov  <ppluzhnikov@google.com>
50702         * debug/tst-backtrace2.c: New file.
50703         * debug/tst-backtrace3.c: Likewise.
50704         * debug/tst-backtrace4.c: Likewise.
50705         * debug/tst-backtrace5.c: Likewise.
50706         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
50707         (CFLAGS-tst-backtrace3.c): Likewise.
50708         (CFLAGS-tst-backtrace4.c): Likewise.
50709         (CFLAGS-tst-backtrace5.c): Likewise.
50710         (LDFLAGS-tst-backtrace2): Likewise.
50711         (LDFLAGS-tst-backtrace3): Likewise.
50712         (LDFLAGS-tst-backtrace4): Likewise.
50713         (LDFLAGS-tst-backtrace5): Likewise.
50714         (tests): Add new tests tst-backtrace2, tst-backtrace3,
50715         tst-backtrace4 and tst-backtrace5.
50717 2013-01-18  Anton Blanchard  <anton@samba.org>
50718             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50720         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
50721         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
50722         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
50723         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
50724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50725         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
50726         "+r" and remove output regs list as redundant.  Add explicit inline
50727         asm to specify register of return val to work around compiler codegen
50728         bug.  Remove (int) cast on return value.  Add return type parameter to
50729         use in macro so that this macro does not truncate return value for
50730         64-bit values.
50731         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
50732         pass to INTERNAL_VSYSCALL_NCS.
50733         (INLINE_VSYSCALL): Add 'long int' as return type to
50734         INTERNAL_VSYSCALL_NCS macro invocation.
50735         (INTERNAL_VSYSCALL): Add 'long int' as return type to
50736         INTERNAL_VSYSCALL_NCS macro invocation.
50737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50739 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50741         [BZ #14496]
50742         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
50743         Fix application of SIMD FP exception mask.
50745         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
50746         mp_no from a power of two.
50747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
50748         __mpexp_twomm1.  Use __pow_mp.
50750         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
50751         multiplication.
50753 2013-01-17  David S. Miller  <davem@davemloft.net>
50755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50757 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50759         [BZ #15023]
50760         * include/complex.h: Condition contents on [!_COMPLEX_H].
50761         (__kernel_casinhf): New prototype.
50762         (__kernel_casinh): Likewise.
50763         (__kernel_casinhl): Likewise.
50764         * math/Makefile (libm_calls): Add k_casinh.
50765         * math/k_casinh.c: New file.
50766         * math/k_casinhf.c: Likewise.
50767         * math/k_casinhl.c: Likewise.
50768         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
50769         finite nonzero arguments.
50770         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
50771         finite nonzero arguments.
50772         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
50773         finite nonzero arguments.
50774         * math/s_casinh.c: Do not include <float.h>.
50775         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
50776         * math/s_casinhf.c: Do not include <float.h>.
50777         (__casinhf): Move code for finite nonzero arguments to
50778         k_casinhf.c.
50779         * math/s_casinhl.c: Do not include <float.h>.
50780         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
50781         redefine.
50782         (__casinhl): Move code for finite nonzero arguments to
50783         k_casinhl.c.
50784         * math/libm-test.inc (cacos_test): Add more tests.
50785         * sysdeps/i386/fpu/libm-test-ulps: Update.
50786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50788 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
50790         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
50791         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
50792         [!HAVE_MREMAP]: Remove [defined linux] case.
50793         * malloc/arena.c: Do not include <malloc-sysdep.h>.
50795 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50797         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
50799 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
50801         * elf/elf.h (R_386_SIZE32): New relocation.
50802         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
50803         R_386_SIZE32.
50804         (elf_machine_rela): Likewise.
50805         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50806         R_X86_64_SIZE64 and R_X86_64_SIZE32.
50808 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50810         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
50811         (FP_FAST_FMA): Do not define.
50812         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
50813         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
50814         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
50815         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
50816         !_SOFT_FLOAT]: Likewise.
50817         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
50818         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
50819         value.
50820         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
50821         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
50822         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
50823         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
50824         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
50825         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
50826         file.
50828 2013-01-16  Andreas Schwab  <schwab@suse.de>
50830         [BZ #14327]
50831         * include/stdlib.h (__mktemp): Add declaration.
50832         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
50833         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
50835 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50837         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
50838         definitions.
50839         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50840         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
50841         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
50842         definitions here.
50843         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
50844         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
50845         definitions.
50846         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
50847         and ONE.
50848         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
50849         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
50850         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
50851         definitions.
50852         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
50853         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
50854         definitions.
50855         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50857         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
50859 2013-01-15  David S. Miller  <davem@davemloft.net>
50861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50862         trunc{,f} to libm-sysdep_routes.
50863         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
50865         file.
50866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
50867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
50868         file.
50869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
50870         file.
50871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
50872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
50873         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
50874         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
50875         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
50876         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
50877         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
50878         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
50880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50881         nearbyint{,f} to libm-sysdep_routes.
50882         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
50884         New file.
50885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
50886         file.
50887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
50888         New file.
50889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
50890         file.
50891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
50892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
50893         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
50894         file.
50895         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
50896         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
50897         file.
50898         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
50899         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
50900         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
50902         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50903         libc_feholdexcept and libc_fesetenv.
50905 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
50907         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
50909 2013-01-14  David S. Miller  <davem@davemloft.net>
50911         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
50912         (SPARC_ASM_VIS2_IFUNC): Likewise.
50913         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
50914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
50915         use of 'siam' instruction.
50916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
50917         Likewise.
50918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
50919         Likewise.
50920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
50921         Likewise.
50922         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
50923         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
50924         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
50925         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
50926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
50927         file.
50928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
50929         file.
50930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
50931         file.
50932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
50933         file.
50934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
50935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
50936         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
50937         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
50938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
50939         new VIS2 routines.
50940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50943         Likewise.
50944         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50945         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50946         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50947         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
50949         routines to libm-sysdep_routines.
50950         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50953         fdim/fdimf to libm-sysdep_routines.
50954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
50955         file.
50956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
50957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
50958         file.
50959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
50960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
50961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
50962         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
50963         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
50964         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
50965         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
50967 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50969         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
50970         to optimize copies.
50972         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
50973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50976         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
50977         local variable MPTWO.
50978         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50979         Likewise.
50981 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50983         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
50984         GLOB_NOESCAPE.
50986 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50988         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
50990 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50992         * manual/pattern.texi (glob_t): Document gl_flags.
50993         (glob64_t): Likewise.
50995 2013-01-11  David S. Miller  <davem@davemloft.net>
50997         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
50998         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
50999         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
51000         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
51001         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
51002         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
51003         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
51004         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
51005         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
51006         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
51007         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
51008         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
51009         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
51011         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51012         sparc V9 rather than using V8 code.
51013         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51014         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51016         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51017         Move to...
51018         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
51019         Here.
51021 2013-01-11  Roland McGrath  <roland@hack.frob.com>
51023         [BZ #14941]
51024         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
51025         not in the main loop.
51026         * configure: Regenerated.
51028 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
51030         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
51031         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
51032         to just #else.
51033         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
51034         [!__GLIBC_HAVE_LONG_LONG] case.
51035         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
51036         condition to just #else.
51037         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
51038         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
51039         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
51040         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
51041         unconditional.
51042         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
51043         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51044         #elif condition to just #else.
51045         * sysdeps/unix/sysv/linux/sys/sysmacros.h
51046         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
51047         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51048         #elif condition to just #else.
51050 2013-01-11  Steve Ellcey  <sellcey@mips.com>
51052         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
51053         (EF_MIPS_ARCH_64): Fix value.
51054         (EF_MIPS_ARCH_32R2): New.
51055         (EF_MIPS_ARCH_64R2): New.
51057 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
51059         * Makeconfig (+link-pie-before-libc): New.
51060         (+link-pie-after-libc): Likewise.
51061         (+link-pie-tests): Likewise.
51062         (+link-pie): Rewritten.
51063         (link-before-libc): Remove $(config-LDFLAGS).
51064         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
51065         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
51066         (config-LDFLAGS): Renamed to ...
51067         (rtld-LDFLAGS): This.
51068         (rtld-tests-LDFLAGS): New macro.
51069         (link-libc-rpath-link): Likewise.
51070         (link-libc-tests-rpath-link): Likewise.
51071         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
51072         (link-libc): Prepand $(link-libc-rpath-link).
51073         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
51074         (test-program-prefix): New macro.
51075         (test-via-rtld-prefix): Likewise.
51076         (test-program-cmd): Likewise.
51077         (host-test-program-cmd): Likewise.
51078         * Makefile ($(common-objpfx)testrun.sh): Replace
51079         $(run-program-prefix) with $(test-program-prefix).
51080         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
51081         $(rtld-LDFLAGS).
51082         ($(common-objpfx)shlib.lds): Likewise.
51083         (build-module-helper): Likewise.
51084         ($(common-objpfx)format.lds): Likewise.
51085         * Rules (binaries-pie-tests): New.
51086         (binaries-pie-notests): Likewise.
51087         (binaries-pie): Rewritten.
51088         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
51089         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
51090         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
51091         (make-test-out): Replace $(host-built-program-cmd) with
51092         $(host-test-program-cmd).
51093         * config.make.in (build-hardcoded-path-in-tests): New variable.
51094         * configure.in (--enable-hardcoded-path-in-tests): New configure
51095         option.
51096         (hardcoded_path_in_tests): New AC_SUBST.
51097         * configure: Regenerated.
51098         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
51099         $(built-program-cmd) with $(test-program-cmd).
51100         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
51101         (test_program_cmd): This.
51102         * elf/Makefile ($(objpfx)order.out): Run test with
51103         $(test-program-prefix).
51104         ($(objpfx)order2.out): Likewise.
51105         ($(objpfx)tst-initorder.out): Likewise.
51106         ($(objpfx)tst-initorder2.out): Likewise.
51107         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
51108         $(test-program-cmd).
51109         ($(objpfx)tst-array1-static.out): Likewise.
51110         ($(objpfx)tst-array2.out): Likewise.
51111         ($(objpfx)tst-array3.out): Likewise.
51112         ($(objpfx)tst-array4.out): Likewise.
51113         ($(objpfx)tst-array5.out): Likewise.
51114         ($(objpfx)tst-array5-static.out): Likewise.
51115         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
51116         $(test-program-cmd).
51117         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
51118         $(run-program-prefix) with $(test-program-prefix).
51119         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
51120         (test_program_prefix): This.
51121         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
51122         $(run-program-prefix) with $(test-program-prefix).
51123         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
51124         (test_program_prefix): This.
51125         * iconvdata/tst-tables.sh: Likewise.
51126         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
51127         $(run-program-prefix) with $(test-program-prefix).
51128         ($(objpfx)tst-translit.out): Likewise.
51129         ($(objpfx)tst-gettext2.out): Likewise.
51130         ($(objpfx)tst-gettext4.out): Likewise.
51131         ($(objpfx)tst-gettext6.out): Likewise.
51132         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
51133         (test_program_prefix): This.
51134         * intl/tst-gettext2.sh: Likewise.
51135         * intl/tst-gettext4.sh  Likewise.
51136         * intl/tst-gettext6.sh: Likewise.
51137         * intl/tst-translit.sh: Likewise.
51138         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
51139         with $(test-program-cmd).
51140         * libio/Makefile ($(objpfx)test-freopen.out): Replace
51141         $(run-program-prefix) with $(test-program-prefix).
51142         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
51143         (test_program_prefix): This.
51144         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
51145         $(run-program-prefix) with $(test-program-prefix).
51146         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
51147         (test_program_prefix): This.
51148         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
51149         * posix/Makefile ($(objpfx)globtest.out): Replace
51150         $(run-via-rtld-prefix) and $(test-wrapper) with
51151         $(test-program-prefix) and $(test-via-rtld-prefix).
51152         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
51153         $(test-program-prefix).
51154         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
51155         $(host-test-program-cmd).
51156         (tst-spawn-ARGS): Likewise.
51157         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
51158         $(test-program-prefix).
51159         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51160         (test_via_rtld_prefix): This.
51161         (test_wrapper): Renamed to ...
51162         (test_program_prefix): This.
51163         (run_program_prefix): Replaced by test_program_prefix.
51164         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51165         (test_program_prefix): This.
51166         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51167         with $(host-test-program-cmd).
51168         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51169         $(run-program-prefix) with $(test-program-prefix).
51170         ($(objpfx)tst-printf.out): Likewise.
51171         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51172         $(test-program-cmd).
51173         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51174         (test_program_prefix): This.
51175         * stdio-common/tst-unbputc.sh: Likewise.
51176         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51177         $(run-program-prefix) with $(test-program-prefix).
51178         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51179         (test_program_prefix): This.
51180         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51181         $(built-program-cmd) with $(test-program-cmd).
51183 2013-01-11  Andreas Jaeger  <aj@suse.de>
51185         [BZ #15003]
51186         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51187         value. Sync with Linux 3.7.
51189 2013-01-10  David S. Miller  <davem@davemloft.net>
51191         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
51192         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51193         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51195 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51197         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51198         never set.
51199         * configure: Regenerated.
51201 2013-01-10  David S. Miller  <davem@davemloft.net>
51203         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51204         sparc V9 rather than using V8 code.
51205         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51206         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51208 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51210         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51211         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51212         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51213         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51214         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51215         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51216         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51217         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51218         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51219         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51220         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51221         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51222         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51223         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51224         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51225         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51226         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51227         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51228         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51229         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51230         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51231         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51232         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51233         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51234         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51235         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51236         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51238 2013-01-10  David S. Miller  <davem@davemloft.net>
51240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51242 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51244         * posix/Makefile (tests-static): New variable.
51245         (tests): Add $(tests-static).
51246         (tst-exec-static-ARGS): New variable.
51247         (tst-spawn-static-ARGS): Likewise.
51248         * posix/tst-exec-static.c: New file.
51249         * posix/tst-spawn-static.c: Likewise.
51250         * posix/tst-exec.c: Support run directly.
51251         * posix/tst-spawn.c: Likewise.
51253 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51255         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51256         long.
51257         * math/bits/mathcalls.h (llrint): Likewise.
51258         (llround): Likewise.
51259         * stdlib/stdlib.h (struct drand48_data): Likewise.
51260         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51261         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51262         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51263         Likewise.
51264         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51265         Likewise.
51266         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51267         (elf_greg_t): Likewise.
51268         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51269         (__jmp_buf): Likewise.
51270         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51271         definitions.
51272         (llrint): Likewise, for all definitions.
51273         (llrintl): Likewise.
51275         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51276         Remove [__GNUC__] condition.
51277         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51278         condition to just [__USE_ISOC99].
51279         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51281 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51283         [BZ #14200]
51284         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51285         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51286         defined.
51287         (_POSIX_V6_ILP32_OFF32): Likewise.
51288         (_XBS5_ILP32_OFF32): Likewise.
51289         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51290         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51292 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51294         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51297         doubles __mpexp_twomm1.  Adjust usage.
51298         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51299         Remove.
51301 2013-01-10  Andreas Schwab  <schwab@suse.de>
51303         [BZ #14964]
51304         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51305         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51307 2013-01-09  David S. Miller  <davem@davemloft.net>
51309         [BZ #15003]
51310         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51311         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51312         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51313         (TCP_FASTOPEN): Define.
51314         (tcp_repair_opt): New structure.
51315         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51316         enum values.
51317         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51318         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51319         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51320         (tcp_cookie_transactions): New structure.
51322 2013-01-09  Anton Blanchard  <anton@samba.org>
51324         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51325         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51326         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51327         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51329 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51331         * include/features.h (__USE_ANSI): Remove.
51333 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51335         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51337         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51339 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51341         * sysdeps/s390/fpu/libm-test-ulps: Update.
51343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51345         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51346         (__acr): Likewise.
51347         (__cpy): Likewise.
51348         (norm): Likewise.
51349         (denorm): Likewise.
51350         (__mp_dbl): Likewise.
51351         (__dbl_mp): Likewise.
51352         (add_magnitudes): Likewise.
51353         (sub_magnitudes): Likewise.
51354         (__add): Likewise.
51355         (__sub): Likewise.
51356         (__mul): Likewise.
51357         (__inv): Likewise.
51358         (__dvd): Likewise.
51359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51360         (__acr): Likewise.
51361         (__cpy): Likewise.
51362         (norm): Likewise.
51363         (denorm): Likewise.
51364         (__mp_dbl): Likewise.
51365         (__dbl_mp): Likewise.
51366         (add_magnitudes): Likewise.
51367         (sub_magnitudes): Likewise.
51368         (__add): Likewise.
51369         (__sub): Likewise.
51370         (__mul): Likewise.
51371         (__inv): Likewise.
51372         (__dvd): Likewise.
51373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51374         (__acr): Likewise.
51375         (__cpy): Likewise.
51376         (norm): Likewise.
51377         (denorm): Likewise.
51378         (__mp_dbl): Likewise.
51379         (__dbl_mp): Likewise.
51380         (add_magnitudes): Likewise.
51381         (sub_magnitudes): Likewise.
51382         (__add): Likewise.
51383         (__sub): Likewise.
51384         (__mul): Likewise.
51385         (__inv): Likewise.
51386         (__dvd): Likewise.
51388 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51390         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51391         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51392         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51393         2 && __USE_EXTERN_INLINES]: Likewise.
51395 2013-01-08  Andreas Jaeger  <aj@suse.de>
51397         [BZ# 14985]
51398         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51399         Remove.
51400         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51401         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51403 2013-01-07  Anton Blanchard  <anton@samba.org>
51405         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51406         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51407         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51408         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51409         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51410         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51411         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51412         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51414         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51415         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51416         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51417         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51418         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51419         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51420         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51421         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51422         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51423         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51424         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51425         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51426         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51427         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51428         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51429         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51430         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51431         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51432         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51433         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51434         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51435         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51437         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51438         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51439         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51440         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51441         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51442         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51443         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51444         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51445         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51446         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51447         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51449 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51451         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51452         (__MALLOC_PMT): Likewise.
51453         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51454         [__GNUC__], only on [_LIBC].
51455         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51456         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51457         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51458         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51459         forward declaration.
51460         (realloc_hook_ini): Likewise.
51461         (memalign_hook_ini): Likewise.
51462         (__libc_memalign): Do not use __MALLOC_PMT in variable
51463         declaration.
51464         (__libc_valloc): Likewise.
51465         (__libc_pvalloc): Likewise.
51466         (__libc_calloc): Likewise.
51467         (__posix_memalign): Likewise.
51469         [BZ #14996]
51470         * math/s_casinh.c: Include <float.h>.
51471         (__casinh): Do not do computation with squaring and square root
51472         for large arguments.
51473         * math/s_casinhf.c: Include <float.h>.
51474         (__casinhf): Do not do computation with squaring and square root
51475         for large arguments.
51476         * math/s_casinhl.c: Include <float.h>.
51477         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51478         (__casinhl): Do not do computation with squaring and square root
51479         for large arguments.
51480         * math/libm-test.inc (casin_test): Add more tests.
51481         (casinh_test): Likewise.
51482         * sysdeps/i386/fpu/libm-test-ulps: Update.
51483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51485 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51487         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51488         (__x86_64_raw_data_cache_size): Likewise.
51489         (__x86_64_data_cache_size_half): Likewise.
51490         (__x86_64_raw_data_cache_size_half): Likewise.
51491         (__x86_64_shared_cache_size): Likewise.
51492         (__x86_64_raw_shared_cache_size): Likewise.
51493         (__x86_64_shared_cache_size_half): Likewise.
51494         (__x86_64_raw_shared_cache_size_half): Likewise.
51495         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51496         to ...
51497         (__x86_data_cache_size): This.
51498         (__x86_64_raw_data_cache_size): Renamed to ...
51499         (__x86_raw_data_cache_size): This.
51500         (__x86_64_data_cache_size_half): Renamed to ...
51501         (__x86_data_cache_size_half): This.
51502         (__x86_64_raw_data_cache_size_half): Renamed to ...
51503         (__x86_raw_data_cache_size_half): This.
51504         (__x86_64_shared_cache_size): Renamed to ...
51505         (__x86_shared_cache_size): This.
51506         (__x86_64_raw_shared_cache_size): Renamed to ...
51507         (__x86_raw_shared_cache_size): This.
51508         (__x86_64_shared_cache_size_half): Renamed to ...
51509         (__x86_shared_cache_size_half): This.
51510         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51511         (__x86_raw_shared_cache_size_half): This.
51512         * sysdeps/x86_64/memcpy.S: Updated.
51513         * sysdeps/x86_64/memset.S: Likewise.
51514         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51515         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51516         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51518 2013-01-04  David S. Miller  <davem@davemloft.net>
51520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51522 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51524         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51525         1 to avoid redefinition warning.
51526         (__USE_GNU): Don't define.
51527         (init_signaling_nan): Protoize.
51529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51531 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51533         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
51534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51535         (__cpymn): Likewise.
51536         (norm): Remove commented code.
51537         (denorm): Likewise.
51538         (__mp_dbl): Likewise.
51539         (__inv): Likewise.
51540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
51541         (__cpymn): Likewise.
51542         (norm): Remove commented code.
51543         (denorm): Likewise.
51544         (__mp_dbl): Likewise.
51545         (__inv): Likewise.
51547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51548         mp_no value for 1.0 and 2.0.
51549         (norm): Use RADIXI instead of radixi.d.
51550         (denorm): Likewise.
51551         (__mul): Use 0.0 instead of zero.d.
51552         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51553         mp_no value for 1.0 and 2.0.
51554         (norm): Use RADIXI instead of radixi.d.
51555         (denorm): Likewise.
51556         (__mul): Use 0.0 instead of zero.d.
51558 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51560         [BZ #14994]
51561         * math/s_casinh.c (__casinh): Reduce finite argument to first
51562         quadrant then set signs of results at the end.
51563         * math/s_casinhf.c (__casinhf): Likewise.
51564         * math/s_casinhl.c (__casinhl): Likewise.
51565         * math/libm-test.inc (casin_test): Add more tests.
51566         (casinh_test): Likewise.
51567         * sysdeps/i386/fpu/libm-test-ulps: Update.
51568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51570 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51572         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
51574         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
51576         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
51577         declarations.
51578         (denorm): Likewise.
51579         (__mp_dbl): Likewise.
51580         (__inv): Likewise.
51582         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
51583         and adjust the header comment.
51585         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
51586         variable name from declaration.
51588 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
51590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51591         Initialize COMMON_CPUID_INDEX_7 element.
51592         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
51593         (CPUID_RTM): Likewise.
51594         (HAS_RTM): Likewise.
51595         (COMMON_CPUID_INDEX_7): New enum.
51597 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
51599         [BZ #14981]
51600         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
51601         size is zero, record memory as freed.
51603 2013-01-03  Andreas Jaeger  <aj@suse.de>
51605         * po/ia.po: Add new Interlingua translation.
51607 2012-01-03  Allan McRae  <allan@archlinux.org>
51609         * locale/programs/localedef.c: Fix description of '--posix' flag.
51611 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
51613         * NEWS: Update dates in second copyright notice.
51614         * README: Update copyright dates in example.
51615         * manual/libc.texinfo: Update copyright dates.
51616         * scripts/test-installation.pl: Update copyright date in --version
51617         output.
51619         * hurd/ctty-input.c: Fix copyright notice formatting.
51620         * hurd/ctty-output.c: Likewise.
51621         * hurd/dtable.c: Likewise.
51622         * hurd/hurd-raise.c: Likewise.
51623         * hurd/hurdprio.c: Likewise.
51624         * hurd/msgportdemux.c: Likewise.
51625         * misc/sys/file.h: Likewise.
51626         * misc/sys/ioctl.h: Likewise.
51627         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
51628         * sysdeps/mach/hurd/chdir.c: Likewise.
51629         * sysdeps/mach/hurd/fchdir.c: Likewise.
51630         * sysdeps/mach/hurd/rename.c: Likewise.
51631         * sysdeps/mach/hurd/rmdir.c: Likewise.
51632         * sysdeps/mach/hurd/seekdir.c: Likewise.
51633         * sysdeps/mach/hurd/setsid.c: Likewise.
51634         * sysdeps/posix/wait3.c: Likewise.
51636         * All files with FSF copyright notices: Update copyright dates
51637         using scripts/update-copyrights.
51638         * intl/plural.c: Regenerated.
51639         * locale/programs/charmap-kw.h: Likewise.
51640         * locale/programs/locfile-kw.h: Likewise.
51642 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51644         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
51645         four values.
51647         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
51648         calculation loop and add branch prediction.
51650         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
51651         check access beyond bounds of m1np.
51653         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51654         MPTWO.
51655         (__inv): Remove local variable MPTWO to use the global
51656         constant.
51657         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
51658         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51659         variable MPTWO.
51660         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
51661         MP3HALFS static const.
51663 2013-01-01  David S. Miller  <davem@davemloft.net>
51665         * po/ca.po: Update from translation team.
51667 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
51669         * scripts/update-copyrights: New file.
51670         * Makeconfig: Reformat copyright notice.
51671         * ctype/ctype.h: Likewise.
51672         * debug/swprintf_chk.c: Likewise.
51673         * elf/dl-cache.c: Likewise.
51674         * elf/dl-debug.c: Likewise.
51675         * elf/dl-object.c: Likewise.
51676         * grp/initgroups.c: Likewise.
51677         * hurd/Makefile: Likewise.
51678         * hurd/hurd/signal.h: Likewise.
51679         * hurd/hurdfault.c: Likewise.
51680         * hurd/hurdioctl.c: Likewise.
51681         * hurd/hurdlookup.c: Likewise.
51682         * hurd/intr-msg.c: Likewise.
51683         * iconv/gconv_open.c: Likewise.
51684         * libio/swprintf.c: Likewise.
51685         * locale/lc-ctype.c: Likewise.
51686         * locale/nl_langinfo.c: Likewise.
51687         * mach/Machrules: Likewise.
51688         * mach/Makefile: Likewise.
51689         * malloc/obstack.h: Likewise.
51690         * manual/Makefile: Likewise.
51691         * manual/tsort.awk: Likewise.
51692         * misc/bits/stab.def: Likewise.
51693         * nis/nis_print_group_entry.c: Likewise.
51694         * nis/nis_table.c: Likewise.
51695         * nis/nss_compat/compat-pwd.c: Likewise.
51696         * nis/nss_compat/compat-spwd.c: Likewise.
51697         * po/Makefile: Likewise.
51698         * posix/fnmatch.c: Likewise.
51699         * posix/regex.h: Likewise.
51700         * resolv/Makefile: Likewise.
51701         * resolv/nss_dns/dns-network.c: Likewise.
51702         * resolv/res_hconf.c: Likewise.
51703         * scripts/gen-sorted.awk: Likewise.
51704         * soft-fp/soft-fp.h: Likewise.
51705         * stdio-common/printf.h: Likewise.
51706         * stdlib/monetary.h: Likewise.
51707         * stdlib/random.c: Likewise.
51708         * stdlib/random_r.c: Likewise.
51709         * sysdeps/generic/Makefile: Likewise.
51710         * sysdeps/gnu/Makefile: Likewise.
51711         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51712         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51713         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51714         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51715         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51716         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51717         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51718         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51719         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51721         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51722         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51723         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51724         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51725         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
51726         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51727         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51728         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51729         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51730         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51731         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51732         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51733         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51734         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51735         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
51736         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51737         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51738         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
51739         * sysdeps/mach/hurd/errnos.awk: Likewise.
51740         * sysdeps/mach/hurd/fork.c: Likewise.
51741         * sysdeps/mach/hurd/getcwd.c: Likewise.
51742         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
51743         * sysdeps/mach/hurd/mmap.c: Likewise.
51744         * sysdeps/mach/hurd/utimes.c: Likewise.
51745         * sysdeps/mach/hurd/xmknod.c: Likewise.
51746         * sysdeps/posix/profil.c: Likewise.
51747         * sysdeps/posix/readdir_r.c: Likewise.
51748         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51749         * sysdeps/powerpc/bits/setjmp.h: Likewise.
51750         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
51751         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51752         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51753         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51754         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51755         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51757         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51758         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51759         * sysdeps/pthread/lio_listio.c: Likewise.
51760         * sysdeps/sparc/dl-procinfo.h: Likewise.
51761         * sysdeps/unix/i386/sysdep.S: Likewise.
51762         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
51763         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
51764         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
51765         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
51766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51767         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
51768         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
51769         * sysdeps/unix/sysv/linux/speed.c: Likewise.
51770         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
51771         * sysdeps/wordsize-32/divdi3.c: Likewise.
51772         * time/sys/time.h: Likewise.
51773         * wcsmbs/Makefile: Likewise.
51775 2013-01-01  David S. Miller  <davem@davemloft.net>
51777         * po/fr.po: Update from translation team.
51779         * catgets/gencat.c: Update copyright year.
51780         * csu/version.c: Likewise.
51781         * debug/catchsegv.sh: Likewise.
51782         * debug/pcprofiledump.c: Likewise.
51783         * debug/xtrace.sh: Likewise.
51784         * elf/ldconfig.c: Likewise.
51785         * elf/ldd.bash.in: Likewise.
51786         * elf/pldd.c: Likewise.
51787         * elf/sotruss.ksh: Likewise.
51788         * elf/sprof.c: Likewise.
51789         * iconv/iconv_prog.c: Likewise.
51790         * iconv/iconvconfig.c: Likewise.
51791         * locale/programs/locale.c: Likewise.
51792         * locale/programs/localedef.c: Likewise.
51793         * login/programs/pt_chown.c: Likewise.
51794         * malloc/memusage.sh: Likewise.
51795         * malloc/memusagestat.c: Likewise.
51796         * malloc/mtrace.pl: Likewise.
51797         * nscd/nscd.c: Likewise.
51798         * nss/getent.c: Likewise.
51799         * nss/makedb.c: Likewise.
51800         * posix/getconf.c: Likewise.
51802 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51804         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
51805         numbers.
51807 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
51809         * math/bits/mathcalls.h (modf): Use __nonnull.
51811 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51813         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
51814         (split): Use macro CN instead of the bare value.
51815         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
51816         could be used.
51817         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
51818         instead of the bare value.
51819         (power1): Likewise.
51821 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51823         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
51824         __ATAN_TWOM.
51825         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51827         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
51828         their values.
51829         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51830         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51831         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
51832         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51834 2012-12-28  Andreas Jaeger  <aj@suse.de>
51836         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
51837         values are from Linux 3.7.
51839         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
51840         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
51842 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51844         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
51845         TRUE case.
51847         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
51848         (norm): Likewise.
51849         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
51850         variables with preprocessor constants.
51851         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51852         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51853         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51855 2012-12-27  Bruno Haible  <bruno@clisp.org>
51857         [BZ #14317]
51858         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
51859         only if needed.
51861 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51863         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
51864         and use variable directly.
51865         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
51867         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51868         MPONE.
51869         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
51870         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51871         variable MPONE.
51872         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51874         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
51875         include directive.  Remove local variable MPONE.
51876         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
51877         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
51878         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51880 2012-12-25  David S. Miller  <davem@davemloft.net>
51882         * version.h (RELEASE): Set to "development".
51883         (VERSION): Set to "2.17.90".
51884         * NEWS: Add 2.18 section.
51886 2012-12-21  David S. Miller  <davem@davemloft.net>
51888         * po/hr.po: Update from translation team.
51890 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51892         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
51894 2012-12-19  Steve Ellcey  <sellcey@mips.com>
51896         * NEWS:  Mention new memcpy for MIPS.
51898 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51900         * manual/contrib.texi (Contributors): Spelling correction.
51902 2012-12-15  David S. Miller  <davem@davemloft.net>
51904         * po/ru.po: Update from translation team.
51906 2012-12-13  David S. Miller  <davem@davemloft.net>
51908         * NEWS: Mention IFUNC testsuite enhancements.
51910         * po/pl.po: Update from translation team.
51911         * po/bg.po: Likewise.
51913         * manual/contrib.texi (Contributors): Update entries for Hongjiu
51914         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
51916 2012-12-11  David S. Miller  <davem@davemloft.net>
51918         * po/sv.po: Update from translation team.
51920         * po/vi.po: Update from translation team.
51922         * po/cs.po: Update from translation team.
51924         * po/de.po: Update from translation team.
51925         * po/eo.po: Likewise.
51926         * po/nl.po: Likewise.
51928 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51930         [BZ #14246]
51931         * manual/argp.texi (Argp Helper Functions): Move node to follow
51932         Argp Parsing State.
51934         [BZ #14872]
51935         * manual/conf.texi (Limits on File System Capacity): Mention if
51936         terminating null is included in the max size.
51938 2012-12-10  Andreas Jaeger  <aj@suse.de>
51940         * po/cs.po: Update from translation team.
51942 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51944         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
51945         void pointer and cast to uintptr_t.
51946         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
51947         path.
51948         * sysdeps/s390/s390-64/memcpy.S: Likewise.
51949         * sysdeps/s390/s390-64/memset.S: Likewise.
51951 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
51953         [BZ #14833]
51954         * menual/message.texi (Message Translation): Fix typos.
51955         (Helper programs for gettext): Likewise.
51957 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
51959         [BZ #14898]
51960         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
51961         Change to -1.
51963 2012-12-07  David S. Miller  <davem@davemloft.net>
51965         * po/libc.pot: Update.
51967 2012-12-07  Richard Henderson  <rth@redhat.com>
51969         [BZ #10114]
51970         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
51971         normal/normal case to before the switch.
51972         (_FP_DIV): Likewise.
51974 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
51975             Mike Frysinger  <vapier@gentoo.org>
51977         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
51978         check for __NR_fadvise64_64.
51980 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
51982         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
51983         0, not just to plain "0" as a statement.
51984         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
51985         with cw.
51987 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
51989         * NEWS: Use sourceware.org in Bugzilla URL.
51991 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
51994         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51996         * stdio-common/tst-put-error.c (do_test): Add newline to the
51997         padded test to ensure flush.
51999 2012-12-05  Jeff Law  <law@redhat.com>
52001         * sunrpc/etc.rpc (fedfs_admin): Add entry.
52003 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
52005         * README: Don't refer to ports add-on as distributed separately.
52006         Mention AArch64 in list of systems supported in the ports add-on.
52008         * LICENSES: Add more non-FSF copyright and license notices.
52010         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
52011         ((unused)).
52013         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
52015         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
52016         10000 as width of padded output.
52018 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52020         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
52022         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
52023         variable LX with __attribute__ ((unused)).
52024         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52025         Likewise.
52026         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52027         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52028         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
52029         with __attribute__ ((unused)).
52031 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
52033         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
52035 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52037         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
52038         (CFLAGS-nldbl-acos.c): New variable.
52039         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
52040         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
52041         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
52042         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
52043         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
52044         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
52045         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
52046         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
52047         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
52048         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
52049         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
52050         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
52051         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
52052         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
52053         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
52054         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
52055         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
52056         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
52057         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
52058         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
52059         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
52060         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
52061         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
52062         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
52063         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
52064         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
52065         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
52066         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
52067         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
52068         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
52069         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
52070         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
52071         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
52072         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
52073         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
52074         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
52075         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
52076         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
52077         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
52078         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
52079         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
52080         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
52081         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
52082         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
52083         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
52084         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
52085         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
52086         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
52087         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
52088         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
52089         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
52090         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
52091         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
52092         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
52093         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
52094         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
52095         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
52096         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
52097         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
52098         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
52099         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
52100         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
52101         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
52102         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
52103         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
52104         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
52105         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
52106         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
52107         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
52108         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
52109         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
52110         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
52111         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
52112         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
52113         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
52114         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
52115         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
52116         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
52117         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
52118         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
52119         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
52120         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
52121         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
52122         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
52123         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
52124         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
52125         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
52126         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
52127         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
52128         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
52129         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
52130         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
52131         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
52132         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
52133         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
52134         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
52135         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
52137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52138         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52140         [BZ #14914]
52141         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
52142         whole low double instead of just low 47 bits when splitting values
52143         into two parts.
52145 2012-12-03  Allan McRae  <allan@archlinux.org>
52147         * manual/stdio.texi (Predefined Printf Handlers): Remove
52148         @hsep and @vsep usage.
52150 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
52152         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
52153         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
52155 2012-12-03  Jeff Law  <law@redhat.com>
52157         * time/sys/time.h (settimeofday): Do not mark TV argument
52158         as __nonnull.
52160 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52162         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52163         when currently writing and seek to current position when not.
52164         * libio/Makefile (tests): Remove bug-fclose1.
52165         * libio/bug-fclose1.c: Delete.
52167 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52169         * manual/arith.texi (feenableexcept): Fix typo.
52170         (fedisableexcept): Likewise.
52172 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52174         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52175         second, differently-typed declaration, rather than a cast.
52177 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52179         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52180         * include/rpc/svc.h: ... here.
52182 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52184         [BZ #13013]
52185         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52186         depending n and resplen2 to catch cases where answer
52187         equals answerp2.
52189 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52191         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52192         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52194 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52196         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52198 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52200         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52202 2012-11-28  Jeff Law  <law@redhat.com>
52204         [BZ #13761]
52205         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52206         dataset_temporary.  Track alloca usage into alloca_used.
52207         If dataset is large allocate and release it via malloc/free.
52209 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52211         [BZ #14197]
52212         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52214 2012-11-28  David S. Miller  <davem@davemloft.net>
52216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52218 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52220         [BZ #14803]
52221         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52222         of pi/2 rounded to nearest to 64 bits.
52223         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52224         nearest to 64 bits.
52225         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52226         bits.
52228 2012-11-28  Jeff Law <law@redhat.com>
52229             Martin Osvald <mosvald@redhat.com>
52231         [BZ #14889]
52232         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52233         * sunrpc/svc.c: Include time.h.
52234         (__svc_accept_failed): New function.
52235         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52236         any reason other than EINTR, call __svc_accept_failed.
52237         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52238         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52240 2012-11-28  Andreas Schwab  <schwab@suse.de>
52242         * scripts/abilist.awk: Also handle indirect functions in .opd
52243         section.
52245 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52247         [BZ #13881]
52248         * sysdeps/x86/fpu/powl_helper.c: New file.
52249         * sysdeps/x86/fpu/Makefile: Likewise.
52250         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52251         (p3): New object.
52252         (__ieee754_powl): Use __powl_helper for finite arguments except
52253         integer exponents below 8.
52254         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52255         (p3): New object.
52256         (__ieee754_powl): Use __powl_helper for finite arguments except
52257         integer exponents below 8.
52258         * math/libm-test.inc (pow_test): Add more tests and enable some
52259         previously disabled tests.
52260         * sysdeps/i386/fpu/libm-test-ulps: Update.
52261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52263 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52264             Carlos O'Donell  <carlos_odonell@mentor.com>
52266         * nss/makedb.c (is_prime): Assert that input is odd and greater
52267         than 4.  Note that fact in a comment too.
52268         (next_prime): Add 4 to input.
52270 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52272         [BZ #11741]
52273         * libio/Makefile (tests): Add test case tst-fwrite-error.
52274         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52275         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52276         * libio/tst-fwrite-error.c: New test case.
52278 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52280         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52281         before casting to void *.
52282         * include/libc-internal.h (__pointer_type): New macro.
52283         (__integer_if_pointer_type_sub): Likewise.
52284         (__integer_if_pointer_type): Likewise.
52285         (cast_to_integer): Likewise.
52286         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52287         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52288         before casting to atomic64_t.
52289         (atomic_exchange_acq): Likewise.
52290         (__arch_exchange_and_add_body): Likewise.
52291         (__arch_add_body): Likewise.
52292         (atomic_add_negative): Likewise.
52293         (atomic_add_zero): Likewise.
52295 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52297         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52298         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52299         (add_fdes): Likewise.
52300         (linear_search_fdes): Likewise.
52301         (binary_search_unencoded_fdes): Likewise.
52303 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52305         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52307 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52309         * configure.in: Autodetect C++ header directories.
52310         * configure: Regenerated.
52312 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52314         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52316 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52320 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52322         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52323         LDBL_MANT_DIG == 106]: Disable some tests.
52324         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52325         Likewise.
52326         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52327         Likewise.
52329         [BZ #14871]
52330         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52331         input for small inputs.  Return +/- pi/2 for large inputs.
52332         * math/libm-test.inc (atan_test): Add more tests.
52334         * sysdeps/generic/unwind-dw2-fde-glibc.c
52335         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52336         __attribute__ ((unused)).
52338         [BZ #14645]
52339         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52340         x * y if x and y are nonzero and z is zero.
52342         [BZ #14811]
52343         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52344         nonzero exponents with absolute value below 0x1p-117 to +/-
52345         0x1p-117.
52347         [BZ #14869]
52348         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52349         up arguments below 2**-450, not just those below 2**-500.
52350         * math/libm-test.inc (hypot_test): Add another test.
52352         [BZ #14868]
52353         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52354         Return a+b for ratio over 2**120, not 2**60.
52355         * math/libm-test.inc (hypot_test): Add another test.
52357         * math/libm-test.inc (clog_test): Use
52358         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52359         (clog10_test): Likewise.
52361         [BZ #6778]
52362         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52364 2012-11-22  Andreas Schwab  <schwab@suse.de>
52366         * sysdeps/i386/fpu/libm-test-ulps: Update.
52368 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52370         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52371         printf output with newline.
52373 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52375         [BZ #14865]
52376         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52377         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52378         -z nodlopen, -z initfirst and -z execstack support.
52379         * configure: Regenerated.
52381         * elf/elf.h (DF_1_NODIRECT): New macro.
52382         (DF_1_IGNMULDEF): Likewise.
52383         (DF_1_NOKSYMS): Likewise.
52384         (DF_1_NOHDR): Likewise.
52385         (DF_1_EDITED): Likewise.
52386         (DF_1_NORELOC): Likewise.
52387         (DF_1_SYMINTPOSE): Likewise.
52388         (DF_1_GLOBAUDIT): Likewise.
52389         (DF_1_SINGLETON): Likewise.
52390         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52391         DT_1_SUPPORTED_MASK bits.
52392         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52394 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52396         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52398 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52400         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52401         macro.
52403         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52404         (sendmmsg): Move declarations...
52405         * socket/sys/socket.h: ... here.
52406         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52407         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52408         include it from...
52409         * socket/recvmmsg.c: ... this new file.
52410         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52411         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52412         definition of __sendmmsg hidden.
52413         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52414         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52415         Move ENOSYS stub into and include it from...
52416         * socket/sendmmsg.c: ... this new file.
52417         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52418         (sysdep_routines): Move recvmmsg and sendmmsg...
52419         * socket/Makefile (routines): ... here.
52420         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52421         (GLIBC_PRIVATE): Add __sendmmsg.
52422         * include/sys/socket.h (__sendmmsg): Add declarations.
52423         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52424         sendmmsg.
52426 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52428         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52429         variable I1 with __attribute__ ((unused)).
52430         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52432 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52434         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52435         DUMMY variables with __attribute__ ((unused)).
52437         * bits/byteswap.h: Include <bits/types.h>.
52438         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52440 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52442         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52443         string_t.  Do not manually set errno.
52444         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52445         length with __strnlen.  Make sure to both set errno and return it on
52446         failure.
52448 2012-11-19  David S. Miller  <davem@davemloft.net>
52450         With help from Joseph Myers.
52451         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52452         very large arguments properly.
52453         * math/libm-test.inc (atan_test): New tests.
52454         (atan2_test): New tests.
52455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52458 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52460         [BZ #14856]
52461         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52462         Define to 3.
52464         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52465         [POSIX] (EADDRNOTAVAIL): Likewise.
52466         [POSIX] (EAFNOSUPPORT): Likewise.
52467         [POSIX] (EALREADY): Likewise.
52468         [POSIX] (ECONNABORTED): Likewise.
52469         [POSIX] (ECONNREFUSED): Likewise.
52470         [POSIX] (ECONNRESET): Likewise.
52471         [POSIX] (EDESTADDRREQ): Likewise.
52472         [POSIX] (EDQUOT): Likewise.
52473         [POSIX] (EHOSTUNREACH): Likewise.
52474         [POSIX] (EIDRM): Likewise.
52475         [POSIX] (EISCONN): Likewise.
52476         [POSIX] (ELOOP): Likewise.
52477         [POSIX] (EMULTIHOP): Likewise.
52478         [POSIX] (ENETDOWN): Likewise.
52479         [POSIX] (ENETUNREACH): Likewise.
52480         [POSIX] (ENOBUFS): Likewise.
52481         [POSIX] (ENODATA): Likewise.
52482         [POSIX] (ENOLINK): Likewise.
52483         [POSIX] (ENOMSG): Likewise.
52484         [POSIX] (ENOPROTOOPT): Likewise.
52485         [POSIX] (ENOSR): Likewise.
52486         [POSIX] (ENOSTR): Likewise.
52487         [POSIX] (ENOTCONN): Likewise.
52488         [POSIX] (ENOTSOCK): Likewise.
52489         [POSIX] (EOPNOTSUPP): Likewise.
52490         [POSIX] (EOVERFLOW): Likewise.
52491         [POSIX] (EPROTO): Likewise.
52492         [POSIX] (EPROTONOSUPPORT): Likewise.
52493         [POSIX] (EPROTOTYPE): Likewise.
52494         [POSIX] (ESTALE): Likewise.
52495         [POSIX] (ETIME): Likewise.
52496         [POSIX] (ETXTBSY): Likewise.
52497         [POSIX] (EWOULDBLOCK): Likewise.
52498         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52499         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52500         [POSIX] (SEEK_CUR): Likewise.
52501         [POSIX] (SEEK_END): Likewise.
52502         [POSIX || UNIX98] (mode_t): Do not require.
52503         [POSIX] (off_t): Likewise.
52504         [POSIX] (pid_t): Likewise.
52505         [POSIX] (sys/stat.h): Do not allow header.
52506         [POSIX] (unistd.h): Likewise.
52507         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52508         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52509         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52510         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52511         require.
52512         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52513         sigevent): Specify elements.
52514         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52515         entry.
52516         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52517         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52519         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52520         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52521         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52522         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52523         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52524         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52525         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52526         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
52527         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
52528         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
52529         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
52530         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
52531         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
52532         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
52533         Likewise.
52534         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
52535         Likewise.
52536         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
52537         Likewise.
52538         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
52539         Likewise.
52540         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
52541         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
52542         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52543         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52544         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52545         Specify lower bound on value.
52546         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52547         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52548         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52549         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52550         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52551         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52552         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52553         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52554         value.
52555         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52556         as optional.
52557         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52558         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52559         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52560         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52561         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52562         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
52563         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
52564         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
52565         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
52566         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
52567         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
52568         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
52569         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
52570         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
52571         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
52572         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
52573         entry.
52574         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
52575         optional.
52576         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
52577         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
52578         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
52579         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
52580         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
52581         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
52582         Likewise.
52583         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
52584         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
52585         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
52586         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
52587         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
52588         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
52589         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
52590         as optional.
52591         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
52592         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
52593         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
52594         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
52595         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
52596         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
52597         specify as optional.
52598         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
52599         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
52600         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
52601         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
52602         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
52603         [XPG3] (NL_LANGMAX): Likewise.
52604         [POSIX || XPG3] (NL_MSGMAX): Likewise.
52605         [POSIX || XPG3] (NL_NMAX): Likewise.
52606         [POSIX || XPG3] (NL_SETMAX): Likewise.
52607         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
52608         [XPG3] (NZERO): Likewise.
52609         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
52610         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
52611         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
52612         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
52613         (REG_ERANGE): Expect.
52614         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
52615         optional-constant.
52616         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
52617         Use (void) in prototype.
52618         [POSIX] (*_t): Allow.
52619         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
52620         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
52621         (WRDE_BADVAL): Expect.
52623         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
52624         expect.
52625         [XPG3 || XPG4] (O_RSYNC): Likewise.
52626         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
52627         Likewise.
52628         [XPG3 || XPG4] (pthread_sigmask): Likewise.
52629         [XPG3 || XPG4] (sigqueue): Likewise.
52630         [XPG3 || XPG4] (sigtimedwait): Likewise.
52631         [XPG3 || XPG4] (sigwaitinfo): Likewise.
52632         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
52633         [XPG3 || XPG4] (vsnprintf): Likewise.
52634         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
52635         Likewise.
52636         [XPG3 || XPG4] (blksize_t): Likewise.
52637         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
52638         Likewise.
52639         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
52640         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
52641         [XPG3 || XPG4] (struct itimerspec): Likewise.
52642         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
52643         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
52644         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
52645         [XPG3 || XPG4] (clockid_t): Likewise.
52646         [XPG3 || XPG4] (timer_t): Likewise.
52647         [XPG3 || XPG4] (clock_getres): Likewise.
52648         [XPG3 || XPG4] (clock_gettime): Likewise.
52649         [XPG3 || XPG4] (clock_settime): Likewise.
52650         [XPG3 || XPG4] (nanosleep): Likewise.
52651         [XPG3 || XPG4] (timer_create): Likewise.
52652         [XPG3 || XPG4] (timer_delete): Likewise.
52653         [XPG3 || XPG4] (timer_gettime): Likewise.
52654         [XPG3 || XPG4] (timer_getoverrun): Likewise.
52655         [XPG3 || XPG4] (timer_settime): Likewise.
52656         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
52657         [XPG3 || XPG4] (getlogin_r): Likewise.
52658         [XPG3 || XPG4] (pread): Likewise.
52659         [XPG3 || XPG4] (pthread_atfork): Likewise.
52660         [XPG3 || XPG4] (pwrite): Likewise.
52662         [BZ #14835]
52663         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
52664         <bits/siginfo.h>.
52666 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52668         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
52669         finalizing MALLSTREAM.
52671         * sysdeps/mach/hurd/syncfs.c: New file.
52673 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52675         [BZ #14719]
52676         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
52677         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
52678         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
52679         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
52680         (_nss_dns_gethostbyname4_r): Likewise.
52681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
52682         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
52684 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
52686         [BZ #13763]
52687         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
52689 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
52691         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
52692         * elf/cache.c (print_entry): Print ",AArch64" for
52693         FLAG_AARCH64_LIB64
52695         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
52696         * elf/cache.c (print_entry): Print ",hard-float" for
52697         FLAG_ARM_LIBHF.
52699 2012-11-18  David S. Miller  <davem@davemloft.net>
52701         With help from Joseph Myers.
52702         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
52703         cutoff to 2**-13.
52704         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
52705         cutoff to 2**-25.
52706         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
52707         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
52708         small.
52709         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
52710         * math/libm-test.inc (y0_test): New tests.
52711         (y1_test): New tests.
52712         * sysdeps/i386/fpu/libm-test-ulps: Update.
52713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52716 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
52718         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
52719         64-bit targets.
52720         * configure: Regenerated.
52722 2012-11-17  David S. Miller  <davem@davemloft.net>
52724         [BZ #14811]
52725         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
52726         nonzero exponents with absolute value below 0x1p-128 to +/-
52727         0x1p-128.
52729 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
52731         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
52733         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
52735         * posix/getconf-speclist.c: New file.
52736         * posix/posix-envs.def: Likewise.
52737         * posix/confstr.c (START_ENV_GROUP): New macro.
52738         (END_ENV_GROUP): Likewise.
52739         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52740         (KNOWN_PRESENT_ENV_STRING): Likewise.
52741         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52742         (UNKNOWN_ENVIRONMENT): Likewise.
52743         (confstr): Include posix-envs.def instead of handling
52744         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
52745         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
52746         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
52747         (END_ENV_GROUP): Likewise.
52748         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52749         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52750         (UNKNOWN_ENVIRONMENT): Likewise.
52751         (__sysconf): Include posix-envs.def instead of handling associated
52752         cases directly here.
52753         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
52754         preprocessing getconf-speclist.c rather than running getconf or
52755         generating empty file.
52757 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
52759         * scripts/check-local-headers.sh: Ignore 'mach' headers.
52761 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
52763         [BZ #14672]
52764         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
52766 2012-11-16  David S. Miller  <davem@davemloft.net>
52768         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
52769         smaller than LDBL_EPSILON/2.0L, just return xm1.
52771 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
52773         * elf/tst-array1.c (init): Set constructor priority to 1000.
52774         (fini): Set destructor priority to 1000.
52775         * elf/tst-array2dep.c: Likewise.
52777 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52779         [BZ #11741]
52780         * libio/fileops.c (_IO_new_file_write): Correctly return error.
52781         (_IO_new_file_xsputn): Also return EOF if none of the input
52782         data was written when overflow failed.
52783         * libio/iopadn.c (_IO_padn): Likewise.
52784         * libio/iowpadn.c (_IO_wpadn): Likewise.
52785         * stdio-common/tst-put-error.c: Add copyright notice.
52786         (do_test): Add case for printing padded string.
52787         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
52788         _IO_padn returned error.
52789         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
52790         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
52791         return EOF.
52793 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52795         * libio/libioP.h: Add comment note that the references to C++
52796         bits are now obsolete.
52798 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52800         * math/libm-test.inc (check_complex): Use asprintf.
52802 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
52804         * debug/pcprofiledump.c (print_version): Update copyright year.
52805         * malloc/memusagestat.c (print_version): Likewise.
52807 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
52809         [BZ #14831]
52810         * elf/Makefile (tests): Add tst-audit8.
52811         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
52812         ($(objpfx)tst-audit8.out): New target.
52813         (tst-audit8-ENV): New variable.
52814         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
52815         audit if l_reloc_result is NULL.
52816         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
52817         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
52818         * elf/tst-audit8.c: New file.
52820 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52822         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
52823         * misc/Makefile (CFLAGS-select.c): Define.
52824         * posix/Makefile (CFLAGS-pause.c): Define.
52826 2012-11-13  David S. Miller  <davem@davemloft.net>
52828         * crypt/Makefile: Move test targets after toplevel Rules
52829         inclusion.  Grab any necessary sysdep routines when linking.
52830         * crypt/md5.c (md5_process_block): Remove define, we will always
52831         name it __md5_process_block.
52832         (md5_finish_ctx): Update md5_process_block call.
52833         (md5_stream): Likewise.
52834         (md5_process_bytes): Likewise.
52835         (md5_process_block): Rename to __md5_process_block and move to ...
52836         * crypt/md5-block.c: ... here.
52837         * crypt/sha256.c (sha256_process_block): Move to ...
52838         * crypt/sha256-block.c: ... here.
52839         * crypt/sha512.c (sha512_process_block): Move to ...
52840         * crypt/sha512-block.c: ... here.
52841         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
52842         path.
52843         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
52844         * sysdeps/sparc/sparc64/multiarch/Makefile
52845         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
52846         crypt subdir.
52847         (localedef-aux): Add md5 crypto assembler when in locale subdir.
52848         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
52849         multiarch changes.
52850         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
52851         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
52852         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
52853         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
52854         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
52855         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
52856         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
52857         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
52858         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
52859         file.
52860         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
52861         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
52862         file.
52863         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
52865 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
52867         * timezone/tzselect.ksh: Update from tzcode git revision
52868         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
52869         * timezone/zdump.c: Likewise.
52870         * timezone/zic.c: Likewise.
52871         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
52872         in TZVERSION setting, not $(PKGVERSION).
52873         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
52874         REPORT_BUGS_TO settings.
52876         [BZ #14838]
52877         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
52878         macro.
52880 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52882         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
52883         detection to immediately after _FP_ROUND().
52884         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
52885         bits are 0.
52887 2012-11-11  David S. Miller  <davem@davemloft.net>
52889         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
52890         inttypes.h
52891         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
52892         __close rather than their public counterparts.
52894 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
52896         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
52897         file.
52898         [UNIX98] (sem_timedwait): Do not expect.
52899         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
52900         [XPG4 || UNIX98] (sockatmark): Do not expect.
52901         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
52902         (clock_getcpuclockid): Do not expect.
52903         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
52904         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
52905         Do not expect.
52906         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
52907         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
52908         [UNIX98] (vwscanf): Likewise.
52909         [UNIX98] (vswscanf): Likewise.
52911 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
52913         * timezone/version.h: Remove file.
52914         * timezone/README: Do not refer to version.h.
52915         * timezone/Makefile ($(objpfx)zic.o): New dependency on
52916         $(objpfx)version.h.
52917         ($(objpfx)zdump.o): Likewise.
52918         ($(objpfx)version.h): New target.
52920         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
52921         2012i.
52922         * timezone/README: Don't mention modification to tzselect.ksh.
52923         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
52924         work on unmodified tzselect.ksh.  Substitute version numbers in
52925         tzselect.ksh.
52927         * Makefile (format-me): Remove.
52928         (INSTALL): Adjust indentation.  Use commands directly instead of
52929         using $(format-me).
52931         * aclocal.m4 (ACX_PKGVERSION): New macro.
52932         (ACX_BUGURL): Likewise.
52933         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
52934         (PKGVERSION): New AC_DEFINE_UNQUOTED.
52935         (REPORT_BUGS_TO): Likewise.
52936         * configure: Regenerated.
52937         * config.h.in (PKGVERSION): New macro.
52938         (REPORT_BUGS_TO): Likewise.
52939         * config.make.in (PKGVERSION): New variable.
52940         (PKGVERSION_TEXI): Likewise.
52941         (REPORT_BUGS_TO): Likewise.
52942         (REPORT_BUGS_TEXI): Likewise.
52943         * Makefile (format-me): Use -I$(common-objpfx)manual.
52944         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52945         ($(common-objpfx)manual/%): New target.
52946         (manual/%): Remove target.
52947         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
52948         (print_version): Use PKGVERSION.
52949         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
52950         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
52951         and REPORT_BUGS_TO.
52952         ($(objpfx)xtrace): Likewise.
52953         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
52954         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
52955         (print_version): Use PKGVERSION.
52956         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
52957         (do_version): Use PKGVERSION.
52958         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
52959         REPORT_BUGS_TO.
52960         (common-ldd-rewrite): Likewise.
52961         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
52962         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
52963         (print_version): Use PKGVERSION.
52964         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
52965         * elf/pldd.c (argp_program_bug_address): Remove variable.
52966         (more_help): New function.
52967         (argp): Use more_help.
52968         (print_version): Use PKGVERSION.
52969         * elf/sln.c (main): Use PKGVERSION.
52970         (usage): Use REPORT_BUGS_TO.
52971         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
52972         (top level): Use PKGVERSION.
52973         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
52974         (print_version): Use PKGVERSION.
52975         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
52976         (print_version): Use PKGVERSION.
52977         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
52978         (print_version): Use PKGVERSION.
52979         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52980         (print_version): Use PKGVERSION.
52981         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
52982         (print_version): Use PKGVERSION.
52983         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
52984         (print_version): Use PKGVERSION.
52985         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
52986         and BUGURL.
52987         ($(objpfx)memusage): Likewise.
52988         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
52989         (do_version): Use PKGVERSION.
52990         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
52991         (print_version): Use PKGVERSION.
52992         * malloc/mtrace.pl ($PACKAGE): Remove variable.
52993         ($PKGVERSION): New variable.
52994         ($REPORT_BUGS_TO): Likewise.
52995         (usage): Use $REPORT_BUGS_TO.
52996         (top level): Use $PKGVERSION.
52997         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
52998         ($(objpfx)pkgvers.texi): New rule.
52999         ($(objpfx)stamp-pkgvers): Likewise.
53000         * manual/install.texi: Include pkgvers.texi.
53001         (--with-pkgversion): Document new configure option.
53002         (--with-bugurl): Likewise.
53003         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
53004         than necessarily for this particular distribution.  Use
53005         REPORT_BUGS_TO for where to report bugs.
53006         * INSTALL: Regenerated.
53007         * manual/libc.texinfo: Include pkgvers.texi.
53008         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
53009         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
53010         (print_version): Use PKGVERSION.
53011         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
53012         (print_version): Use PKGVERSION.
53013         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
53014         (print_version): Use PKGVERSION.
53015         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
53016         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
53017         macro.
53018         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
53019         (print_version): Use PKGVERSION.
53020         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
53021         (print_version): Use PKGVERSION.
53022         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
53023         and PKGVERSION.
53025         * timezone/checktab.awk: Update from tzcode 2012i.
53026         * timezone/ialloc.c: Likewise.
53027         * timezone/private.h: Likewise.
53028         * timezone/scheck.c: Likewise.
53029         * timezone/tzfile.h: Likewise.
53030         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
53031         (TZVERSION): Hardcode tzcode version number.
53032         * timezone/zdump.c: Update from tzcode 2012i.
53033         * timezone/zic.c: Likewise.
53034         * timezone/version.h: New file.
53035         * timezone/README: Describe version.h.  Update upstream location.
53037         [BZ #14824]
53038         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
53039         (mktemp): Enable declaration.
53040         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
53041         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
53042         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
53043         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
53044         Likewise.
53045         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
53046         Likewise.
53047         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
53048         Likewise.
53049         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
53050         Likewise.
53051         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
53052         Likewise.
53053         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
53054         Likewise.
53056         [BZ #14821]
53057         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
53058         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
53059         for copies of such integer values.
53060         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53061         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53063 2012-11-09  Andreas Jaeger  <aj@suse.de>
53065         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
53066         definitions and declarations that are provided by
53067         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53069 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53071         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
53072         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
53073         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
53074         definition.
53076 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53078         * elf/elf.h: Update comment before AArch64 relocations.
53080 2012-11-07  David S. Miller  <davem@davemloft.net>
53082         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
53083         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53084         (__start_context): Declare.
53085         (__makecontext_ret): Delete.
53086         (__makecontext): Hook up __start_context instead of
53087         __makecontext_ret.
53088         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
53089         (sysdep_routines): Add __start_context when in stdlib.
53091 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53093         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
53094         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
53095         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
53096         hardcoded "nm".
53097         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
53098         (READELF): New variable.  Use it instead of hardcoded "readelf".
53100 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53102         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
53103         * sysdeps/x86/Makefile: Here.
53104         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
53105         * sysdeps/x86/tst-xmmymm.sh: This.
53107 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53109         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
53110         expectations.
53111         [UNIX98] (pthread_barrier_t): Do not expect.
53112         [UNIX98] (pthread_barrierattr_t): Likewise.
53113         [UNIX98] (pthread_spinlock_t): Likewise.
53114         [UNIX98] (pthread_barrier_destroy): Likewise.
53115         [UNIX98] (pthread_barrier_init): Likewise.
53116         [UNIX98] (pthread_barrier_wait): Likewise.
53117         [UNIX98] (pthread_barrierattr_destroy): Likewise.
53118         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
53119         [UNIX98] (pthread_barrierattr_init): Likewise.
53120         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53121         [UNIX98] (pthread_getcpuclockid): Likewise.
53122         [UNIX98] (pthread_mutex_timedlock): Likewise.
53123         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
53124         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
53125         [UNIX98] (pthread_sigmask): Likewise.
53126         [UNIX98] (pthread_spin_destroy): Likewise.
53127         [UNIX98] (pthread_spin_init): Likewise.
53128         [UNIX98] (pthread_spin_lock): Likewise.
53129         [UNIX98] (pthread_spin_trylock): Likewise.
53130         [UNIX98] (pthread_spin_unlock): Likewise.
53131         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
53132         Do not expect.
53133         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
53134         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
53135         [XPG3 || XPG4] (pthread_cond_t): Likewise.
53136         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
53137         [XPG3 || XPG4] (pthread_key_t): Likewise.
53138         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
53139         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
53140         [XPG3 || XPG4] (pthread_once_t): Likewise.
53141         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
53142         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
53143         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
53144         [XPG3 || XPG4] (pthread_t): Likewise.
53146         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
53147         not expect.
53148         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
53150         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
53151         Change function return type to int.
53153         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
53154         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
53155         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
53156         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
53157         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
53158         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53159         [!POSIX] (posix_madvise): Likewise.
53160         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53161         && !UNIX98].
53162         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53163         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53164         (mode_t): Likewise.
53165         (posix_mem_offset): Likewise.
53166         (posix_typed_mem_get_info): Likewise.
53167         (posix_typed_mem_open): Likewise.
53169         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53170         Change condition to [XOPEN2K8].
53172         * conform/conformtest.pl: Preprocess allow-header data with -x c
53173         instead of from stdin.
53174         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53175         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53176         [C99-based standards] (cerfc): Likewise.
53177         [C99-based standards] (cexp2): Likewise.
53178         [C99-based standards] (cexpm1): Likewise.
53179         [C99-based standards] (clog10): Likewise.
53180         [C99-based standards] (clog1p): Likewise.
53181         [C99-based standards] (clog2): Likewise.
53182         [C99-based standards] (clgamma): Likewise.
53183         [C99-based standards] (ctgamma): Likewise.
53184         [C99-based standards] (cerff): Likewise.
53185         [C99-based standards] (cerfcf): Likewise.
53186         [C99-based standards] (cexp2f): Likewise.
53187         [C99-based standards] (cexpm1f): Likewise.
53188         [C99-based standards] (clog10f): Likewise.
53189         [C99-based standards] (clog1pf): Likewise.
53190         [C99-based standards] (clog2f): Likewise.
53191         [C99-based standards] (clgammaf): Likewise.
53192         [C99-based standards] (ctgammaf): Likewise.
53193         [C99-based standards] (cerfl): Likewise.
53194         [C99-based standards] (cerfcl): Likewise.
53195         [C99-based standards] (cexp2l): Likewise.
53196         [C99-based standards] (cexpm1l): Likewise.
53197         [C99-based standards] (clog10l): Likewise.
53198         [C99-based standards] (clog1pl): Likewise.
53199         [C99-based standards] (clog2l): Likewise.
53200         [C99-based standards] (clgammal): Likewise.
53201         [C99-based standards] (ctgammal): Likewise.
53202         * conform/data/inttypes.h-data [C99-based standards]: Include
53203         stdint.h-data.  Remove all expectations for stdint.h contents.
53204         [C99-based standards] (PRI*): Do not allow.
53205         [C99-based standards] (SCN*): Likewise.
53206         [C99-based standards] (*_t): Likewise.
53207         [C99-based-standards] (PRId8): Expect macro.
53208         [C99-based-standards] (PRIi8): Likewise.
53209         [C99-based-standards] (PRIo8): Likewise.
53210         [C99-based-standards] (PRIu8): Likewise.
53211         [C99-based-standards] (PRIx8): Likewise.
53212         [C99-based-standards] (PRIX8): Likewise.
53213         [C99-based-standards] (SCNd8): Likewise.
53214         [C99-based-standards] (SCNi8): Likewise.
53215         [C99-based-standards] (SCNo8): Likewise.
53216         [C99-based-standards] (SCNu8): Likewise.
53217         [C99-based-standards] (SCNx8): Likewise.
53218         [C99-based-standards] (PRIdLEAST8): Likewise.
53219         [C99-based-standards] (PRIiLEAST8): Likewise.
53220         [C99-based-standards] (PRIoLEAST8): Likewise.
53221         [C99-based-standards] (PRIuLEAST8): Likewise.
53222         [C99-based-standards] (PRIxLEAST8): Likewise.
53223         [C99-based-standards] (PRIXLEAST8): Likewise.
53224         [C99-based-standards] (SCNdLEAST8): Likewise.
53225         [C99-based-standards] (SCNiLEAST8): Likewise.
53226         [C99-based-standards] (SCNoLEAST8): Likewise.
53227         [C99-based-standards] (SCNuLEAST8): Likewise.
53228         [C99-based-standards] (SCNxLEAST8): Likewise.
53229         [C99-based-standards] (PRIdFAST8): Likewise.
53230         [C99-based-standards] (PRIiFAST8): Likewise.
53231         [C99-based-standards] (PRIoFAST8): Likewise.
53232         [C99-based-standards] (PRIuFAST8): Likewise.
53233         [C99-based-standards] (PRIxFAST8): Likewise.
53234         [C99-based-standards] (PRIXFAST8): Likewise.
53235         [C99-based-standards] (SCNdFAST8): Likewise.
53236         [C99-based-standards] (SCNiFAST8): Likewise.
53237         [C99-based-standards] (SCNoFAST8): Likewise.
53238         [C99-based-standards] (SCNuFAST8): Likewise.
53239         [C99-based-standards] (SCNxFAST8): Likewise.
53240         [C99-based-standards] (PRId16): Likewise.
53241         [C99-based-standards] (PRIi16): Likewise.
53242         [C99-based-standards] (PRIo16): Likewise.
53243         [C99-based-standards] (PRIu16): Likewise.
53244         [C99-based-standards] (PRIx16): Likewise.
53245         [C99-based-standards] (PRIX16): Likewise.
53246         [C99-based-standards] (SCNd16): Likewise.
53247         [C99-based-standards] (SCNi16): Likewise.
53248         [C99-based-standards] (SCNo16): Likewise.
53249         [C99-based-standards] (SCNu16): Likewise.
53250         [C99-based-standards] (SCNx16): Likewise.
53251         [C99-based-standards] (PRIdLEAST16): Likewise.
53252         [C99-based-standards] (PRIiLEAST16): Likewise.
53253         [C99-based-standards] (PRIoLEAST16): Likewise.
53254         [C99-based-standards] (PRIuLEAST16): Likewise.
53255         [C99-based-standards] (PRIxLEAST16): Likewise.
53256         [C99-based-standards] (PRIXLEAST16): Likewise.
53257         [C99-based-standards] (SCNdLEAST16): Likewise.
53258         [C99-based-standards] (SCNiLEAST16): Likewise.
53259         [C99-based-standards] (SCNoLEAST16): Likewise.
53260         [C99-based-standards] (SCNuLEAST16): Likewise.
53261         [C99-based-standards] (SCNxLEAST16): Likewise.
53262         [C99-based-standards] (PRIdFAST16): Likewise.
53263         [C99-based-standards] (PRIiFAST16): Likewise.
53264         [C99-based-standards] (PRIoFAST16): Likewise.
53265         [C99-based-standards] (PRIuFAST16): Likewise.
53266         [C99-based-standards] (PRIxFAST16): Likewise.
53267         [C99-based-standards] (PRIXFAST16): Likewise.
53268         [C99-based-standards] (SCNdFAST16): Likewise.
53269         [C99-based-standards] (SCNiFAST16): Likewise.
53270         [C99-based-standards] (SCNoFAST16): Likewise.
53271         [C99-based-standards] (SCNuFAST16): Likewise.
53272         [C99-based-standards] (SCNxFAST16): Likewise.
53273         [C99-based-standards] (PRId32): Likewise.
53274         [C99-based-standards] (PRIi32): Likewise.
53275         [C99-based-standards] (PRIo32): Likewise.
53276         [C99-based-standards] (PRIu32): Likewise.
53277         [C99-based-standards] (PRIx32): Likewise.
53278         [C99-based-standards] (PRIX32): Likewise.
53279         [C99-based-standards] (SCNd32): Likewise.
53280         [C99-based-standards] (SCNi32): Likewise.
53281         [C99-based-standards] (SCNo32): Likewise.
53282         [C99-based-standards] (SCNu32): Likewise.
53283         [C99-based-standards] (SCNx32): Likewise.
53284         [C99-based-standards] (PRIdLEAST32): Likewise.
53285         [C99-based-standards] (PRIiLEAST32): Likewise.
53286         [C99-based-standards] (PRIoLEAST32): Likewise.
53287         [C99-based-standards] (PRIuLEAST32): Likewise.
53288         [C99-based-standards] (PRIxLEAST32): Likewise.
53289         [C99-based-standards] (PRIXLEAST32): Likewise.
53290         [C99-based-standards] (SCNdLEAST32): Likewise.
53291         [C99-based-standards] (SCNiLEAST32): Likewise.
53292         [C99-based-standards] (SCNoLEAST32): Likewise.
53293         [C99-based-standards] (SCNuLEAST32): Likewise.
53294         [C99-based-standards] (SCNxLEAST32): Likewise.
53295         [C99-based-standards] (PRIdFAST32): Likewise.
53296         [C99-based-standards] (PRIiFAST32): Likewise.
53297         [C99-based-standards] (PRIoFAST32): Likewise.
53298         [C99-based-standards] (PRIuFAST32): Likewise.
53299         [C99-based-standards] (PRIxFAST32): Likewise.
53300         [C99-based-standards] (PRIXFAST32): Likewise.
53301         [C99-based-standards] (SCNdFAST32): Likewise.
53302         [C99-based-standards] (SCNiFAST32): Likewise.
53303         [C99-based-standards] (SCNoFAST32): Likewise.
53304         [C99-based-standards] (SCNuFAST32): Likewise.
53305         [C99-based-standards] (SCNxFAST32): Likewise.
53306         [C99-based-standards] (PRId64): Likewise.
53307         [C99-based-standards] (PRIi64): Likewise.
53308         [C99-based-standards] (PRIo64): Likewise.
53309         [C99-based-standards] (PRIu64): Likewise.
53310         [C99-based-standards] (PRIx64): Likewise.
53311         [C99-based-standards] (PRIX64): Likewise.
53312         [C99-based-standards] (SCNd64): Likewise.
53313         [C99-based-standards] (SCNi64): Likewise.
53314         [C99-based-standards] (SCNo64): Likewise.
53315         [C99-based-standards] (SCNu64): Likewise.
53316         [C99-based-standards] (SCNx64): Likewise.
53317         [C99-based-standards] (PRIdLEAST64): Likewise.
53318         [C99-based-standards] (PRIiLEAST64): Likewise.
53319         [C99-based-standards] (PRIoLEAST64): Likewise.
53320         [C99-based-standards] (PRIuLEAST64): Likewise.
53321         [C99-based-standards] (PRIxLEAST64): Likewise.
53322         [C99-based-standards] (PRIXLEAST64): Likewise.
53323         [C99-based-standards] (SCNdLEAST64): Likewise.
53324         [C99-based-standards] (SCNiLEAST64): Likewise.
53325         [C99-based-standards] (SCNoLEAST64): Likewise.
53326         [C99-based-standards] (SCNuLEAST64): Likewise.
53327         [C99-based-standards] (SCNxLEAST64): Likewise.
53328         [C99-based-standards] (PRIdFAST64): Likewise.
53329         [C99-based-standards] (PRIiFAST64): Likewise.
53330         [C99-based-standards] (PRIoFAST64): Likewise.
53331         [C99-based-standards] (PRIuFAST64): Likewise.
53332         [C99-based-standards] (PRIxFAST64): Likewise.
53333         [C99-based-standards] (PRIXFAST64): Likewise.
53334         [C99-based-standards] (SCNdFAST64): Likewise.
53335         [C99-based-standards] (SCNiFAST64): Likewise.
53336         [C99-based-standards] (SCNoFAST64): Likewise.
53337         [C99-based-standards] (SCNuFAST64): Likewise.
53338         [C99-based-standards] (SCNxFAST64): Likewise.
53339         [C99-based-standards] (PRIdMAX): Likewise.
53340         [C99-based-standards] (PRIiMAX): Likewise.
53341         [C99-based-standards] (PRIoMAX): Likewise.
53342         [C99-based-standards] (PRIuMAX): Likewise.
53343         [C99-based-standards] (PRIxMAX): Likewise.
53344         [C99-based-standards] (PRIXMAX): Likewise.
53345         [C99-based-standards] (SCNdMAX): Likewise.
53346         [C99-based-standards] (SCNiMAX): Likewise.
53347         [C99-based-standards] (SCNoMAX): Likewise.
53348         [C99-based-standards] (SCNuMAX): Likewise.
53349         [C99-based-standards] (SCNxMAX): Likewise.
53350         [C99-based-standards] (PRIdPTR): Likewise.
53351         [C99-based-standards] (PRIiPTR): Likewise.
53352         [C99-based-standards] (PRIoPTR): Likewise.
53353         [C99-based-standards] (PRIuPTR): Likewise.
53354         [C99-based-standards] (PRIxPTR): Likewise.
53355         [C99-based-standards] (PRIXPTR): Likewise.
53356         [C99-based-standards] (SCNdPTR): Likewise.
53357         [C99-based-standards] (SCNiPTR): Likewise.
53358         [C99-based-standards] (SCNoPTR): Likewise.
53359         [C99-based-standards] (SCNuPTR): Likewise.
53360         [C99-based-standards] (SCNxPTR): Likewise.
53361         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53362         allow.
53363         * conform/data/stdint.h-data: Update comments to clarify
53364         requirements.
53365         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53366         type.
53367         [C99-based standards] (INT8_MAX): Likewise.
53368         [C99-based standards] (INT16_MIN): Likewise.
53369         [C99-based standards] (INT16_MAX): Likewise.
53370         [C99-based standards] (INT32_MIN): Likewise.
53371         [C99-based standards] (INT32_MAX): Likewise.
53372         [C99-based standards] (INT64_MIN): Likewise.
53373         [C99-based standards] (INT64_MAX): Likewise.
53374         [C99-based standards] (UINT8_MAX): Likewise.
53375         [C99-based standards] (UINT16_MAX): Likewise.
53376         [C99-based standards] (UINT32_MAX): Likewise.
53377         [C99-based standards] (UINT64_MAX): Likewise.
53378         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53379         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53380         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53381         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53382         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53383         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53384         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53385         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53386         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53387         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53388         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53389         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53390         [C99-based standards] (INT_FAST8_MIN): Likewise.
53391         [C99-based standards] (INT_FAST8_MAX): Likewise.
53392         [C99-based standards] (INT_FAST16_MIN): Likewise.
53393         [C99-based standards] (INT_FAST16_MAX): Likewise.
53394         [C99-based standards] (INT_FAST32_MIN): Likewise.
53395         [C99-based standards] (INT_FAST32_MAX): Likewise.
53396         [C99-based standards] (INT_FAST64_MIN): Likewise.
53397         [C99-based standards] (INT_FAST64_MAX): Likewise.
53398         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53399         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53400         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53401         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53402         [C99-based standards] (INTPTR_MIN): Likewise.
53403         [C99-based standards] (INTPTR_MAX): Likewise.
53404         [C99-based standards] (UINTPTR_MAX): Likewise.
53405         [C99-based standards] (INTMAX_MIN): Likewise.
53406         [C99-based standards] (INTMAX_MAX): Likewise.
53407         [C99-based standards] (UINTMAX_MAX): Likewise.
53408         [C99-based standards] (PTRDIFF_MIN): Likewise.
53409         [C99-based standards] (PTRDIFF_MAX): Likewise.
53410         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53411         [C99-based standards] (SIZE_MAX): Likewise.
53412         [C99-based standards] (WCHAR_MAX): Likewise.
53413         [C99-based standards] (WINT_MAX): Likewise.
53414         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53415         constraint on value.
53416         [C99-based standards] (WCHAR_MIN): Likewise.
53417         [C99-based standards] (WINT_MIN): Likewise.
53418         [C99-based standards] (*_t): Allow.
53419         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53420         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53421         Include math.h-data and complex.h-data.  Remove all expectations
53422         of math.h and complex.h contents.
53423         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53424         at end of line.
53425         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53426         (struct tm): Expect tag.
53427         [C99-based-standards] (wcstof): Expect function.
53428         [C99-based-standards] (wcstold): Likewise.
53429         [C99-based-standards] (wcstoll): Likewise.
53430         [C99-based-standards] (wcstoull): Likewise.
53431         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53432         macro-int-constant.  Specify type.
53433         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53434         constraint on value.
53435         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53436         Specify type.
53437         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53438         Specify value.
53439         [ISO C standards]: Do not allow headers.
53440         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53441         wcs[abcdefghijklmnopqrstuvwxyz]*.
53442         [ISO C standards] (*_t): Do not allow.
53443         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53444         Expect function.
53445         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53446         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53447         Specify type.
53448         [ISO C standards]: Do not allow headers.
53449         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53450         is[abcdefghijklmnopqrstuvwxyz]*.
53451         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53452         to[abcdefghijklmnopqrstuvwxyz]*.
53453         [ISO C standards] (*_t): Do not allow.
53454         * conform/data/stdalign.h-data: New file.
53455         * conform/data/stdbool.h-data: Likewise.
53456         * conform/data/stdnoreturn.h-data: Likewise.
53458 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53460         [BZ #14815]
53461         * manual/filesys.texi (Directory Entries): Typo fix.
53462         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53464 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53466         * elf/elf.h (EM_AARCH64): New macro.
53467         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53468         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53469         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53470         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53471         (R_AARCH64_TLSDESC): Likewise.
53472         (NT_ARM_TLS): Likewise.
53473         (NT_ARM_HW_BREAK): Likewise.
53474         (NT_ARM_HW_WATCH): Likewise.
53476 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53478         [BZ #14811]
53479         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53480         (__ieee754_powl): Saturate nonzero exponents with absolute value
53481         below 0x1p-79 to +/- 0x1p-79.
53482         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53483         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53484         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53485         nonzero exponents with absolute value below 0x1p-32 to +/-
53486         0x1p-32.
53487         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53488         (__ieee754_powl): Saturate nonzero exponents with absolute value
53489         below 0x1p-79 to +/- 0x1p-79.
53490         * math/libm-test.inc (pow_test): Add more tests.
53492 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53494         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53495         _dl_s390_cap_flags with kernel. Increase string length.
53496         (_dl_s390_platforms): Add z196 and zEC12.
53498 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53500         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53501         Change XOPEN21K to XOPEN2K.
53503 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53505         * string/memmove.c: Use memcpy when possible.
53507 2012-11-06  Andreas Jaeger  <aj@suse.de>
53509         * po/eo.po: Update from translation team.
53511 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53513         [BZ #14793]
53514         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53515         exponent and small x and y exponents, scale x or y up.  Increase
53516         by 2 the exponent used in scaling up.
53517         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53518         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53519         * math/libm-test.inc (fma_test): Add more tests.
53520         (fma_test_towardzero): Likewise.
53521         (fma_test_downward): Likewise.
53522         (fma_test_upward): Likewise.
53524 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53526         [BZ #14805]
53527         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53528         fenv_t *.
53530         [BZ #14801]
53531         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
53532         namespace for names of struct fields.
53533         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
53534         fenv_t fields.
53535         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
53536         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
53538 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53540         [BZ #3665]
53541         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53543 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53545         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53546         PTR_DEMANGLE.
53548         [BZ #5246]
53549         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53550         PTR_DEMANGLE.
53552 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53554         [BZ #14797]
53555         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53556         definitely overflow as x * y not x * y + z.
53557         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53559         * math/libm-test.inc (fma_test): Add more tests.
53560         (fma_test_towardzero): Likewise.
53561         (fma_test_downward): Likewise.
53562         (fma_test_upward): Likewise.
53564 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53566         [BZ #157]
53568         * include/stub-tag.h: Remove file.
53569         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
53570         '#include' of it.
53571         * manual/maint.texi (Porting): Don't reference it.
53572         * Makerules ($(objpfx)stubs): Likewise.
53573         * dirent/closedir.c: Don't include <stub-tag.h>.
53574         * dirent/dirfd.c: Likewise.
53575         * dirent/fdopendir.c: Likewise.
53576         * dirent/getdents.c: Likewise.
53577         * dirent/getdents64.c: Likewise.
53578         * dirent/opendir.c: Likewise.
53579         * dirent/readdir.c: Likewise.
53580         * dirent/readdir64.c: Likewise.
53581         * dirent/readdir64_r.c: Likewise.
53582         * dirent/readdir_r.c: Likewise.
53583         * dirent/rewinddir.c: Likewise.
53584         * dirent/seekdir.c: Likewise.
53585         * dirent/telldir.c: Likewise.
53586         * gmon/profil.c: Likewise.
53587         * grp/setgroups.c: Likewise.
53588         * inet/if_index.c: Likewise.
53589         * io/access.c: Likewise.
53590         * io/chdir.c: Likewise.
53591         * io/chmod.c: Likewise.
53592         * io/chown.c: Likewise.
53593         * io/close.c: Likewise.
53594         * io/dup.c: Likewise.
53595         * io/dup2.c: Likewise.
53596         * io/dup3.c: Likewise.
53597         * io/euidaccess.c: Likewise.
53598         * io/faccessat.c: Likewise.
53599         * io/fchdir.c: Likewise.
53600         * io/fchmod.c: Likewise.
53601         * io/fchmodat.c: Likewise.
53602         * io/fchown.c: Likewise.
53603         * io/fchownat.c: Likewise.
53604         * io/fcntl.c: Likewise.
53605         * io/flock.c: Likewise.
53606         * io/fstatfs.c: Likewise.
53607         * io/fstatfs64.c: Likewise.
53608         * io/fstatvfs.c: Likewise.
53609         * io/fstatvfs64.c: Likewise.
53610         * io/futimens.c: Likewise.
53611         * io/fxstat.c: Likewise.
53612         * io/fxstat64.c: Likewise.
53613         * io/fxstatat.c: Likewise.
53614         * io/fxstatat64.c: Likewise.
53615         * io/getcwd.c: Likewise.
53616         * io/isatty.c: Likewise.
53617         * io/lchmod.c: Likewise.
53618         * io/lchown.c: Likewise.
53619         * io/link.c: Likewise.
53620         * io/linkat.c: Likewise.
53621         * io/lseek.c: Likewise.
53622         * io/lseek64.c: Likewise.
53623         * io/lxstat64.c: Likewise.
53624         * io/mkdir.c: Likewise.
53625         * io/mkdirat.c: Likewise.
53626         * io/mkfifo.c: Likewise.
53627         * io/mkfifoat.c: Likewise.
53628         * io/open.c: Likewise.
53629         * io/open64.c: Likewise.
53630         * io/openat.c: Likewise.
53631         * io/openat64.c: Likewise.
53632         * io/pipe.c: Likewise.
53633         * io/pipe2.c: Likewise.
53634         * io/poll.c: Likewise.
53635         * io/posix_fadvise.c: Likewise.
53636         * io/posix_fadvise64.c: Likewise.
53637         * io/posix_fallocate.c: Likewise.
53638         * io/posix_fallocate64.c: Likewise.
53639         * io/read.c: Likewise.
53640         * io/readlink.c: Likewise.
53641         * io/readlinkat.c: Likewise.
53642         * io/rmdir.c: Likewise.
53643         * io/sendfile.c: Likewise.
53644         * io/sendfile64.c: Likewise.
53645         * io/statfs.c: Likewise.
53646         * io/statfs64.c: Likewise.
53647         * io/statvfs.c: Likewise.
53648         * io/statvfs64.c: Likewise.
53649         * io/symlink.c: Likewise.
53650         * io/symlinkat.c: Likewise.
53651         * io/ttyname.c: Likewise.
53652         * io/ttyname_r.c: Likewise.
53653         * io/umask.c: Likewise.
53654         * io/unlink.c: Likewise.
53655         * io/unlinkat.c: Likewise.
53656         * io/utime.c: Likewise.
53657         * io/utimensat.c: Likewise.
53658         * io/write.c: Likewise.
53659         * io/xmknod.c: Likewise.
53660         * io/xmknodat.c: Likewise.
53661         * io/xstat.c: Likewise.
53662         * io/xstat64.c: Likewise.
53663         * login/getpt.c: Likewise.
53664         * login/grantpt.c: Likewise.
53665         * login/unlockpt.c: Likewise.
53666         * math/e_acoshl.c: Likewise.
53667         * math/e_acosl.c: Likewise.
53668         * math/e_asinl.c: Likewise.
53669         * math/e_atan2l.c: Likewise.
53670         * math/e_atanhl.c: Likewise.
53671         * math/e_coshl.c: Likewise.
53672         * math/e_expl.c: Likewise.
53673         * math/e_fmodl.c: Likewise.
53674         * math/e_gammal_r.c: Likewise.
53675         * math/e_hypotl.c: Likewise.
53676         * math/e_j0l.c: Likewise.
53677         * math/e_j1l.c: Likewise.
53678         * math/e_jnl.c: Likewise.
53679         * math/e_lgammal_r.c: Likewise.
53680         * math/e_log10l.c: Likewise.
53681         * math/e_log2l.c: Likewise.
53682         * math/e_logl.c: Likewise.
53683         * math/e_powl.c: Likewise.
53684         * math/e_rem_pio2l.c: Likewise.
53685         * math/e_sinhl.c: Likewise.
53686         * math/e_sqrtl.c: Likewise.
53687         * math/fclrexcpt.c: Likewise.
53688         * math/fedisblxcpt.c: Likewise.
53689         * math/feenablxcpt.c: Likewise.
53690         * math/fegetenv.c: Likewise.
53691         * math/fegetexcept.c: Likewise.
53692         * math/fegetround.c: Likewise.
53693         * math/feholdexcpt.c: Likewise.
53694         * math/fesetenv.c: Likewise.
53695         * math/fesetround.c: Likewise.
53696         * math/feupdateenv.c: Likewise.
53697         * math/fgetexcptflg.c: Likewise.
53698         * math/fraiseexcpt.c: Likewise.
53699         * math/fsetexcptflg.c: Likewise.
53700         * math/ftestexcept.c: Likewise.
53701         * math/k_cosl.c: Likewise.
53702         * math/k_rem_pio2l.c: Likewise.
53703         * math/k_sinl.c: Likewise.
53704         * math/k_tanl.c: Likewise.
53705         * math/s_asinhl.c: Likewise.
53706         * math/s_atanl.c: Likewise.
53707         * math/s_cbrtl.c: Likewise.
53708         * math/s_erfl.c: Likewise.
53709         * math/s_expm1l.c: Likewise.
53710         * math/s_log1pl.c: Likewise.
53711         * math/s_tanhl.c: Likewise.
53712         * misc/acct.c: Likewise.
53713         * misc/brk.c: Likewise.
53714         * misc/chflags.c: Likewise.
53715         * misc/chroot.c: Likewise.
53716         * misc/fchflags.c: Likewise.
53717         * misc/fgetxattr.c: Likewise.
53718         * misc/flistxattr.c: Likewise.
53719         * misc/fremovexattr.c: Likewise.
53720         * misc/fsetxattr.c: Likewise.
53721         * misc/fsync.c: Likewise.
53722         * misc/ftruncate.c: Likewise.
53723         * misc/futimes.c: Likewise.
53724         * misc/futimesat.c: Likewise.
53725         * misc/getdomain.c: Likewise.
53726         * misc/getdtsz.c: Likewise.
53727         * misc/gethostid.c: Likewise.
53728         * misc/gethostname.c: Likewise.
53729         * misc/getloadavg.c: Likewise.
53730         * misc/getpagesize.c: Likewise.
53731         * misc/getsysstats.c: Likewise.
53732         * misc/getxattr.c: Likewise.
53733         * misc/gtty.c: Likewise.
53734         * misc/ioctl.c: Likewise.
53735         * misc/lgetxattr.c: Likewise.
53736         * misc/listxattr.c: Likewise.
53737         * misc/llistxattr.c: Likewise.
53738         * misc/lremovexattr.c: Likewise.
53739         * misc/lsetxattr.c: Likewise.
53740         * misc/lutimes.c: Likewise.
53741         * misc/madvise.c: Likewise.
53742         * misc/mincore.c: Likewise.
53743         * misc/mlock.c: Likewise.
53744         * misc/mlockall.c: Likewise.
53745         * misc/mmap.c: Likewise.
53746         * misc/mprotect.c: Likewise.
53747         * misc/msync.c: Likewise.
53748         * misc/munlock.c: Likewise.
53749         * misc/munlockall.c: Likewise.
53750         * misc/munmap.c: Likewise.
53751         * misc/preadv.c: Likewise.
53752         * misc/preadv64.c: Likewise.
53753         * misc/ptrace.c: Likewise.
53754         * misc/pwritev.c: Likewise.
53755         * misc/pwritev64.c: Likewise.
53756         * misc/readv.c: Likewise.
53757         * misc/reboot.c: Likewise.
53758         * misc/remap_file_pages.c: Likewise.
53759         * misc/removexattr.c: Likewise.
53760         * misc/revoke.c: Likewise.
53761         * misc/select.c: Likewise.
53762         * misc/setdomain.c: Likewise.
53763         * misc/setegid.c: Likewise.
53764         * misc/seteuid.c: Likewise.
53765         * misc/sethostid.c: Likewise.
53766         * misc/sethostname.c: Likewise.
53767         * misc/setregid.c: Likewise.
53768         * misc/setreuid.c: Likewise.
53769         * misc/setxattr.c: Likewise.
53770         * misc/sstk.c: Likewise.
53771         * misc/stty.c: Likewise.
53772         * misc/swapoff.c: Likewise.
53773         * misc/swapon.c: Likewise.
53774         * misc/sync.c: Likewise.
53775         * misc/syncfs.c: Likewise.
53776         * misc/syscall.c: Likewise.
53777         * misc/truncate.c: Likewise.
53778         * misc/ualarm.c: Likewise.
53779         * misc/usleep.c: Likewise.
53780         * misc/ustat.c: Likewise.
53781         * misc/utimes.c: Likewise.
53782         * misc/vhangup.c: Likewise.
53783         * misc/writev.c: Likewise.
53784         * posix/_exit.c: Likewise.
53785         * posix/alarm.c: Likewise.
53786         * posix/execve.c: Likewise.
53787         * posix/fexecve.c: Likewise.
53788         * posix/fork.c: Likewise.
53789         * posix/fpathconf.c: Likewise.
53790         * posix/getaddrinfo.c: Likewise.
53791         * posix/getegid.c: Likewise.
53792         * posix/geteuid.c: Likewise.
53793         * posix/getgid.c: Likewise.
53794         * posix/getgroups.c: Likewise.
53795         * posix/getlogin.c: Likewise.
53796         * posix/getlogin_r.c: Likewise.
53797         * posix/getpgid.c: Likewise.
53798         * posix/getpid.c: Likewise.
53799         * posix/getppid.c: Likewise.
53800         * posix/getresgid.c: Likewise.
53801         * posix/getresuid.c: Likewise.
53802         * posix/getsid.c: Likewise.
53803         * posix/getuid.c: Likewise.
53804         * posix/glob64.c: Likewise.
53805         * posix/nanosleep.c: Likewise.
53806         * posix/pathconf.c: Likewise.
53807         * posix/pause.c: Likewise.
53808         * posix/posix_madvise.c: Likewise.
53809         * posix/pread.c: Likewise.
53810         * posix/pread64.c: Likewise.
53811         * posix/pwrite.c: Likewise.
53812         * posix/pwrite64.c: Likewise.
53813         * posix/sched_getaffinity.c: Likewise.
53814         * posix/sched_getp.c: Likewise.
53815         * posix/sched_gets.c: Likewise.
53816         * posix/sched_primax.c: Likewise.
53817         * posix/sched_primin.c: Likewise.
53818         * posix/sched_rr_gi.c: Likewise.
53819         * posix/sched_setaffinity.c: Likewise.
53820         * posix/sched_setp.c: Likewise.
53821         * posix/sched_sets.c: Likewise.
53822         * posix/sched_yield.c: Likewise.
53823         * posix/setgid.c: Likewise.
53824         * posix/setlogin.c: Likewise.
53825         * posix/setpgid.c: Likewise.
53826         * posix/setresgid.c: Likewise.
53827         * posix/setresuid.c: Likewise.
53828         * posix/setsid.c: Likewise.
53829         * posix/setuid.c: Likewise.
53830         * posix/sleep.c: Likewise.
53831         * posix/spawni.c: Likewise.
53832         * posix/sysconf.c: Likewise.
53833         * posix/times.c: Likewise.
53834         * posix/wait.c: Likewise.
53835         * posix/wait3.c: Likewise.
53836         * posix/wait4.c: Likewise.
53837         * posix/waitpid.c: Likewise.
53838         * resolv/gai_sigqueue.c: Likewise.
53839         * resource/getpriority.c: Likewise.
53840         * resource/getrlimit.c: Likewise.
53841         * resource/getrusage.c: Likewise.
53842         * resource/nice.c: Likewise.
53843         * resource/setpriority.c: Likewise.
53844         * resource/setrlimit.c: Likewise.
53845         * resource/ulimit.c: Likewise.
53846         * rt/aio_cancel.c: Likewise.
53847         * rt/aio_fsync.c: Likewise.
53848         * rt/aio_read.c: Likewise.
53849         * rt/aio_sigqueue.c: Likewise.
53850         * rt/aio_suspend.c: Likewise.
53851         * rt/aio_write.c: Likewise.
53852         * rt/clock_getres.c: Likewise.
53853         * rt/clock_gettime.c: Likewise.
53854         * rt/clock_nanosleep.c: Likewise.
53855         * rt/clock_settime.c: Likewise.
53856         * rt/lio_listio.c: Likewise.
53857         * rt/mq_close.c: Likewise.
53858         * rt/mq_getattr.c: Likewise.
53859         * rt/mq_notify.c: Likewise.
53860         * rt/mq_open.c: Likewise.
53861         * rt/mq_receive.c: Likewise.
53862         * rt/mq_send.c: Likewise.
53863         * rt/mq_setattr.c: Likewise.
53864         * rt/mq_timedreceive.c: Likewise.
53865         * rt/mq_timedsend.c: Likewise.
53866         * rt/mq_unlink.c: Likewise.
53867         * rt/shm_open.c: Likewise.
53868         * rt/shm_unlink.c: Likewise.
53869         * rt/timer_create.c: Likewise.
53870         * rt/timer_delete.c: Likewise.
53871         * rt/timer_getoverr.c: Likewise.
53872         * rt/timer_gettime.c: Likewise.
53873         * rt/timer_settime.c: Likewise.
53874         * setjmp/__longjmp.c: Likewise.
53875         * setjmp/setjmp.c: Likewise.
53876         * signal/kill.c: Likewise.
53877         * signal/killpg.c: Likewise.
53878         * signal/raise.c: Likewise.
53879         * signal/sigaction.c: Likewise.
53880         * signal/sigaltstack.c: Likewise.
53881         * signal/sigblock.c: Likewise.
53882         * signal/sigignore.c: Likewise.
53883         * signal/sigintr.c: Likewise.
53884         * signal/signal.c: Likewise.
53885         * signal/sigpause.c: Likewise.
53886         * signal/sigpending.c: Likewise.
53887         * signal/sigqueue.c: Likewise.
53888         * signal/sigreturn.c: Likewise.
53889         * signal/sigset.c: Likewise.
53890         * signal/sigsetmask.c: Likewise.
53891         * signal/sigstack.c: Likewise.
53892         * signal/sigsuspend.c: Likewise.
53893         * signal/sigtimedwait.c: Likewise.
53894         * signal/sigvec.c: Likewise.
53895         * signal/sigwait.c: Likewise.
53896         * signal/sigwaitinfo.c: Likewise.
53897         * signal/sysv_signal.c: Likewise.
53898         * socket/accept.c: Likewise.
53899         * socket/accept4.c: Likewise.
53900         * socket/bind.c: Likewise.
53901         * socket/connect.c: Likewise.
53902         * socket/getpeername.c: Likewise.
53903         * socket/getsockname.c: Likewise.
53904         * socket/getsockopt.c: Likewise.
53905         * socket/isfdtype.c: Likewise.
53906         * socket/listen.c: Likewise.
53907         * socket/recv.c: Likewise.
53908         * socket/recvfrom.c: Likewise.
53909         * socket/recvmsg.c: Likewise.
53910         * socket/send.c: Likewise.
53911         * socket/sendmsg.c: Likewise.
53912         * socket/sendto.c: Likewise.
53913         * socket/setsockopt.c: Likewise.
53914         * socket/shutdown.c: Likewise.
53915         * socket/sockatmark.c: Likewise.
53916         * socket/socket.c: Likewise.
53917         * socket/socketpair.c: Likewise.
53918         * stdio-common/ctermid.c: Likewise.
53919         * stdio-common/cuserid.c: Likewise.
53920         * stdio-common/remove.c: Likewise.
53921         * stdio-common/rename.c: Likewise.
53922         * stdio-common/renameat.c: Likewise.
53923         * stdio-common/tempname.c: Likewise.
53924         * stdlib/getcontext.c: Likewise.
53925         * stdlib/makecontext.c: Likewise.
53926         * stdlib/setcontext.c: Likewise.
53927         * stdlib/swapcontext.c: Likewise.
53928         * stdlib/system.c: Likewise.
53929         * streams/fattach.c: Likewise.
53930         * streams/fdetach.c: Likewise.
53931         * streams/getmsg.c: Likewise.
53932         * streams/getpmsg.c: Likewise.
53933         * streams/putmsg.c: Likewise.
53934         * streams/putpmsg.c: Likewise.
53935         * sysdeps/unix/bsd/getpt.c: Likewise.
53936         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
53937         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
53938         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53940         Likewise.
53941         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
53942         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53943         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
53944         * sysvipc/msgctl.c: Likewise.
53945         * sysvipc/msgget.c: Likewise.
53946         * sysvipc/msgrcv.c: Likewise.
53947         * sysvipc/msgsnd.c: Likewise.
53948         * sysvipc/semctl.c: Likewise.
53949         * sysvipc/semget.c: Likewise.
53950         * sysvipc/semop.c: Likewise.
53951         * sysvipc/semtimedop.c: Likewise.
53952         * sysvipc/shmat.c: Likewise.
53953         * sysvipc/shmctl.c: Likewise.
53954         * sysvipc/shmdt.c: Likewise.
53955         * sysvipc/shmget.c: Likewise.
53956         * termios/tcdrain.c: Likewise.
53957         * termios/tcflow.c: Likewise.
53958         * termios/tcflush.c: Likewise.
53959         * termios/tcgetattr.c: Likewise.
53960         * termios/tcgetpgrp.c: Likewise.
53961         * termios/tcsendbrk.c: Likewise.
53962         * termios/tcsetattr.c: Likewise.
53963         * termios/tcsetpgrp.c: Likewise.
53964         * time/adjtime.c: Likewise.
53965         * time/clock.c: Likewise.
53966         * time/getitimer.c: Likewise.
53967         * time/gettimeofday.c: Likewise.
53968         * time/setitimer.c: Likewise.
53969         * time/settimeofday.c: Likewise.
53970         * time/stime.c: Likewise.
53971         * time/time.c: Likewise.
53973 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
53975         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
53976         /usr/old/bin.
53978         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
53979         instead of spaces.
53980         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
53982 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
53984         [BZ #14796]
53985         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
53986         FE_TONEAREST before applying Dekker multiplication and Knuth
53987         addition.  Clear inexact exceptions and check for exact zero
53988         results afterwards.
53989         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53990         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53991         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53992         * math/libm-test.inc (fma_test): Add more tests.
53993         (fma_test_towardzero): Likewise.
53994         (fma_test_downward): Likewise.
53995         (fma_test_upward): Likewise.
53996         * sysdeps/generic/math_private.h (default_libc_fesetround): New
53997         function.
53998         (libc_fesetround): New macro.
53999         (libc_fesetroundf): Likewise.
54000         (libc_fesetroundl): Likewise.
54001         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
54002         function.
54003         (libc_fesetround_387): Likewise.
54004         (libc_fesetroundf): New macro.
54005         (libc_fesetround): Likewise.
54006         (libc_fesetroundl): Likewise.
54007         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
54008         function.
54009         (libc_fesetroundf): New macro.
54010         (libc_fesetround): Likewise.
54011         (libc_fesetroundl): Likewise.
54012         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
54013         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
54014         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
54015         libm_hidden_ver.
54016         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
54017         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
54018         libm_hidden_def.
54019         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
54020         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
54021         libm_hidden_ver.
54022         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
54023         libm_hidden_def.
54025         [BZ #3439]
54026         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
54027         integer constant usable in #if and use that to give value to enum
54028         constant.
54029         (FE_DIVBYZERO): Likewise.
54030         (FE_UNDERFLOW): Likewise.
54031         (FE_OVERFLOW): Likewise.
54032         (FE_INVALID): Likewise.
54033         (FE_INVALID_SNAN): Likewise.
54034         (FE_INVALID_ISI): Likewise.
54035         (FE_INVALID_IDI): Likewise.
54036         (FE_INVALID_ZDZ): Likewise.
54037         (FE_INVALID_IMZ): Likewise.
54038         (FE_INVALID_COMPARE): Likewise.
54039         (FE_INVALID_SOFTWARE): Likewise.
54040         (FE_INVALID_SQRT): Likewise.
54041         (FE_INVALID_INTEGER_CONVERSION): Likewise.
54042         (FE_TONEAREST): Likewise.
54043         (FE_TOWARDZERO): Likewise.
54044         (FE_UPWARD): Likewise.
54045         (FE_DOWNWARD): Likewise.
54046         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
54047         (FE_DIVBYZERO): Likewise.
54048         (FE_OVERFLOW): Likewise.
54049         (FE_UNDERFLOW): Likewise.
54050         (FE_INEXACT): Likewise.
54051         (FE_TONEAREST): Likewise.
54052         (FE_DOWNWARD): Likewise.
54053         (FE_UPWARD): Likewise.
54054         (FE_TOWARDZERO): Likewise.
54055         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
54056         (FE_UNDERFLOW): Likewise.
54057         (FE_OVERFLOW): Likewise.
54058         (FE_DIVBYZERO): Likewise.
54059         (FE_INVALID): Likewise.
54060         (FE_TONEAREST): Likewise.
54061         (FE_TOWARDZERO): Likewise.
54062         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
54063         (FE_OVERFLOW): Likewise.
54064         (FE_UNDERFLOW): Likewise.
54065         (FE_DIVBYZERO): Likewise.
54066         (FE_INEXACT): Likewise.
54067         (FE_TONEAREST): Likewise.
54068         (FE_TOWARDZERO): Likewise.
54069         (FE_UPWARD): Likewise.
54070         (FE_DOWNWARD): Likewise.
54071         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
54072         (FE_DIVBYZERO): Likewise.
54073         (FE_OVERFLOW): Likewise.
54074         (FE_UNDERFLOW): Likewise.
54075         (FE_INEXACT): Likewise.
54076         (FE_TONEAREST): Likewise.
54077         (FE_DOWNWARD): Likewise.
54078         (FE_UPWARD): Likewise.
54079         (FE_TOWARDZERO): Likewise.
54081 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
54083         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
54085 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
54087         * scripts/cross-test-ssh.sh (command): Use newlines to separate
54088         commands.  Quote $PWD.
54089         (blacklist_exports): Don't use remove_newlines.  Replace "declare
54090         -x" by "export".
54091         (remove_newlines): Remove.
54093 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
54095         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
54096         * stdlib/stdlib.h (atof): Moved to ...
54097         * include/bits/stdlib-float.h: Here.  New file.
54098         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
54099         * stdlib/bits/stdlib-float.h: New file.
54100         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
54101         -mno-sse -mno-mmx.
54102         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
54103         <xmmintrin.h>.
54105 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54107         * conform/conformtest.pl (@headers): Add fenv.h.
54108         * conform/data/fenv.h-data: New file.
54109         * include/fenv.h [_ISOMAC]: Disable all contents of file except
54110         include of <math/fenv.h>.
54112         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
54113         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
54114         && !UNIX98].  Enables tests for XOPEN2K8.
54115         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
54116         POSIX2008]: Likewise.
54118         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
54119         (struct rusage): Do not expect type or its members.
54121         [BZ #3439]
54122         * math/math.h (FP_NAN): Define macro to integer constant usable in
54123         #if and use that to give value to enum constant.
54124         (FP_INFINITE): Likewise.
54125         (FP_ZERO): Likewise.
54126         (FP_SUBNORMAL): Likewise.
54127         (FP_NORMAL): Likewise.
54129 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
54131         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
54132         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
54133         arguments.
54135 2012-11-02  Roland McGrath  <roland@hack.frob.com>
54137         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54138         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
54139         autoconf-time if not.
54140         * configure.in: Remove AC_PREREQ.
54142 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54144         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
54145         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
54146         of the internal implementation.
54148 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54150         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
54151         except include of <misc/sys/syslog.h>.
54153 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
54156         function returns with a NULL context exit with zero.
54158 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54160         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54162 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54164         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54165         (run_program_cmd): This.
54166         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54167         (tst_langinfo): New variable.  Use it.
54169 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54171         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54172         floating point opcodes.
54174 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54176         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54177         variable.
54179         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54181         * sysdeps/mach/hurd/powerpc: Remove directory.
54182         * sysdeps/mach/powerpc: Likewise.
54184 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54186         * scripts/check-local-headers.sh: Ignore c++ headers.
54188 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54190         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54191         __libc_cleanup_region_start argument.
54193 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54195         [BZ #14784]
54196         [BZ #14785]
54197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54198         x * y using scaling, not as x * y + z.
54199         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54200         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54201         * math/libm-test.inc (fma_test): Add more tests.
54202         (fma_test_towardzero): Likewise.
54203         (fma_test_downward): Likewise.
54204         (fma_test_upward): Likewise.
54206 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54208         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54210 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54212         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54213         New variable.
54215 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54217         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54219 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54222         Fix sort order.
54223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54224         Likewise.
54226 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54229         Fix the order of the list for glibc 2.17.
54230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54231         Likewise.
54233 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54237 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54239         [BZ #14610]
54240         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54241         for low part of x being zero before using __atanl (y).
54242         * math/libm-test.inc (atan2_test): Add another test.
54244         * manual/install.texi (Configuring and compiling): Document
54245         general use of test-wrapper and test-wrapper-env.
54246         * INSTALL: Regenerated.
54248         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54249         (__fma): Do not extract and scale down low bits on after-rounding
54250         systems when result rounded to normal precision would have normal
54251         exponent.
54252         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54253         (__fmal): Do not extract and scale down low bits on after-rounding
54254         systems when result rounded to normal precision would have normal
54255         exponent.
54256         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54257         (__fmal): Do not extract and scale down low bits on after-rounding
54258         systems when result rounded to normal precision would have normal
54259         exponent.
54260         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54261         macro.
54262         (fma_test): Add more tests.
54263         (fma_test_towardzero): Likewise.
54264         (fma_test_downward): Likewise.
54265         (fma_test_upward): Likewise.
54267 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54269         * sysdeps/i386/tininess.h: Renamed to ...
54270         * sysdeps/x86/tininess.h: This.
54271         * sysdeps/x86_64/tininess.h: Removed.
54273 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54275         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54276         input.  Use $(build-program-cmd).
54277         ($(objpfx)tst-array1-static.out): Likewise.
54278         ($(objpfx)tst-array2.out): Likewise.
54279         ($(objpfx)tst-array3.out): Likewise.
54280         ($(objpfx)tst-array4.out): Likewise.
54281         ($(objpfx)tst-array5.out): Likewise.
54282         ($(objpfx)tst-array5-static.out): Likewise.
54284 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54286         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54287         if defined.
54289         * nss/nsswitch.h (nss_interface_function): Provide new
54290         macro for use with NSS functions.
54291         * grp/initgroups.c: Use new macro.
54292         * nss/getXXbyYY.c: Likewise.
54293         * nss/getXXbyYY_r.c: Likewise.
54294         * nss/getXXent.c: Likewise.
54295         * nss/getXXent_r.c: Likewise.
54296         * sysdeps/posix/getaddrinfo.c: Likewise.
54298 2012-10-30  Andreas Jaeger  <aj@suse.de>
54300         * po/ru.po: Update Russion translation from translation project.
54302 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54304         [BZ #14152]
54305         [BZ #14783]
54306         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54307         result and shift together with sticky bit instead of replicating
54308         round-to-nearest rounding.
54309         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54310         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54311         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54312         missing underflow exceptions.
54313         (fma_test_towardzero): Add more tests.
54314         (fma_test_downward): Likewise.
54315         (fma_test_upward): Likewise.
54317         [BZ #14047]
54318         * sysdeps/generic/tininess.h: New file.
54319         * sysdeps/i386/tininess.h: Likewise.
54320         * sysdeps/sh/tininess.h: Likewise.
54321         * sysdeps/x86_64/tininess.h: Likewise.
54322         * stdlib/tst-strtod-underflow.c: Likewise.
54323         * stdlib/tst-tininess.c: Likewise.
54324         * stdlib/strtod_l.c: Include <tininess.h>.
54325         (round_and_return): Do not set errno for exact underflow cases.
54326         Force an underflow exception when setting errno for underflow.
54327         Determine underflow based on rounding to normal precision if
54328         TININESS_AFTER_ROUNDING.
54329         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54330         ERANGE for exact underflow cases.
54331         * stdlib/Makefile (tests): Add tst-tininess and
54332         tst-strtod-underflow.
54333         ($(objpfx)tst-tininess): Use $(link-libm).
54334         ($(objpfx)tst-strtod-underflow): Likewise.
54336 2012-10-30  Andreas Jaeger  <aj@suse.de>
54338         [BZ#14767]
54339         * elf/Makefile (tests): Remove conditional for have-initfini-array
54340         since this is now always required and the variable does not exist
54341         anymore.
54342         (tests-static): Likewise.
54343         (modules-names): Likewise.
54345         * po/eo.po: Add Esperanto translation from translation project.
54347         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54348         merged with constructor/destructor.
54349         (init_array): Likewise.
54350         * elf/tst-array2dep.c (fini_array): Likewise.
54351         (init_array): Likewise.
54353 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54355         * manual/message.texi: Delete @cartouche tags.
54357 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54359         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54360         EOPNOTSUPP.
54361         * sysdeps/mach/hurd/fsync.c: Likewise.
54363         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54364         [_POSIX_REALTIME_SIGNALS]: Change condition to
54365         [_POSIX_REALTIME_SIGNALS > 0].
54367 2012-10-27  Andreas Jaeger  <aj@suse.de>
54369         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54370         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54371         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54372         [__WORDSIZE != 64]: Likewise.
54374 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54376         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54377         *  iconvdata/tst-tables.sh: Likewise.
54379 2012-10-25  David S. Miller  <davem@davemloft.net>
54381         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54382         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54383         of strtoull.
54385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54386         ifunc-impl-list.c
54387         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54388         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54389         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54390         file.
54392 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54394         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54395         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54396         __getdirentries.
54398 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54399             Jim Blandy  <jimb@codesourcery.com>
54401         * scripts/cross-test-ssh.sh: New file.
54402         * manual/install.texi (Configuring and compiling): Document use of
54403         cross-test-ssh.sh.
54404         * INSTALL: Regenerated.
54406 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54408         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54409         EOPNOTSUPP.
54411 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54413         * Makeconfig (run-program-prefix): Fix comment.
54415 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54416             Jim Blandy  <jimb@codesourcery.com>
54418         * Makeconfig (test-wrapper): New variable,
54419         (test-wrapper-env): Likewise.
54420         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54421         (run-built-tests): Define to yes.
54422         (run-program-prefix): Use $(test-wrapper).
54423         (built-program-cmd): Likewise.
54424         * Rules (make-test-out): Use $(test-wrapper-env) and
54425         $(host-built-program-cmd).
54426         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54427         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54428         tst-pathopt.sh.
54429         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54430         $(test-wrapper-env) to tst-rtld-load-self.sh.
54431         ($(objpfx)order2.out): Use $(test-wrapper).
54432         ($(objpfx)tst-initorder.out): Likewise.
54433         ($(objpfx)tst-initorder2.out): Likewise.
54434         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54435         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54436         (test_wrapper_env): New variable.  Use it to run ld.so.
54437         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54438         Use it to run ld.so.
54439         (test_wrapper_env): Likewise.
54440         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54441         $(test-wrapper) to run-iconv-test.sh.
54442         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54443         (ICONV): Use $test_wrapper.
54444         * posix/Makefile ($(objpfx)globtest.out): Pass
54445         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54446         globtest.sh, not $(run-program-prefix).
54447         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54448         (test_wrapper): Likewise.
54449         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54450         set together with run_via_rtld_prefix.
54451         (run_program_prefix): Define in terms of test_wrapper and
54452         run_via_rtld_prefix.
54454 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54456         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54457         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54458         Targets removed.
54460         [BZ #14743]
54461         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54462         Declare __clock_getres, __clock_gettime, __clock_settime,
54463         __clock_nanosleep, and __clock_getcpuclockid.
54464         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54465         Remove librt_hidden_def (clock_gettime).
54466         * sysdeps/unix/clock_gettime.c: Likewise.
54467         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54468         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54469         * rt/clock_getres.c: Define __clock_getres as an alias.
54470         * sysdeps/posix/clock_getres.c: Likewise.
54471         * rt/clock_settime.c: Define __clock_settime as an alias.
54472         * sysdeps/unix/clock_settime.c: Likewise.
54473         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54474         * sysdeps/unix/clock_nanosleep.c: Likewise.
54475         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54476         * rt/clock-compat.c: New file.
54477         * rt/Makefile (librt-routines): Add clock-compat and move
54478         $(clock-routines) to ...
54479         (routines): ... here, new variable.
54480         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54481         Don't add get_clockfreq here.
54482         * rt/Versions (libc: GLIBC_2.17): New version set.
54483         Add clock_* symbols here.
54484         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54485         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54486         (GLIBC_2.17): Add clock_* symbols.
54487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54489         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54491         Likewise.
54492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54493         Likewise.
54494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54498         * NEWS: Mention the move.
54500         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54501         Use __open, __read, __close rather than their public counterparts.
54502         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54503         (__get_clockfreq_via_cpuinfo): Likewise.
54504         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54505         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54507         * config.h.in (HAVE_IFUNC): New #undef.
54508         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54509         was successful.
54510         * configure: Regenerated.
54512 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54514         * configure.in: Move READELF check to start of file.
54515         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54516         libc_cv_asm_gnu_indirect_function in the process.
54517         * configure: Regenerated.
54519 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54521         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54522         send the output to /dev/null.
54523         (libc_cv_cc_with_libunwind): Likewise.
54524         (libc_cv_as_noexecstack): Likewise.
54525         * configure: Regenerate.
54527 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54529         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
54531         * posix/globtest.sh (TMPDIR): Do not set.
54532         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
54533         (testout): Likewise.
54535 2012-10-24  Andreas Jaeger  <aj@suse.de>
54537         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
54538         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
54539         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
54540         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
54541         posix_fadvise64, posix_fallocate64.
54543         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54544         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54545         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54546         Likewise.
54547         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54548         Likewise.
54549         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54552         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54553         <bits/fcntl-linux.h>.
54554         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54557         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54558         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54559         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54560         [__WORDSIZE != 64]: Likewise.
54562 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54564         * Makeconfig (run-built-tests): New variable.
54565         * Rules [$(cross-compiling) = yes]: Change condition to
54566         [$(run-built-tests) = no].
54567         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
54568         to [$(run-built-tests) = yes].
54569         * elf/Makefile [$(cross-compiling) = no]: Likewise.
54570         * grp/Makefile [$(cross-compiling) = no]: Likewise.
54571         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
54572         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
54573         * intl/Makefile [$(cross-compiling) = no]: Likewise.
54574         * io/Makefile [$(cross-compiling) = no]: Likewise.
54575         * libio/Makefile [$(cross-compiling) = no]: Likewise.
54576         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
54577         * misc/Makefile [$(cross-compiling) = no]: Likewise.
54578         * posix/Makefile [$(cross-compiling) = no]: Likewise.
54579         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
54580         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
54581         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
54582         * string/Makefile [$(cross-compiling) = no]: Likewise.
54584         * posix/Makefile ($(objpfx)globtest.out): Pass
54585         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
54586         $(rtld-installed-name).
54587         * posix/globtest.sh (elf_objpfx): Remove variable.
54588         (rtld_installed_name): Likewise.
54589         (library_path): Likewise.
54590         (run_program_prefix): New variable.  Use for running globtest
54591         binary.
54593 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
54594             Joseph Myers  <joseph@codesourcery.com>
54596         * Makeconfig (host-built-program-cmd): New variable.
54597         * elf/Makefile (tst-stackguard1-ARGS): Use
54598         $(host-built-program-cmd).
54599         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
54600         (tst-spawn-ARGS): Likewise.
54601         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
54603 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54604             Jim Blandy  <jimb@codesourcery.com>
54606         * Makeconfig (run-via-rtld-prefix): New variable.
54607         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
54608         (built-program-cmd): Likewise.
54610 2012-10-22  Andreas Jaeger  <aj@suse.de>
54612         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
54613         __O_RSYNC if it exists, otherwise to O_SYNC.
54615 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
54616             Joseph Myers  <joseph@codesourcery.com>
54618         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
54619         /dev/null.
54620         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
54621         from /dev/null
54622         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
54623         /dev/null.
54625 2012-10-22  Andreas Jaeger  <aj@suse.de>
54627         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
54628         Define always.
54629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
54631         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54632         bits/fcntl-linux.h.
54634         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
54635         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
54637         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
54638         to __O_LARGEFILE.
54639         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
54640         to __O_LARGEFILE.
54642 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
54643             Joseph Myers  <joseph@codesourcery.com>
54645         * config.make.in (NM): New variable.
54647 2012-10-21  Andreas Jaeger  <aj@suse.de>
54649         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
54650         definitions and declarations that are provided by
54651         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54653 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54655         [BZ #14683]
54656         * elf/Makefile (tests-static): Add tst-leaks1-static.
54657         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
54658         ($(objpfx)tst-leaks1-static): New rule.
54659         ($(objpfx)tst-leaks1-static-mem): Likewise.
54660         (tst-leaks1-static-ENV): New macro.
54661         * elf/dl-open.c (dl_open_worker): Check the main application
54662         only if SHARED is defined.
54663         * elf/tst-leaks1-static.c: New file.
54665 2012-10-20  Andreas Jaeger  <aj@suse.de>
54667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
54668         generic values for Linux.
54669         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
54670         and declarations that are provided by <bits/fcntl-linux.h> and
54671         include <bits/fcntl-linux.h>.
54672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54673         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54675 2012-10-20  Roland McGrath  <roland@hack.frob.com>
54677         * io/fcntl.h: Move include of <bits/types.h> to the top and
54678         include it unconditionally.
54680 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54682         * wcsmbs/Makefile (tests-ifunc): New variable.
54683         (tests): Add $(tests-ifunc).
54684         * wcsmbs/test-wcschr-ifunc.c: New file.
54685         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
54686         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
54687         * wcsmbs/test-wcslen-ifunc.c: Likewise.
54688         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
54689         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
54691         * string/Makefile (tests-ifunc): New variable.
54692         (tests): Add $(tests-ifunc).
54693         * string/test-memccpy.c (TEST_NAME): New macro.
54694         * string/test-memchr.c (TEST_NAME): Likewise.
54695         * string/test-memcmp.c (TEST_NAME): Likewise.
54696         * string/test-memcpy.c (TEST_NAME): Likewise.
54697         * string/test-memmem.c (TEST_NAME): Likewise.
54698         * string/test-memmove.c (TEST_NAME): Likewise.
54699         * string/test-memset.c (TEST_NAME): Likewise.
54700         * string/test-rawmemchr.c (TEST_NAME): Likewise.
54701         * string/test-stpcpy.c (TEST_NAME): Likewise.
54702         * string/test-stpncpy.c (TEST_NAME): Likewise.
54703         * string/test-strcasecmp.c (TEST_NAME): Likewise.
54704         * string/test-strcasestr.c (TEST_NAME): Likewise.
54705         * string/test-strcat.c (TEST_NAME): Likewise.
54706         * string/test-strchr.c (TEST_NAME): Likewise.
54707         * string/test-strcmp.c(TEST_NAME): Likewise.
54708         * string/test-strcpy.c (TEST_NAME): Likewise.
54709         * string/test-strcspn.c (TEST_NAME): Likewise.
54710         * string/test-strlen.c (TEST_NAME): Likewise.
54711         * string/test-strncasecmp.c (TEST_NAME): Likewise.
54712         * string/test-strncmp.c (TEST_NAME): Likewise.
54713         * string/test-strncpy.c (TEST_NAME): Likewise.
54714         * string/test-strnlen.c (TEST_NAME): Likewise.
54715         * string/test-strpbrk.c (TEST_NAME): Likewise.
54716         * string/test-strrchr.c (TEST_NAME): Likewise.
54717         * string/test-strspn.c (TEST_NAME): Likewise.
54718         * string/test-strstr.c (TEST_NAME): Likewise.
54719         * string/test-bcopy-ifunc.c: New file.
54720         * string/test-bzero-ifunc.c: Likewise.
54721         * string/test-memccpy-ifunc.c: Likewise.
54722         * string/test-memchr-ifunc.c: Likewise.
54723         * string/test-memcmp-ifunc.c: Likewise.
54724         * string/test-memcpy-ifunc.c: Likewise.
54725         * string/test-memmem-ifunc.c: Likewise.
54726         * string/test-memmove-ifunc.c: Likewise.
54727         * string/test-mempcpy-ifunc.c: Likewise.
54728         * string/test-memset-ifunc.c: Likewise.
54729         * string/test-rawmemchr-ifunc.c: Likewise.
54730         * string/test-stpcpy-ifunc.c: Likewise.
54731         * string/test-stpncpy-ifunc.c: Likewise.
54732         * string/test-strcasecmp-ifunc.c: Likewise.
54733         * string/test-strcasestr-ifunc.c: Likewise.
54734         * string/test-strcat-ifunc.c: Likewise.
54735         * string/test-strchr-ifunc.c: Likewise.
54736         * string/test-strchrnul-ifunc.c: Likewise.
54737         * string/test-strcmp-ifunc.c: Likewise.
54738         * string/test-strcpy-ifunc.c: Likewise.
54739         * string/test-strcspn-ifunc.c: Likewise.
54740         * string/test-strlen-ifunc.c: Likewise.
54741         * string/test-strncasecmp-ifunc.c: Likewise.
54742         * string/test-strncat-ifunc.c: Likewise.
54743         * string/test-strncmp-ifunc.c: Likewise.
54744         * string/test-strncpy-ifunc.c: Likewise.
54745         * string/test-strnlen-ifunc.c: Likewise.
54746         * string/test-strpbrk-ifunc.c: Likewise.
54747         * string/test-strrchr-ifunc.c: Likewise.
54748         * string/test-strspn-ifunc.c: Likewise.
54749         * string/test-strstr-ifunc.c: Likewise.
54751         * debug/Makefile (tests-ifunc): New variable.
54752         (tests): Add $(tests-ifunc).
54753         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
54754         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
54755         * debug/test-stpcpy_chk-ifunc.c: New file.
54756         * debug/test-strcpy_chk-ifunc.c: Likewise.
54758 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54760         [BZ #13601]
54761         * elf/dl-load.c (open_verify): Retry read if the entire ELF
54762         header is not read in.
54764 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
54766         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
54767         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
54768         directly.  Pass built executable to script as
54769         $(built-program-cmd).
54770         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
54771         $testprogram without using LD_LIBRARY_PATH and $ldso.
54773         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
54774         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
54775         $(rtld-installed-name).
54776         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
54777         (rtld_installed_name): Likewise.
54778         (library_path): Likewise.
54779         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
54780         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
54781         $(run-program-prefix) to tst-tables.sh.
54782         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
54783         it to run tst-table-from and tst-table-to.
54784         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
54785         Pass it to tst-table.sh.
54786         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
54787         $(run-program-prefix) to tst-gettext.sh.
54788         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
54789         tst-translit.sh.
54790         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
54791         tst-gettext2.sh.
54792         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
54793         to run tst-gettext.
54794         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
54795         to run tst-gettext2.
54796         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
54797         to run tst-translit.
54798         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
54799         $(run-program-prefix) to tst-mtrace.sh.
54800         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
54801         to run tst-mtrace.
54802         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
54803         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
54804         $(rtld-installed-name).
54805         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
54806         (rtld_installed_name): Likewise.
54807         (run_program_prefix): New variable.  Use it to run wordexp-test.
54809         * Makeconfig (ARCH): Remove all definitions.
54810         (machine): Likewise.
54811         [ARCH]: Remove conditional code.
54812         [!objdir]: Give error.
54813         [!objdir] (objpfx): Remove.
54814         [!objdir] (common-objpfx): Likewise.
54815         [!objdir] (common-objdir): Likewise.
54816         * configure.in (config_makefile): Remove.  Hardcode Makefile in
54817         AC_CONFIG_FILES call.
54818         * configure: Regenerated.
54820         [BZ #13888]
54821         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
54822         or TMPDIR.
54823         (testout): Likewise.
54825         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
54826         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
54827         $(rtld-installed-name).
54828         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
54829         (rtld_installed_name): Likwise.
54830         (runit): Remove function.
54831         (run_getconf): New variable,  Use it for running getconf binary.
54833 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
54835         [BZ #14716]
54836         * string/test-memmem.c (check_result): New function.
54837         (do_one_test): Use it.
54838         (check1): New function.
54839         (test_main): Use it.
54841 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
54843         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
54845 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
54847         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
54848         (_G_LSEEK64): Likewise.
54849         (_G_MMAP64): Likewise.
54850         (_G_FSTAT64): Likewise.
54851         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
54852         (_G_LSEEK64): Likewise.
54853         (_G_MMAP64): Likewise.
54854         (_G_FSTAT64): Likewise.
54855         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
54856         unconditional.  Call __mmap64 directly.
54857         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
54858         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
54859         __lseek64 directly.
54860         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
54861         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
54862         __mmap64 directly.
54863         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
54864         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54865         __lseek64 directly.
54866         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
54867         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54868         __lseek64 directly.
54869         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
54870         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
54871         __lseek64 directly.
54872         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
54873         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
54874         __fxstat64 directly.
54875         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
54876         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
54877         unconditional.
54878         (freopen64) [!_G_OPEN64]: Remove conditional code.
54879         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
54880         unconditional.
54881         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
54882         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
54883         unconditional.
54884         (ftello64) [!_G_LSEEK64]: Remove conditional code.
54885         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
54886         unconditional.
54887         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54888         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
54889         unconditional.
54890         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
54891         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
54892         unconditional.
54893         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54894         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
54895         unconditional.
54896         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54897         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
54898         unconditional.
54899         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54901 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54903         [BZ #12140]
54904         * manual/memory.texi (Malloc Tunable Parameters): Add note
54905         about free list pointers overwriting some perturb bytes.
54906         Wording suggested by Roland McGrath.
54908 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
54910         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
54911         (lgamma_test): Likewise.
54912         (tgamma_test): Likewise.
54914 2012-10-16  Florian Weimer  <fweimer@redhat.com>
54916         [BZ #14700]
54917         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
54918         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
54920 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
54922         * NEWS: Mention BZ #14716.
54923         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
54924         when removing AVAILABLE1_USES_J macro.
54926 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
54928         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
54929         (__bswap_64): __uint64_t for unsigned 64-bit int.
54931 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
54933         * include/string.h (memmem): Declare libc hidden alias.
54934         * string/memmem.c (memmem): Define libc hidden alias.
54935         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
54936         __read, __close instead of open, read, close.
54938 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
54940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
54941         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
54942         global and hidden.
54943         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
54944         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
54945         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
54946         Likewise.
54947         (__rawmemchr_sse2): Likewise.
54948         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
54949         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
54950         (__strchr_sse2): Likewise.
54951         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
54952         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
54953         (__strcasecmp_sse2): Likewise.
54954         (__strncasecmp_sse2): Likewise.
54955         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
54956         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
54957         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
54958         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
54959         (__strrchr_sse2): Likewise.
54960         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
54961         ifunc-impl-list.c.
54962         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54963         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
54964         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
54965         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54966         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
54967         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
54968         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54969         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54970         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
54971         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
54972         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54973         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
54974         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
54975         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
54976         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
54977         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54978         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
54979         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
54980         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
54981         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
54982         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
54983         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
54984         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
54985         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54986         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
54987         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54988         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
54989         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54990         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54991         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
54993         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
54994         global and hidden.
54995         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
54996         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
54997         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
54998         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
54999         Likewise.
55000         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
55001         Likewise.
55002         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
55003         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
55004         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
55005         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
55006         ifunc-impl-list.c.
55007         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55008         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55009         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55010         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55011         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55012         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55013         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55014         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55015         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55016         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55017         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55018         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55019         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55020         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
55021         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
55022         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55023         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
55024         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
55025         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55026         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55027         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55028         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55029         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55030         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55031         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55032         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
55033         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
55034         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
55035         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
55036         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55037         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
55038         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55039         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55040         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
55041         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55042         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55043         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55044         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55045         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55046         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55047         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
55049         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
55050         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
55051         * include/ifunc-impl-list.h: New file.
55052         * misc/ifunc-impl-list.c: Likewise.
55053         * misc/Makefile (routines): Add ifunc-impl-list.
55054         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
55055         * string/test-string.h: Include <ifunc-impl-list.h>.
55056         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
55057         TEST_NAME]: New variables.
55058         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
55059         are defined.
55060         (test_init): Call __libc_ifunc_impl_list to initialize
55061         func_list if TEST_IFUNC and TEST_NAME are defined.
55063         * string/Makefile (strop-tests): Add bcopy and bzero.
55064         * string/test-bcopy.c: New file.
55065         * string/test-bzero.c: Likewise.
55066         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
55067         defined.
55068         * string/test-memset.c: Support bzero test if TEST_BZERO is
55069         defined.
55070         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
55071         __libc_memmove.
55072         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
55073         __libc_memset.
55074         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
55075         of memset.
55077 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
55079         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
55080         * configure: Regenerated.
55082         * Makeconfig (+link-static-before-libc): Don't include
55083         $(link-static-libc).
55085         * libio/libio.h (_IO_pos_t): Remove.
55087 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55089         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
55090         McGrath.
55092 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55094         * crypt/crypt-entry.c: Include fips-private.h.
55095         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
55096         * crypt/md5c-test.c (main): Tolerate disabled MD5.
55097         * sysdeps/unix/sysv/linux/fips-private.h: New file.
55098         * sysdeps/generic/fips-private.h: New file, dummy fallback.
55100 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55102         * crypt/crypt-private.h: Include stdbool.h.
55103         (_ufc_setup_salt_r): Return bool.
55104         * crypt/crypt-entry.c: Include errno.h.
55105         (__crypt_r): Return NULL with EINVAL for bad salt.
55106         * crypt/crypt_util.c (bad_for_salt): New.
55107         (_ufc_setup_salt_r): Check that salt is long enough and within
55108         the specified alphabet.
55109         * crypt/badsalttest.c: New file.
55110         * crypt/Makefile (tests): Add it.
55111         ($(objpfx)badsalttest): New.
55113 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
55115         * NEWS: Add entry for BZ #14602.
55117 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55119         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
55120         type-generic.
55121         * math/libm-test.inc: Update comment listing what functions and
55122         macros are tested.
55123         (isgreater_test): New function.
55124         (isgreaterequal_test): Likewise.
55125         (isless_test): Likewise.
55126         (islessequal_test): Likewise.
55127         (islessgreater_test): Likewise.
55128         (isunordered_test): Likewise.
55129         (main): Call the new functions.
55131 2012-10-09  Roland McGrath  <roland@hack.frob.com>
55133         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
55134         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
55135         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
55136         * sysdeps/i386/configure: Regenerated.
55137         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
55138         * sysdeps/mach/configure: Regenerated.
55139         * sysdeps/mach/hurd/configure: Regenerated.
55140         * sysdeps/powerpc/configure: Regenerated.
55141         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55142         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55143         * sysdeps/s390/s390-32/configure: Regenerated.
55144         * sysdeps/s390/s390-64/configure: Regenerated.
55145         * sysdeps/sh/configure: Regenerated.
55146         * sysdeps/sparc/configure: Regenerated.
55147         * sysdeps/unix/sysv/linux/configure: Regenerated.
55148         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
55149         * sysdeps/x86_64/configure: Regenerated.
55151         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
55152         defined.  Don't check if MAP is NULL.
55154 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55156         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
55157         (_G_stat64): Likewise.
55158         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55159         (_G_stat64): Likewise.
55160         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55161         instead of struct _G_stat64.
55162         * libio/fileops.c (mmap_remap_check): Likewise.
55163         (decide_maybe_mmap): Likewise.
55164         (_IO_new_file_seekoff): Likewise.
55165         (_IO_file_stat): Likewise.
55166         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55167         _G_off64_t.
55168         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55169         instead of struct _G_stat64.
55170         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55172 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55174         [BZ #14602]
55175         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55176         Replace with ...
55177         (CHECK_EOL): New macro.
55178         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55179         CHECK_EOL.
55180         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55181         Replace with CHECK_EOL.
55182         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55183         Replace with CHECK_EOL.
55185 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55187         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55188         type-generic.
55189         * math/libm-test.inc: Update comment listing what functions and
55190         macros are tested.
55191         (finite_test): New function.
55192         (isinf_test): Likewise.
55193         (isnan_test): Likewise.
55194         (fpclassify_test): Test subnormal input.
55195         (isfinite_test): Likewise.
55196         (isnormal_test): Likewise.
55197         (main): Call the new functions.
55199 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55201         [BZ #14660]
55202         * Makerules (%.dynsym): Force C locale when running
55203         $(OBJDUMP) --dynamic-syms.
55205 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55207         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55208         <stdint.h>.
55210 2012-10-06  David S. Miller  <davem@davemloft.net>
55212         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55213         upper 32-bits of the length value in %o2 since we use branch-on-register
55214         tests which consider the entire 64-bit register.
55216 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55218         * string/test-strstr.c (check2): Add a test for page boundary.
55220 2012-10-05  David S. Miller  <davem@davemloft.net>
55222         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55223         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55224         file.
55225         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55226         sysdep_routines.
55227         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55228         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55229         and bzero when HWCAP_SPARC_CRYPTO is present.
55231 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55233         [BZ #14602]
55234         * string/test-strstr.c (check2): New function.
55235         (test_main): Call check2.
55237         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55238         and bug-strchr1.
55239         * string/bug-strcasestr1.c (do_test): Moved to ...
55240         * string/test-strcasestr.c (check1): Here.  New function.
55241         (do_one_test): Break out result checking code into ...
55242         (check_result): This.  New function.
55243         (do_one_test): Call check_result.
55244         (test_main): Call check1.
55245         * string/bug-strchr1.c (do_test): Moved to ...
55246         * string/test-strchr.c (check1): Here.  New function.
55247         (do_one_test): Break out result checking code into ...
55248         (check_result): This.  New function.
55249         (do_one_test): Call check_result.
55250         (test_main): Call check1.
55251         * string/bug-strstr1.c (main): Moved to ...
55252         * string/test-strstr.c (check1): Here.  New function.
55253         (do_one_test): Break out result checking code into ...
55254         (check_result): This.  New function.
55255         (do_one_test): Call check_result.
55256         (test_main): Call check1.
55257         * string/bug-strcasestr1.c: Removed.
55258         * string/bug-strchr1.c: Likewise.
55259         * string/bug-strstr1.c: Likewise.
55261         * elf/Makefile (dl-routines): Add hwcaps.
55262         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55263         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55264         (_dl_important_hwcaps): Moved to ...
55265         * elf/dl-hwcaps.c: Here.  New file.
55266         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55268         [BZ #14557]
55269         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55270         if IS_IN_rtld isn't defined.
55272         * elf/dl-support.c (_dl_sysinfo_map): New.
55273         Include "get-dynamic-info.h" and "setup-vdso.h".
55274         (_dl_non_dynamic_init): Call setup_vdso.
55275         * elf/dynamic-link.h: Don't include <assert.h>.
55276         (elf_get_dynamic_info): Moved to ...
55277         * elf/get-dynamic-info.h: Here.  New file.
55278         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55279         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55280         * elf/setup-vdso.h: Here.  New file.
55281         * elf/rtld.c: Include "setup-vdso.h".
55282         (dl_main): Call setup_vdso.
55284 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55286         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55287         creal in comment listing functions tested.  List finite, isinf,
55288         isnan, isless, islessequal, isgreater, isgreaterequal,
55289         islessgreater, isunordered, lgamma_r and pow10 as functions and
55290         macros not tested.  Mention which functions not tested are aliases
55291         for other functions.  Fix typo.  Note that signs of NaNs are not
55292         tested.
55294         * scripts/config.guess: Update from config.git.
55295         * scripts/config.sub: Likewise.
55297 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55299         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55300         * misc/madvise.c (madvise): Renamed to __madvise.
55301         Make madvise a weak alias.
55302         * include/sys/mman.h: Declare __madvise.
55303         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55304         * sysdeps/unix/syscalls.list
55305         (madvise): Make __madvise the strong name, and madvise a weak alias.
55306         * sysdeps/unix/sysv/linux/syscalls.list
55307         (madvise, mmap): Remove redundant entries.
55308         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55309         * malloc/malloc.c (mtrim): Likewise.
55310         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55312 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55314         * sysdeps/mach/hurd/dl-cache.c: File removed.
55315         * config.h.in (USE_LDCONFIG): New #undef.
55316         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55317         * configure: Regenerated.
55318         * elf/Makefile (dl-routines): Add dl-cache only under
55319         [$(use-ldconfig) = yes].
55320         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55321         cache on [USE_LDCONFIG].
55322         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55323         [USE_LDCONFIG].
55324         * elf/rtld.c (dl_main): Likewise.
55326 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55328         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55329         _SC_LEVEL4_CACHE_LINESIZE.
55331 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55333         * sysdeps/unix/bsd/confstr.h: File removed.
55335 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55337         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55338         sys/sdt-config.h.
55340 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55342         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55343         Make 'mapoff' field ElfW(Off) rather than off_t.
55345 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55347         * nscd/Makefile: Remove nscd-cflags and all its users.
55348         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55349         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55351         [BZ #10631]
55352         * malloc.c (malloc_printerr): Clarify error message.
55354 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55356         [BZ #14648]
55357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55358         Set bit_FMA_Usable if FMA is supported.
55359         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55360         macro.
55361         (bit_FMA4_Usable): Updated.
55362         (index_FMA_Usable): New macro.
55363         (CPUID_FMA): Likewise.
55364         (HAS_FMA): Defined with bit_FMA_Usable.
55366 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55368         * bits/types.h (__swblk_t): Type removed.
55369         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55370         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55371         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55372         (__SWBLK_T_TYPE): Likewise.
55373         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55374         (__SWBLK_T_TYPE): Likewise.
55375         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55376         (__SWBLK_T_TYPE): Likewise.
55377         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55378         (__SWBLK_T_TYPE): Likewise.
55380 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55381             Honza Horak <hhorak@redhat.com>
55383         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55384         (xdr_mapname): Use YPMAXMAP as maxsize.
55385         (xdr_peername): Use YPMAXPEER as maxsize.
55386         (xdr_keydat): Use YPAXRECORD as maxsize.
55387         (xdr_valdat): Use YPMAXRECORD as maxsize.
55389 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55391         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55393         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55394         * csu/init-first.c: ... here.
55395         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55396         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55397         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55398         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55399         * sysdeps/i386/init-first.c: File removed.
55400         * sysdeps/sh/init-first.c: File removed.
55402 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55404         [BZ #14645]
55405         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55406         if x * y might underflow to zero and z is zero.
55407         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55408         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55409         * math/libm-test.inc (min_subnorm_value): New variable.
55410         (fma_test): Add more tests.
55411         (fma_test_towardzero): Likewise.
55412         (fma_test_downward): Likewise.
55413         (fma_test_upward): Likewise.
55414         (initialize): Set min_subnorm_value.
55416 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55418         [BZ #14638]
55419         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55420         0 + 0.
55421         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55422         mode for addition resulting in exact zero.
55423         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55425         exact 0 + 0.
55426         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55427         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55428         * math/libm-test.inc (fma_test): Add more tests.
55429         (fma_test_towardzero): New function.
55430         (fma_test_downward): Likewise.
55431         (fma_test_upward): Likewise.
55432         (main): Call the new functions.
55434 2012-09-28  David S. Miller  <davem@davemloft.net>
55436         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55438 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55440         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55441         instead of SIGALRM.
55443         * sysdeps/gnu/_G_config.h: Moved to ...
55444         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55445         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55446         * sysdeps/generic/_G_config.h: ... here.
55448         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55450         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55452         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55453         Conditionalize target on [libnss_test1.so-version].
55455         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55457         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55458         (elfobjdir): Move out of conditionals.
55460         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55461         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55462         (__nss_lookup_function): Conditionalize label remove_from_tree on
55463         [!DO_STATIC_NSS || SHARED], matching its only use.
55465 2012-09-28  David S. Miller  <davem@davemloft.net>
55467         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55468         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55469         file.
55470         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55471         sysdep_routines.
55472         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55473         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55474         when HWCAP_SPARC_CRYPTO is present.
55476 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55478         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55480 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55482         [BZ #6530]
55483         * stdio-common/vfprintf.c (process_string_arg): Revert
55484         2000-07-22 change.
55486 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55488         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55489         for testcase.
55490         * stdio-common/tst-sprintf.c: Include <locale.h>
55491         (main): Test sprintf's handling of incomplete multibyte
55492         characters.
55494 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55496         * elf/dl-runtime.c (VERSYMIDX): Removed.
55497         * elf/dl-version.c (VERSYMIDX): Likewise.
55498         * elf/do-rel.h (VERSYMIDX): Likewise.
55499         (VALIDX): Likewise.
55500         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55501         * elf/rtld.c (VALIDX): Likewise.
55502         (ADDRIDX): Likewise.
55503         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55504         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55505         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55506         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55507         (VALIDX): Likewise.
55508         (ADDRIDX): Likewise.
55510 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55512         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55514 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55516         [BZ #11438]
55517         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55518         to global scope.
55519         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55520         addresses are in the same scope as 192.0.2/24.
55521         * posix/gai.conf: Document new scope table defaults.
55523 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55525         [BZ #5298]
55526         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
55527         for ftell.  Compute offsets from write pointers instead.
55528         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55530 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55532         [BZ #14543]
55533         * libio/Makefile (tests): New test case tst-fseek.
55534         * libio/tst-fseek.c: New test case to verify that fseek/ftell
55535         combination works in wide mode.
55536         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
55537         state when the external buffer state changes.
55539 2012-09-27  David S. Miller  <davem@davemloft.net>
55541         [BZ #14376]
55542         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55543         pass reloc->r_addend in as the 'high' argument to
55544         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55548 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55550         * rt/tst-aio2.c: Include <pthread.h>.
55551         * rt/tst-aio3.c: Likewise.
55553 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55555         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55557 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55559         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55560         contents on [SHARED].
55562 2012-09-26  Marek Polacek  <polacek@redhat.com>
55564         [BZ #14530]
55565         [BZ #13741]
55566         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
55567         for C++ and GCC <4.3 as well as for non GCC compilers.
55569 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55573 2012-09-25  Roland McGrath  <roland@hack.frob.com>
55575         * Makefile.in (all, install): Declare with .PHONY.
55576         Reported by Michael Hope <michael.hope@linaro.org>.
55578 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55580         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
55581         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
55582         system header.
55583         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
55584         Likewise.
55585         (sydep_routines): Add the new and the internal functions.
55586         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
55587         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
55588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
55589         (GLIBC_2.17): Add the new function.
55590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55591         (GLIBC_2.17): Likewise.
55592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
55593         (GLIBC_2.17): Likewise.
55594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
55595         (GLIBC_2.17): Likewise.
55596         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
55598 2012-09-25  Alan Modra  <amodra@gmail.com>
55600         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
55601         Add release barrier before setting once_control to say
55602         initialisation is done.  Add hints on lwarx.  Use macro in
55603         place of isync.
55604         (clear_once_control): Add release barrier.
55606 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55608         [BZ #13629]
55609         * math/s_clog.c (__clog): Handle more values close to |z| = 1
55610         specially.
55611         * math/s_clog10.c (__clog10): Likewise.
55612         * math/s_clog10f.c (__clog10f): Likewise.
55613         * math/s_clog10l.c (__clog10l): Likewise.
55614         * math/s_clogf.c (__clogf): Likewise.
55615         * math/s_clogl.c (__clogl): Likewise.
55616         * math/Makefile (libm-calls): Add x2y2m1.
55617         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
55618         (__x2y2m1): Likewise.
55619         (__x2y2m1l): Likewise.
55620         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
55621         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
55622         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
55623         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55624         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
55625         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
55626         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
55627         * sysdeps/i386/fpu/libm-test-ulps: Update.
55628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55630         [BZ #14621]
55631         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
55632         int as type of variable DEPTH.
55633         (glob): Use size_t instead of int as type of variables NEWCOUNT
55634         and OLD_PATHC.
55636 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55638         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55639         Add s_sincosf-sse2.
55640         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
55641         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
55642         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
55643         macros for using routine as __sincosf_ia32.
55644         Use macro for function declaration and weak_alias.
55645         * sysdeps/i386/fpu/libm-test-ulps: Update.
55647         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
55648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55650         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
55651         subnormal argument.
55652         * math/s_cexpf.c (__cexpf): Likewise.
55653         * math/s_csinf.c (__csinf): Likewise.
55654         * math/s_csinhf.c (__csinhf): Likewise.
55655         * math/s_ctanf.c (__ctanf): Likewise.
55656         * math/s_ctanhf.c (__ctanhf): Likewise.
55657         * math/s_ccosh.c (__ccoshf): Likewise.
55658         * math/s_cexp.c (__cexpl): Likewise.
55659         * math/s_csin.c (__csin): Likewise.
55660         * math/s_csinh.c (__csinh): Likewise.
55661         * math/s_ctan.c (__ctan): Likewise.
55662         * math/s_ctanh.c (ctanh): Likewise.
55663         * math/s_ccoshl.c (__ccoshl): Likewise.
55664         * math/s_cexpl.c (__cexpl): Likewise.
55665         * math/s_csinl.c (__csinl): Likewise.
55666         * math/s_csinhl.c (__csinhl): Likewise.
55667         * math/s_ctanl.c (__ctanl): Likewise.
55668         * math/s_ctanhl.c (__ctanhl): Likewise.
55670 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55672         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
55673         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
55674         (_IO_off_t): Define to __off_t, not _G_off_t.
55675         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
55676         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
55677         (_IO_wint_t): Define to wint_t, not _G_wint_t.
55678         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
55679         type of __dummy and __dummy2 fields.
55680         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
55681         (_G_ssize_t): Likewise.
55682         (_G_off_t): Likewise.
55683         (_G_pid_t): Likewise.
55684         (_G_uid_t): Likewise.
55685         (_G_wchar_t): Likewise.
55686         (_G_wint_t): Likewise.
55687         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
55688         (_G_ssize_t): Likewise.
55689         (_G_off_t): Likewise.
55690         (_G_pid_t): Likewise.
55691         (_G_uid_t): Likewise.
55692         (_G_wchar_t): Likewise.
55693         (_G_wint_t): Likewise.
55694         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
55695         (_G_ssize_t): Likewise.
55696         (_G_off_t): Likewise.
55697         (_G_pid_t): Likewise.
55698         (_G_uid_t): Likewise.
55699         (_G_wchar_t): Likewise.
55700         (_G_wint_t): Likewise.
55702 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55704         * malloc/arena.c: Include malloc-sysdep.h.
55705         (shrink_heap): Use check_may_shrink_heap to decide if madvise
55706         is sufficient to shrink the heap or an unmap is needed.
55707         * sysdeps/generic/malloc-sysdep.h: New file.  Define
55708         new function check_may_shrink_heap.
55709         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
55710         new function check_may_shrink_heap.
55712 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55714         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
55715         comments.
55717 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
55719         * catgets/test-gencat.sh: Add "set -e".
55720         * elf/tst-pathopt.sh: Likewise.
55721         * grp/tst_fgetgrent.sh: Likewise.
55722         * iconvdata/run-iconv-test.sh: Likewise.
55723         * intl/tst-gettext.sh: Likewise.
55724         * intl/tst-gettext2.sh: Likewise.
55725         * intl/tst-gettext4.sh: Likewise.
55726         * intl/tst-gettext6.sh: Likewise.
55727         * intl/tst-translit.sh: Likewise.
55728         * io/ftwtest-sh: Likewise.
55729         * libio/test-freopen.sh: Likewise.
55730         * malloc/tst-mtrace.sh: Likewise.
55731         * posix/globtest.sh: Likewise.
55732         * posix/tst-getconf.sh: Likewise.
55733         * posix/wordexp-tst.sh: Likewise.
55734         * stdio-common/tst-printf.sh: Likewise.
55735         * stdio-common/tst-unbputc.sh: Likewise.
55736         * stdlib/tst-fmtmsg.sh: Likewise.
55737         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55738         * catgets/Makefile: Do not specify -e option when running
55739         testsuite shell scripts.
55740         * elf/Makefile: Likewise.
55741         * grp/Makefile: Likewise.
55742         * iconvdata/Makefile: Likewise.
55743         * intl/Makefile: Likewise.
55744         * io/Makefile: Likewise.
55745         * libio/Makefile: Likewise.
55746         * malloc/Makefile: Likewise.
55747         * posix/Makefile: Likewise.
55748         * stdio-common/Makefile: Likewise.
55749         * stdlib/Makefile: Likewise.
55750         * sysdeps/x86_64/Makefile: Likewise.
55752         * io/ftwtest-sh: Add copyright header.
55753         * posix/globtest.sh: Likewise.
55754         * posix/tst-getconf.sh: Likewise.
55755         * posix/wordexp-tst.sh: Likewise.
55756         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55758 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
55760         [BZ #13679]
55761         * Makeconfig (+link): Defined as $(+link-static) if
55762         $(build-shared) isn't yes.
55763         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
55764         isn't yes.
55765         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
55767         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
55769         [BZ #14562]
55770         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
55771         new chunk size with MALLOC_ALIGN_MASK.
55773 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
55775         [BZ #5044]
55776         * stdio-common/printf_fphex.c: Include <stdbool.h> and
55777         <rounding-mode.h>.
55778         (__printf_fphex): Determine rounding using get_rounding_mode and
55779         round_away.
55780         * stdio-common/tst-printf-round.c (struct hex_test): New
55781         structure.
55782         (hex_tests): New variable.
55783         (test_hex_in_one_mode): New function.
55784         (do_test): Also run tests for hex float output.
55786 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
55788         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55789         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55790         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
55791         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55792         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55793         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
55794         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55795         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55797 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
55799         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
55800         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
55801         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
55802         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
55804 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
55806         [BZ #14579]
55807         * elf/rtld.c (dl_main): Limit the check for self loading to normal
55808         mode only.
55809         * elf/tst-rtld-load-self.sh: New test.
55810         * elf/Makefile: Run it.
55812 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
55814         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
55815         (tst-writev-ENV): Remove.
55816         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
55818 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
55820         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
55822 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
55824         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
55825         unconditional.
55826         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
55827         Likewise.
55828         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
55829         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
55830         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
55831         Likewise.
55833 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
55835         [BZ #14587]
55836         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
55837         * config.make.in (have-cpp-asm-debuginfo): Removed.
55838         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
55839         * configure: Regenerated.
55841 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
55843         [BZ #5044]
55844         * stdio-common/printf_fp.c: Include <stdbool.h> and
55845         <rounding-mode.h>.
55846         (___printf_fp): Determine rounding using get_rounding_mode and
55847         round_away.
55848         * stdio-common/tst-printf-round.c: New file.
55849         * stdio-common/Makefile (tests): Add tst-printf-round.
55850         (link-libm): New variable.
55851         ($(objpfx)tst-printf-round): Depend in $(link-libm).
55853 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
55855         [BZ #14576]
55856         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
55857         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
55858         Likewise.
55859         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
55860         Likewise.
55862 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
55864         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
55865         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55866         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55867         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55869 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
55871         [BZ #14518]
55872         * include/rounding-mode.h: New file.
55873         * sysdeps/generic/get-rounding-mode.h: Likewise.
55874         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
55875         * stdlib/strtod_l.c: Include <rounding-mode.h>.
55876         (MAX_VALUE): New macro.
55877         (MIN_VALUE): Likewise.
55878         (overflow_value): New function.
55879         (underflow_value): Likewise.
55880         (round_and_return): Use overflow_value and underflow_value to
55881         determine return values in overflow and underflow cases.  Use
55882         round_away to determine rounding depending on rounding mode.
55883         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
55884         determine return values in overflow and underflow cases.
55885         * stdlib/tst-strtod-round.c: Include <fenv.h>.
55886         (struct test_results): New structure.
55887         (struct test): Use struct test_results to store expected results
55888         for all rounding modes.
55889         (TEST): Include expected results for all rounding modes.
55890         (test_in_one_mode): New function.
55891         (do_test): Use test_in_one_mode to compute and check results.
55892         Check results for all rounding modes.
55893         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
55894         $(link-libm).
55896 2012-12-09  Allan McRae  <allan@archlinux.org>
55898         * sysdeps/i386/fpu/libm-test-ulps: Update
55900 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
55902         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
55903         (_G_int32_t): Likewise.
55904         (_G_uint16_t): Likewise.
55905         (_G_uint32_t): Likewise.
55906         (_G_HAVE_BOOL): Likewise.
55907         (_G_HAVE_ATEXIT): Likewise.
55908         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55909         (_G_HAVE_IO_FILE_OPEN): Likewise.
55910         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
55911         (_G_int32_t): Likewise.
55912         (_G_uint16_t): Likewise.
55913         (_G_uint32_t): Likewise.
55914         (_G_HAVE_BOOL): Likewise.
55915         (_G_HAVE_ATEXIT): Likewise.
55916         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55917         (_G_HAVE_IO_FILE_OPEN): Likewise.
55918         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
55919         (_G_int32_t): Likewise.
55920         (_G_uint16_t): Likewise.
55921         (_G_uint32_t): Likewise.
55922         (_G_HAVE_BOOL): Likewise.
55923         (_G_HAVE_ATEXIT): Likewise.
55924         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55925         (_G_HAVE_IO_FILE_OPEN): Likewise.
55927 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
55929         * csu/libc-tls.c: Update copyright years.
55931 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
55933         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
55934         [!_G_USING_THUNKS]: Remove conditional code.
55935         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
55936         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
55938         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
55939         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
55940         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55941         (_G_VTABLE_LABEL_PREFIX): Likewise.
55942         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55943         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55944         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55945         (_G_VTABLE_LABEL_PREFIX): Likewise.
55946         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55947         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55948         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55949         (_G_VTABLE_LABEL_PREFIX): Likewise.
55950         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55952 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
55954         * libio/Makefile: Include ../Makeconfig before tests.
55955         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
55956         only if $(build-shared) is yes.
55958         * iconv/gconv_db.c: Update copyright years.
55960 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55962         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
55963         unwind info if defined PIC. Fix special cases description.
55964         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
55966         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
55967         DP_HI_MASK entry.
55968         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
55970 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
55972         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
55974         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
55975         is NULL.
55977         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
55978         (LDLIBS-tst-chk4): This.
55979         (LDFLAGS-tst-chk5): Renamed to ...
55980         (LDLIBS-tst-chk5): This.
55981         (LDFLAGS-tst-chk6): Renamed to ...
55982         (LDLIBS-tst-chk6): This.
55983         (LDFLAGS-tst-lfschk4): Renamed to ...
55984         (LDLIBS-tst-lfschk4): This.
55985         (LDFLAGS-tst-lfschk5): Renamed to ...
55986         (LDLIBS-tst-lfschk5): This.
55987         (LDFLAGS-tst-lfschk6): Renamed to ...
55988         (LDLIBS-tst-lfschk6): This.
55990         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
55991         on $(common-objpfx)soversions.mk.
55993 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
55995         [BZ #10014]
55996         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
55997         example host name.
55999 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56001         * malloc/arena.c (arena_get_retry): New function that gets
56002         another arena for the caller to try its request on.
56003         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
56004         current arena cannot fulfill the request.
56005         (__libc_memalign): Likewise.
56006         (__libc_memalign): Likewise.
56007         (__libc_pvalloc): Likewise.
56008         (__libc_calloc): Likewise.
56010 2012-09-05  John Tobey  <john.tobey@gmail.com>
56012         [BZ #13542]
56013         * manual/arith.texi (Operations on Complex): Fix description
56014         of carg branch cut.
56016 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56018         [BZ #10014]
56019         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
56020         host name.
56022         [BZ #10038]
56023         * manual/memory.texi (Memory): Make order of menu items match
56024         order of sections.
56026 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56028         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
56029         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
56030         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
56032 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56034         * csu/libc-tls.c (static_dtv): Renamed to ...
56035         (_dl_static_dtv): This.  Make it global.
56036         (_dl_initial_dtv): Removed.
56037         (__libc_setup_tls): Updated.
56038         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
56039         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
56040         DL_INITIAL_DTV.
56042 2012-09-06  Petr Machata  <pmachata@redhat.com>
56044         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
56045         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
56046         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
56047         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
56049 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56051         [BZ #14545]
56052         * csu/libc-tls.c (_dl_initial_dtv): New variable.
56053         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
56054         freeing dtv[-1].
56056 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56058         [BZ #14544]
56059         * Makeconfig (link-static-before-libc): Replace $(+prector)
56060         with $(+prectorT).
56061         (link-static-after-libc): Replace $(+postctor) with
56062         $(+postctorT).
56063         (link-bounded): Replace $(+prector)/$(+postctor) with
56064         $(+prectorT)/$(+postctorT).
56065         (+prectorT): New macro.
56066         (+postctorT): Likewise.
56068 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56070         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
56071         (round_str): Handle values above the maximum for IBM long double
56072         as inexact.
56073         * stdlib/tst-strtod-round.c (tests): Regenerated.
56075 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56077         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
56078         assembler flag.
56079         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
56080         zarch_nohighgprs around the zarch optimized routines.
56081         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
56082         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
56083         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
56084         for zarch.
56086 2012-09-05  David S. Miller  <davem@davemloft.net>
56088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56090         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
56091         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
56092         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
56093         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56094         entries.
56096 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56098         * malloc/arena.c: Fold copyright years.
56099         * malloc/mcheck.c, malloc/memusage.c: Likewise.
56101 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56103         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56105 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56107         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
56109 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56111         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
56112         change internal state upon failure.
56114 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56116         * malloc/mcheck.c (mcheck_check_all): Fix typo.
56117         * malloc/memusage.c (mmap): Likewise.
56118         (mmap64, mremap): Likewise.  Adjust name in comment.
56120 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56122         * libio/fileops.c: Fix typos in comments.
56123         * libio/oldfileops.c: Likewise.
56124         * libio/wfileops.c: Likewise.
56126 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56128         [BZ #1349]
56129         * malloc/Makefile (tests): Add tst-malloc-usable test case.
56130         (tst-malloc-usable-ENV): Set environment for test case.
56131         * malloc/hooks.c (malloc_check_get_size): New function to get
56132         requested size.
56133         * malloc/malloc.c (musable): Use malloc_check_get_size.
56134         * malloc/tst-malloc-usable.c: New test case.
56136 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56138         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
56140 2012-09-05  Allan McRae  <allan@archlinux.org>
56142         [BZ #13966]
56143         * configure.in (CXX_SYSINCLUDES): Use compiler output to
56144         determine header location.
56145         * configure: Regenerated.
56147 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56149         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
56150         float format.
56151         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
56152         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
56153         format.
56154         (test): Regenerate.
56156 2012-09-04  David S. Miller  <davem@davemloft.net>
56158         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56159         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56160         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56162 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56164         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56165         failures.
56167         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56169 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56171         [BZ #9914]
56172         * libio/iogetdelim.c: Include <limits.h>.
56173         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56174         + len + 1 would overflow.
56176 2012-09-03  Andreas Jaeger  <aj@suse.de>
56178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56179         * sysdeps/i386/fpu/libm-test-ulps: Update.
56181 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56183         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56184         Add s_sinf-sse2, s_conf-sse2.
56186         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56187         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56188         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56189         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56191         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56192         for using routine as __sinf_ia32.
56193         Use macro for function declaration and weak_alias.
56194         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56195         for using routine as __cosf_ia32.
56196         Use macro for function declaration and weak_alias.
56198         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56199         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56201         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56202         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56203         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56205         * math/libm-test.inc (cos_test): Add more test cases.
56206         (sin_test): Likewise.
56207         (sincos_test): Likewise.
56209 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56211         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56212         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56213         hidden.
56214         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56216 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56218         [BZ #14538]
56219         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56220         first element of the GOT.
56221         (elf_machine_load_address): Return the difference between
56222         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56224 2012-09-01  Allan McRae  <allan@archlinux.org>
56226         [BZ #13412]
56227         * configure.in (AWK): Require gawk version 3.0 or later.
56228         * configure: Regenerated.
56230 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56232         * sysdeps/unix/sysv/linux/kernel-features.h
56233         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56234         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56235         [__NR_clock_getres]: Make code unconditional.
56236         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56237         (clock_getcpuclockid): Remove code left unreachable by removal of
56238         conditionals.
56239         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56240         code unconditional.
56241         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56242         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56243         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56244         Make code unconditional.
56245         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56246         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56247         * sysdeps/unix/sysv/linux/clock_settime.c
56248         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56249         conditional code.
56250         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56251         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56253 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56255         [BZ #14476]
56256         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56257         scripts/test-installation.pl.
56259         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56260         and $ld_so_version if it is set.
56262 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56264         [BZ #14516]
56265         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56266         failure if reading from procfs failed.
56267         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56269 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56271         * sysdeps/unix/sysv/linux/kernel-features.h
56272         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56273         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56274         Remove conditional code.
56275         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56276         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56277         Remove conditional code.
56278         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56279         * sysdeps/unix/sysv/linux/i386/fxstat.c
56280         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56281         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56282         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56283         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56284         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56285         * sysdeps/unix/sysv/linux/i386/lxstat.c
56286         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56287         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56288         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56289         Remove conditional code.
56290         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56291         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56292         Remove conditional code.
56293         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56294         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56295         <kernel-features.h>.
56296         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56297         Remove.
56298         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56299         Remove conditional code.
56300         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56301         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56302         Remove conditional.
56304 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56306         [BZ #5400]
56307         * NEWS: Add fixed bug number.
56309 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56311         [BZ #14519]
56312         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56313         underflowing exponent in case of negative sign.
56314         * stdlib/tst-strtod-round-data: Add more tests.
56315         * stdlib/tst-strtod-round.c (tests): Regenerated.
56317         [BZ #3479]
56318         * stdlib/strtod_l.c (NDIG): Remove.
56319         (HEXNDIG): Likewise.
56320         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56321         smallest representable value.
56322         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56323         lie within an exact representation of 1/2 ulp of the result.
56324         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56325         unconditionally.
56326         (TENS_P9_IDX): Define unconditionally.
56327         (TENS_P9_SIZE): Likewise.
56328         (TENS_P10_IDX): Likewise.
56329         (TENS_P10_SIZE): Likewise.
56330         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56331         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56332         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56333         entries for 10^2^13 and 10^2^14.
56334         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56335         (TENS_P13_IDX): Define.
56336         (TENS_P13_SIZE): Likewise.
56337         (TENS_P14_IDX): Likewise.
56338         (TENS_P14_SIZE): Likewise.
56339         (_fpioconst_pow10): Change array size to
56340         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56341         unconditional.
56342         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56343         1024]: Add entries for 10^2^13 and 10^2^14.
56344         [LAST_POW10 > _LAST_POW10]: Remove #error.
56345         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56346         (_fpioconst_pow10): Change array size to
56347         FPIOCONST_POW10_ARRAY_SIZE.
56348         * stdlib/gen-fpioconst.c: New file.
56349         * stdlib/gen-tst-strtod-round.c: Likewise.
56350         * stdlib/tst-strtod-round-data: Likewise.
56351         * stdlib/tst-strtod-round.c: Likewise.
56352         * stdlib/Makefile (tests): Add tst-strtod-round.
56354         [BZ #14459]
56355         * stdlib/strtod_l.c: Include <stdint.h>.
56356         (NDEBUG): Do not define.
56357         (round_and_return): Change EXPONENT parameter to type intmax_t.
56358         Rearrange calculations to avoid internal overflow possibilities.
56359         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56360         Rearrange calculations to avoid internal overflow possibilities.
56361         Assert that number fits inside MPNSIZE limbs.
56362         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56363         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56364         calculations and add assertions to avoid internal overflow
56365         possibilities.  Add casts to avoid signed/unsigned operations.
56366         * stdlib/tst-strtod-overflow.c: New file.
56367         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56369 2012-08-25  Marek Polacek  <polacek@redhat.com>
56371         * time/time.h: Fix some typos in comments.
56373 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56375         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56376         * posix/tst-rfc3484-2.c: Likewise.
56377         * posix/tst-rfc3484-3.c: Likewise.
56379 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56381         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56382         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56384 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56386         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56387         #include of fxstatat64.c.
56389 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56391         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56392         * shadow/getspent_r.c: Likewise.
56393         * shadow/getspnam.c: Likewise.
56394         * shadow/getspnam_r.c: Likewise.
56395         * gshadow/getsgent.c: Likewise.
56396         * gshadow/getsgent_r.c: Likewise.
56397         * gshadow/getsgnam.c: Likewise.
56398         * gshadow/getsgnam_r.c: Likewise.
56399         * inet/getnetbyad.c: Likewise.
56400         * inet/getnetbyad_r.c: Likewise.
56401         * inet/getnetbynm.c: Likewise.
56402         * inet/getnetbynm_r.c: Likewise.
56403         * inet/getnetent.c: Likewise.
56404         * inet/getnetent_r.c: Likewise.
56405         * inet/getproto.c: Likewise.
56406         * inet/getproto_r.c: Likewise.
56407         * inet/getprtent.c: Likewise.
56408         * inet/getprtent_r.c: Likewise.
56409         * inet/getprtname.c: Likewise.
56410         * inet/getprtname_r.c: Likewise.
56411         * inet/getrpcbyname.c: Likewise.
56412         * inet/getrpcbyname_r.c: Likewise.
56413         * inet/getrpcbynumber.c: Likewise.
56414         * inet/getrpcbynumber_r.c: Likewise.
56415         * inet/getrpcent.c: Likewise.
56416         * inet/getrpcent_r.c: Likewise.
56417         * inet/getaliasent.c: Likewise.
56418         * inet/getaliasent_r.c: Likewise.
56419         * inet/getaliasname.c: Likewise.
56420         * inet/getaliasname_r.c: Likewise.
56421         * nscd/getgrgid_r.c: Likewise.
56422         * nscd/getgrnam_r.c: Likewise.
56423         * nscd/gethstbyad_r.c: Likewise.
56424         * nscd/gethstbynm3_r.c: Likewise.
56425         * nscd/getpwnam_r.c: Likewise.
56426         * nscd/getpwuid_r.c: Likewise.
56427         * nscd/getsrvbynm_r.c: Likewise.
56428         * nscd/getsrvbypt_r.c: Likewise.
56429         * nscd/gai.c: Likewise.
56431         * configure.in (build_nscd): New substituted variable, set
56432         by --disable-build-nscd and defaults to $use_nscd.
56433         * configure: Regenerated.
56434         * config.make.in (build-nscd): New substituted variable.
56435         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56436         Change conditional to require [$(build-nscd) = yes] as well.
56437         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56439         [BZ# 13696]
56440         * configure.in (use_nscd): New substituted variable, set by
56441         --disable-nscd.  If enabled, define USE_NSCD.
56442         * configure: Regenerated.
56443         * config.h.in: Add USE_NSCD.
56444         * config.make.in (use-nscd): New substituted variable.
56445         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56446         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56447         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56448         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56449         (CFLAGS-getgrnam_r.c): Likewise.
56450         (CFLAGS-initgroups.c): Likewise.
56451         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56452         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56453         Variables removed.
56454         * inet/getnetgrent_r.c
56455         (nscd_setnetgrent): New function, broken out of ...
56456         (setnetgrent): ... here.  Call it.
56457         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56458         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56459         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56460         * nscd/Makefile (routines, aux): Move definitions after include of
56461         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56462         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56463         Conditionalize on [USE_NSCD].
56464         (is_nscd, nscd_init_cb): Likewise.
56465         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56466         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56467         * nss/nss_db/db-init.c: Likewise.
56468         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56469         [USE_NSCD].
56470         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56471         (make_request): Use it.
56472         (cache_valid_p): New function.
56473         (__check_pf): Use it.
56474         * NEWS: Add item for --disable-nscd.
56476 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56478         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56479         to support sed >= 4.2.1-20-ga9bf076.
56480         * configure: Regenerated.
56482 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56484         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56485         Conditionalize whole body on [IREL].
56487 2012-08-22  Jeff Law <law@redhat.com>
56489         [BZ #14505]
56490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56491         if the family is PF_UNSPEC.
56493 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56495         * Makerules (lib-version): Rename from V.
56496         (install-lib-nosubdir): Change V to lib-version.
56498 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56500         [BZ #14252]
56501         * powerpc32/power6/wcschr.c: New file.
56502         * powerpc32/power6/wcscpy.c: New file.
56503         * powerpc32/power6/wcsrchr.c: New file.
56504         * powerpc64/power6/wcschr.c: New file.
56505         * powerpc64/power6/wcscpy.c: New file.
56506         * powerpc64/power6/wcsrchr.c: New file.
56508 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56510         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56511         (two_way_short_needle): Use it.
56512         * string/strstr.c (AVAILABLE1_USES_J): Define.
56513         * string/strcasestr.c: Likewise.
56515         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56516         array references.
56517         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56519         [BZ #11607]
56520         * NEWS: Add an entry.
56521         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56522         define their defaults.
56523         (two_way_short_needle): Detect end-of-string on-the-fly.
56524         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56525         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56526         * string/bug-strcasestr1.c: New test.
56527         * string/Makefile: Run it.
56529 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56531         [BZ #11607]
56532         * string/str-two-way.h (two_way_short_needle): Optimize matching of
56533         the first character.
56535 2012-08-21  Roland McGrath  <roland@hack.frob.com>
56537         * csu/elf-init.c (__libc_csu_irel): Function removed.
56538         * csu/libc-start.c (apply_irel): New function.
56539         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
56541 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56543         * sysdeps/unix/sysv/linux/kernel-features.h
56544         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56545         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56546         <kernel-features.h>.
56547         [__NR_fadvise64_64]: Make code unconditional.
56548         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56549         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56550         !__NR_fadvise64_64)]: Likewise.
56551         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56552         !__NR_fadvise64_64))]: Likewise.
56553         [__NR_fadvise64]: Make code unconditional.
56554         [!__NR_fadvise64]: Remove conditional code.
56555         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56556         <kernel-features.h>.
56557         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56558         unconditional.
56559         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56560         conditional code.
56561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56562         not include <kernel-features.h>.
56563         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56564         unconditional.
56565         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56566         conditional code.
56567         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
56568         include <kernel-features.h>.
56569         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56570         unconditional.
56571         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56572         conditional code.
56574 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56576         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
56577         slight instruction rearrangements per scrollpipe analysis.
56578         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56580 2012-08-20  Roland McGrath  <roland@hack.frob.com>
56582         * manual/syslog.texi (syslog; vsyslog, closelog):
56583         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
56584         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
56586         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
56587         DSOCAPS to match condition on defining it.
56589 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
56591         * sysdeps/unix/sysv/linux/kernel-features.h
56592         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
56593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
56594         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56595         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
56597         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56598         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
56600         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56601         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56603         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
56604         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
56606         * sysdeps/unix/sysv/linux/kernel-features.h
56607         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
56608         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
56609         unconditional.
56610         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56611         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
56612         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56613         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56614         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
56615         Make code unconditional.
56616         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56617         (__mmap64) [!__NR_mmap2]: Likewise.
56618         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
56619         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56620         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56621         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
56622         [__NR_mmap2]: Make code unconditional.
56623         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56624         (__mmap64) [!__NR_mmap2]: Likewise.
56626 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56628         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
56630 2012-08-18  Andreas Jaeger  <aj@suse.de>
56632         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
56634 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56636         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
56637         * include/unistd.h (__have_sock_cloexec): Likewise.
56638         (__have_pipe2): Likewise.
56639         (__have_dup3): Likewise.
56641 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56643         [BZ #9685]
56644         * include/unistd.h (__have_pipe2): Change define into an extern int.
56645         (__have_dup3): Likewise.
56646         * socket/have_sock_cloexec.c: Include fcntl.h.
56647         (__have_pipe2): New variable.
56648         (__have_dup3): Likewise.
56650 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
56652         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
56654 2012-08-17  Marek Polacek  <polacek@redhat.com>
56656         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
56657         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
56659 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56661         * configure.in: Add AC_SUBST for sysheaders.
56662         * configure: Regenerated.
56663         * config.make.in (sysheaders): New substituted variable.
56665         * sysdeps/unix/mkfifo.c: Moved ...
56666         * sysdeps/posix/mkfifo.c: ... here.
56667         * sysdeps/unix/mkfifoat.c: Moved ...
56668         * sysdeps/posix/mkfifoat.c: ... here.
56670         * sysdeps/unix/utime.c: Moved ...
56671         * sysdeps/posix/utime.c: ... here.
56673         * sysdeps/unix/time.c: Moved ...
56674         * sysdeps/posix/time.c: ... here.
56675         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
56676         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
56678         * sysdeps/unix/nice.c: Moved ...
56679         * sysdeps/posix/nice.c: ... here.
56681         * sysdeps/unix/alarm.c: Moved ...
56682         * sysdeps/posix/alarm.c: ... here.
56684         * intl/Makefile ($(codeset_mo)): Depend on the input file.
56686 2012-08-17  Jeff Law <law@redhat.com>
56688         * intl/Makefile (codeset_mo): New variable.
56689         ($(codeset_mo)): New target.
56690         (tst-codeset.out): Depend on that.  Remove explicit rule.
56691         (tst-gettext3.out, tst-gettext5.out): Likewise.
56692         (LOCPATH-ENV, tst-codeset-ENV): New variables.
56693         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
56694         * intl/tst-codeset.sh: Remove.
56695         * intl/tst-gettext3.sh: Likewise.
56696         * intl/tst-gettext5.sh: Likewise.
56698 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56700         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
56701         * sysdeps/unix/syscalls.list: ... here.
56703         * sysdeps/posix/getaddrinfo.c
56704         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
56705         (gaiconf_init, gaiconf_reload): Use them.
56706         [!_STATBUF_ST_NSEC]
56707         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
56708         Define using time_t rather than struct timespec.
56710         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
56711         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
56712         Macros removed.
56713         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
56714         [!NO_THREADS].
56715         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
56716         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
56717         Likewise.
56719         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
56720         __libc_cleanup_push argument.
56722         * bits/param.h: New file.
56723         * misc/sys/param.h: New file.
56724         * include/sys/param.h: New file.
56725         * misc/Makefile (headers): Add bits/param.h.
56726         * sysdeps/generic/sys/param.h: File removed.
56727         * sysdeps/unix/sysv/linux/bits/param.h: New file.
56728         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
56729         * sysdeps/mach/hurd/bits/param.h: New file.
56730         * sysdeps/mach/hurd/sys/param.h: File removed.
56732         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
56733         last change.
56735         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
56736         [_IO_MTSAFE_IO].
56737         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
56738         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
56739         New macros.
56741         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
56742         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
56743         rather than -D_IO_MTSAFE_IO conditionally.
56744         * stdio-common/Makefile (CPPFLAGS): Likewise.
56745         * wcsmbs/Makefile (CPPFLAGS): Likewise.
56746         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
56747         Use $(libio-mtsafe).
56748         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
56749         of -D_IO_MTSAFE_IO.
56750         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
56751         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
56752         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
56753         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
56754         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
56755         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
56756         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
56757         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
56758         (CFLAGS-fread_u_chk.c): Likewise.
56759         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
56760         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
56761         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
56762         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
56763         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
56764         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
56765         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
56766         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
56767         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
56769         * libio/Makefile: Test [$(libc-reentrant) = yes]
56770         instead of [$(filter %REENTRANT, $(defines)) nonempty].
56772         * Makeconfig
56773         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
56774         * sysdeps/pthread/configure: File removed.
56775         * sysdeps/pthread/Makeconfig: New file.
56776         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
56777         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
56779 2012-08-16  Gary Benson  <gbenson@redhat.com>
56781         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
56782         unmapping the first object in a namespace.
56784 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56786         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
56787         (__internal_setnetgrent): ... this.  Add internal_function to
56788         definition.  Add libc_hidden_def.
56789         (setnetgrent): Update caller.
56790         (internal_endnetgrent): Renamed to ...
56791         (__internal_endnetgrent): ... this.  Add internal_function to
56792         definition.  Add libc_hidden_def.
56793         (endnetgrent): Update caller.
56794         (internal_getnetgrent_r): Renamed to ...
56795         (__internal_getnetgrent_r): ... this.  Add internal_function to
56796         definition.  Add libc_hidden_def.
56797         (__getnetgrent_r): Update caller.
56798         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
56800 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56802         * stdlib/longlong.h: Update from GCC.
56804 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56806         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
56807         on _QL, which is set by umul_ppmm but never used.
56808         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
56809         variables, which are set by GMP macros but never used.
56810         * stdio-common/_itowa.c (_itowa): Likewise.
56811         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
56812         * stdlib/mod_1.c (mpn_mod_1): Likewise.
56814 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
56816         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
56817         struct La_sh_regs is not constant.
56818         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
56819         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
56820         and struct La_sparc64_regs are not constant.
56822 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56824         * sysdeps/unix/sysv/linux/kernel-features.h
56825         (__ASSUME_POSIX_TIMERS): Remove.
56826         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56827         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56828         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
56829         Make code unconditional.
56830         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56831         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
56832         Make code unconditional.
56833         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56834         * sysdeps/unix/sysv/linux/clock_nanosleep.c
56835         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
56836         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56837         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
56838         Make code unconditional.
56839         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56840         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
56841         (__libc_missing_posix_timers): Remove.
56843 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56845         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
56846         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
56848         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
56850         * elf/dl-sym.c: Include <stdlib.h>.
56852         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
56853         constants, which avoids warnings in 32-bit builds.
56855         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
56856         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
56858         * misc/lseek.c: File moved to ...
56859         * io/lseek.c: ... here.
56861         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
56863         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
56864         shifting LEN more than 31 bits at once.
56866 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56868         [BZ #14195]
56869         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
56870         segmentation fault for a case of two empty input strings.
56871         * string/test-strncasecmp.c (check1): Renamed to...
56872         (bz12205): ...this.
56873         (bz14195): Add new testcase for two empty input strings and N > 0.
56874         (test_main): Call new testcase, adapt for renamed function.
56876 2012-08-15  Andreas Jaeger  <aj@suse.de>
56878         [BZ #14090]
56879         * crypt/md5test2.c: New test, based on test supplied by Serge
56880         Belyshev <belyshev@depni.sinp.msu.ru>.
56881         * crypt/Makefile (xtests): Add md5test-giant..
56882         * crypt/Makefile ($(objpfx)md5test-giant): Add.
56884 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
56886         [BZ #14090]
56887         * crypt/md5.c (md5_process_block): Don't assume the buffer
56888         length is less than 2**32.
56889         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
56890         length is less than 2**64.
56892 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56894         * string/str-two-way.h: Include <sys/param.h>.
56895         (MAX): Macro removed.
56897         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
56898         Move #define and #undef of memmove to just before and after
56899         including <string.h>.
56901         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
56902         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
56903         and after including <string.h>.  Move declarations of
56904         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
56905         to before #include "string/memmove.c".
56907         * include/dirent.h: Declare __getdirentries.
56909         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
56910         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
56912 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
56914         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
56915         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
56916         * sysdeps/i386/configure: Regenerated.
56917         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
56918         STABS_CURRENT_FILE, and STABS_FUN.
56919         (END): Remove call to STABS_FUN_END.
56920         (STABS_CURRENT_FILE1): Delete.
56921         (STABS_CURRENT_FILE): Likewise.
56922         (STABS_FUN): Likewise.
56923         (STABS_FUN_END): Likewise.
56924         (STABS_FUN2): Likewise.
56925         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
56926         * sysdeps/x86_64/configure: Regenerated.
56928 2012-08-14  Roland McGrath  <roland@hack.frob.com>
56930         * elf/dl-open.c: Include <atomic.h>.
56931         * elf/dl-lookup.c: Likewise.
56933 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
56935         * sysdeps/unix/sysv/linux/kernel-features.h
56936         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
56937         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
56938         unconditionally.
56939         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
56940         unconditionally.
56941         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
56942         condition on __ASSUME_CLONE_THREAD_FLAGS.
56944 2012-08-14  Andreas Jaeger  <aj@suse.de>
56946         * sysdeps/i386/fpu/libm-test-ulps: Update.
56948 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
56950         * include/atomic.h (atomic_exchange_and_add): Split into ...
56951         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
56952         New atomic macros.
56954 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
56956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56958 2012-08-13  Jeff Law <law@redhat.com>
56960         * manual/stdio.texi (snprintf): Clarify handling of the trailing
56961         null byte in the output string.
56963 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
56965         * sysdeps/unix/sysv/linux/kernel-features.h
56966         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
56967         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
56968         (__ASSUME_ARG_MAX_STACK_BASED): Define.
56969         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
56970         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
56971         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
56972         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
56974 2012-08-09  Jeff Law <law@redhat.com>
56976         [BZ #13939]
56977         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
56978         When avoid_arena is set, don't retry in the that arena.  Pick the
56979         next one, whatever it might be.
56980         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
56981         (arena_lock): Pass in new parameter to arena_get2.
56982         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
56983         arena_get2.
56984         (__libc_malloc): Unify retrying after main arena failure with
56985         __libc_memalign version.
56986         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
56988 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
56990         [BZ #14166]
56991         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
56992         to __redirect_strstr.
56993         (__strstr_sse42): Use typeof __redirect_strstr.
56994         (__strstr_ia32): Likewise.
56995         (__libc_strstr): New prototype.
56996         (strstr): Renamed to ...
56997         (__libc_strstr): This.
56998         (strstr): New strong alias of __libc_strstr.
56999         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57000         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
57001         __redirect_time.
57002         Include <time.h>.
57003         (__libc_time): New prototype.
57004         (time_ifunc): Replace time with __libc_time.
57005         (time): New strong alias and hidden definition of __libc_time.
57006         (__GI_time): Remove strong alias.
57007         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
57008         Include <stddef.h>.
57009         (memmove): Redefined to __redirect_memmove.
57010         (__memmove_sse2): Use typeof __redirect_memmove.
57011         (__memmove_ssse3): Likewise.
57012         (__memmove_ssse3_back): Likewise.
57013         (__libc_memmove): New prototype.
57014         (memmove): Renamed to ...
57015         (__libc_memmove): This.
57016         (memmove): New strong alias of __libc_memmove.
57018 2012-08-08  Mark Salter  <msalter@redhat.com>
57020         * elf/elf.h
57021         (R_MN10300_TLS_GD): Define.
57022         (R_MN10300_TLS_LD): Likewise.
57023         (R_MN10300_TLS_LDO): Likewise.
57024         (R_MN10300_TLS_GOTIE): Likewise.
57025         (R_MN10300_TLS_IE): Likewise.
57026         (R_MN10300_TLS_LE): Likewise.
57027         (R_MN10300_TLS_DTPMOD): Likewise.
57028         (R_MN10300_TLS_DTPOFF): Likewise.
57029         (R_MN10300_TLS_TPOFF): Likewise.
57030         (R_MN10300_SYM_DIFF): Likewise.
57031         (R_MN10300_ALIGN): Likewise.
57032         (R_MN10300_NUM): Update.
57034 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
57036         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
57037         Remove.
57039 2012-08-08  Roland McGrath  <roland@hack.frob.com>
57041         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
57043         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
57044         sysdeps/unix -> sysdeps/posix move.
57045         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57047 2012-08-07      Allan McRae     <allan@archlinux.org>
57049         [BZ #14303]
57050         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
57051         (SUNOS_CPP): Likewise.
57052         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
57053         not found.
57054         (open_input): Call CPP using execvp.
57056 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57058         * sysdeps/unix/sysv/linux/kernel-features.h
57059         (__ASSUME_PROT_GROWSUPDOWN): Remove.
57060         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57061         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57062         (__ASSUME_WAITID_SYSCALL): Likewise.
57063         * sysdeps/unix/sysv/linux/dl-execstack.c
57064         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
57065         code unconditional.
57066         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
57067         conditional code.
57068         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
57069         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
57070         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
57071         code.
57072         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
57073         unconditional.
57074         [__ASSUME_WAITID_SYSCALL]: Likewise.
57075         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
57077 2012-08-07  Roland McGrath  <roland@hack.frob.com>
57079         * sysdeps/unix/closedir.c: Renamed to ...
57080         * sysdeps/posix/closedir.c: ... here.
57081         * sysdeps/unix/dirfd.c: Renamed to ...
57082         * sysdeps/posix/dirfd.c: ... here.
57083         * sysdeps/unix/dirstream.h: Renamed to ...
57084         * sysdeps/posix/dirstream.h: ... here.
57085         * sysdeps/unix/fdopendir.c: Renamed to ...
57086         * sysdeps/posix/fdopendir.c: ... here.
57087         * sysdeps/unix/opendir.c: Renamed to ...
57088         * sysdeps/posix/opendir.c: ... here.
57089         * sysdeps/unix/readdir.c: Renamed to ...
57090         * sysdeps/posix/readdir.c: ... here.
57091         * sysdeps/unix/readdir_r.c: Renamed to ...
57092         * sysdeps/posix/readdir_r.c: ... here.
57093         * sysdeps/unix/rewinddir.c: Renamed to ...
57094         * sysdeps/posix/rewinddir.c: ... here.
57095         * sysdeps/unix/seekdir.c: Renamed to ...
57096         * sysdeps/posix/seekdir.c: ... here.
57097         * sysdeps/unix/telldir.c: Renamed to ...
57098         * sysdeps/posix/telldir.c: ... here.
57099         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
57100         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
57101         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
57102         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
57104         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
57105         * bits/fcntl.h: ... here.
57107         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
57108         not 0.
57109         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
57110         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
57111         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
57112         (struct flock): Move l_start, l_len to the beginning.
57113         Use __pid_t for l_pid.
57114         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
57115         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
57116         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
57117         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
57118         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
57119         [__USE_LARGEFILE64] (struct flock64): New type.
57120         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
57122         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
57123         * bits/dirent.h: ... here.
57125         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
57126         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
57128 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57130         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57131         Change from 2.6.0 to 2.6.16.
57132         * sysdeps/unix/sysv/linux/configure: Regenerated.
57133         * sysdeps/unix/sysv/linux/kernel-features.h
57134         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
57135         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
57136         version.
57137         (__ASSUME_UTIMES): Likewise.
57138         (__ASSUME_CLONE_STOPPED): Remove.
57139         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
57140         architectures, not kernel version.
57141         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
57142         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57143         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57144         (__ASSUME_WAITID_SYSCALL): Likewise.
57145         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
57146         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
57147         * README: State 2.6.16 as minimum Linux kernel version.  Do not
57148         refer to older versions.
57150 2012-08-06  Roland McGrath  <roland@hack.frob.com>
57152         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
57153         Define alphasort64 as an alias.
57154         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
57155         Define versionsort64 as an alias.
57156         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
57157         Define scandir64 as an alias.
57158         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57159         Define scandirat64 as an alias.
57160         * dirent/alphasort64.c (alphasort64):
57161         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57162         * dirent/versionsort64.c: Likewise.
57163         * dirent/scandir64.c: Likewise.
57164         * dirent/scandirat64.c: Likewise.
57165         * sysdeps/wordsize-64/alphasort.c: File removed.
57166         * sysdeps/wordsize-64/alphasort64.c: File removed.
57167         * sysdeps/wordsize-64/scandir.c: File removed.
57168         * sysdeps/wordsize-64/scandir64.c: File removed.
57169         * sysdeps/wordsize-64/scandirat.c: File removed.
57170         * sysdeps/wordsize-64/scandirat64.c: File removed.
57171         * sysdeps/wordsize-64/versionsort.c: File removed.
57172         * sysdeps/wordsize-64/versionsort64.c: File removed.
57173         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57174         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57175         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57176         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57177         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57178         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57179         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57180         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57182         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57183         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57184         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57185         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57186         [defined __arch64__ || defined __sparcv9]
57187         (__INO_T_MATCHES_INO64_T): New macro.
57188         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57189         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57190         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57191         * sysdeps/unix/sysv/linux/bits/dirent.h
57192         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57193         (_DIRENT_MATCHES_DIRENT64): New macro.
57195         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57196         Define lockf64 as an alias.
57197         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57198         Define fseeko64 as an alias.
57199         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57200         Define ftello64 as an alias.
57201         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57202         Define _IO_fgetpos64 and fgetpos64 as aliases.
57203         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57204         Define _IO_fsetpos64 and fsetpos64 as aliases.
57205         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57206         Conditionalize body on this.
57207         * libio/fseeko64.c: Likewise.
57208         * libio/ftello64.c: Likewise.
57209         * libio/iofgetpos64.c: Likewise.
57210         * libio/iofsetpos64.c: Likewise.
57211         * sysdeps/wordsize-64/lockf.c: File removed.
57212         * sysdeps/wordsize-64/lockf64.c: File removed.
57213         * sysdeps/wordsize-64/fseeko.c: File removed.
57214         * sysdeps/wordsize-64/fseeko64.c: File removed.
57215         * sysdeps/wordsize-64/ftello.c: File removed.
57216         * sysdeps/wordsize-64/ftello64.c: File removed.
57217         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57218         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57219         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57220         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57221         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57222         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57223         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57224         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57225         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57226         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57227         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57228         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57229         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57230         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57232         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57233         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57234         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57235         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57236         [defined __arch64__ || defined __sparcv9]
57237         (__OFF_T_MATCHES_OFF64_T): New macro.
57238         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57239         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57240         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57241         (__OFF_T_MATCHES_OFF64_T): New macro.
57243 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57245         * stdlib/secure-getenv.c (__secure_getenv): Replace
57246         GLIBC_2_16 with GLIBC_2_17.
57248 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57250         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57251         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57253 2012-08-03  David S. Miller  <davem@davemloft.net>
57255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57257 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57259         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57260         Remove.
57261         (__ASSUME_CORRECT_SI_PID): Likewise.
57262         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57263         (__ASSUME_TMPFS_NAME): Likewise.
57264         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57265         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57266         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57267         (HAVE_AUX_SECURE): Make definition unconditional.
57268         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57269         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57271 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57273         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57274         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57275         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57276         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57277         __eloop_threshold instead of SYMLOOP_MAX.
57279         * sysdeps/generic/eloop-threshold.h: New file.
57280         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57281         of MAXSYMLINKS.
57282         * elf/chroot_canon.c (chroot_canon): Likewise.
57284 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57286         [BZ #13717]
57287         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57288         Change to 2.6.0 everywhere.
57289         * sysdeps/unix/sysv/linux/configure: Regenerated.
57290         * sysdeps/unix/sysv/linux/kernel-features.h
57291         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57292         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57293         kernel versions.
57294         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57295         (__ASSUME_FUTEX_REQUEUE): Remove.
57296         (__ASSUME_STATFS64): Define unconditionally.
57297         (__ASSUME_AT_SECURE): Likewise.
57298         (__ASSUME_CORRECT_SI_PID): Likewise.
57299         (__ASSUME_TGKILL): Define without depending on kernel version for
57300         i386.
57301         (__ASSUME_UTIMES): Likewise.
57302         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57303         kernel version.
57304         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57305         (__ASSUME_TMPFS_NAME): Likewise.
57306         * README: Update reference to Linux kernel versions.
57308 2012-08-02  Marek Polacek  <polacek@redhat.com>
57310         [BZ# 14150]
57311         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57312         libc_cv_asm_type_prefix with %.
57313         * configure: Regenerated.
57314         * include/libc-symbols.h: Remove comment about
57315         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57316         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57317         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57318         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57319         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57320         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57321         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57322         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57323         * elf/tst-unique2mod1.c: Likewise.
57324         * elf/tst-unique1mod2.c: Likewise.
57325         * elf/tst-unique1mod1.c: Likewise.
57326         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57327         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57328         Replace ASM_TYPE_DIRECTIVE with .type.
57329         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57330         * sysdeps/i386/sysdep.h: Likewise.
57331         * sysdeps/x86_64/sysdep.h: Likewise.
57332         * sysdeps/sh/sysdep.h: Likewise.
57333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57334         Do not define ASM_TYPE_DIRECTIVE.
57335         * sysdeps/powerpc/sysdep.h: Likewise.
57336         * sysdeps/powerpc/powerpc32/sysdep.h:
57337         Replace ASM_TYPE_DIRECTIVE with .type.
57338         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57339         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57340         * sysdeps/i386/fpu/e_powf.S: Likewise.
57341         * sysdeps/i386/fpu/e_expl.S: Likewise.
57342         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57343         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57344         * sysdeps/i386/fpu/e_pow.S: Likewise.
57345         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57346         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57347         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57348         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57349         * sysdeps/i386/fpu/e_log2.S: Likewise.
57350         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57351         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57352         * sysdeps/i386/fpu/e_powl.S: Likewise.
57353         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57354         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57355         * sysdeps/i386/fpu/e_logl.S: Likewise.
57356         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57357         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57358         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57359         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57360         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57361         * sysdeps/i386/fpu/e_log.S: Likewise.
57362         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57363         * sysdeps/i386/fpu/e_logf.S: Likewise.
57364         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57365         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57366         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57367         * sysdeps/i386/fpu/e_log10.S: Likewise.
57368         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57369         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57370         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57371         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57372         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57373         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57374         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57375         * sysdeps/i386/i686/strtok.S: Likewise.
57376         * sysdeps/i386/i386-mcount.S: Likewise.
57377         * sysdeps/i386/strtok.S: Likewise.
57378         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57379         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57380         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57381         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57382         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57383         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57384         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57385         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57386         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57387         * sysdeps/x86_64/_mcount.S: Likewise.
57388         * sysdeps/x86_64/strtok.S: Likewise.
57389         * sysdeps/sh/_mcount.S: Likewise.
57391 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57393         * libio/iofopen.c: Include <fcntl.h>.
57394         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57395         (_IO_fopen64, fopen64): Define as aliases.
57396         * libio/iofopen64.c: Include <fcntl.h>.
57397         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57398         Conditionalize body on this.
57399         * sysdeps/wordsize-64/iofopen.c: File removed.
57400         * sysdeps/wordsize-64/iofopen64.c: File removed.
57402 2012-08-01  Marek Polacek  <polacek@redhat.com>
57404         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57405         Use dlfcn directly instead of a variable.
57406         (binfmt-subdir): Do not define.
57407         (dlfcn): Likewise.
57409 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57411         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57412         Remove all definitions.
57413         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57414         <kernel-features.h>.
57415         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57416         (miss_F_GETOWN_EX): Remove all definitions.
57417         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57418         macro definition.
57419         [!__ASSUME_FCNTL64]: Remove conditional code.
57420         [__ASSUME_FCNTL64]: Make code unconditional.
57421         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57422         <kernel-features.h>.
57423         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57424         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57425         (lockf64) [__NR_fcntl64]: Make code unconditional.
57426         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57428         * sysdeps/unix/sysv/linux/kernel-features.h
57429         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57430         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57431         Make code unconditional.
57432         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57433         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57435         [__NR_vfork]: Make code unconditional.
57436         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57437         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57439         [__NR_vfork]: Make code unconditional.
57440         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57441         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57443 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57445         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57446         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57448         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57449         Define mkstemp64 as an alias.
57450         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57451         Define mkstemps64 as an alias.
57452         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57453         Define mkostemp64 as an alias.
57454         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57455         Define mkostemps64 as an alias.
57456         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57457         Conditionalize body on this.
57458         * misc/mkostemp64.c: Likewise.
57459         * misc/mkostemps64.c: Likewise.
57460         * misc/mkstemps64.c: Likewise.
57461         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57462         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57463         * sysdeps/wordsize-64/mkostemp.c: File removed.
57464         * sysdeps/wordsize-64/mkstemp.c: File removed.
57465         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57466         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57467         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57468         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57470         [BZ #14138]
57471         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57472         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57473         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57474         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57476         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57477         compat_symbol macros from <shlib-compat.h> rather than the underlying
57478         default_symbol_version and symbol_version macros, so that DEFAULT
57479         lines in shlib-versions are respected.
57480         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57482 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57484         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57485         Declare with warn_unused_result.
57486         (setgid, setregid, setegid, setresgid): Likewise.
57487         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57488         Likewise.
57489         * WUR-REPORT: Remove set*id functions.
57491 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57493         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57495 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57497         [BZ #10191]
57498         * include/sys/socket.h (__libc_accept, __libc_accept4):
57499         Add attribute_hidden.
57500         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57502         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57503         use of PTR_MANGLE.
57504         * inet/getnetgrent_r.c (setup): Likewise.
57506         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57508 2012-07-31  David S. Miller  <davem@davemloft.net>
57510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57512 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57514         [BZ #13629]
57515         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57516         value between 1.0 and 2.0 and smaller part has absolute value less
57517         than 1.0.
57518         * math/s_clog10.c (__clog10): Likewise.
57519         * math/s_clog10f.c (__clog10f): Likewise.
57520         * math/s_clog10l.c (__clog10l): Likewise.
57521         * math/s_clogf.c (__clogf): Likewise.
57522         * math/s_clogl.c (__clogl): Likewise.
57523         * math/libm-test.inc (clog_test): Add more tests.
57524         (clog10_test): Likewise.
57525         * sysdeps/i386/fpu/libm-test-ulps: Update.
57526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57528 2012-07-31  Florian Weimer  <fweimer@redhat.com>
57530         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
57531         Exit with zero in case no suitable GID is found, and write a
57532         message to standard error.
57534 2012-07-30  Roland McGrath  <roland@hack.frob.com>
57536         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
57537         rather than to 1.
57538         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
57539         (MAXPATHLEN): Removed.
57540         (NOGROUP, NODEV): New macros.
57541         (setbit, clrbit, isset, isclr): New macros.
57542         (howmany, roundup, powerof2): New macros.
57543         (DEV_BSIZE): New macro.
57545         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57546         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57548         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57549         definition on [!__NO_LONG_DOUBLE_MATH].
57551         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57552         PTR_MANGLE and PTR_DEMANGLE.
57554         * socket/accept4.c (accept4): Rename to __libc_accept4.
57555         Define accept4 as a weak alias.
57557         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57558         on [_DIRENT_HAVE_D_TYPE].
57559         * io/ftw.c (ftw_dir): Likewise.
57561         * io/xmknod.c (__xmknod): Don't check PATH for being null.
57563         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
57565         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
57566         Use the BSD numbers rather than the arbitrary ones we had.
57567         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
57568         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
57569         (SIGXCPU, SIGXFSZ): New macros.
57570         (_NSIG): Now 32.
57572         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
57573         initializer on [_LIBC_REENTRANT].
57575         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
57576         definitions inside [_POSIX_MAPPED_FILES].
57578         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
57580         * dirent/opendir.c: Include <fcntl.h>.
57582         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
57583         (__libc_getspecific): Likewise.
57584         (__libc_key_create): Likewise.
57586         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
57587         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
57588         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
57589         (tmpfile64): Define as alias.
57590         * sysdeps/wordsize-64/tmpfile.c: File removed.
57591         * sysdeps/wordsize-64/tmpfile64.c: File removed.
57592         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
57593         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
57595         * stdio-common/vfscanf.c: Include <stdbool.h>.
57596         * nss/makedb.c: Likewise.
57597         * stdio-common/_i18n_number.h: Likewise.
57598         * argp/argp-help.c: Likewise.
57599         * posix/wordexp.c: Likewise.
57600         * sysdeps/posix/spawni.c: Likewise.
57601         * nss/nss_files/files-initgroups.c: Likewise.
57602         * stdio-common/reg-modifier.c: Include <stdlib.h>.
57603         * nss/nss_files/files-initgroups.c: Likewise.
57604         * nss/nss_db/db-netgrp.c: Likewise.
57605         * nss/nss_db/db-initgroups.c: Likewise.
57606         * io/fchmodat.c: Include <sys/stat.h>.
57608         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
57609         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
57611         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
57612         [HAVE_MMAP].
57614         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
57615         Add multiple inclusion protection.
57617 2012-07-27  David S. Miller  <davem@davemloft.net>
57619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57621 2012-07-27  Gary Benson  <gbenson@redhat.com>
57623         [BZ #14298]
57624         * elf/rtld.c: Include <stap-probe.h>.
57625         (dl_main): Added static probes "init_start" and "init_complete".
57626         * elf/dl-load.c: Include <stap-probe.h>.
57627         (lose): Take new parameter "nsid".
57628         Added static probe "map_failed".
57629         (_dl_map_object_from_fd): Pass namespace id to lose.
57630         Added static probe "map_start".
57631         (open_verify): Pass namespace id to lose.
57632         * elf/dl-open.c: Include <stap-probe.h>.
57633         (dl_open_worker) Added static probes "map_complete", "reloc_start"
57634         and "reloc_complete".
57635         * elf/dl-close.c: Include <stap-probe.h>.
57636         (_dl_close_worker): Added static probes "unmap_start" and
57637         "unmap_complete".
57638         * elf/rtld-debugger-interface.txt: New file documenting the above.
57640 2012-07-26  Roland McGrath  <roland@hack.frob.com>
57642         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
57643         rather than a string variable.
57644         * sunrpc/rpc_main.c (h_output): Likewise.
57645         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
57647 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
57649         * inet/check_native.c: New file.
57651 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
57653         [BZ #13629]
57654         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
57655         if larger part has absolute value 1.0.
57656         * math/s_clog10.c (__clog10): Likewise.
57657         * math/s_clog10f.c (__clog10f): Likewise.
57658         * math/s_clog10l.c (__clog10l): Likewise.
57659         * math/s_clogf.c (__clogf): Likewise.
57660         * math/s_clogl.c (__clogl): Likewise.
57661         * math/libm-test.inc (clog_test): Add more tests.
57662         (clog10_test): Likewise.
57663         * sysdeps/i386/fpu/libm-test-ulps: Update.
57664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57666         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
57667         (pltexit): Likewise.
57668         (La_regs): Likewise.
57669         (La_retval): Likewise.
57670         (int_retval): Likewise.
57671         Update #error for removed macros to refer only to definitions in
57672         tst-audit.h.
57673         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
57674         macro.
57675         (pltexit): Likewise.
57676         (La_regs): Likewise.
57677         (La_retval): Likewise.
57678         (int_retval): Likewise.
57679         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
57680         macro.
57681         (pltexit): Likewise.
57682         (La_regs): Likewise.
57683         (La_retval): Likewise.
57684         (int_retval): Likewise.
57685         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
57686         macro.
57687         (pltexit): Likewise.
57688         (La_regs): Likewise.
57689         (La_retval): Likewise.
57690         (int_retval): Likewise.
57691         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
57692         macro.
57693         (pltexit): Likewise.
57694         (La_regs): Likewise.
57695         (La_retval): Likewise.
57696         (int_retval): Likewise.
57697         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
57698         macro.
57699         (pltexit): Likewise.
57700         (La_regs): Likewise.
57701         (La_retval): Likewise.
57702         (int_retval): Likewise.
57703         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
57704         macro.
57705         (pltexit): Likewise.
57706         (La_regs): Likewise.
57707         (La_retval): Likewise.
57708         (int_retval): Likewise.
57709         * sysdeps/generic/tst-audit.h: Update comment to refer only to
57710         macro definitions in tst-audit.h.
57711         * sysdeps/i386/tst-audit.h: New file.
57712         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
57713         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
57714         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
57715         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
57716         * sysdeps/sh/tst-audit.h: Likewise.
57717         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
57718         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
57719         * sysdeps/x86_64/tst-audit.h: Likewise.
57721 2012-07-26  Andreas Jaeger  <aj@suse.de>
57723         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
57724         ptrace.
57726         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
57727         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
57728         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
57729         PTRACE_O_MASK.
57730         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
57731         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
57732         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
57734         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
57735         value.
57737         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
57738         _sigsys.
57739         (si_call_addr, si_syscall, si_arch): Define new macro.
57740         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
57741         _sigsys.
57742         (si_call_addr, si_syscall, si_arch): Define new marcro.
57743         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
57744         _sigsys.
57745         (si_call_addr, si_syscall, si_arch): Define new macro.
57746         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
57747         _sigsys.
57748         (si_call_addr, si_syscall, si_arch): Define new macro.
57750 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57752         [BZ #13717]
57753         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57754         Change to 2.4.21 where previously 2.4.1.
57755         * sysdeps/unix/sysv/linux/configure: Regenerated.
57756         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
57757         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
57758         Linux kernel version.
57759         (__ASSUME_STD_AUXV): Remove.
57760         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
57761         kernel version.
57762         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
57763         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
57764         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
57765         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
57766         (__ASSUME_NETLINK_SUPPORT): Likewise.
57767         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
57768         (__no_netlink_support): Remove conditional definition.
57769         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
57770         Remove.
57771         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57772         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
57773         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
57774         (if_nameindex_ioctl): Remove.
57775         (if_nameindex_netlink): Do not handle __no_netlink_support.
57776         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57777         code.
57778         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
57779         Remove conditional code.
57780         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57781         code.
57782         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
57783         unconditional.
57784         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57785         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
57786         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
57787         Remove.
57788         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
57789         [!__ASSUME_STD_AUXV]: Remove conditional code.
57790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
57791         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
57792         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
57793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
57794         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
57795         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57796         code.
57797         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57799         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
57800         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57801         conditional code.
57802         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57804         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57805         code.
57806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57807         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57808         conditional code.
57809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
57810         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57811         code unconditional.
57812         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57813         conditional code.
57814         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57815         unconditional.
57816         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57817         conditional code.
57818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57819         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57820         unconditional.
57821         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57822         conditional code.
57823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
57824         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57825         code unconditional.
57826         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57827         conditional code.
57828         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57829         unconditional.
57830         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57831         conditional code.
57832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
57833         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57834         code unconditional.
57835         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57836         conditional code.
57837         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57838         unconditional.
57839         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57840         conditional code.
57842 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
57844         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
57845         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
57846         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
57847         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
57848         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
57849         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
57850         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
57851         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
57852         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
57853         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
57854         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
57855         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
57856         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
57857         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
57858         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
57859         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
57860         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
57861         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
57862         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
57863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
57864         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
57865         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
57866         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57868 2012-07-25  Florian Weimer  <fweimer@redhat.com>
57870         * Versions.def: Add GLIBC_2.17.
57871         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
57872         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
57873         Introduce __libc_secure_getenv.
57874         * stdlib/Versions (2.17): Add secure_getenv
57875         (GLIBC_PRIVATE): Add __libc_secure_getenv.
57876         * stdlib/secure-getenv.c: Rename __secure_getenv to
57877         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
57878         symbol __secure_getenv for GLIBC_2.0.
57879         * stdlib/tst-secure-getenv.c: New.
57880         * stdlib/Makefile (tests): Add testcase.
57881         * manual/startup.texi (Environment Access): Document
57882         secure_getenv.
57883         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
57884         __libc_secure_getenv.
57885         * inet/ruserpass.c (ruserpass): Likewise.
57886         * malloc/mtrace.c (mtrace): Likewise.
57887         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
57888         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
57889         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
57890         * sysdeps/posix/tempname.c: Likewise.  Evaluate
57891         HAVE_SECURE_GETENV.
57892         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
57893         __secure_getenv to __libc_secure_getenv.
57894         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
57895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57896         Likewise.
57897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57898         Likewise.
57899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57901         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57907 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57909         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
57910         (struct La_i86_retval): Likewise.
57911         (struct La_x86_64_regs): Likewise.
57912         (struct La_x86_64_retval): Likewise.
57913         (struct La_x32_regs): Likewise.
57914         (struct La_x32_retval): Likewise.
57915         (struct La_ppc32_regs): Likewise.
57916         (struct La_ppc32_retval): Likewise.
57917         (struct La_ppc64_regs): Likewise.
57918         (struct La_ppc64_retval): Likewise.
57919         (struct La_sh_regs): Likewise.
57920         (struct La_sh_retval): Likewise.
57921         (struct La_s390_32_regs): Likewise.
57922         (struct La_s390_32_retval): Likewise.
57923         (struct La_s390_64_regs): Likewise.
57924         (struct La_s390_64_retval): Likewise.
57925         (struct La_sparc32_regs): Likewise.
57926         (struct La_sparc32_retval): Likewise.
57927         (struct La_sparc64_regs): Likewise.
57928         (struct La_sparc64_retval): Likewise.
57929         (struct audit_ifaces): Remove architecture-specific pltenter and
57930         pltexit members.
57931         * sysdeps/i386/ldsodefs.h: New file.
57932         * sysdeps/powerpc/ldsodefs.h: Likewise.
57933         * sysdeps/s390/ldsodefs.h: Likewise.
57934         * sysdeps/sh/ldsodefs.h: Likewise.
57935         * sysdeps/sparc/ldsodefs.h: Likewise.
57936         * sysdeps/x86_64/ldsodefs.h: Likewise.
57938 2012-07-25  Marek Polacek  <polacek@redhat.com>
57940         [BZ #6808]
57941         * math/libm-test.inc (yn_test): Add another test.
57942         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
57943         to ERANGE when the result is +-Inf.
57944         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57945         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
57946         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
57947         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
57949 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
57951         * conform/data/time.h-data (NULL): Use macro-constant.  Require
57952         equal to 0.
57953         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
57954         clock_t.
57955         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
57957 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
57959         * configure.in <sysdeps resolving>: Correct printing
57960         Implies_before.
57961         * configure: Regenerate.
57963 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
57965         * math/w_ilogb.c: Include <limits.h>.
57966         * math/w_ilogbl.c: Likewise.
57968 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57970         * manual/lang.texi (__va_copy): Document primarily as ISO C99
57971         va_copy.  Document allowing for unavailable va_copy only as
57972         pre-C99 compatibility.
57973         * manual/string.texi (Copying and Concatenation): Use va_copy
57974         instead of __va_copy in concat example.
57976 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
57978         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
57979         (__sendto): Use create_address_port.  Initialize APORT and deallocate
57980         it if not null.
57982         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
57983         with O_NOLINK passed to __file_name_lookup.
57985         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
57986         with O_NOLINK passed to __file_name_lookup.
57988         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
57989         negative N or less than NGIDS.
57991         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
57992         type to string_t.  Set ERANGE as errno and return it if NAME is not big
57993         enough.  Use memcpy instead of strncpy.
57995 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57997         * elf/Makefile (check-data): Remove.
57998         (localplt.data): New vpath directive.
57999         ($(objpfx)check-localplt.out): Use localplt.data from vpath
58000         instead of $(check-data).
58001         * scripts/data/localplt-generic.data: Move to ...
58002         * sysdeps/generic/localplt.data: ... here.
58003         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
58004         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
58005         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
58006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
58007         ... here.
58008         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
58009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
58010         ... here.
58011         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
58012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
58013         ... here.
58014         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
58015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
58016         ... here.
58017         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
58018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
58019         ... here.
58020         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
58021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
58022         ... here.
58024 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58026         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
58027         PPC32 and PPC64 files.
58028         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
58029         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
58031 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58033         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
58034         __makecontext_ret to ...
58035         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
58036         ... here and call exit if uc_link is NULL.  New file.
58037         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
58038         __makecontext_ret.S.
58039         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
58040         __makecontext_ret to ...
58041         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
58042         ... here and call exit if uc_link is NULL.  New file.
58043         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
58044         __makecontext_ret.S.
58046 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58048         * elf/elf.h (R_390_IRELATIVE): New definition.
58049         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
58050         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
58051         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
58052         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58053         (elf_machine_lazy_rel): Likewise.
58054         * sysdeps/s390/dl-irel.h: New file.
58055         * sysdeps/s390/s390-64/memcpy.S: New asm code.
58056         * sysdeps/s390/s390-64/memset.S: New asm code.
58057         * sysdeps/s390/s390-64/memcmp.S: New asm code.
58058         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
58059         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
58060         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
58061         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
58062         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
58063         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
58064         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
58065         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
58066         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
58067         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
58068         * sysdeps/s390/s390-32/memcpy.S: New asm code.
58069         * sysdeps/s390/s390-32/memset.S: New asm code.
58070         * sysdeps/s390/s390-32/memcmp.S: New asm code.
58072 2012-07-17  Marek Polacek  <polacek@redhat.com>
58074         [BZ #14349]
58075         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
58076         * sysdeps/s390/s390-64/configure.in: Likewise.
58077         * sysdeps/sparc/configure.in: Likewise.
58078         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
58079         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
58080         * sysdeps/i386/configure.in: Likewise.
58081         * sysdeps/x86_64/configure.in: Likewise.
58082         * sysdeps/sh/configure.in: Likewise.
58083         * sysdeps/s390/s390-32/configure: Regenerated.
58084         * sysdeps/s390/s390-64/configure: Likewise.
58085         * sysdeps/x86_64/configure: Likewise.
58086         * sysdeps/sh/configure: Likewise.
58087         * sysdeps/powerpc/powerpc64/configure: Likewise.
58088         * sysdeps/powerpc/powerpc32/configure: Likewise.
58089         * sysdeps/sparc/configure: Likwise.
58090         * sysdeps/i386/configure: Likewise.
58092         * elf/dl-open.c: Comment fixes.
58094 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
58096         * Makefile [CXX] (check-data): Remove.
58097         [CXX] (c++-types.data): New vpath directive.
58098         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
58099         vpath.  Do not allow for C++ type data being missing.
58100         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
58101         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
58102         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
58103         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
58104         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
58105         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
58106         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
58107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
58108         ... here.
58109         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
58110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
58111         ... here.
58112         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
58113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
58114         ... here.
58115         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
58116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
58117         ... here.
58118         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
58119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
58120         ... here.
58121         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
58122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
58123         ... here.
58124         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
58125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
58126         ... here.
58127         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
58128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58130         * elf/tls-macros.h (TLS_LE): Move architecture-specific
58131         definitions to architecture-specific files.
58132         (TLS_IE): Likewise.
58133         (TLS_LD): Likewise.
58134         (TLS_GD): Likewise.
58135         * sysdeps/i386/tls-macros.h: New file.
58136         * sysdeps/powerpc/tls-macros.h: Likewise.
58137         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
58138         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
58139         * sysdeps/sh/tls-macros.h: Likewise.
58140         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
58141         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
58142         * sysdeps/x86_64/tls-macros.h: Likewise.
58144 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58146         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
58147         zero value for regular exit case.
58149         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
58150         (__start_context): Preserve zero value for regular exit case.
58152 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58153             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58155         * manual/setjmp.texi (setcontext): Clarify normal process
58156         termination when uc_link is the null pointer.
58157         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
58158         exit call.
58160 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58162         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58163         preprocessor.  Test for each exception mask separately.
58165 2012-07-16  Andreas Jaeger  <aj@suse.de>
58167         * po/ru.po: Update from translation team.
58169 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58171         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58172         equal to 0.
58173         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58174         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58175         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58176         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58177         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58179 2012-07-13  Andreas Jaeger  <aj@suse.de>
58181         * po/fr.po: Update from translation team.
58183 2012-07-12  Marek Polacek  <polacek@redhat.com>
58185         [BZ #14173]
58186         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58187         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58188         loop condition.
58190 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58192         [BZ #13717]
58193         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58194         Change to 2.4.1 where previously 2.4.0.
58195         * sysdeps/unix/sysv/linux/configure: Regenerated.
58196         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58197         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58198         version.
58199         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58200         (__ASSUME_AT_CLKTCK): Remove.
58201         (__ASSUME_AT_PAGESIZE): Likewise.
58202         (__ASSUME_AT_XID): Likewise.
58203         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58204         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58205         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58206         unconditionally.
58207         (HAVE_AUX_PAGESIZE): Likewise.
58208         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58209         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58210         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58212 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58214         [BZ #14307]
58215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58216         the temporary buffer used to invoke __gethostbyname2_r,
58217         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58218         host_data / struct gaih_addrtuple.
58219         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58220         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58221         header file nss/nsswitch.h.
58222         * nss/nsswitch.h (global scope): Add definition of implementation
58223         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58224         resolv/nss_dns/dns-host.c).
58226 2012-07-11  Andreas Jaeger  <aj@suse.de>
58228         * po/fr.po: Update from translation team.
58230         * po/sv.po: Update from translation team
58231         * po/fr.po: Another update from translation team.
58233 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58235         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58236         for subnormals or multiply small sinh result by itself.
58237         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58240 2012-07-11  David S. Miller  <davem@davemloft.net>
58242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58244 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58246         [BZ #14347]
58247         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58248         (INTERNAL_MARK): Shift it here.
58250 2012-07-10  Marek Polacek  <polacek@redhat.com>
58252         [BZ #14151]
58253         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58254         libc_cv_asm_global_directive with .globl.
58255         * configure: Regenerated.
58256         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58257         with .globl.
58258         * sysdeps/i386/configure: Regenerated.
58259         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58260         with .globl.
58261         * sysdeps/x86_64/configure: Regenerated.
58262         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58263         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58264         * elf/tst-unique2mod2.c: Likewise.
58265         * elf/tst-unique2mod1.c: Likewise.
58266         * elf/tst-unique1mod2.c: Likewise.
58267         * elf/tst-unique1mod1.c: Likewise.
58268         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58269         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58270         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58271         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58272         * sysdeps/mach/sysdep.h: Likewise.
58273         * sysdeps/i386/sysdep.h: Likewise.
58274         * sysdeps/i386/i386-mcount.S: Likewise.
58275         * sysdeps/x86_64/_mcount.S: Likewise.
58276         * sysdeps/x86_64/sysdep.h: Likewise.
58277         * sysdeps/sh/_mcount.S: Likewise.
58278         * sysdeps/sh/sysdep.h: Likewise.
58279         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58280         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58281         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58282         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58283         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58284         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58285         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58286         * locale/localeinfo.h: Likewise.
58287         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58288         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58290 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58292         [BZ #14336]
58293         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58294         system".
58295         * manual/message.texi (The Uniforum approach): Likewise.
58296         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58297         (glibc iconv Implementation): Likewise.
58299 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58301         [BZ #14337]
58302         * math/s_clog.c (__clog): Avoid scaling a value down where that
58303         could result in underflow.
58304         * math/s_clog10.c (__clog10): Likewise.
58305         * math/s_clog10f.c (__clog10f): Likewise.
58306         * math/s_clog10l.c (__clog10l): Likewise.
58307         * math/s_clogf.c (__clogf): Likewise.
58308         * math/s_clogl.c (__clogl): Likewise.
58309         * math/libm-test.inc (clog_test): Add more tests.
58310         (clog10_test): Likewise.
58311         * sysdeps/i386/fpu/libm-test-ulps: Update.
58312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58314 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58316         [BZ #14283]
58317         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58318         by 7 not 8 to examine high bit of fractional part.
58320         [BZ #14042]
58321         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58322         for call to __mcount_internal.
58323         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58324         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58325         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58327 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58329         [BZ #14154]
58330         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58331         approximation for values within 0x1p-13f of an odd multiple of
58332         pi/4.
58333         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58334         exception.  Add more tests.
58335         * sysdeps/i386/fpu/libm-test-ulps: Update.
58337         [BZ #6778]
58338         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58339         inputs and return -1 for them.  Do not check for +Inf in case not
58340         reachable for +Inf.
58341         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58342         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58343         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58344         and return -1 for them.  Do not check for +Inf in case not
58345         reachable for +Inf.
58346         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58347         define.
58348         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58349         and return -1 for them.  Do not check for +Inf in case not
58350         reachable for +Inf.
58351         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58352         spurious underflow.
58353         * sysdeps/i386/fpu/libm-test-ulps: Update.
58354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58356 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58358         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58360 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58362         [BZ #14157]
58363         [BZ #14331]
58364         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58365         could result in spurious underflow.  Scale down values above
58366         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58367         * math/s_csqrtf.c (__csqrtf): Likewise.
58368         * math/s_csqrtl.c (__csqrtl): Likewise.
58369         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58370         spurious underflow.
58371         * sysdeps/i386/fpu/libm-test-ulps: Update.
58372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58374 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58376         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58377         xopen-msg.sed.
58378         * catgets/xopen-msg.awk: New file.
58379         * catgets/xopen-msg.sed: Removed.
58381         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58382         po2text.sed.
58383         * intl/po2test.awk: New file.
58384         * intl/po2test.sed: Removed.
58386 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58388         [BZ #14328]
58389         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58390         or multiply small sinh result by itself.
58391         * math/s_ctanf.c (__ctanf): Likewise.
58392         * math/s_ctanh.c (__ctanh): Likewise.
58393         * math/s_ctanhf.c (__ctanhf): Likewise.
58394         * math/s_ctanhl.c (__ctanhl): Likewise.
58395         * math/s_ctanl.c (__ctanl): Likewise.
58396         * math/libm-test.inc (ctan_test_tonearest): New function.
58397         (ctan_test_towardzero): Likewise.
58398         (ctan_test_downward): Likewise.
58399         (ctan_test_upward): Likewise.
58400         (ctanh_test_tonearest): Likewise.
58401         (ctanh_test_towardzero): Likewise.
58402         (ctanh_test_downward): Likewise.
58403         (ctanh_test_upward): Likewise.
58404         (main): Call these new functions.
58405         * sysdeps/i386/fpu/libm-test-ulps: Update.
58406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58408 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58410         * .gitignore: Delete /ports entry.
58412 2012-07-03  Andreas Jaeger  <aj@suse.de>
58414         * po/bg.po: Update from translation team.
58415         * po/cs.po: Likewise.
58416         * po/de.po: Likewise.
58417         * po/hr.po: Likewise.
58418         * po/nl.pl: Likewise.
58419         * po/pl.po: Likewise.
58420         * po/vi.po: Likewise.
58422 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58424         * Makeconfig [!+link] (+link-before-libc): New variable.
58425         [!+link] (+link-after-libc): Likewise.
58426         [!+link] (+link-tests): Likewise.
58427         [!+link] (+link): Define in terms of $(+link-before-libc) and
58428         $(+link-after-libc).
58429         [!+link-static] (+link-static-before-libc): New variable.
58430         [!+link-static] (+link-static-after-libc): Likewise.
58431         [!+link-static] (+link-static-tests): Likewise.
58432         [!+link-static] (+link-static): Define in terms of
58433         $(+link-static-before-libc) and $(+link-static-after-libc).
58434         [build-shared] (link-libc-before-gnulib): New variable.
58435         [build-shared] (link-libc-tests): Likewise.
58436         [build-shared] (link-libc): Define in terms of
58437         $(link-libc-before-gnulib).
58438         [!build-shared] (link-libc-tests): New variable.
58439         (link-libc-static-tests): New variable.
58440         [!gnulib] (gnulib-arch): New variable.
58441         [!gnulib] (gnulib-tests): Likewise.
58442         [!gnulib] (static-gnulib-arch): Likewise.
58443         [!gnulib] (static-gnulib-tests): Likewise.
58444         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58445         Define with "=" instead of ":=".
58446         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58447         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58448         * Rules (binaries-all-notests): New variable.
58449         (binaries-all-tests): Likewise.
58450         (binaries-static-notests): Likewise.
58451         (binaries-static-tests): Likewise.
58452         (binaries-all): Define using $(binaries-all-notests) and
58453         $(binaries-all-tests).
58454         (binaries-static): Define using $(binaries-static-notests) and
58455         $(binaries-static-tests).
58456         (binaries-shared-tests): New variable.
58457         (binaries-shared-notests): Likewise.
58458         (binaries-shared): Remove variable.
58459         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58460         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58461         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58462         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58463         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58464         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58465         * elf/Makefile (sln-modules): New variable.
58466         (extra-objs): Add $(sln-modules:=.o).
58467         (ldconfig-modules): Add static-stubs.
58468         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58469         * elf/static-stubs.c: New file.
58471         [BZ #14283]
58472         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58473         by 7 not 8 to examine high bit of fractional part.  Use volatile
58474         variables when splitting into final array of floats if
58475         __FLT_EVAL_METHOD__ != 0.
58476         * math/libm-test.inc (cos_test): Add another test.
58477         (sin_test): Likewise.
58478         * sysdeps/i386/fpu/libm-test-ulps: Update.
58480         [BZ #14273]
58481         * math/libm-test.inc (cosh_test): Add more tests.
58483         * version.h (RELEASE): Set to "development".
58484         (VERSION): Set to "2.16.90".
58486 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58488         * NEWS: Update copyright. Remove last-updated date.
58489         Mention math library bug fixes and timezone data changes.
58490         * README: Mention GNU/Hurd, x32, and HPPA support status.
58492 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58494         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58496 2012-06-27  Andreas Jaeger  <aj@suse.de>
58498         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58500 2012-06-25  Andreas Jaeger  <aj@suse.de>
58502         * sysdeps/s390/fpu/libm-test-ulps: Update.
58504 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58505             Thomas Schwinge  <thomas@codesourcery.com>
58507         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58508         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58509         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58510         fanotify_mark.
58512 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58514         * sysdeps/mach/start.c: Remove file.
58515         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58516         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58517         * sysdeps/sh/init-first.c: Likewise.
58519         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58520         registers for frame unwinding purposes, add CFI directives.
58521         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58522         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58523         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58524         Likewise.
58526         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
58527         __fortify_fail returning.
58528         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58530         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
58531         sysdeps/sh/____longjmp_chk.S.
58532         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
58533         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
58534         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58535         (gen-as-const-headers): Append sigaltstack-offsets.sym.
58537         * sysdeps/sh/abort-instr.h: New file.
58538         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
58539         process in case exit returns.
58541         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
58542         initialize the GOT register before use.
58544         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58545         calculation of ARGC > 4.
58547         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58548         meaningful names to some local labels.
58550 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58551             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58553         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58554         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58555         (__arch_compare_and_exchange_val_16_acq): Likewise.
58556         (__arch_compare_and_exchange_val_32_acq): Likewise.
58557         (atomic_exchange_and_add): Fix gUSA sequence.
58558         (atomic_add): Likewise.
58559         (atomic_add_negative): Likewise.
58560         (atomic_add_zero): Likewise.
58561         (atomic_bit_test_set): Likewise.
58563 2012-06-22  Andreas Schwab  <schwab@redhat.com>
58565         [BZ #13579]
58566         * include/link.h (struct link_map): Add l_free_initfini.
58567         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
58568         l_initfini.
58569         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
58570         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
58571         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
58572         set.
58574 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
58576         * configure.in: Use AC_LANG_SOURCE.
58577         * configure: Regenerate.
58579 2012-06-22  Roland McGrath  <roland@hack.frob.com>
58581         * configure.in (libc_cv_localstatedir): New substituted variable.
58582         * configure: Regenerated.
58583         * config.make.in (localstatedir): New variable, substituted from
58584         libc_cv_localstatedir.
58585         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
58586         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
58587         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
58588         * sysdeps/gnu/configure: Regenerated.
58590 2012-06-21  Jeff Law  <law@redhat.com>
58592         [BZ #14277]
58593         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
58594         free.  Simplify list management for _LIBC case.
58596 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
58598         [BZ #14273]
58599         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
58600         Clear sign bit of 64-bit integer value before comparing against
58601         overflow value.
58603         * sysdeps/mach/configure: Regenerated.
58605 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
58607         [BZ #14278]
58608         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
58610 2012-06-21  Jeff Law  <law@redhat.com>
58612         [BZ #13882]
58613         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
58614         uint16_t for elements in the "seen" array to avoid char overflows.
58615         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58616         * elf/dl-open.c (dl_open_worker): Likewise.
58618 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
58620         * scripts/list-sources.sh: Scan PORTS for translations.
58621         * po/libc.pot: Regenerated.
58623 2012-06-21  Andreas Jaeger  <aj@suse.de>
58625         [BZ #12194]
58626         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
58627         warning.
58628         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
58629         * bits/byteswap-16.h (__bswap_16): Likewise.
58630         * bits/byteswap.h (__bswap_constant_16): Likewise.
58632 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
58634         [BZ #14117]
58635         * sysdeps/i386/fpu_control.h: Removed.
58636         * sysdeps/x86_64/fpu_control.h: Moved to ...
58637         * sysdeps/x86/fpu_control.h: Here.
58639         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
58640         (_FPU_SETCW): Likewise.
58642 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
58644         [BZ #14117]
58645         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
58646         * sysdeps/x86/fpu/bits/mathinline.h: This.
58647         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
58649         [BZ #14050]
58650         [BZ #14117]
58651         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
58652         functions if __x86_64__ is defined.
58654 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
58656         * string/endian.h: Add !__ASSEMBLER__ condition for including
58657         conversion interfaces.
58659 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
58661         [BZ #14241]
58662         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
58663         of ABS(x) in calculating zero to negative powers other than odd
58664         integers.
58665         * math/libm-test.inc (pow_test): Add more tests.
58667 2012-06-15  Andreas Jaeger  <aj@suse.de>
58669         * manual/contrib.texi (Contributors): Update entry of Liubov
58670         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
58671         Machado Filho.
58673 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
58675         * string/string.h: Add __wur to GNU version of strerror_r.
58677 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
58679         [BZ #14229]
58680         * string/Makefile (tests): Add tst-strtok_r.
58681         * string/tst-strtok_r.c: New file.
58682         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
58683         RAX_LP/RDX_LP on SAVE_PTR.
58685 2012-06-14  Roland McGrath  <roland@hack.frob.com>
58687         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
58689 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
58691         * libm_test.inc (csqrt_test): Allow more spurious underflow
58692         exceptions.
58693         (j0_test): Likewise.
58694         (j1_test): Likewise.
58695         (y0_test): Likewise.
58696         (y1_test): Likewise.
58698 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
58700         * po/Makefile (libc.pot): Use UTF-8 charset.
58702 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
58704         [BZ #14210]
58705         Suppress sign-conversion warning from FD_SET.
58706         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
58707         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
58708         not unsigned long int.
58709         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
58711 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
58713         [BZ #14050]
58714         [BZ #14117]
58715         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
58716         __extern_always_inline instead of __extern_inline.
58717         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
58718         (__signbit): Likewise.
58719         (__signbitl): Support C++ namespace.
58720         (lrintf): New inline function.
58721         (lrint): Likewise.
58722         (llrintf): Likewise.
58723         (llrint): Likewise.
58724         (fmaxf): Likewise.
58725         (fmax): Likewise.
58726         (fminf): Likewise.
58727         (fmin): Likewise.
58728         (rint): Likewise.
58729         (rintf): Likewise.
58730         (ceil): Likewise.
58731         (ceilf): Likewise.
58732         (floor): Likewise.
58733         (floorf): Likewise.
58734         (nearbyint): Likewise.
58735         (nearbyintf): Likewise.
58737 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
58739         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
58740         non-default versions.
58742 2012-06-11  Roland McGrath  <roland@hack.frob.com>
58744         [BZ #14218]
58745         * manual/argp.texi (Argp): Reword argp_parse description slightly.
58747 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
58749         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
58750         (FE_UPWARD, FE_DOWNWARD): Don't define.
58751         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
58752         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58754         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
58755         reading it.
58756         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58757         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58759 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58761         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58762         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
58763         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
58764         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
58766 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
58768         [BZ #14117]
58769         * sysdeps/i386/fpu/bits/fenv.h: Removed.
58770         * sysdeps/i386/fpu/Implies: New file.
58771         * sysdeps/x86_64/fpu/Implies: Likewise.
58772         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
58773         * sysdeps/x86/fpu/bits/fenv.h: This.
58775         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
58776         __SSE_MATH__.
58778 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58780         [BZ #14134]
58781         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
58782         character 0xffff that matches the last element of the
58783         conversion table.
58785 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58787         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
58788         fmodl commit.
58790 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58792         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
58793         values higher than 25.6283.
58795 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58797         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
58798         subnormal exponent extraction and add some __builtin_expect.
58799         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
58800         Fix for subnormal mantissa calculation.
58802 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
58804         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
58805         cpu2 is -1 and errno is not ENOSYS.
58807 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
58809         [BZ #14117]
58810         * sysdeps/i386/i486/bits/string.h: Renamed to ...
58811         * sysdeps/x86/bits/string.h: This.
58812         * sysdeps/x86_64/bits/string.h: Removed.
58814         * sysdeps/i386/i486/bits/string.h: Define inline functions only
58815         if not compiling for x86-64, but compiling for >= i486.
58817         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
58818         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
58820         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
58821         New macro from Linux kernel 3.4.0.
58822         (FP_XSTATE_MAGIC2): Likewise.
58823         (FP_XSTATE_MAGIC2_SIZE): Likewise.
58824         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
58825         (struct _fpx_sw_bytes): New struct.
58826         (struct _xsave_hdr): Likewise.
58827         (struct _ymmh_state): Likewise.
58828         (struct _xstate): Likewise.
58830         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
58831         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
58832         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
58833         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
58834         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
58835         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
58837         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
58838         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
58839         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
58840         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
58841         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
58842         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
58844 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58846         [BZ #13743]
58847         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
58848         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
58849         (sysdep_headers): Include sys/platform/ppc.h.
58850         * sysdeps/powerpc/test-gettimebase.c: Test for
58851         __ppc_get_timebase() to catch future ISA opcode/insn changes.
58852         * manual/Makefile (appendices): Include platform.texi.
58853         * manual/contrib.texi (Contributors): Update @node pointers.
58854         * manual/maint.texi (Maintenance): Likewise.
58855         (Platform): New node.
58856         * manual/platform.texi: New file.  Document the new features.
58858 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58859             Jakub Jelinek  <jakub@redhat.com>
58861         [BZ #14188]
58862         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
58863         where __builtin_expect is unavailable.
58865 2012-06-03  David S. Miller  <davem@davemloft.net>
58867         * stdlib/longlong.h: Updated from GCC.
58869 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
58871         [BZ #14042]
58872         * sysdeps/powerpc/powerpc32/mcount.c: New file.
58873         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
58874         __mcount_internal.
58875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58876         (GLIBC_2.16): Likewise.
58878 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58880         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
58882 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
58885         (default-abi): New variable.
58886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
58887         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
58888         variable.
58889         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
58890         Likewise.
58891         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
58892         Likewise.
58893         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
58894         Likewise.
58896         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
58897         definition.  Document in comment.
58899 2012-06-01  David S. Miller  <davem@davemloft.net>
58901         * stdlib/longlong.h: Updated from GCC.
58903 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58905         [BZ #14117]
58906         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
58907         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
58908         sys/debugreg.h sys/io.h here.
58909         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
58910         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
58911         sys/io.h.
58912         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
58913         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
58914         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
58915         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
58916         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
58917         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
58919         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
58920         Define only if __x86_64__ is defined.
58922 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58924         [BZ #14048]
58925         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
58926         Use int64_t for variable i.
58927         * math/libm-test.inc (fmod_test): Add more tests.
58929         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
58930         z computation is not scheduled after fetestexcept.
58931         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
58932         Use math_force_eval instead of asm to ensure calculation scheduled
58933         before exception test.
58934         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
58935         Ensure a1 + u.d computation is not scheduled after fetestexcept.
58937 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
58939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
58940         computation is not scheduled after fetestexcept.
58942 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58944         [BZ #14117]
58945         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
58946         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
58948 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58950         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58951         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58953 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58955         [BZ #14117]
58956         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
58957         <bits/wordsize.h>.
58958         (__WCHAR_MIN): Support __WORDSIZE == 64.
58959         (__WCHAR_MAX): Likewise.
58961         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
58962         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
58964         [BZ #14183]
58965         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
58966         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
58968         [BZ #14117]
58969         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
58970         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
58972         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58973         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
58975         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
58976         Defined to 1 if __x86_64__ isn't defined.
58977         (_STAT_VER_LINUX_OLD): New.
58978         (st_atime): Remove duplicate.
58979         (st_mtime): Likewise.
58980         (st_ctime): Likewise.
58982 2012-05-31  David S. Miller  <davem@davemloft.net>
58984         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
58985         entries.
58987 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
58989         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
58990         gen-libm-test.pl.
58992         [BZ #14132]
58993         * elf/dl-reloc.c: Include <_itoa.h>.
58994         (_dl_reloc_bad_type): Remove use of INTUSE.
58995         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
58996         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
58997         * stdio-common/psiginfo.c (psiginfo): Likewise.
58998         * stdio-common/psignal.c (psignal): Likewise.
58999         * string/strsignal.c (strsignal): Likewise.
59000         * include/signal.h (_sys_siglist): Declare hidden proto.
59001         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
59002         INTVARDEF with libc_hidden_data_def.
59003         * stdio-common/itoa-udigits.c: Likewise.
59004         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
59005         (_itoa_lower_digits_internal): Remove declaration.
59006         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
59007         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
59008         (_sys_sigabbrev_internal): Remove aliases.
59009         (_sys_siglist): Define hidden alias.
59011 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
59013         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59014         bits/sysctl.h.
59016 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59018         [BZ #14117]
59019         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
59020         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
59022         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
59023         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
59024         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
59025         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
59026         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
59027         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
59029         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
59030         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
59031         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
59033         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
59034         with __addr.
59035         (insw): Likewise.
59036         (insl): Likewise.
59037         (outsb): Likewise.
59038         (outsw): Likewise.
59039         (outsl): Likewise.
59041         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
59042         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
59043         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
59045         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
59046         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
59047         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
59048         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
59049         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
59050         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
59052         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
59053         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
59055         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
59056         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
59058         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
59059         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
59060         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
59062         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
59063         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
59064         to ...
59065         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
59067         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
59068         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
59069         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
59071         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
59072         for x86-64.
59073         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
59075 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
59077         * math/math.h (M_El): Use two more decimal places.
59078         (M_LOG2El): Likewise.
59079         (M_LOG10El): Likewise.
59080         (M_LN2l): Likewise.
59081         (M_LN10l): Likewise.
59082         (M_PIl): Likewise.
59083         (M_PI_2l): Likewise.
59084         (M_PI_4l): Likewise.
59085         (M_1_PIl): Likewise.
59086         (M_2_PIl): Likewise.
59087         (M_2_SQRTPIl): Likewise.
59088         (M_SQRT2l): Likewise.
59089         (M_SQRT1_2l): Likewise.
59091 2012-05-31  David S. Miller  <davem@davemloft.net>
59093         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
59094         values between float registers.
59095         * sysdeps/sparc/sparc64/memset.S: Likewise.
59096         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59098 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
59100         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
59101         -D_FORTIFY_SOURCE=1.
59102         (CPPFLAGS-tst-longjmp_chk.c): Define.
59103         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
59104         (CPPFLAGS-tst-longjmp_chk2.c): Define.
59105         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
59106         CFLAGS-tst-wchar-h.c.
59108 2012-05-31  Marek Polacek  <polacek@redhat.com>
59110         [BZ #14132]
59111         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
59112         __endmntent_internal): Remove declaration.
59113         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
59114         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
59115         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
59117 2012-05-30  David S. Miller  <davem@davemloft.net>
59119         * sysdeps/sparc/sparc32/soft-fp/q_util.c
59120         (___Q_simulate_exceptions): Use real FP ops rather than writing
59121         into the %fsr.
59122         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
59123         Likewise.
59125 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59127         [BZ #14117]
59128         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
59129         * sysdeps/x86/bits/xtitypes.h: This.
59131         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
59132         * sysdeps/x86/bits/wordsize.h: This.
59134         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
59135         * sysdeps/x86/bits/huge_vall.h: This.
59137         * sysdeps/i386/bits/select.h: Removed.
59138         * sysdeps/x86_64/bits/select.h: Renamed to ...
59139         * sysdeps/x86/bits/select.h: This.
59141         * sysdeps/i386/bits/setjmp.h: Removed.
59142         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
59143         * sysdeps/x86/bits/setjmp.h: This.
59145         * sysdeps/i386/bits/mathdef.h: Removed.
59146         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
59147         * sysdeps/x86/bits/mathdef.h: This.
59149 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
59151         [BZ #14132]
59152         * include/sys/socket.h (__connect_internal)
59153         (__libc_sa_len_internal): Remove declaration.
59154         (__connect, __libc_sa_len): Declare hidden_proto.
59155         (SA_LEN): Remove use of INTUSE.
59156         * socket/connect.c: Add libc_hidden_def.
59157         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
59158         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59159         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59160         alias.
59161         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59162         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59163         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59164         of adding _internal alias.
59166 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59168         [BZ #14117]
59169         * sysdeps/i386/bits/link.h: Removed.
59170         * sysdeps/i386/bits/linkmap.h: Likewise.
59171         * sysdeps/x86_64/bits/link.h: Renamed to ...
59172         * sysdeps/x86/bits/link.h: This.
59173         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59174         * sysdeps/x86/bits/linkmap.h: This.
59176         * sysdeps/i386/bits/endian.h: Removed.
59177         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59178         * sysdeps/x86/bits/endian.h: This.
59180         * sysdeps/i386/bits/byteswap.h: Removed.
59181         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59182         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59183         * sysdeps/x86/bits/byteswap.h: This.
59184         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59185         * sysdeps/x86/bits/byteswap-16.h: This.
59186         * sysdeps/i386/Implies: Add x86.
59187         * sysdeps/x86_64/Implies: Likewise.
59189 2012-05-30  David S. Miller  <davem@davemloft.net>
59191         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59192         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59193         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59194         (FP_TRAPPING_EXCEPTIONS): Define.
59195         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59196         (FP_TRAPPING_EXCEPTIONS): Define.
59197         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59198         subnormals only when inexact has been signalled or underflow
59199         exceptions are enabled.
59200         (_FP_PACK_CANONICAL): Likewise.
59202 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59204         [BZ #14183]
59205         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59206         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59208 2012-05-30  Richard Henderson  <rth@twiddle.net>
59210         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59211         with #ifndef NOT_IN_libc.
59213         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59214         marked to avoid plt entry.
59216 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59218         [BZ #14112]
59219         * Makeconfig (default-abi): New macro.
59220         (abi-includes): Likewise.
59221         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59222         $(abi-$(default-abi)-lib-soname) for soname if defined.
59223         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59224         abi-variants.
59225         * Makefile (installed-stubs): Likewise.
59226         * include/stubs-biarch.h: Removed.
59227         * scripts/lib-names.awk: Only handle one library at a time.
59228         * scripts/soversions.awk: Remove WORDSIZE support.
59229         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59230         entries.
59231         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59232         Removed.
59233         (syscall-list-default-condition): Likewise.
59234         (syscall-list-default-condition): Likewise.
59235         (syscall-list-includes): Likewise.
59236         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59237         syscall-list-* with abi-*.  Handle undefined abi-variants.
59238         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59239         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59240         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59241         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59242         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59243         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59244         Removed.
59245         (syscall-list-32-options): Likewise.
59246         (syscall-list-32-condition): Likewise.
59247         (syscall-list-64-options): Likewise.
59248         (syscall-list-64-condition): Likewise.
59249         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59250         macro.
59251         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59252         Renamed to ...
59253         (abi-*): This.
59254         (abi-64-ld-soname): New macro.
59255         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59256         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59257         Renamed to ...
59258         (abi-*): This.
59259         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59260         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59262 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59264         * sysdeps/unix/sysv/linux/kernel-features.h
59265         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59266         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59267         include <kernel-features.h>.
59268         [!__NR_ftruncate64]: Remove conditional code.
59269         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59270         [__NR_ftruncate64]: Make code unconditional.
59271         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59272         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59273         include <kernel-features.h>.
59274         [!__NR_ftruncate64]: Remove conditional code.
59275         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59276         [__NR_ftruncate64]: Make code unconditional.
59277         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59279         include <kernel-features.h>.
59280         [!__NR_ftruncate64]: Remove conditional code.
59281         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59282         [__NR_ftruncate64]: Make code unconditional.
59283         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59285         include <kernel-features.h>.
59286         [!__NR_ftruncate64]: Remove conditional code.
59287         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59288         [__NR_ftruncate64]: Make code unconditional.
59289         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59291         * configure.in (libc_cv_fpie): Weaken to a compile test using
59292         LIBC_TRY_CC_OPTION.
59293         * configure: Regenerated.
59295 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59301         Refreshed.
59302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59308         Refreshed.
59310 2012-05-27  David S. Miller  <davem@davemloft.net>
59312         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59313         (___Q_zero): New.
59314         (__Q_simulate_exceptions): Return void.  Change to simulate
59315         exceptions by writing into the %fsr.
59316         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59317         (__Qp_handle_exceptions): Likewise.
59318         (numbers): Delete.
59319         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59320         __Qp_handle_exceptions.
59321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59322         __Qp_handle_exceptions.
59323         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59324         as unused and give dummy FP_RND_NEAREST initializer.
59325         (FP_INHIBIT_RESULTS): Define.
59326         (___Q_simulate_exceptions): Update declaration.
59327         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59328         formatting.
59329         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59330         as unused and give dummy FP_RND_NEAREST initializer.
59331         (__Qp_handle_exceptions): Update declaration.
59332         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59333         formatting.
59335 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59337         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59338         the temporary FPU control word.
59339         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59340         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59341         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59342         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59343         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59344         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59345         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59346         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59347         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59348         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59349         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59351 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59353         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59354         fields.
59356 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59358         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59359         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59360         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59361         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59362         Likewise.
59363         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59364         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59365         Likewise.
59367 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59369         * po/h.po: Update from translation team.
59371 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59373         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59375         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59376         handling of denormals.
59377         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59378         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59379         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59380         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59381         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59382         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59384         Likewise.
59386 2012-05-26  Marek Polacek  <polacek@redhat.com>
59388         [BZ #14152]
59389         * math/libm-test.inc (fma_test): Don't always expect underflow
59390         exception.
59392 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59394         [BZ #12416]
59395         * elf/tst-execstack.c: Include stackinfo.h.
59396         (do_test): Adjust test case to ensure that pthread_getattr_np
59397         behaviour remains the same after marking stack executable.
59399 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59401         * sysdeps/unix/sysv/linux/kernel-features.h
59402         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59403         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59404         kernel-features.h.
59405         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59406         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59407         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59408         kernel-features.h.
59409         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59410         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59412 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59414         * configure.in: Define the default includes to being none.
59415         * configure: Regenerated.
59417 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59419         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59420         * sysdeps/x86_64/setjmp.S: Likewise.
59421         * sysdeps/i386/bsd-setjmp.S: Likewise.
59422         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59423         * sysdeps/i386/setjmp.S: Likewise.
59424         * sysdeps/i386/__longjmp.S: Likewise.
59425         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59426         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59428         * include/stap-probe.h: New file.
59429         * configure.in: Handle --enable-systemtap.
59430         * configure: Regenerated.
59431         * config.h.in (USE_STAP_PROBE): New #undef.
59432         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59433         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59434         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59436 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59438         [BZ #13717]
59439         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59440         to 2.4.0 where earlier.
59441         * sysdeps/unix/sysv/linux/configure: Regenerated.
59442         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59443         <kernel-features.h>.
59444         [__ASSUME_32BITUIDS]: Make code unconditional.
59445         [!__ASSUME_32BITUIDS]: Remove conditional code.
59446         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59447         <kernel-features.h>.
59448         [__ASSUME_32BITUIDS]: Make code unconditional.
59449         [!__ASSUME_32BITUIDS]: Remove conditional code.
59450         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59451         [__ASSUME_32BITUIDS]: Make code unconditional.
59452         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59453         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59454         <kernel-features.h>.
59455         [__ASSUME_32BITUIDS]: Make code unconditional.
59456         [!__ASSUME_32BITUIDS]: Remove conditional code.
59457         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59458         <kernel-features.h>.
59459         [__ASSUME_32BITUIDS]: Make code unconditional.
59460         [!__ASSUME_32BITUIDS]: Remove conditional code.
59461         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59462         <kernel-features.h>.
59463         [__ASSUME_32BITUIDS]: Make code unconditional.
59464         [!__ASSUME_32BITUIDS]: Remove conditional code.
59465         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59466         <kernel-features.h>.
59467         [__ASSUME_32BITUIDS]: Make code unconditional.
59468         [!__ASSUME_32BITUIDS]: Remove conditional code.
59469         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59470         <kernel-features.h>.
59471         [__ASSUME_32BITUIDS]: Make code unconditional.
59472         [!__ASSUME_32BITUIDS]: Remove conditional code.
59473         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59474         <kernel-features.h>.
59475         [__ASSUME_32BITUIDS]: Make code unconditional.
59476         [!__ASSUME_32BITUIDS]: Remove conditional code.
59477         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
59478         <kernel-features.h>.
59479         [__ASSUME_32BITUIDS]: Make code unconditional.
59480         [!__ASSUME_32BITUIDS]: Remove conditional code.
59481         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59482         <kernel-features.h>.
59483         [__ASSUME_32BITUIDS]: Make code unconditional.
59484         [!__ASSUME_32BITUIDS]: Remove conditional code.
59485         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59486         <kernel-features.h>.
59487         [__ASSUME_32BITUIDS]: Make code unconditional.
59488         [!__ASSUME_32BITUIDS]: Remove conditional code.
59489         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
59490         <kernel-features.h>.
59491         [__ASSUME_32BITUIDS]: Make code unconditional.
59492         [!__ASSUME_32BITUIDS]: Remove conditional code.
59493         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59494         <kernel-features.h>.
59495         [__NR_setresgid] (__setresgid): Do not declare.
59496         [__ASSUME_32BITUIDS]: Make code unconditional.
59497         [!__ASSUME_32BITUIDS]: Remove conditional code.
59498         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59499         <kernel-features.h>.
59500         [__NR_setresuid] (__setresuid): Do not declare.
59501         [__ASSUME_32BITUIDS]: Make code unconditional.
59502         [!__ASSUME_32BITUIDS]: Remove conditional code.
59503         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
59504         <kernel-features.h>.
59505         [__ASSUME_32BITUIDS]: Make code unconditional.
59506         [!__ASSUME_32BITUIDS]: Remove conditional code.
59507         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
59508         <kernel-features.h>.
59509         [__ASSUME_32BITUIDS]: Make code unconditional.
59510         [!__ASSUME_32BITUIDS]: Remove conditional code.
59511         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
59512         <kernel-features.h>.
59513         [__ASSUME_32BITUIDS]: Make code unconditional.
59514         [!__ASSUME_32BITUIDS]: Remove conditional code.
59515         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59516         <kernel-features.h>.
59517         [__ASSUME_32BITUIDS]: Make code unconditional.
59518         [!__ASSUME_32BITUIDS]: Remove conditional code.
59519         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59520         <kernel-features.h>.
59521         [__ASSUME_32BITUIDS]: Make code unconditional.
59522         [!__ASSUME_32BITUIDS]: Remove conditional code.
59523         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59524         <kernel-features.h>.
59525         [__ASSUME_32BITUIDS]: Make code unconditional.
59526         [!__ASSUME_32BITUIDS]: Remove conditional code.
59527         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
59528         <kernel-features.h>.
59529         [__ASSUME_32BITUIDS]: Make code unconditional.
59530         [!__ASSUME_32BITUIDS]: Remove conditional code.
59531         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
59532         <kernel-features.h>.
59533         [__ASSUME_32BITUIDS]: Make code unconditional.
59534         [!__ASSUME_32BITUIDS]: Remove conditional code.
59535         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
59536         <kernel-features.h>.
59537         [__ASSUME_32BITUIDS]: Make code unconditional.
59538         [!__ASSUME_32BITUIDS]: Remove conditional code.
59539         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59540         <kernel-features.h>.
59541         [__ASSUME_32BITUIDS]: Make code unconditional.
59542         [!__ASSUME_32BITUIDS]: Remove conditional code.
59543         * sysdeps/unix/sysv/linux/kernel-features.h
59544         (__ASSUME_SETRESUID_SYSCALL): Remove.
59545         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59546         (__ASSUME_32BITUIDS): Likewise.
59547         (__ASSUME_LDT_WORKS): Likewise.
59548         (__ASSUME_O_DIRECTORY): Likewise.
59549         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59550         architecture but not kernel version.
59551         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59552         (__ASSUME_MMAP2_SYSCALL): Likewise.
59553         (__ASSUME_STAT64_SYSCALL): Likewise.
59554         (__ASSUME_IPC64): Likewise.
59555         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59556         <kernel-features.h>.
59557         [__ASSUME_32BITUIDS]: Make code unconditional.
59558         [!__ASSUME_32BITUIDS]: Remove conditional code.
59559         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59560         <kernel-features.h>.
59561         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59562         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
59563         132096]: Remove conditional code.
59564         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
59565         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59566         <kernel-features.h>.
59567         [__ASSUME_32BITUIDS]: Make code unconditional.
59568         [!__ASSUME_32BITUIDS]: Remove conditional code.
59569         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59570         <kernel-features.h>.
59571         [__ASSUME_32BITUIDS]: Make code unconditional.
59572         [!__ASSUME_32BITUIDS]: Remove conditional code.
59573         * sysdeps/unix/sysv/linux/setegid.c: Do not include
59574         <kernel-features.h>.
59575         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
59576         unconditional.
59577         (__setresgid): Do not declare.
59578         [__ASSUME_32BITUIDS]: Make code unconditional.
59579         [!__ASSUME_32BITUIDS]: Remove conditional code.
59580         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
59581         <kernel-features.h>.
59582         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
59583         unconditional.
59584         (__setresuid): Do not declare.
59585         [__ASSUME_32BITUIDS]: Make code unconditional.
59586         [!__ASSUME_32BITUIDS]: Remove conditional code.
59587         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59588         <kernel-features.h>.
59589         [__ASSUME_32BITUIDS]: Make code unconditional.
59590         [!__ASSUME_32BITUIDS]: Remove conditional code.
59591         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
59592         <kernel-features.h>.
59593         [__ASSUME_32BITUIDS]: Make code unconditional.
59594         [!__ASSUME_32BITUIDS]: Remove conditional code.
59596 2012-05-25  Richard Henderson  <rth@twiddle.net>
59598         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
59599         dl_hwcap to ifunc resolver.
59600         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
59601         elf_ifunc_invoke.
59602         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
59603         dl_hwcap to ifunc resolver.
59604         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
59606 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59608         [BZ #14153]
59609         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
59610         for |x| <= 2**-26, not 2**-57.
59611         * math/libm-test.inc (acos_test): Do not allow spurious underflow
59612         exception.
59614 2012-05-24  Jeff Law  <law@redhat.com>
59616         * stdio-common/Makefile (tests): Add bug25.
59617         * stdio-common/bug25.c: New test.
59619 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59621         [BZ #13576]
59622         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
59623         multiple of MALLOC_ALIGNMENT in size.
59624         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
59626 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59628         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
59629         Require >= 256.
59630         (FILENAME_MAX): Use macro-int-constant.
59631         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
59632         (_IOFBF): Use macro-int-constant.
59633         (_IOLBF): Likewise.
59634         (_IONBF): Likewise.
59635         (SEEK_CUR): Likewise.
59636         (SEEK_END): Likewise.
59637         (SEEK_SET): Likewise.
59638         (TMP_MAX): Likewise.
59639         (EOF): Use macro-int-constant.  Require < 0.
59640         (NULL): Use macro-constant.  Require == 0.
59641         (stdin): Require type to be FILE *.
59642         (stdout): Likewise.
59643         (stderr): Likewise.
59644         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
59645         macro-int-constant.
59646         (EXIT_SUCCESS): Likewise.
59647         (NULL): Use macro-constant.  Require == 0.
59648         (RAND_MAX): Use macro-int-constant.
59649         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
59650         [C99-based standards] (strtof): Require function.
59651         [C99-based standards] (strtold): Likewise.
59652         [C99-based standards] (strtoll): Likewise.
59653         [C99-based standards] (strtoull): Likewise.
59654         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59655         [ISO || ISO99 || ISO11] (limits.h): Likewise.
59656         [ISO || ISO99 || ISO11] (math.h): Likewise.
59657         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
59658         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59659         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59661 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
59663         [BZ #14132]
59664         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
59665         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
59666         * intl/dgettext.c (DCGETTEXT): Likewise.
59667         * intl/gettext.c (DCGETTEXT): Likewise.
59668         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
59669         * posix/regex_internal.h (gettext): Likewise.
59670         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
59671         Remove declaration.
59672         * include/argz.h (__argz_count_internal)
59673         (__argz_stringify_internal): Remove declaration.
59674         (__argz_count, __argz_stringify): Declare hidden proto.
59675         * intl/dcgettext.c: Remove use of INTDEF.
59676         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
59677         * string/argz-stringify.c: Likewise.
59678         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59679         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59680         Declare hidden proto.
59681         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59682         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59683         Declare hidden proto.
59684         * include/stdio.h (__asprintf_internal): Don't declare.
59685         (__asprintf): Don't define as macro.  Declare hidden proto.
59686         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
59687         (__fsetlocking): Declare hidden proto.
59688         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
59689         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
59690         hidden proto.
59691         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
59692         (_IO_setlinebuf): Remove use of INTUSE.
59693         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
59694         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
59695         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
59696         Remove declaration.
59697         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
59698         (_IO_do_flush): Remove use of INTUSE.
59699         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
59700         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
59701         (_IO_adjust_column, _IO_least_wmarker)
59702         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
59703         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
59704         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
59705         (_IO_default_doallocate, _IO_wdefault_doallocate)
59706         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
59707         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
59708         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
59709         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
59710         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
59711         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
59712         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
59713         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
59714         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
59715         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
59716         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
59717         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
59718         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
59719         proto.
59720         (_IO_flush_all_internal, _IO_adjust_column_internal)
59721         (_IO_default_uflow_internal, _IO_default_finish_internal)
59722         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
59723         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
59724         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
59725         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
59726         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
59727         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
59728         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
59729         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
59730         (_IO_file_close_internal, _IO_file_close_it_internal)
59731         (_IO_file_underflow_internal, _IO_file_overflow_internal)
59732         (_IO_file_init_internal, _IO_file_attach_internal)
59733         (_IO_file_fopen_internal, _IO_file_read_internal)
59734         (_IO_file_sync_internal, _IO_file_seek_internal)
59735         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
59736         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
59737         (_IO_str_underflow_internal, _IO_str_overflow_internal)
59738         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
59739         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
59740         (_IO_list_all_internal, _IO_link_in_internal)
59741         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
59742         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
59743         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
59744         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
59745         (_IO_do_write_internal, _IO_padn_internal)
59746         (_IO_getline_info_internal, _IO_getline_internal)
59747         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
59748         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
59749         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
59750         (_IO_vfscanf_internal, _IO_vfprintf_internal)
59751         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
59752         (_IO_init_internal, _IO_un_link_internal): Don't declare.
59753         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
59754         with libc_hidden_ver, remove use of INTUSE.
59755         * libio/genops.c: Likewise.
59756         * libio/freopen.c: Likewise.
59757         * libio/freopen64.c: Likewise.
59758         * libio/iofclose.c: Likewise.
59759         * libio/iofdopen.c: Likewise.
59760         * libio/iofflush.c: Likewise.
59761         * libio/iofflush_u.c: Likewise.
59762         * libio/iofgets.c: Likewise.
59763         * libio/iofgets_u.c: Likewise.
59764         * libio/iofopen.c: Likewise.
59765         * libio/iofopncook.c: Likewise.
59766         * libio/iofread.c: Likewise.
59767         * libio/iofread_u.c: Likewise.
59768         * libio/ioftell.c: Likewise.
59769         * libio/iofwrite.c: Likewise.
59770         * libio/iogetline.c: Likewise.
59771         * libio/iogets.c: Likewise.
59772         * libio/iogetwline.c: Likewise.
59773         * libio/iopadn.c: Likewise.
59774         * libio/iopopen.c: Likewise.
59775         * libio/ioseekoff.c: Likewise.
59776         * libio/ioseekpos.c: Likewise.
59777         * libio/iosetbuffer.c: Likewise.
59778         * libio/iosetvbuf.c: Likewise.
59779         * libio/ioungetc.c: Likewise.
59780         * libio/ioungetwc.c: Likewise.
59781         * libio/iovdprintf.c: Likewise.
59782         * libio/iovsprintf.c: Likewise.
59783         * libio/iovsscanf.c: Likewise.
59784         * libio/memstream.c: Likewise.
59785         * libio/obprintf.c: Likewise.
59786         * libio/oldfileops.c: Likewise.
59787         * libio/oldiofclose.c: Likewise.
59788         * libio/oldiofdopen.c: Likewise.
59789         * libio/oldiofopen.c: Likewise.
59790         * libio/oldiopopen.c: Likewise.
59791         * libio/oldstdfiles.c: Likewise.
59792         * libio/putc.c: Likewise.
59793         * libio/setbuf.c: Likewise.
59794         * libio/setlinebuf.c: Likewise.
59795         * libio/stdfiles.c: Likewise.
59796         * libio/strops.c: Likewise.
59797         * libio/vasprintf.c: Likewise.
59798         * libio/vscanf.c: Likewise.
59799         * libio/vsnprintf.c: Likewise.
59800         * libio/vswprintf.c: Likewise.
59801         * libio/wfiledoalloc.c: Likewise.
59802         * libio/wfileops.c: Likewise.
59803         * libio/wgenops.c: Likewise.
59804         * libio/wmemstream.c: Likewise.
59805         * libio/wstrops.c: Likewise.
59806         * libio/__fpurge.c: Likewise.
59807         * libio/__fsetlocking.c: Likewise.
59808         * assert/assert.c: Likewise.
59809         * debug/fgets_chk.c: Likewise.
59810         * debug/fgets_u_chk.c: Likewise.
59811         * debug/fread_chk.c: Likewise.
59812         * debug/fread_u_chk.c: Likewise.
59813         * debug/gets_chk.c: Likewise.
59814         * debug/obprintf_chk.c: Likewise.
59815         * debug/vasprintf_chk.c: Likewise.
59816         * debug/vdprintf_chk.c: Likewise.
59817         * debug/vsnprintf_chk.c: Likewise.
59818         * debug/vsprintf_chk.c: Likewise.
59819         * malloc/mtrace.c: Likewise.
59820         * misc/error.c: Likewise.
59821         * misc/syslog.c: Likewise.
59822         * stdio-common/asprintf.c: Likewise.
59823         * stdio-common/fxprintf.c: Likewise.
59824         * stdio-common/getw.c: Likewise.
59825         * stdio-common/isoc99_fscanf.c: Likewise.
59826         * stdio-common/isoc99_scanf.c: Likewise.
59827         * stdio-common/isoc99_vfscanf.c: Likewise.
59828         * stdio-common/isoc99_vscanf.c: Likewise.
59829         * stdio-common/isoc99_vsscanf.c: Likewise.
59830         * stdio-common/printf-prs.c: Likewise.
59831         * stdio-common/printf_fp.c: Likewise.
59832         * stdio-common/printf_fphex.c: Likewise.
59833         * stdio-common/printf_size.c: Likewise.
59834         * stdio-common/putw.c: Likewise.
59835         * stdio-common/scanf.c: Likewise.
59836         * stdio-common/sprintf.c: Likewise.
59837         * stdio-common/tmpfile.c: Likewise.
59838         * stdio-common/vfprintf.c: Likewise.
59839         * stdio-common/vfscanf.c: Likewise.
59840         * stdlib/strfmon_l.c: Likewise.
59841         * sunrpc/openchild.c: Likewise.
59842         * sunrpc/xdr_stdio.c: Likewise.
59843         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
59844         * sysdeps/mach/hurd/tmpfile.c: Likewise.
59846 2012-05-24  Roland McGrath  <roland@hack.frob.com>
59848         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59850         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
59851         in the third column, to generate for the shared library an IFUNC
59852         that uses _dl_vdso_vsym.
59853         * Makerules (COMPILE.c, compile-stdin.c): New variables.
59854         * Makeconfig (object-suffixes-noshared): New variable.
59856         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
59857         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
59858         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
59859         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
59861         [BZ #14132]
59862         * include/sys/time.h (__gettimeofday): Remove macro.
59863         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
59864         * time/gettimeofday.c (__gettimeofday): Remove #undef.
59865         Remove INTDEF.
59866         (__gettimeofday): Add libc_hidden_def.
59867         (gettimeofday): Add libc_hidden_weak.
59868         * sysdeps/mach/gettimeofday.c: Likewise.
59869         * sysdeps/posix/gettimeofday.c: Likewise.
59870         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
59871         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
59872         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
59873         (__gettimeofday_internal): Remove strong_alias.
59874         (__gettimeofday): Add libc_hidden_def.
59875         (gettimeofday): Add libc_hidden_weak.
59876         * sysdeps/unix/syscalls.list (gettimeofday):
59877         Remove __gettimeofday_internal alias.
59879 2012-05-24  Daniel Jacobowitz  <drow@false.org>
59880             H.J. Lu  <hongjiu.lu@intel.com>
59882         [BZ #12495]
59883         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
59884         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
59885         (largebin_index_32_big): New.
59886         (largebin_index): Use it for 16-byte alignment.
59887         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
59888         correction with front_misalign.
59890 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
59893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
59894         Likewise.
59895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
59896         Likewise.
59897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59898         Likewise.
59899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
59900         Likewise.
59901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
59902         Likewise.
59903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
59904         Likewise.
59905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
59906         Likewise.
59907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59908         Likewise.
59909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
59910         Likewise.
59911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
59912         Likewise.
59913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
59914         Likewise.
59915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
59916         Likewise.
59918         * scripts/data/c++-types-x32-linux-gnu.data: New file.
59919         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
59921 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59923         [BZ #10846]
59924         [BZ #14036]
59925         * math/libm-test.inc (exp_test): Add test from bug 14036.
59926         (pow_test): Add test from bug 10846.
59928         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
59929         and other flags.
59930         (special_function): Do not include flags in test name.
59931         (parse_args): Likewise.
59932         * sysdeps/i386/fpu/libm-test-ulps: Update.
59933         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59934         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59935         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59938         * math/gen-libm-test.pl (%beautify): Add entries for underflow
59939         exceptions.
59940         * math/libm-test.inc ("Philosophy"): Update comment about
59941         exception testing.
59942         (UNDERFLOW_EXCEPTION): New macro.
59943         (UNDERFLOW_EXCEPTION_OK): Likewise.
59944         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
59945         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
59946         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
59947         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
59948         (INVALID_EXCEPTION_OK): Update value.
59949         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59950         (OVERFLOW_EXCEPTION_OK): Likewise.
59951         (IGNORE_ZERO_INF_SIGN): Likewise.
59952         (test_exceptions): Handle underflow exceptions.
59953         (acos_test): Update for underflow exception expectations.
59954         (cexp_test): Likewise.
59955         (clog_test): Likewise.
59956         (clog10_test): Likewise.
59957         (csqrt_test): Likewise.
59958         (ctan_test): Likewise.
59959         (ctanh_test): Likewise.
59960         (exp_test): Likewise.
59961         (exp10_test): Likewise.
59962         (exp2_test): Likewise.
59963         (expm1_test): Likewise.
59964         (fma_test): Likewise.
59965         (j0_test): Likewise.
59966         (jn_test): Likewise.
59967         (nexttoward_test): Likewise.
59968         (pow_test): Likewise.
59969         (scalbn_test): Likewise.
59970         (scalbln_test): Likewise.
59971         (tan_test): Likewise.
59972         (y1_test): Likewise.
59973         * sysdeps/i386/fpu/libm-test-ulps: Update.
59974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59976 2012-05-23  David S. Miller  <davem@davemloft.net>
59978         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59979         (__libc_sigaction): Remove unused local variables.
59981 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59983         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
59985 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
59987         mktime: avoid signed integer overflow
59988         * time/mktime.c (__mktime_internal): Do not mishandle the case
59989         where diff == INT_MIN.
59991         mktime: simplify computation of average
59992         * time/mktime.c (ranged_convert): Use new time_t_avg function
59993         instead of rolling our own (probably-slower) code.
59995         mktime: do not assume signed right shift propagates sign bit
59996         * time/mktime.c (isdst_differ): New static function.
59997         (__mktime_internal): No need to normalize tm_isdst now.
59998         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
59999         tm_isdst values.
60001         mktime: merge another wrapv change from gnulib
60002         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
60003         from some compilers.
60005         mktime: remove incorrect attempt at unusual arithmetics
60006         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
60007         The code didn't really work on such machines anyway.
60008         (TYPE_MINIMUM): Assume two's complement.
60009         (twos_complement_arithmetic): Verify that long_int and time_t
60010         are two's complement (or unsigned, in the latter case).
60012         mktime: check signed shifts on long_int and time_t, too
60013         * time/mktime.c (SHR): Check that shifts work as desired
60014         on the types long_int and time_t too, as SHR is used on
60015         such types.
60017         mktime: do not assume 'long' is wide enough
60018         * time/mktime.c (verify): Move decl up.
60019         (long_int): New type.
60020         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
60021         to remove assumption in the code that 'long' is wide enough to
60022         store year values.  This assumption is not true on x32 and on
60023         some non-glibc platforms.
60025         mktime: merge wrapv change from gnulib
60026         * time/mktime.c (WRAPV): New macro.
60027         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
60028         (guess_time_tm, __mktime_internal): Do not assume that signed
60029         integer overflow wraps around; modern compilers generate code
60030         where this assumption is no longer valid.
60032 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60034         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60035         Replace "jmp L(pseudo_end)" with "ret".
60036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
60037         Likewise.
60039 2012-05-23  Andreas Jaeger  <aj@suse.de>
60041         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
60042         * sysdeps/unix/sysv/linux/poll.c: Remove file.
60044 2012-05-23  Andreas Jaeger  <aj@suse.de>
60045             Maximilian Attems  <max@stro.at>
60047         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
60048         New macros.
60050 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60052         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
60053         code so that pseudo_end is just ret and the stack pointer is
60054         correct also for static library in error case.
60056 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
60058         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
60059         move to syscalls.list.
60060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
60061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
60062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
60063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
60065         * manual/install.texi (Running make install): Do not mention Linux
60066         kernel version for which pt_chown is not needed.
60067         (Linux): Do not mention problems with nscd with 2.0 kernels.
60068         * INSTALL: Regenerated.
60070 2012-05-23  Andreas Jaeger  <aj@suse.de>
60072         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
60073         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
60074         macro.
60075         * sysdeps/unix/sysv/linux/s390/bits/mman.h
60076         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60077         * sysdeps/unix/sysv/linux/sh/bits/mman.h
60078         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60079         * sysdeps/unix/sysv/linux/i386/bits/mman.h
60080         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60081         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
60082         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60083         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
60084         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60085         * sysdeps/unix/sysv/linux/bits/in.h
60086         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
60088 2012-05-22  Roland McGrath  <roland@hack.frob.com>
60090         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
60091         (PREPARE_VERSION): Just use assert instead, it will be elided
60092         under [NDEBUG] anyway.
60094 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60096         * sysdeps/unix/sysv/linux/Makefile: Include
60097         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
60098         (sysdep_routines): Remove sysctl.
60099         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
60100         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
60101         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
60102         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
60103         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
60105 2012-05-22  Andreas Jaeger  <aj@suse.de>
60107         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
60108         that pseudo_end is just ret and the stack pointer is correct also
60109         for static library in error case.
60111 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
60113         [BZ #14122]
60114         * nss/nsswitch.c (defconfig_entries): New variable.
60115         (__nss_database_lookup): Don't leak defconfig entries.
60116         (nss_parse_service_list): Don't leak on error paths.
60117         (free_database_entries): New function.
60118         (free_defconfig): New function.
60119         (free_mem): Move common code to free_database_entries.
60121 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60123         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
60124         Add arch_prctl.
60125         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
60127         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
60128         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
60129         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
60130         New macro.
60131         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
60132         (INTERNAL_SYSCALL_TYPES): Likewise.
60133         (LOAD_ARGS_TYPES_[1-6]): Likewise.
60134         (LOAD_REGS_TYPES_[1-6]): Likewise.
60135         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
60136         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
60138 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60140         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
60141         copysignl for GLIBC_2_0.
60142         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
60143         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
60144         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
60145         logbl for GLIBC_2_0.
60146         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60147         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
60149 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60151         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
60152         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60154         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60155         Use "neg %eax".
60157         * time/mktime.c: Update copyright years.
60159 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60161         mktime: merge comment-quoting-style change from gnulib
60162         * time/mktime.c: Quote 'like this' in comments.
60163         The GNU coding standards suggest that we no longer quote `like this',
60164         as "`" and "'" are typically rendered asymmetrically nowadays.
60165         The typical gnulib style is to quote 'like this' when quoting
60166         code, and "like this" when quoting English.
60168         * time/mktime.c (compile-command): Add "-I.".
60170         mktime: merge mktime-internal.h change from gnulib
60171         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60173         mktime: merge time_r change from gnulib
60174         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60176         mktime: merge DEBUG change from gnulib
60177         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60178         case system <time.h> has a #define.
60180         mktime: merge <sys/types.h> change from gnulib
60181         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60182         since <time.t> is now guaranteed to define time_t.
60184         mktime: merge HAVE_CONFIG_H change from gnulib
60185         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60187 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60190         Use "neg %eax".
60192         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60193         __rlim_t cast.
60194         (struct rusage): Use anonymous union to pad each field to
60195         __syscall_slong_t.
60197 2012-05-21  David S. Miller  <davem@davemloft.net>
60199         * Makefules (o-iterator): Remove .s cases.
60200         (compile-command.s): Delete.
60201         (COMPILE.s): Delete.
60202         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60204 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60206         * configure.in (libc_cv_predef_stack_protector): Only consider
60207         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60208         * configure: Regenerated.
60210 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60212         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60213         New macro.  Use R*LP on int and pointer.
60214         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60215         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60216         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60217         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60219         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60220         [__WORDSIZE_TIME64_COMPAT32] instead of
60221         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60222         (struct utmp): Likewise.
60223         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60224         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60225         Renamed to ...
60226         (__WORDSIZE_TIME64_COMPAT32): This.
60227         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60228         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60229         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60230         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60231         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60232         (__WORDSIZE_TIME64_COMPAT32): New macro.
60234 2012-05-21  Andreas Jaeger  <aj@suse.de>
60236         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60237         only if [SHARED]. Add prototype for __wcschr_ia32.
60239 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60241         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60242         of %rbp unmolested in the jmp_buf while mangling the low bits.
60243         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60244         unmolested high bits of %rbp while demangling the low bits.
60245         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60247 2012-05-21  Andreas Jaeger  <aj@suse.de>
60249         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60250         * sunrpc/svc_simple.c: Use it for registerrpc.
60251         * sunrpc/xcrypt.c: Use it for passwd2des.
60253         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60255 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60257         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60258         Don't define if [__SYSCALL_WORDSIZE != 32].
60259         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60260         New macro.
60262 2012-05-21  Bruno Haible  <bruno@clisp.org>
60263             Andreas Jaeger  <aj@suse.de>
60265         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60266         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60267         inptr and inend for must_buffer_ch.
60268         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60269         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60270         * stdio-common/Makefile (tests): Remove bug15.
60271         (bug15-ENV): Remove macro.
60272         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60273         anymore.
60275 2012-05-19  Andreas Jaeger  <aj@suse.de>
60276             Roland McGrath  <roland@hack.frob.com>
60278         * manual/contrib.texi: Completely rewritten. It contains now an
60279         alphabetical list of contributors and their contributions.
60281 2012-05-21  Richard Henderson  <rth@twiddle.net>
60283         * misc/getauxval.c (__getauxval): Use unsigned long int.
60284         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60285         (getauxval): Use unsigned long int.
60287 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60289         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60291 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60293         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60294         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60295         __alignof__ (long double).
60297 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60301 2012-05-20  Richard Henderson  <rth@twiddle.net>
60303         * misc/getauxval.c: New file.
60304         * misc/sys/auxv.h: New file.
60305         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60306         (routines): Add getauxval.
60307         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60308         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60309         * elf/dl-sysdep.c (_dl_auxv): Remove.
60310         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60311         * elf/dl-support.c (_dl_auxv): New variable.
60312         (_dl_aux_init): Initialize it.
60313         * manual/startup.texi (Auxiliary Vector): New node.
60314         * sysdeps/generic/bits/hwcap.h: New file.
60315         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60316         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60317         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60318         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60319         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60320         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60322         Update.
60323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60326         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60332 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60336 2012-05-19  David S. Miller  <davem@davemloft.net>
60338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60340 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60342         [BZ #14123]
60343         * math/s_ccosh.c: Include <float.h>
60344         (__ccosh): Avoid internal overflow calculating sinh and cosh
60345         values before multiplying by sin and cos values.
60346         * math/s_ccoshf.c: Likewise.
60347         * math/s_ccoshl.c: Likewise.
60348         * math/s_csin.c: Likewise.
60349         * math/s_csinf.c: Likewise.
60350         * math/s_csinl.c: Likewise.
60351         * math/s_csinh.c: Likewise.
60352         * math/s_csinhf.c: Likewise.
60353         * math/s_csinhl.c: Likewise.
60354         * math/libm-test.inc (ccos_test): Add more tests.
60355         (ccosh_test): Likewise.
60356         (csin_test): Likewise.
60357         (csinh_test): Likewise.
60358         * sysdeps/i386/fpu/libm-test-ulps: Update.
60359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60361 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60363         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60364         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60366         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60368 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60370         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60371         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60372         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60373         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60374         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60375         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60376         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60377         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60378         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60379         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60380         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60381         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60382         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60383         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60384         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60385         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60386         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60387         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60388         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60389         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60390         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60391         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60392         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60393         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60394         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60395         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60396         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60397         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60398         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60399         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60400         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60402 2012-05-18  Andreas Jaeger  <aj@suse.de>
60404         * csu/.gitignore: Delete.
60406 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60408         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60409         (timex): Use __syscall_slong_t.
60411 2012-05-18  Andreas Jaeger  <aj@suse.de>
60412             Carlos O'Donell  <carlos_odonell@mentor.com>
60414         * manual/install.texi (Configuring and compiling): Update
60415         description about files modified in the source directory.
60416         * INSTALL: Regenerated.
60418 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60420         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60421         value.  Use "or" to set return value to -1.
60422         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60423         negate return value.
60425 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60427         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60428         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60429         failure if the compiler has Graphite support disabled.
60430         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60431         Likewise.
60432         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60433         (CFLAGS-memmove.c): Likewise.
60434         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60435         Likewise.
60437 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60439         * sysdeps/x86_64/x32/_itoa.h: New file.
60441         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60442         getdents system call only if kernel and user dirents have the
60443         same d_ino and d_off.
60445         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60446         LLONG_MAX != LONG_MAX.
60447         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60448         (_fitoa_word): Likewise.
60450         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60451         years.
60452         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60453         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60454         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60456         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60457         include <bits/wordsize.h>.  Check __x86_64__ instead of
60458         __WORDSIZE.
60459         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60460         if __x86_64__ is defined.  Use anonymous union on fpstate.
60462         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60463         anonymous union.
60465 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60467         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60468         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60469         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60470         Refer to _rtld_local_ro instead of _rtld_global_ro.
60471         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60472         Likewise.
60473         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60474         Likewise.
60475         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60476         Likewise.
60477         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60478         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60479         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60481         [BZ #10882]
60482         * sysdeps/powerpc/powerpc32/dl-machine.c
60483         (__elf_machine_runtime_setup) [PROF]: Don't reference
60484         _dl_prof_resolve.
60486 2012-05-18  Andreas Jaeger  <aj@suse.de>
60488         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60489         function only available for GCCs before 3.4 since GCC 3.4
60490         introduced a builtin.
60491         (lrint): Likewise.
60492         (llrintf): Likewise.
60493         (llrint): Likewise.
60494         (fmaxf): Likewise.
60495         (fmax): Likewise.
60496         (fminf): Likewise.
60497         (fmin): Likewise.
60498         (rint): Likewise.
60499         (rintf): Likewise.
60500         (nearbyint): Likewise.
60501         (nearbyintf): Likewise.
60502         (ceil): Likewise.
60503         (ceilf): Likewise.
60504         (floor): Likewise.
60505         (floorf): Likewise.
60507 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60509         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60510         on both fields and cast pointer to __syscall_ulong_t.
60512         * bits/types.h (__fsword_t): New type.
60513         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60514         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60515         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60516         (__FSWORD_T_TYPE): Likewise.
60517         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60518         (__FSWORD_T_TYPE): Likewise.
60519         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60520         (__FSWORD_T_TYPE): Likewise.
60521         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60522         (__FSWORD_T_TYPE): Likewise.
60523         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60524         __SWORD_TYPE with __fsword_t.
60525         (statfs64): Likewise.
60527 2012-05-17  David S. Miller  <davem@davemloft.net>
60529         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
60531 2012-05-17  Andreas Jaeger  <aj@suse.de>
60533         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
60534         warning.
60536 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60538         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
60540 2012-05-17  Andreas Jaeger  <aj@suse.de>
60542         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60543         when it is used.
60545 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60547         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60549 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60551         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60552         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60554 2012-05-17  Andreas Jaeger  <aj@suse.de>
60555             Carlos O'Donell  <carlos_odonell@mentor.com>
60557         [BZ #14059]
60558         * sysdeps/x86_64/multiarch/init-arch.h
60559         (bit_YMM_Usable): Rename to...
60560         (bit_AVX_Usable): ... this.
60561         (bit_FMA4_Usable): New macro.
60562         (bit_XMM_state): New macro.
60563         (bit_YMM_state): New macro.
60564         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
60565         [__ASSEMBLER__] (index_AVX_Usable): ... this.
60566         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
60567         (CPUID_OSXSAVE): New macro.
60568         (CPUID_AVX): New macro.
60569         (CPUID_FMA4): New macro.
60570         (index_YMM_Usable): Rename to...
60571         (index_AVX_Usable): ... this.
60572         (HAS_AVX): Use HAS_ARCH_FEATURE.
60573         (HAS_FMA4): Likewise.
60574         (HAS_YMM_USABLE): Remove.
60575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60576         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
60577         are present.
60578         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
60579         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
60580         * sysdeps/x86_64/multiarch/Makefile: Likewise.
60581         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
60582         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
60584 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60586         * math/libm-test.c: Support platforms without multiple rounding modes.
60587         * math/bug-nextafter.c: Support platforms without FP exceptions.
60588         * math/bug-nexttoward.c: Likewise.
60589         * math/test-fenv.c: Likewise.
60590         * math/test-misc.c: Likewise.
60591         * stdlib/bug-getcontext.c: Likewise.
60593 2012-05-17  Andreas Jaeger  <aj@suse.de>
60595         * manual/examples/search.c (critter_cmp): Change signature to
60596         avoid warnings.
60597         * manual/string.texi (Collation Functions): Likewise.
60599 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60601         * bits/types.h: Fold copyright years.
60602         * bits/typesizes.h: Likewise.
60603         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
60604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
60605         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
60606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
60607         * time/time.h: Likewise.
60609 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
60611         [BZ #208]
60612         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
60613         in instead of returning them.  Return void.
60614         (__libc_mallinfo): Accumulate over all arenas.
60615         (__malloc_stats): Adjust for change in int_mallinfo interface.
60617 2012-05-16  Roland McGrath  <roland@hack.frob.com>
60619         [BZ #10375]
60620         * configure.in (NM): Add AC_CHECK_TOOL for it.
60621         (libc_extra_cflags): New substituted variable.
60622         Check for -fstack-protector being used implicitly.
60623         * configure: Regenerated.
60624         * config.make.in (config-extra-cflags): New variable,
60625         gets @libc_extra_cflags@.
60626         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
60628         [BZ #10375]
60629         * configure.in: Check for _FORTIFY_SOURCE being predefined.
60630         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
60631         * configure: Regenerated.
60632         * config.make.in (CPPUNDEFS): New substituted variable.
60633         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
60634         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
60635         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
60637 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60639         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
60640         (mq_attr): Use __syscall_slong_t.
60642 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60644         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
60645         Check __x86_64__ instead of __WORDSIZE.
60646         (_STAT_VER_LINUX): Likewise.
60647         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
60648         __syscall_ulong_t and __syscall_slong_t.
60649         (stat64): Likewise.
60651 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60653         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
60655 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60657         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
60659 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60661         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
60662         __syscall_ulong_t.
60664         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
60665         include <bits/wordsize.h>.  Check __x86_64__ instead of
60666         __WORDSIZE.
60667         (greg_t): Use "__extension__ long long int" if __x86_64__ is
60668         defined.
60669         (mcontext_t): Replace "unsigned long" with "unsigned long long".
60671         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
60672         include <bits/wordsize.h>.  Check __x86_64__ instead of
60673         __WORDSIZE.
60674         (user_regs_struct): Use "__extension__ unsigned long long"
60675         instead of "unsigned long" if __x86_64__ is defined.
60676         (user): Likewise.  Pad after pointer field if __ILP32__ is
60677         defined.
60679 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
60681         * configure.in (makeinfo): Require version 4.5 or later.  Allow
60682         versions 5 to 9.
60683         * configure: Regenerated.
60684         * manual/install.texi (texinfo): Increase version requirement to
60685         4.5 or later.
60686         * INSTALL: Regenerated.
60688         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
60690 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60692         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
60694         * sysdeps/x86_64/x32/ffs.c: New file.
60696         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
60697         __syscall_ulong_t.
60698         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
60699         defined.  Use __syscall_ulong_t.
60700         (shminfo): Use __syscall_ulong_t.
60701         (shm_info): Likewise.
60703         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
60704         __syscall_ulong_t.
60706         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
60707         <bits/wordsize.h>.
60708         (msgqnum_t): Use __syscall_ulong_t.
60709         (msglen_t): Likewise.
60710         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
60711         __syscall_ulong_t.
60713         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
60714         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60716         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
60718         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
60719         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
60721         * sysvipc/sys/msg.h (msgbuf): Replace long int with
60722         __syscall_slong_t.
60724         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
60725         include <bits/wordsize.h>.  Check __x86_64__ instead of
60726         __WORDSIZE.
60728         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
60729         "unsigned long long int" if __x86_64__ is defined.
60730         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
60732         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
60733         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60734         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
60736         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
60737         <stdint.h>.
60738         (GET_PC): Cast to uintptr_t first.
60739         (GET_FRAME): Likewise.
60740         (GET_STACK): Likewise.
60742         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
60743         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
60744         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
60745         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
60746         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
60747         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
60748         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
60749         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
60750         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
60751         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
60752         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
60753         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
60754         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60755         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
60756         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
60757         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
60758         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
60759         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
60760         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
60761         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
60762         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
60763         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
60764         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
60765         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
60766         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
60767         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
60768         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
60769         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
60770         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
60772 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
60774         * Makerules (+depfiles): Also collect depfiles from .oS in
60775         $(extra-objs).
60776         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
60777         .oS, $(libnldbl-routines)).
60779         * Makerules (native-compile-mkdep-flags): Define.
60780         * sunrpc/Makefile (extra-objs): Add $(addprefix
60781         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
60782         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
60783         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
60784         calling $(make-target-directory).
60786 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60788         * bits/types.h (__snseconds_t): Removed.
60789         * time/time.h (struct timespec): Replace __snseconds_t with
60790         __syscall_slong_t.
60791         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
60792         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
60793         Likewise.
60794         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60795         (__SNSECONDS_T_TYPE): Likewise.
60796         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60797         (__SNSECONDS_T_TYPE): Likewise.
60798         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60799         (__SNSECONDS_T_TYPE): Likewise.
60801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60803         * sysdeps/mach/hurd/bits/typesizes.h
60804         (__SYSCALL_SLONG_TYPE): New macro.
60805         (__SYSCALL_ULONG_TYPE): Likewise.
60807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60809         * bits/types.h (__syscall_slong_t): New type.
60810         (__syscall_ulong_t): Likewise.
60812         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
60813         (__SYSCALL_ULONG_TYPE): Likewise.
60814         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60815         (__SYSCALL_SLONG_TYPE): Likewise.
60816         (__SYSCALL_ULONG_TYPE): Likewise.
60817         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60818         (__SYSCALL_SLONG_TYPE): Likewise.
60819         (__SYSCALL_ULONG_TYPE): Likewise.
60820         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60821         (__SYSCALL_SLONG_TYPE): Likewise.
60822         (__SYSCALL_ULONG_TYPE): Likewise.
60824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60826         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
60827         Add sigaltstack-offsets.sym.
60828         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
60829         <sigaltstack-offsets.h>.
60830         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
60831         longjmp_msg pointer.
60832         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
60833         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
60834         signal stack.
60835         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
60837 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60839         * elf/stackguard-macros.h: Remove file.
60840         * sysdeps/generic/stackguard-macros.h: New file.
60841         * sysdeps/i386/stackguard-macros.h: Likewise.
60842         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60843         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60844         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60845         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60846         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60847         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60848         * sysdeps/x86_64/stackguard-macros.h: Likewise.
60849         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
60850         <elf/stackguard-macros.h>.
60852         [BZ #14109]
60853         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
60854         __aligned__ in attribute.
60855         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
60856         (gregset_t): Likewise.
60858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60860         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
60861         * sysdeps/x86_64/64/Implies-after: Here.  New file.
60862         * sysdeps/x86_64/x32/Implies-after: New file.
60864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60866         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
60867         and access return value for _dl_profile_fixup.  Use R10_LP to
60868         load frame size.
60870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60872         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
60874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60876         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
60877         * sysdeps/x86_64/x32/sysdep.h: New file.
60879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60881         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
60882         * sysdeps/x86_64/setjmp.S: Likewise.
60884 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60886         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
60887         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
60888         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
60889         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
60890         remove unused global constant.
60892 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
60894         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
60895         include of <not-cancel.h>.
60897 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60899         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
60901 2012-05-15  Jeff Law  <law@redhat.com>
60902             Andreas Jaeger  <aj@suse.de>
60904         [BZ #13594]
60905         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
60906         out from...
60907         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
60908         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
60909         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
60910         code changing __hst_map_handle.map.
60912 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60914         * configure.in (sysnames): Look for Implies-before and Implies-after
60915         files.
60916         * configure: Regenerated.
60918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60920         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
60921         8-byte data alignment with LP_SIZE alignment.
60923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60925         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
60926         into R10_LP.
60928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60930         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
60932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60934         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
60935         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
60936         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
60937         Likewise.
60938         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60942         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60943         (stackinfo_sub_sp): Likewise.
60945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60947         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
60948         RAX_LP.
60950 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60952         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
60953         into R*_LP.
60955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60957         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
60958         sizes into R*_LP.
60960 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60962         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
60964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60966         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
60967         into R11_LP and load __x86_64_shared_cache_size_half into
60968         R8_LP.
60970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60972         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
60973         R8_LP.
60975 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60977         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
60978         logb for POWER7.
60979         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
60980         logbf for POWER7.
60981         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60982         logbl for POWER7.
60983         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
60984         powerpc32/power7/fpu/s_logb.c via #include.
60985         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
60986         powerpc32/power7/fpu/s_logbf.c via #include.
60987         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
60988         powerpc32/power7/fpu/s_logbl.c via #include.
60990 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60992         * README.libm: Remove file.
60994 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60996         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
60997         count for x32.  Use R*_LP and omit operand-size suffix.
60999 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61001         * shlib-versions: Move x86_64-.*-linux.* entries to ...
61002         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
61003         * sysdeps/x86_64/x32/shlib-versions: New file.
61005 2012-05-14  Roland McGrath  <roland@hack.frob.com>
61007         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
61008         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
61009         Use _dl_fatal_printf instead.
61011 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61013         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
61014         set if not set by the user.  Do not allow for being unset.
61015         * sysdeps/unix/sysv/linux/configure: Regenerated.
61017 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61019         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
61020         the `q' suffix from lea and replace .quad with ASM_ADDR.
61022 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61024         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
61025         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
61026         instead of $17.
61027         (PTR_DEMANGLE): Likewise.
61029 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61031         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
61032         (LP_OP): Likewise.
61033         (ASM_ADDR): Likewise.
61034         (RAX_LP): Likewise.
61035         (RBP_LP): Likewise.
61036         (RBX_LP): Likewise.
61037         (RCX_LP): Likewise.
61038         (RDI_LP): Likewise.
61039         (RSI_LP): Likewise.
61040         (RSP_LP): Likewise.
61041         (R8_LP): Likewise.
61042         (R9_LP): Likewise.
61043         (R10_LP): Likewise.
61044         (R10_LP): Likewise.
61045         (R11_LP): Likewise.
61046         (R12_LP): Likewise.
61047         (R13_LP): Likewise.
61048         (R14_LP): Likewise.
61049         (R15_LP): Likewise.
61051 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61053         * sysdeps/x86_64/x32/dl-machine.h: New file.
61055 2012-05-14  Andreas Jaeger  <aj@suse.de>
61057         * manual/Makefile (subdir): Remove export of subdir.
61058         (all): Remove target.
61059         (.PHONY): Remove all from list.
61060         (mkinstalldirs): Remove.
61061         (.PHONY): Remove installdirs from list.
61062         ($(inst_infodir)/libc.info): Use make-target-directory.
61063         (installdirs): Remove.
61064         (subdir_%): Remove.
61065         (glibc-targets): Remove.
61066         (lib): Remove.
61067         (stubs): Remove.
61068         ($(objpfx)stubs ../po/manual.pot): Remove.
61069         ($(objpfx)stamp%): Remove.
61070         (make-target-directory): Remove.
61071         (subdir_install): Remove.
61072         (routines): Remove.
61073         (aux): Remove.
61074         (sources): Remove.
61075         (objects): Remove.
61076         (headers): Remove.
61078         [BZ #13750]
61079         * manual/.gitignore: Remove, it's not needed anymore.
61080         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
61081         all files in it.
61082         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
61083         directory.
61084         (texis): Renamed to $(objpfx)texis.
61085         (texis-path): New, contains path to generated files.
61086         (chapters.%): Use texis-path for complete path, add extra argument
61087         libc-texinfo.sh.
61088         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
61089         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
61090         (summary,texi, stamp-summary): Use complete path of
61091         files. Generate files in build dir.
61092         (dir-add.texi): Build in build dir.
61093         (libm-err.texi,stamp-libm-err): Likewise.
61094         (version.texi, stamp-version): Likewise.
61095         (.%c.texi): Likewise.
61096         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
61097         (mostlyclean): Remove target.
61098         (realclean): Remove target.
61099         (generated): Add new variable with contents from mostlyclean and
61100         realclean, remove entries duplicated in common-mostlyclean, add
61101         stamp-libm-err and stamp-version.
61102         (generated-dirs): Add libc directory.
61103         ($(inst_infodir)/libc.info): Install files from build dir.
61105         * manual/install.texi (Configuring and compiling): Adjust since
61106         the info files are not part of the tar ball anymore.
61108 2012-05-14  Andreas Jaeger  <aj@suse.de>
61110         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
61111         variable.
61113 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61115         [BZ #13717]
61116         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61117         to 2.2.0 where earlier.
61118         * sysdeps/unix/sysv/linux/configure: Regenerated.
61119         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
61120         Remove conditional code.
61121         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
61122         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
61123         Remove conditional code.
61124         [!__NR_lchown]: Likewise.
61125         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61126         [__NR_lchown]: Likewise.
61127         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
61128         comment referencing __ASSUME_LCHOWN_SYSCALL.
61129         * sysdeps/unix/sysv/linux/i386/sigaction.c
61130         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61131         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61132         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
61133         Remove conditional code.
61134         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
61135         (__protocol_available): Remove #if 0 code.
61136         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
61137         conditional code.
61138         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
61139         * sysdeps/unix/sysv/linux/kernel-features.h
61140         (__ASSUME_GETCWD_SYSCALL): Don't define.
61141         (__ASSUME_REALTIME_SIGNALS): Likewise.
61142         (__ASSUME_PREAD_SYSCALL): Likewise.
61143         (__ASSUME_PWRITE_SYSCALL): Likewise.
61144         (__ASSUME_POLL_SYSCALL): Likewise.
61145         (__ASSUME_LCHOWN_SYSCALL): Likewise.
61146         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
61147         non-SPARC.
61148         (__ASSUME_SIOCGIFNAME): Don't define.
61149         (__ASSUME_MSG_NOSIGNAL): Likewise.
61150         (__ASSUME_SENDFILE): Define unconditionally.
61151         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
61152         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
61153         conditional code.
61154         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
61155         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
61156         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61157         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61158         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61159         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61160         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61162         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61163         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61165         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61166         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61168         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61169         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61171         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61172         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61174         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61175         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61177         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61178         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61180         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61181         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61183         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61184         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61185         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61186         Remove conditional code.
61187         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61188         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61189         Remove conditional code.
61190         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61191         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61192         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61193         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61194         Remove conditional code.
61195         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61196         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61197         Remove conditional code.
61198         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61199         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61200         Remove conditional code.
61201         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61202         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61203         Remove conditional code.
61204         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61205         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61206         Remove conditional code.
61207         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61208         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61209         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61210         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61211         * sysdeps/unix/sysv/linux/sigaction.c
61212         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61213         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61214         * sysdeps/unix/sysv/linux/sigpending.c
61215         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61216         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61217         * sysdeps/unix/sysv/linux/sigprocmask.c
61218         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61219         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61220         * sysdeps/unix/sysv/linux/sigsuspend.c
61221         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61222         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61223         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61224         (__libc_missing_rt_sigs): Remove.
61225         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61226         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61227         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61228         Remove conditional code.
61229         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61230         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61231         return 1.
61232         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61233         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61234         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61235         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61237 2012-05-14  Andreas Jaeger  <aj@suse.de>
61239         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61240         it's not used in glibc.
61241         (__coshm1): Likewise.
61242         (__acosh1p): Likewise.
61243         (__sgn): Likewise.
61245         * manual/string.texi (Copying and Concatenation): Add missing
61246         variable in concat example.
61247         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61249 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61251         [BZ #14103]
61252         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61253         __builtin_clzl with __builtin_clzll.
61255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61257         [BZ #14104]
61258         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61259         libc_freeres_ptr.
61261 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61263         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61264         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61265         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61266         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61268 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61270         * NEWS: Update ia64 info.
61272 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61274         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61275         used as bcopy.
61277 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61279         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61280         * sysdeps/unix/syscalls.list (dup3): Likewise.
61281         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61282         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61284 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61286         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61287         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61289 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61291         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61292         thread pointer.
61293         (TLS_IE): Use mov/add instead of movq/addq to load thread
61294         pointer.
61295         (TLS_GD_PREFIX): New.
61296         (TLS_GD): Use it.
61298 2012-05-11  David S. Miller  <davem@davemloft.net>
61300         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61301         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61302         (_FPU_SETCW): Likewise.
61304 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61306         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61307         is 32-byte aligned.
61309 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61311         [BZ #11837]
61312         * iconvdata/gb18030.c: Update tables.
61313         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61314         characters specially.
61315         (BODY for TO_LOOP): Add encoding of missing ranges.
61317 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61319         [BZ #13673]
61320         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61321         * sysdeps/mach/hurd/dup3.c: Likewise.
61322         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61323         * sysdeps/powerpc/memmove.c:: Likewise.
61325 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61327         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61328         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61330 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61332         * elf/elf.h (R_X86_64_RELATIVE64): New.
61333         (R_X86_64_NUM): Updated.
61334         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61335         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61336         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61337         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61338         tst-quad1pie tst-quad2pie
61339         (modules-names): Add tst-quadmod1 tst-quadmod2.
61340         ($(objpfx)tst-quad1): New dependency.
61341         ($(objpfx)tst-quad2): Likewise.
61342         ($(objpfx)tst-quad1pie): Likewise.
61343         ($(objpfx)tst-quad2pie): Likewise.
61344         * sysdeps/x86_64/tst-quad1.c: New file.
61345         * sysdeps/x86_64/tst-quad1pie.c: New file.
61346         * sysdeps/x86_64/tst-quad2.c: Likewise.
61347         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61348         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61349         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61350         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61351         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61353 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61355         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61356         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61357         * streams/stropts.h (t_scalar_t): Define type.
61359         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61360         (_PATH_PRESERVE): Set to "/var/lib".
61361         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61363         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61364         instead of int.
61366         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61367         if __dir_mkfile succeeded.
61369         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61370         checking for _hurd_dtablesize.  Unlock it right after having
61371         finished _hurd_dtable allocation.
61373 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61375         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61376         * sysdeps/mach/hurd/configure: Regenerated.
61377         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61378         special-casing to...
61379         * sysdeps/gnu/configure.in: ... this new file.
61380         * sysdeps/unix/sysv/linux/configure: Regenerated.
61381         * sysdeps/gnu/configure: New generated file.
61383         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61384         for Linux: use nsec instead of usec, as well as:
61385         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61386         members of type struct timespec.
61387         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61388         New macros.
61389         (struct stat64): Likewise.
61390         (_STATBUF_ST_NSEC): New macro.
61391         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61393         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61394         __strtoul_internal rather than strtoul.
61396 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61398         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61399         and reject them.
61401 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61403         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61404         which preserves existing values.
61405         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61407 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61409         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61410         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61411         greater than FD_SETSIZE.
61413 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61415         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61416         allocated, call __vm_protect to finish enabling the existing space, and
61417         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61418         allocate the remainder.
61420 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61422         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61423         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61427         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61428         sysdeps/mach/hurd/readlink.c.
61430         * posix/tst-sysconf.c (posix_options): Only use
61431         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61432         _POSIX_SYNCHRONIZED_IO when they are defined
61433         * sysdeps/mach/hurd/bits/posix_opt.h:
61434         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61435         (_XOPEN_REALTIME): Undefine macro.
61436         (_XOPEN_REALTIME_THREADS): Undefine macro.
61437         (_XOPEN_SHM): Undefine macro.
61438         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61439         macro to -1.
61440         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61441         macro to -1.
61442         (_POSIX_ASYNC_IO): Undefine macro.
61443         (_POSIX_PRIORITIZED_IO): Undefine macro.
61444         (_POSIX_SPIN_LOCKS): Define macro to -1.
61446         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61447         SA_NODEFER, SA_RESETHAND.
61448         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61449         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61450         F_DUPFD_CLOEXEC.
61452 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61454         * elf/Makefile (pldd-modules): Define unconditionally.
61456 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61458         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61460 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61462         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61463         Return ENOENT when name is empty.
61464         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61466 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61468         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61470         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61472 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61474         Fix mlock in all cases except non-readable pages.
61475         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61476         instead of VM_PROT_ALL as parameter to __vm_wire function.
61478         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61479         (__mkdir): When path is `/', just fail with EEXIST.
61480         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61484         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61485         <sys/uio.h> (for writev).
61486         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61487         and <sys/param.h> (for MIN).
61489 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61491         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61492         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61493         if interrupted.
61495 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61497         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61498         Depend on against $(link-rpcuserlibs).
61500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61502         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61503         (__libc_stack_end): Do not use attribute_relro.
61504         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61505         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61506         to libthread-provided value.
61507         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61508         attribute_relro.
61510 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61512         [BZ #3748]
61513         * bits/libc-lock.h (__libc_once_get): New macro.
61514         * sysdeps/mach/bits/libc-lock.h: Likewise.
61515         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61516         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61517         instead of using implementation details.
61519         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61520         * libio/freopen.c: Likewise.
61521         * libio/freopen64.c: Likewise.
61522         * misc/syslog.c: Likewise.
61523         * nscd/connections.c: Likewise.
61524         * nscd/netgroupcache.c: Likewise.
61525         * sysdeps/posix/getcwd.c: Likewise.
61527 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61529         * math/w_ilogbf.c: Add #include <limits.h>.
61531 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61533         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
61534         path instead of returning without unlocking.
61536         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
61537         immediate-write ioctls.
61538         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
61540 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61542         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61543         __builtin_frame_address instead of making assumptions about the
61544         location of the return address relative to DATA.  Force early load of
61545         the return address.
61546         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61547         __builtin_frame_address.
61549         dup3 for GNU Hurd.
61550         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61551         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61552         implement dup3 and do some further code clean-ups.
61553         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61554         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61556 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61558         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61560         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61561         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61562         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
61563         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
61564         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
61565         d->port.lock.
61567         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
61568         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
61569         when handler == SIG_ERR, not when handler != SIG_ERR.
61571 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61573         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
61574         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
61575         definitions.
61577         accept4 for GNU Hurd.
61578         * include/sys/socket.h (__libc_accept4): New prototype.
61579         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
61580         to implement __libc_accept4.
61581         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
61582         __libc_accept4.
61583         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
61585         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
61586         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
61587         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
61588         signal-defines.sym.
61590 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61592         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
61594 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61596         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
61597         assertion on O_CLOEXEC flag.
61598         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
61599         * hurd/intern-fd.c: Likewise.
61600         * hurd/port2fd.c: Likewise.
61602 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61604         [BZ #3906]
61605         * bits/in.h (IPV6_PKTINFO): Define new macro.
61606         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
61608 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61610         [BZ #13954]
61611         [BZ #13955]
61612         [BZ #13956]
61613         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
61614         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61615         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
61616         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61617         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61618         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61619         * math/libm-test.inc (logb_test) : Additional logb tests.
61621 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
61622             Andreas Jaeger  <aj@suse.de>
61624         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
61625         * configure: Regenerated.
61626         * config.h.in (LINK_OBSOLETE_RPC): New macro.
61627         * config.make.in (link-obsolete-rpc): New substituted variable.
61628         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
61629         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
61630         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61631         (shared-only-routines): Don't set it under [link-obsolete-rpc],
61632         so that libc.a contains the symbols.
61633         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61634         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
61635         * sunrpc/auth_none.c: Likewise.
61636         * sunrpc/auth_unix.c: Likewise.
61637         * sunrpc/authdes_prot.c: Likewise.
61638         * sunrpc/authuxprot.c: Likewise.
61639         * sunrpc/clnt_gen.c: Likewise.
61640         * sunrpc/clnt_perr.c: Likewise.
61641         * sunrpc/clnt_raw.c: Likewise.
61642         * sunrpc/clnt_simp.c: Likewise.
61643         * sunrpc/clnt_tcp.c: Likewise.
61644         * sunrpc/clnt_udp.c: Likewise.
61645         * sunrpc/clnt_unix.c: Likewise.
61646         * sunrpc/des_crypt.c: Likewise.
61647         * sunrpc/des_soft.c: Likewise.
61648         * sunrpc/get_myaddr.c: Likewise.
61649         * sunrpc/key_call.c: Likewise.
61650         * sunrpc/key_prot.c: Likewise.
61651         * sunrpc/netname.c: Likewise.
61652         * sunrpc/pm_getmaps.c: Likewise.
61653         * sunrpc/pm_getport.c: Likewise.
61654         * sunrpc/pmap_clnt.c: Likewise.
61655         * sunrpc/pmap_prot.c: Likewise.
61656         * sunrpc/pmap_prot2.c: Likewise.
61657         * sunrpc/pmap_rmt.c: Likewise.
61658         * sunrpc/publickey.c: Likewise.
61659         * sunrpc/rpc_cmsg.c: Likewise.
61660         * sunrpc/rpc_common.c: Likewise.
61661         * sunrpc/rpc_dtable.c: Likewise.
61662         * sunrpc/rpc_prot.c: Likewise.
61663         * sunrpc/rpc_thread.c: Likewise.
61664         * sunrpc/rtime.c: Likewise.
61665         * sunrpc/svc.c: Likewise.
61666         * sunrpc/svc_auth.c: Likewise.
61667         * sunrpc/svc_raw.c: Likewise.
61668         * sunrpc/svc_run.c: Likewise.
61669         * sunrpc/svc_tcp.c: Likewise.
61670         * sunrpc/svc_udp.c: Likewise.
61671         * sunrpc/svc_unix.c: Likewise.
61672         * sunrpc/svcauth_des.c: Likewise.
61673         * sunrpc/xcrypt.c: Likewise.
61674         * sunrpc/xdr.c: Likewise.
61675         * sunrpc/xdr_array.c: Likewise.
61676         * sunrpc/xdr_float.c: Likewise.
61677         * sunrpc/xdr_intXX_t.c: Likewise.
61678         * sunrpc/xdr_mem.c: Likewise.
61679         * sunrpc/xdr_rec.c: Likewise.
61680         * sunrpc/xdr_ref.c: Likewise.
61681         * sunrpc/xdr_sizeof.c: Likewise.
61682         * sunrpc/xdr_stdio.c: Likewise.
61684 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61686         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
61687         change.  Update copyright years.
61689 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61691         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
61693 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
61694             Joseph Myers  <joseph@codesourcery.com>
61695             Paul Pluzhnikov  <ppluzhnikov@google.com>
61697         [BZ #14012]
61698         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
61699         requiring rpcgen.
61700         [cross-compiling] (extra-libs): Likewise.
61701         [cross-compiling] (extra-libs-others): Likewise.
61702         [cross-compiling] (librpcsvc-routines): Likewise.
61703         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
61704         [cross-compiling] (omit-deps): Likewise.
61705         (sunrpc-CPPFLAGS): New variable.
61706         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
61707         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
61708         (cross-rpcgen-objs): New variable.
61709         (extra-objs): Append $(cross-rpcgen-objs).
61710         ($(cross-rpcgen-objs)): New rule.
61711         ($(objpfx)cross-rpcgen): Likewise.
61712         (rpcgen-cmd): Define to use $(built-program-file).  Expand
61713         comment.
61714         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
61715         ($(objpfx)x%.stmp): Likewise.
61716         * sunrpc/proto.h [IS_IN_build] (_): Define.
61717         [IS_IN_build] (_libc_intl_domainname): Likewise.
61719 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61721         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
61722         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
61723         and R_X86_64_TPOFF64.
61725 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61727         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
61728         sysdeps/unix/sysv/syscalls.list.
61729         (stime): Likewise.
61730         (utime): Likewise.
61731         * sysdeps/unix/sysv/syscalls.list: Remove file.
61733 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
61735         [BZ #3440]
61736         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
61737         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
61738         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
61739         (__LC_IDENTIFICATION): Make these macros useful in #if
61740         expressions, as required by C99.
61742 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
61744         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
61745         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
61746         after this.
61748 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
61750         * stdlib/longlong.h: Updated from GCC.
61752 2012-05-09  Andreas Jaeger  <aj@suse.de>
61754         * nscd/nscd.c (run_modes): Make named enum, reorder so that
61755         default is first entry.
61756         (run_mode): Set type.
61757         (main): Remove informal message about syslog.
61758         (options): Fix typo.
61760         [BZ #14053]
61761         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
61762         to asm.
61763         (lrint): Likewise.
61764         (llrintf): Likewise.
61765         (llrint): Likewise.
61766         (rint): Likewise.
61767         (rintf): Likewise.
61768         (nearbyint): Likewise.
61769         (nearbyintf): Likewise.
61771 2012-05-09  Andreas Jaeger  <aj@suse.de>
61772             Pedro Alves  <palves@redhat.com>
61774         * nscd/nscd.c (run_mode): Use enum.
61775         (main): Cleanup coding style issue.
61777 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
61778             Andreas Jaeger  <aj@suse.de>
61780         * nscd/nscd.c (go_background): Replaced with...
61781         (run_mode): ... this.
61782         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
61783         (options): Add -F --foreground.
61784         (main): Implement it.
61785         (parse_opt): Parse it.
61787 2012-05-09  Andreas Jaeger  <aj@suse.de>
61789         [BZ #14083]
61790         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
61791         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
61792         -Wconversion warning.
61793         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
61794         Likewise.
61796 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
61798         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
61799         == 0.
61800         (LC_ALL): Use macro-int-constant.
61801         (LC_COLLATE): Likewise.
61802         (LC_CTYPE): Likewise.
61803         (LC_MESSAGES): Likewise.
61804         (LC_MONETARY): Likewise.
61805         (LC_NUMERIC): Likewise.
61806         (LC_TIME): Likewise.
61807         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
61808         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61809         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61810         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
61811         Specify type.
61812         [C99-based standards] (float_t): Expect type.
61813         [C99-based standards] (double_t): Expect type.
61814         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
61815         type.
61816         [C99-based standards] (HUGE_VALL): Likewise.
61817         [C99-based standards] (INFINITY): Likewise.
61818         [C99-based standards] (NAN): Likewise.
61819         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
61820         [C99-based standards] (FP_NAN): Likewise.
61821         [C99-based standards] (FP_NORMAL): Likewise.
61822         [C99-based standards] (FP_SUBNORMAL): Likewise.
61823         [C99-based standards] (FP_ZERO): Likewise.
61824         [C99-based standards] (FP_FAST_FMA): Use
61825         optional-macro-int-constant.  Specify type.  Require == 1.
61826         [C99-based standards] (FP_FAST_FMAF): Likewise.
61827         [C99-based standards] (FP_FAST_FMAL): Likewise.
61828         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
61829         [C99-based standards] (FP_ILOGBNAN): Likewise.
61830         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
61831         Specify type.
61832         [C99-based standards] (MATH_ERREXCEPT): Likewise.
61833         [C99-based standards] (math_errhandling): Specify type.
61834         [ISO99 || ISO11] (signgam): Do not allow.
61835         [non-C99-based standards] (copysignf): Do not allow.
61836         [non-C99-based standards] (exp2f): Likewise.
61837         [non-C99-based standards] (log2f): Likewise.
61838         [non-C99-based standards] (modff): Allow.
61839         [non-C99-based standards] (erff): Do not allow.
61840         [non-C99-based standards] (erfcf): Likewise.
61841         [non-C99-based standards] (gammaf): Likewise.
61842         [non-C99-based standards] (hypotf): Likewise.
61843         [non-C99-based standards] (j0f): Likewise.
61844         [non-C99-based standards] (j1f): Likewise.
61845         [non-C99-based standards] (jnf): Likewise.
61846         [non-C99-based standards] (lgammaf): Likewise.
61847         [non-C99-based standards] (tgammaf): Likewise.
61848         [non-C99-based standards] (y0f): Likewise.
61849         [non-C99-based standards] (y1f): Likewise.
61850         [non-C99-based standards] (ynf): Likewise.
61851         [non-C99-based standards] (isnanf): Likewise.
61852         [non-C99-based standards] (acoshf): Likewise.
61853         [non-C99-based standards] (asinhf): Likewise.
61854         [non-C99-based standards] (atanhf): Likewise.
61855         [non-C99-based standards] (cbrtf): Likewise.
61856         [non-C99-based standards] (expm1f): Likewise.
61857         [non-C99-based standards] (ilogbf): Likewise.
61858         [non-C99-based standards] (log1pf): Likewise.
61859         [non-C99-based standards] (logbf): Likewise.
61860         [non-C99-based standards] (nextafterf): Likewise.
61861         [non-C99-based standards] (remainderf): Likewise.
61862         [non-C99-based standards] (rintf): Likewise.
61863         [non-C99-based standards] (scalbf): Likewise.
61864         [non-C99-based standards] (copysignl): Likewise.
61865         [non-C99-based standards] (exp2l): Likewise.
61866         [non-C99-based standards] (log2l): Likewise.
61867         [non-C99-based standards] (modfl): Allow.
61868         [non-C99-based standards] (erfl): Do not allow.
61869         [non-C99-based standards] (erfcl): Likewise.
61870         [non-C99-based standards] (gammal): Likewise.
61871         [non-C99-based standards] (hypotl): Likewise.
61872         [non-C99-based standards] (j0l): Likewise.
61873         [non-C99-based standards] (j1l): Likewise.
61874         [non-C99-based standards] (jnl): Likewise.
61875         [non-C99-based standards] (lgammal): Likewise.
61876         [non-C99-based standards] (tgammal): Likewise.
61877         [non-C99-based standards] (y0l): Likewise.
61878         [non-C99-based standards] (y1l): Likewise.
61879         [non-C99-based standards] (ynl): Likewise.
61880         [non-C99-based standards] (isnanl): Likewise.
61881         [non-C99-based standards] (acoshl): Likewise.
61882         [non-C99-based standards] (asinhl): Likewise.
61883         [non-C99-based standards] (atanhl): Likewise.
61884         [non-C99-based standards] (cbrtl): Likewise.
61885         [non-C99-based standards] (expm1l): Likewise.
61886         [non-C99-based standards] (ilogbl): Likewise.
61887         [non-C99-based standards] (log1pl): Likewise.
61888         [non-C99-based standards] (logbl): Likewise.
61889         [non-C99-based standards] (nextafterl): Likewise.
61890         [non-C99-based standards] (remainderl): Likewise.
61891         [non-C99-based standards] (rintl): Likewise.
61892         [non-C99-based standards] (scalbl): Likewise.
61893         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61894         [non-C99-based standards] (FP_*): Do not allow.
61895         [C99-based standards] (FP_*): Change to
61896         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61897         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61898         allow.
61899         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
61900         (SIG_ERR): Likewise.
61901         [X/Open-based standards] (SIG_HOLD): Likewise.
61902         (SIG_IGN): Likewise.
61903         (SIGABRT): Use macro-int-constant.  Specify type.  Require
61904         positive value.
61905         (SIGFPE): Likewise.
61906         (SIGILL): Likewise.
61907         (SIGINT): Likewise.
61908         (SIGSEGV): Likewise.
61909         (SIGTER): Likewise.
61910         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
61911         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
61912         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
61913         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
61914         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
61915         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
61916         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
61917         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
61918         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
61919         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
61920         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
61921         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
61922         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
61923         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
61924         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
61925         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
61926         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
61927         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
61928         [X/Open-based standards] (SIGTRAP): Likewise.
61929         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
61930         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
61931         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
61932         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
61933         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61934         allow.
61936 2012-05-08  Ian Wienand  <ianw@vmware.com>
61938         [BZ #14080]
61939         * time/tzset.c (__tzset_parse_tz): Update default rules for
61940         daylight time changes in the Energy Policy Act of 2005.
61942 2012-05-09  Andreas Jaeger  <aj@suse.de>
61944         [BZ #13983]
61945         * elf/ldconfig.c (parse_conf): Change string to make clear that
61946         ldconfig only issued a warning if ld.so.conf does not exist.
61948 2012-05-08  David S. Miller  <davem@davemloft.net>
61950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
61951         movxtod instead of popping the value on the stack.
61953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61955 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
61957         * config.h.in: Add HAVE_ARM_PCS_VFP.
61959 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
61961         [BZ #13979]
61962         * include/features.h: Warn if user requests __FORTIFY_SOURCE
61963         checking but the checks are disabled for any reason.
61965 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
61967         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
61968         and ELF64_R_TYPE with ELFW(R_TYPE).
61970 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
61972         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
61973         (ulimit): Likewise.
61975         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
61976         (settimeofday): Likewise.
61978 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
61980         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
61981         a struct th_u2 inside the union, and move tu_block/tu_code into
61982         a new th_u3 union of tu_block/tu_code inside of that.  Move
61983         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
61984         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
61985         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
61986         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
61987         (th_stuff): Change to th_u1.tu_stuff.
61988         (th_data): Define.
61989         (th_msg): Change to th_u1.th_u2.tu_data.
61991 2012-05-07  David S. Miller  <davem@davemloft.net>
61993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61995         [BZ #14074]
61996         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
61997         (SETUP_PIC_REG): Use it.
61998         (SETUP_PIC_REG_LEAF): Use it.
62000 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
62002         [BZ #13885]
62003         [BZ #13923]
62004         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62005         USE_AS_EXPM1L.
62006         (EXPL_FINITE): Likewise.
62007         (FLDLOG): Likewise.
62008         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62009         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62010         e_expl.S.
62011         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62012         USE_AS_EXPM1L.
62013         (EXPL_FINITE): Likewise.
62014         (FLDLOG): Likewise.
62015         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62016         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62017         e_expl.S.
62018         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
62019         test of -max_value argument for long double.
62020         * sysdeps/i386/fpu/libm-test-ulps: Update.
62021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62023 2012-05-06  David S. Miller  <davem@davemloft.net>
62025         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
62026         quad soft-float symbols whose references which are compiler
62027         generated.
62028         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62030 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
62032         [BZ #13884]
62033         [BZ #13914]
62034         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62035         USE_AS_EXP10L.
62036         (EXPL_FINITE): Likewise.
62037         (FLDLOG): Likewise.
62038         (c0): Likewise.
62039         (c1): Likewise.
62040         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62041         Adjust comments for base varying.
62042         (__expl_finite): Change alias to EXPL_FINITE.
62043         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
62044         e_expl.S.
62045         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
62046         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
62047         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62048         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
62049         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62050         USE_AS_EXP10L.
62051         (EXPL_FINITE): Likewise.
62052         (FLDLOG): Likewise.
62053         (c0): Likewise.
62054         (c1): Likewise.
62055         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62056         Adjust comments for base varying.
62057         (__expl_finite): Change alias to EXPL_FINITE.
62058         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
62059         tests for bugs.
62060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62062         [BZ #14064]
62063         * math/libm-test.inc (check_float_internal): Correct ulp
62064         calculation for subnormal expected results.
62066 2012-05-06  Andreas Jaeger  <aj@suse.de>
62068         * Makeconfig (+math-flags): New, set to -frounding-math.
62069         (+cflags): Add +math-flags so that all of glibc gets compiled with
62070         it.
62072         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
62074 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
62076         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
62077         Disable one test.
62079         [BZ #13787]
62080         [BZ #13922]
62081         [BZ #14036]
62082         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
62083         (__ieee754_expl): Allow for and saturate large arguments.
62084         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
62085         (u_threshold): Likewise.
62086         (__exp): Call __ieee754_exp before checking for overflow and
62087         underflow.
62088         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
62089         (u_threshold): Likewise.
62090         (__expf): Call __ieee754_expf before checking for overflow and
62091         underflow.
62092         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
62093         (u_threshold): Likewise.
62094         (__expl): Call __ieee754_expl before checking for overflow and
62095         underflow.
62096         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
62097         (__ieee754_expl): Allow for and saturate large arguments.
62098         * math/libm-test.inc (exp_test): Add another test.  Do not allow
62099         missing overflow exception on overflow.
62100         (expm1_test): Do not allow missing overflow exception on overflow.
62102         * sysdeps/i386/fpu/e_expl.c: Move to ...
62103         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
62104         rather than using inline asm.
62105         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
62106         * sysdeps/x86_64/fpu/e_expl.S: Copy from
62107         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
62109         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
62110         (nice): Likewise.
62111         (poll): Likewise.
62112         (signal): Likewise.
62113         (time): Likewise.
62114         (times): Likewise.
62116 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62118         * sysdeps/unix/syscalls.list (adjtime): Add entry from
62119         sysdeps/unix/common/syscalls.list.
62120         (fchmod): Likewise.
62121         (fchown): Likewise.
62122         (ftruncate): Likewise.
62123         (getrusage): Likewise.
62124         (gettimeofday): Likewise.
62125         (setpgid): Likewise.
62126         (setregid): Likewise.
62127         (setreuid): Likewise.
62128         (sigaction): Likewise.
62129         (truncate): Likewise.
62130         (vhangup): Likewise.
62131         * sysdeps/unix/common/syscalls.list: Remove file.
62132         * sysdeps/unix/bsd/Implies: Don't include unix/common.
62133         * sysdeps/unix/sysv/linux/Implies: Likewise.
62135 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
62137         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
62139         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
62140         Moved to ...
62141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62142         Here.
62143         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
62144         to ...
62145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
62146         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
62147         to ...
62148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
62149         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
62150         to ...
62151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
62152         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
62153         to ...
62154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
62155         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
62156         to ...
62157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
62158         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62159         to ...
62160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62161         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62162         to ...
62163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62164         Here.
62165         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62166         to ...
62167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62168         Here.
62169         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62170         to ...
62171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62172         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62173         Moved to ...
62174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62175         Here.
62176         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62177         to ...
62178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62180 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62182         * sysdeps/unix/common/bits/dirent.h: Remove file.
62183         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62185         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62186         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62187         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62188         * sysdeps/unix/bsd/isatty.c: Likewise.
62189         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62190         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62191         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62193 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62195         [BZ #13563]
62196         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62197         long double comparison inaccuracies.
62198         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62201 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62203         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62204         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62206 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62208         [BZ #14049]
62209         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62210         nonzero digits before rounding a hex value.
62211         * stdlib/tst-strtod.c (tests): Add another test.
62213 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62215         * sysdeps/s390/fpu/libm-test-ulps: Update.
62217 2012-05-03  Andreas Jaeger  <aj@suse.de>
62219         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62220         does not get optimized out.
62221         (malloc_opt_barrier): New.
62223 2012-05-03  Andreas Jaeger  <aj@suse.de>
62224             Roland McGrath  <roland@hack.frob.com>
62226         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62227         intermediate file deletion.
62228         (generated): Add .symlist files.
62230 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62232         [BZ #13775]
62233         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62234         Redirect under this condition.
62235         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62236         [__USE_GNU] (__dprintf_chk): Not under this condition.
62237         [__USE_GNU] (__vdprintf_chk): Likewise.
62238         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62239         under this condition.
62240         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62241         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62242         [__USE_XOPEN2K8] (vdprintf): Likewise.
62243         [__USE_GNU] (__dprintf_chk): Not under this condition.
62244         [__USE_GNU] (__vdprintf_chk): Likewise.
62245         [__USE_GNU] (dprintf): Likewise.
62246         [__USE_GNU] (vdprintf): Likewise.
62248 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62250         * elf/Makefile (common-generated): Set this instead of generated for
62251         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62252         $(all-built-dso)-derived lists.
62254 2012-05-03  Andreas Jaeger  <aj@suse.de>
62256         * sysdeps/i386/fpu/libm-test-ulps: Update.
62258         * FAQ: Removed.
62259         * FAQ.in: Likewise.
62260         * scripts/gen-FAQ.pl: Likewise.
62261         * manual/install.texi (Installation): Point to online location of
62262         FAQ.
62263         * Makefile (files-for-dist): Remove FAQ.
62264         (FAQ): Remove.
62266 2012-05-02  Allan McRae  <allan@archlinux.org>
62268         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62269         (LDFLAGS-reldepmod5.so): Likewise.
62270         (LDFLAGS-reldep6mod1.so): Likewise.
62271         (LDFLAGS-reldep6mod4.so): Likewise.
62272         (LDFLAGS-reldep8mod3.so): Likewise.
62273         (LDFLAGS-unload4mod1.so): Likewise.
62274         (LDFLAGS-unload4mod2.so): Likewise.
62275         (LDFLAGS-tst-initorder): Likewise.
62276         (LDFLAGS-tst-initordera2.so): Likewise.
62277         (LDFLAGS-tst-initordera3.so): Likewise.
62278         (LDFLAGS-tst-initordera4.so): Likewise.
62279         (LDFLAGS-tst-initorderb2.so): Likewise.
62280         (LDFLAGS-noload): Likewise.
62281         (LDFLAGS-next): Likewise.
62282         (LDFLAGS-order2mod1.so): Likewise.
62283         (LDFLAGS-order2mod2.so): Likewise.
62284         (LDFLAGS-tst-initorder2): Likewise.
62285         (LDFLAGS-tst-initorder2a.so): Likewise.
62286         (LDFLAGS-tst-initorder2b.so): Likewise.
62287         (LDFLAGS-tst-initorder2c.so): Likewise.
62288         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62290 2012-05-02  David S. Miller  <davem@davemloft.net>
62292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62294 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62296         [BZ #14055]
62297         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62299 2012-05-02  Andreas Jaeger  <aj@suse.de>
62301         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62302         since we manipulate rounding mode.
62303         (CPPFLAGS-test-idouble.c): Likewise.
62304         (CPPFLAGS-test-ifloat.c): Likewise.
62305         (CFLAGS-test-ldouble.c): Likewise.
62306         (CFLAGS-test-double.c): Likewise.
62307         (CFLAGS-test-float.c): Likewise.
62308         (CFLAGS-test-misc.c): Likewise.
62309         (CFLAGS-test-test-fenv.c): Likewise.
62311 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62313         [BZ #2550]
62314         [BZ #2570]
62315         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62316         comparisons to determine direction to adjust input.
62318 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62320         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62321         output to the target.
62323         * scripts/localplt.awk: New file.
62324         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62325         (check-localplt-CFLAGS): Variable removed.
62326         ($(all-built-dso:=.jmprel)): New static pattern rule.
62327         (generated): Add those targets.
62328         (localplt-built-dso): New variable.
62329         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62331         * elf/check-localplt.c: File removed.
62333         * scripts/check-execstack.awk: New file.
62334         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62335         (check-execstack-CFLAGS): Variable removed.
62336         ($(objpfx)check-execstack.h): Target removed.
62337         ($(objpfx)execstack-default): New target.
62338         (generated): Add that instead of check-execstack.h.
62339         ($(all-built-dso:=.phdr)): New static pattern rule.
62340         (generated): Add those targets.
62341         * elf/check-execstack.c: File removed.
62343         * scripts/check-textrel.awk: New file.
62344         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62345         (check-textrel-CFLAGS): Variable removed.
62346         (all-built-dso): Use := to define.o
62347         ($(all-built-dso:=.dyn)): New static pattern rule.
62348         (generated): Add those targets.
62349         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62350         * config.make.in (READELF): New substituted variable.
62351         * elf/check-textrel.c: File removed.
62353 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62355         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62356         allow.
62357         * conform/data/ctype.h-data [C99-based standards] (isblank):
62358         Expect function.
62359         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62360         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62361         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62362         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62363         Specify type.  Require positive value.
62364         (EILSEQ): Likewise.
62365         (ERANGE): Likewise.
62366         [ISO || POSIX] (EILSEQ): Do not expect.
62367         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62368         Specify type.  Require positive value.
62369         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62370         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62371         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62372         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62373         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62374         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62375         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62376         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62377         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62378         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62379         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62380         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62381         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62382         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62383         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62384         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62385         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62386         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62387         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62388         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62389         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62390         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62391         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62392         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62393         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62394         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62395         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62396         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62397         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62398         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62399         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62400         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62401         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62402         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62403         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62404         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62405         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62406         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62407         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62408         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62409         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62410         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62411         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62412         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62413         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62414         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62415         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62416         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62417         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62418         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62419         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62420         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62421         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62422         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62423         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62424         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62425         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62426         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62427         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62428         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62429         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62430         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62431         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62432         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62433         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62434         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62435         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62436         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62437         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62438         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62439         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62440         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62441         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62442         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62443         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62444         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62445         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62446         Require >= 2.
62447         (FLT_ROUNDS): Expect as macro, not constant.
62448         (FLT_MANT_DIG): Use macro-int-constant.
62449         (DBL_MANT_DIG): Likewise.
62450         (LDBL_MANT_DIG): Likewise.
62451         (FLT_DIG): Likewise.
62452         (DBL_DIG): Likewise.
62453         (LDBL_DIG): Likewise.
62454         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62455         (DBL_MIN_EXP): Likewise.
62456         (LDBL_MIN_EXP): Likewise.
62457         (FLT_MAX_EXP): Use macro-int-constant.
62458         (DBL_MAX_EXP): Likewise.
62459         (LDBL_MAX_EXP): Likewise.
62460         (FLT_MAX_10_EXP): Likewise.
62461         (DBL_MAX_10_EXP): Likewise.
62462         (LDBL_MAX_10_EXP): Likewise.
62463         (FLT_MAX): Use macro-constant.
62464         (DBL_MAX): Likewise.
62465         (LDBL_MAX): Likewise.
62466         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62467         (DBL_EPSILON): Likewise.
62468         (LDBL_EPSILON): Likewise.
62469         (FLT_MIN): Likewise.
62470         (DBL_MIN): Likewise.
62471         (LDBL_MIN): Likewise.
62472         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62473         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62474         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62475         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62476         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62477         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62478         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62479         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62480         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62481         [ISO11] (FLT_TRUE_MIN): Likewise.
62482         [ISO11] (LDBL_TRUE_MIN): Likewise.
62483         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62484         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62485         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62486         (SCHAR_MAX): Likewise.
62487         (UCHAR_MAX): Likewise.
62488         (CHAR_MIN): Likewise.
62489         (CHAR_MAX): Likewise.
62490         (MB_LEN_MAX): Use macro-int-constant.
62491         (SHRT_MIN): Use macro-int-constant.  Specify type.
62492         (SHRT_MAX): Likewise.
62493         (USHRT_MAX): Likewise.
62494         (INT_MAX): Likewise.
62495         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62496         bound negative.
62497         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62498         bound with "U".
62499         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62500         bound with "L".
62501         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62502         bound negative.  Suffix upper bound with "L".
62503         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62504         bound with "UL".
62505         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62506         Specify type.
62507         [C99-based standards] (LLONG_MAX): Likewise.
62508         [C99-based standards] (ULLONG_MAX): Likewise.
62509         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62510         == 0.
62511         [ISO11] (max_align_t): Require type.
62512         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62514         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62515         from $CFLAGS, without defining away __attribute__ calls.
62516         (checknamespace): Use $CFLAGS_namespace.
62518         * conform/conformtest.pl (@keywords): Only include C99 keywords
62519         for standards based on C99 or C11.
62521         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62522         Disable tests.
62523         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62524         UNIX98]: Likewise.
62526         * conform/conformtest.pl: Handle "macro-int-constant" and test for
62527         usability of symbols in #if.
62529         * conform/conformtest.pl: If macro or constant types start
62530         "promoted:", expect the symbol to be of the following type
62531         promoted by the integer promotions.
62533         * conform/conformtest.pl: Parse all "constant" and "macro" lines
62534         in one place.  Also handle "macro-constant".
62536         * conform/conformtest.pl: Only accept expected macro values with
62537         "==".  Parse all "macro" lines in one place.
62538         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
62540         * conform/conformtest.pl: Handle braced types on "constant" lines
62541         instead of handling "typed-constant".
62542         * conform/data/signal.h-data: Use "constant" instead of
62543         "typed-constant".
62545         * conform/conformtest.pl: Handle "optional-" at start of lines in
62546         one place rather than duplicating several cases.  Handle each
62547         format of "macro" line with initial "optional-".
62549         * conform/conformtest.pl: Only accept expected constant or
62550         optional-constant values with "==".  Parse all "constant" lines in
62551         one place.  Parse all "optional-constant" lines in one place.
62552         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62553         * conform/data/fmtmsg.h-data: Likewise.
62554         * conform/data/netinet/in.h-data: Likewise.
62555         * conform/data/tar.h-data: Likewise.
62556         * conform/data/limits.h-data: Use "==" form on "constant" and
62557         "optional-constant" lines.
62559         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62560         Use -std=c99 for XOPEN2K.
62561         (@knownproblems): Remove.
62562         (newtoken): Don't check %isknown.
62564         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
62565         Do not expect macro.
62566         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
62567         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
62568         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
62569         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
62570         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
62571         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
62572         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
62573         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
62574         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
62575         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
62576         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
62577         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
62578         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
62579         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
62580         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
62581         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
62582         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
62583         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
62584         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62585         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
62586         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
62587         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
62588         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
62589         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
62590         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
62591         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
62592         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
62593         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
62594         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
62595         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
62596         [XPG3] (acosh): Likewise.
62597         [XPG3] (asinh): Likewise.
62598         [XPG3] (atanh): Likewise.
62599         [XPG3] (cbrt): Likewise.
62600         [XPG3] (expm1): Likewise.
62601         [XPG3] (ilogb): Likewise.
62602         [XPG3] (log1p): Likewise.
62603         [XPG3] (logb): Likewise.
62604         [XPG3] (nextafter): Likewise.
62605         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
62606         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
62607         [XPG3] (remainder): Likewise.
62608         [XPG3] (rint): Likewise.
62609         [XPG3 || XPG4 || UNIX98] (round): Likewise.
62610         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
62611         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
62612         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
62613         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
62614         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
62615         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
62616         [UNIX98 || XOPEN2K] (scalb): Expect.
62617         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
62618         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
62619         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
62620         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
62621         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
62622         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
62623         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
62624         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
62625         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
62626         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
62627         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
62628         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
62629         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
62630         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
62631         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
62632         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
62633         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
62634         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
62635         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
62636         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
62637         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
62638         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
62639         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
62640         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
62641         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
62642         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
62643         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
62644         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
62645         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
62646         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
62647         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
62648         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
62649         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
62650         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
62651         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
62652         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
62653         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
62654         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
62655         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
62656         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
62657         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
62658         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
62659         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
62660         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
62661         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
62662         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
62663         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
62664         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
62665         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
62666         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
62667         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
62668         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
62669         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
62670         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
62671         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
62672         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
62673         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
62674         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
62675         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
62676         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
62677         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
62678         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
62679         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
62680         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
62681         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
62682         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
62683         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
62684         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
62685         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
62686         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
62687         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
62688         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
62689         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
62690         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
62691         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
62692         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
62693         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
62694         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
62695         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
62696         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
62697         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
62698         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
62699         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
62700         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
62701         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
62702         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
62703         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
62704         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
62705         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
62706         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
62707         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
62708         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
62709         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
62710         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
62711         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
62712         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
62713         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
62714         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
62715         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
62716         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
62717         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
62718         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
62719         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
62720         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
62721         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
62722         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
62723         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
62724         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
62725         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
62726         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
62727         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
62728         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
62729         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
62730         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
62731         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
62732         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
62733         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
62734         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
62735         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
62736         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
62737         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
62738         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
62739         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
62740         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
62741         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
62742         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
62743         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
62744         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
62745         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
62746         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
62747         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
62748         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
62749         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
62750         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
62751         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
62752         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
62753         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
62755         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
62756         _XOPEN_SOURCE_EXTENDED for XPG4.
62758         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
62760         * Makeconfig (localtime): Remove variable.
62761         (inst_localtime-file): Likewise.
62763 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
62766         Update.
62767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62768         Update.
62769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
62770         Update.
62771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62772         Update.
62773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
62774         Update.
62775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
62776         Update.
62777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62778         Update.
62779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
62780         Update.
62781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62782         Update.
62784 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62786         [BZ #2550]
62787         [BZ #2570]
62788         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
62789         comparisons to determine direction to adjust input.
62790         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
62791         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
62792         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
62793         Likewise.
62794         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
62795         Likewise.
62796         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62797         Likewise.
62798         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
62799         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
62800         Likewise.
62801         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
62802         Likewise.
62803         * math/libm-test.inc (nexttoward_test): Add more tests.
62805 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62807         [BZ #14040]
62808         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
62809         in version GLIBC_2.1, not GLIBC_2.0.
62810         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
62811         Likewise.
62813 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
62815         [BZ #13942]
62816         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
62817         (1 - x) * (1 + x).
62818         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62819         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
62820         * math/libm-test.inc (acos_test): Add more tests.
62821         (asin_test): Likewise.
62822         * sysdeps/i386/fpu/libm-test-ulps: Update.
62823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62825         [BZ #14034]
62826         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
62827         of square root.
62828         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
62829         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62830         * math/libm-test.inc (acos_test_tonearest): New function.
62831         (acos_test_towardzero): Likewise.
62832         (acos_test_downward): Likewise.
62833         (acos_test_upward): Likewise.
62834         (asin_test_tonearest): Likewise.
62835         (asin_test_towardzero): Likewise.
62836         (asin_test_downward): Likewise.
62837         (asin_test_upward): Likewise.
62838         (main): Call the new functions.
62839         * sysdeps/i386/fpu/libm-test-ulps: Update.
62840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62842         [BZ #13884]
62843         [BZ #13924]
62844         * math/e_exp10.c: Include <float.h>.
62845         (__ieee754_exp10): Handle underflow here rather than multiplying
62846         large negative argument by M_LN10.
62847         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
62848         of __ieee754_expf.
62849         * math/e_exp10l.c: Include <float.h>.
62850         (__ieee754_exp10l): Handle underflow here rather than multiplying
62851         large negative argument by M_LN10l.
62852         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
62853         spurious overflow exception on underflow.
62855 2012-04-29  Marek Polacek  <polacek@redhat.com>
62857         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
62858         (__fortify_function): New macro.
62859         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
62860         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
62861         __extern_always_inline.
62862         * libio/bits/stdio2.h: Likewise.
62863         * libio/bits/stdio.h: Likewise.
62864         * string/string.h: Likewise.
62865         * string/bits/string3.h: Likewise.
62866         * include/stdio.h: Likewise.
62867         * stdlib/bits/stdlib.h: Likewise.
62868         * stdlib/stdlib.h: Likewise.
62869         * rt/bits/mqueue2.h: Likewise.
62870         * rt/mqueue.h: Likewise.
62871         * posix/bits/unistd.h: Likewise.
62872         * posix/unistd.h: Likewise.
62873         * io/bits/poll2.h: Likewise.
62874         * io/bits/fcntl2.h: Likewise.
62875         * io/fcntl.h: Likewise.
62876         * io/sys/poll.h: Likewise.
62877         * misc/bits/syslog.h: Likewise.
62878         * misc/bits/syslog-ldbl.h: Likewise.
62879         * misc/sys/syslog.h: Likewise.
62880         * socket/bits/socket2.h: Likewise.
62881         * socket/sys/socket.h: Likewise.
62882         * debug/tst-chk1.c: Likewise.
62883         * wcsmbs/bits/wchar2.h: Likewise.
62884         * wcsmbs/bits/wchar-ldbl.h: Likewise.
62885         * wcsmbs/wchar.h: Likewise.
62887 2012-04-29  Andreas Jaeger  <aj@suse.de>
62889         * Makerules (tests): Remove enable-check-abi protection.
62890         (check-abi-warn): Remove.
62891         (check-abi-%): Remove check-abi-warn usage.
62893         * configure.in: Remove check-abi configure option.
62894         * configure: Regenerated.
62895         * config.make.in (enable-check-abi): Remove.
62897 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
62899         [BZ #14033]
62900         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
62901         double functions to double *_finite functions.
62903         [BZ #13941]
62904         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
62905         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
62906         LDBL_MIN_EXP.
62907         * stdio-common/Makefile (tests): Add tst-sprintf3.
62908         * stdio-common/tst-sprintf3.c: New file.
62910         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
62911         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
62913 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62915         * conform/conformtest.pl: Remove duplicate typed-constant
62916         handling.
62918 2012-04-28  David S. Miller  <davem@davemloft.net>
62920         * Makerules (%.abilist): Add vpath on sysdep_dirs.
62921         (check-abi-%): Remove AWK script prerequisite and explicit
62922         abilist directory.
62923         (check-abi): Rewrite to just diff the symlist with the abilist.
62924         (config-tls, config-abi-config): Delete, no longer used.
62925         (update-abi-%): Remove AWK script and explicit abilist directory.
62926         (update-abi): Rewrite to simply compare and conditionally copy the
62927         symlist and the sysdep abilist file.  Remove update-abi-config
62928         checks.
62929         * abilist/ld.abilist: Remove.
62930         * abilist/libBrokenLocale.abilist: Remove.
62931         * abilist/libanl.abilist: Remove.
62932         * abilist/libcrypt.abilist: Remove.
62933         * abilist/libdl.abilist: Remove.
62934         * abilist/librt.abilist: Remove.
62935         * abilist/libthread_db.abilist: Remove.
62936         * abilist/libutil.abilist: Remove.
62937         * scripts/extract-abilist.awk: Remove.
62938         * scripts/merge-abilist.awk: Remove.
62939         * sysdeps/generic/libcidn.abilist: New file.
62940         * sysdeps/generic/libnss_compat.abilist: New file.
62941         * sysdeps/generic/libnss_db.abilist: New file.
62942         * sysdeps/generic/libnss_dns.abilist: New file.
62943         * sysdeps/generic/libnss_files.abilist: New file.
62944         * sysdeps/generic/libnss_hesiod.abilist: New file.
62945         * sysdeps/generic/libnss_nis.abilist: New file.
62946         * sysdeps/generic/libnss_nisplus.abilist: New file.
62947         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
62948         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62949         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
62950         file.
62951         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
62952         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
62953         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
62954         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
62955         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
62956         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
62957         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
62958         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62959         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
62960         file.
62961         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
62962         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
62963         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
62964         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
62965         file.
62966         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
62967         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
62968         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
62969         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
62970         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
62971         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
62972         file.
62973         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62974         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
62975         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
62976         file.
62977         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
62978         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62979         New file.
62980         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
62981         New file.
62982         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
62983         New file.
62984         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
62985         New file.
62986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
62987         New file.
62988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
62989         New file.
62990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
62991         New file.
62992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
62993         New file.
62994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
62995         New file.
62996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
62997         New file.
62998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
62999         New file.
63000         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
63001         New file.
63002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
63003         New file.
63004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
63005         file.
63006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
63007         New file.
63008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
63009         New file.
63010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
63011         file.
63012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
63013         New file.
63014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
63015         New file.
63016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
63017         file.
63018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
63019         New file.
63020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63021         New file.
63022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
63023         New file.
63024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
63025         New file.
63026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
63027         New file.
63028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
63029         New file.
63030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
63031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
63032         file.
63033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
63034         New file.
63035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
63036         file.
63037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
63038         file.
63039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
63040         file.
63041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
63042         file.
63043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
63044         file.
63045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63046         New file.
63047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
63048         file.
63049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
63050         file.
63051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
63052         New file.
63053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
63054         file.
63055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
63056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
63057         file.
63058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
63059         New file.
63060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
63061         file.
63062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
63063         file.
63064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
63065         file.
63066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
63067         file.
63068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
63069         file.
63070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63071         New file.
63072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
63073         file.
63074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
63075         file.
63076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
63077         New file.
63078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
63079         file.
63080         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63081         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
63082         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
63083         file.
63084         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
63085         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
63086         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
63087         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
63088         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
63089         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
63090         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
63091         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
63092         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
63093         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
63094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
63095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
63096         file.
63097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
63098         New file.
63099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
63100         file.
63101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
63102         file.
63103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
63104         file.
63105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
63106         file.
63107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
63108         file.
63109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63110         New file.
63111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
63112         New file.
63113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
63114         file.
63115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
63116         New file.
63117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
63118         file.
63119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
63120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
63121         file.
63122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
63123         New file.
63124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
63125         file.
63126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
63127         file.
63128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
63129         file.
63130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
63131         file.
63132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
63133         file.
63134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63135         New file.
63136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
63137         New file.
63138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
63139         file.
63140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
63141         New file.
63142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
63143         file.
63145 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63147         * conform/conformtest.pl: Fix typo in handling typed-constant from
63148         allow-header.
63150 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63152         * README: Cut down references to pre-2.6 Linux kernels and
63153         Linuxthreads.  Update lists of configurations in libc and ports
63154         and sort alphabetically.  Say "or newer" with Linux kernel version
63155         requirements.
63157         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63159 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63161         [BZ #887]
63162         * math/libm-test.inc (logb_test_downward): New test to expose
63163         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63164         rounding mode.
63166 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63168         [BZ #14027]
63169         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63170         to be done.
63171         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63172         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63174 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63176         * sysdeps/unix/i386/brk.S: Remove file.
63177         * sysdeps/unix/i386/dl-brk.S: Likewise.
63178         * sysdeps/unix/i386/pipe.S: Likewise.
63179         * sysdeps/unix/i386/sigreturn.S: Likewise.
63180         * sysdeps/unix/i386/syscall.S: Likewise.
63181         * sysdeps/unix/i386/vfork.S: Likewise.
63182         * sysdeps/unix/i386/wait.S: Likewise.
63184         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63185         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63187         * configure.in (arm*-none*): Do not allow without
63188         --enable-hacker-mode.
63189         (netbsd*): Remove case setting base_os.
63190         (386bsd*): Likewise.
63191         (freebsd*): Likewise.
63192         (bsdi*): Likewise.
63193         (osf*): Likewise.
63194         (sunos*): Likewise.
63195         (ultrix*): Likewise.
63196         (newsos*): Likewise.
63197         (dynix*): Likewise.
63198         (*bsd*): Likewise.
63199         (sysv*): Likewise.
63200         (isc*): Likewise.
63201         (esix*): Likewise.
63202         (sco*): Likewise.
63203         (minix*): Likewise.
63204         (irix4*): Likewise.
63205         (irix6*): Likewise.
63206         (solaris[2-9]*): Likewise.
63207         (none): Likewise.
63208         * configure: Regenerated.
63210 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63212         [BZ #11521]
63213         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63214         overflow or cancellation in calculating denominator.
63215         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63216         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63217         down expression to avoid unexpected rounding in newer GCCs.
63218         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63220 2012-04-26  David S. Miller  <davem@davemloft.net>
63222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63223         long-double compat symbols.
63224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63238 2012-04-25  David S. Miller  <davem@davemloft.net>
63240         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63241         HWCAP_* values only after the memory barriers have been defined.
63242         (atomic_full_barrier): Define.
63243         (atomic_read_barrier): Define.
63244         (atomic_write_barrier): Define.
63246 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63248         * shlib-versions: Add libgcc_s version information.
63249         * sysdeps/generic/libgcc_s.h: Remove.
63250         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63251         libgcc_s.h.
63252         * sysdeps/gnu/unwind-resume.c: Likewise.
63253         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63255 2012-04-25  David S. Miller  <davem@davemloft.net>
63257         * sysdeps/unix/sparc/brk.S: Delete.
63258         * sysdeps/unix/sparc/dl-brk.S: Delete.
63259         * sysdeps/unix/sparc/pipe.S: Delete.
63260         * sysdeps/unix/sparc/sysdep.S: Delete.
63261         * sysdeps/unix/sparc/sysdep.h: Delete.
63262         * sysdeps/unix/sparc/vfork.S: Delete.
63263         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63264         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63265         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63266         (ret_ERRVAL, r0, r1, MOVE): Define.
63267         (JUMPTARGET): Remove.
63268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63269         sysdeps/unix/sparc/sysdep.h
63270         (ENTRY, END): Remove.
63271         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63273 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63275         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63276         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63277         -DIS_IN_build.
63279         * timezone/README: Update upstream location and email address for
63280         tzcode and tzdata.
63281         * timezone/zdump.c: Update from tzcode 2012b.
63282         * timezone/zic.c: Likewise.
63284         * configure.in (libc_cv_as_needed): Remove test.
63285         * configure: Regenerated.
63286         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63287         conditional definition.
63288         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63289         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63290         * config.make.in (have-as-needed): Remove variable.
63292 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63293             Paul Pluzhnikov  <ppluzhnikov@google.com>
63295         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63296         strings correctly.
63298 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63300         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63301         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63302         * sysdeps/sh/strlen.S: Likewise.
63304 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63306         * sysdeps/unix/fork.S: Remove file.
63307         * sysdeps/unix/i386/fork.S: Likewise.
63308         * sysdeps/unix/sparc/fork.S: Likewise.
63310         * sysdeps/unix/system.c: Remove file.
63311         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63313         * sysdeps/unix/getegid.S: Remove file.
63314         * sysdeps/unix/geteuid.S: Likewise.
63316 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63318         * scripts/check-localplt.awk: New file.
63319         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63320         of diff.
63321         * scripts/data/localplt-generic.data: Add a comment.
63323         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63324         NODE when __dir_mkfile failed.
63325         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63326         Reported by Ludovic Courtès <ludo@gnu.org>.
63328 2012-04-24  Andreas Jaeger  <aj@suse.de>
63330         * Makerules (common-clean): Also remove gen-as-const-headers
63331         files.
63333 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63335         * Makerules (native-compile): Do not change working directory for
63336         build.  Use $(OUTPUT_OPTION) in command.
63337         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63339 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63341         [BZ #13886]
63342         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63343         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63344         * math/libm-test.inc (floor_test): Add more tests.
63345         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63347 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63349         * sysdeps/unix/getdents.c: Remove file.
63350         * sysdeps/unix/sysv/getdents.c: Likewise.
63351         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63353         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63354         sysdeps/unix/mman/syscalls.list.
63355         (mmap): Likewise.
63356         (mprotect): Likewise.
63357         (msync): Likewise.
63358         (munmap): Likewise.
63359         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63360         * sysdeps/unix/mman/syscalls.list: Remove.
63361         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63363         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63364         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63365         * configure: Regenerated.
63366         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63367         $(libgcc_s_suffix).
63368         * config.make.in (libgcc_s_suffix): Remove variable.
63370 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63372         * sysdeps/unix/sysv/gethostname.c: Move to ...
63373         * sysdeps/posix/gethostname.c: ... here.
63375         * sysdeps/unix/execve.S: Remove file.
63377         * sysdeps/unix/_exit.S: Remove file.
63379 2012-04-23  Andreas Jaeger  <aj@suse.de>
63381         [BZ #13739]
63382         * manual/Makefile: Remove make dist support, there's no
63383         need for a stand-alone documentation tar ball.
63384         (TEXI2DVI): Define always, it's not in Makeconfig.
63385         (dist): Removed.
63386         (tar-it): Removed.
63387         (edition): Removed.
63388         (glibc-doc-$(edition).tar): Removed
63389         (%.Z): Removed.
63390         (%.gz): Removed.
63391         (%.uu): Removed.
63392         (ETAGS): Remove, it's in Makeconfig.
63393         (move-if-change): Remove, it's in Makeconfig.
63395 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63397         [BZ #13970]
63398         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63399         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63400         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63401         (strtod_l, strtof_l, strtold_l): Remove __wur.
63402         It is not necessarily an error to ignore strtol's return value.
63403         One can reliably look at the stored endptr to decide whether
63404         the number had valid syntax.
63406 2012-04-21  Andreas Jaeger  <aj@suse.de>
63408         [BZ #13739]
63409         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63411 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63413         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63414         * sysdeps/unix/sysv/Versions: Remove file.
63416 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63418         [BZ #13927]
63419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63421 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63423         [BZ #7064]
63424         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63425         version from __vm86.
63427 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63429         * sysdeps/unix/common/lxstat.c: Remove file.
63430         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63432         * sysdeps/unix/sysv/Makefile: Remove file.
63434         * sysdeps/unix/sysv/direct.h: Remove file.
63436         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63437         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63438         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63439         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63440         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63441         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63442         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63444         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63446         * sysdeps/unix/xmknod.c: Remove file.
63447         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63449         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63451         * sysdeps/unix/sysv/i386/time.S: Remove file.
63453         * sysdeps/unix/fxstat.c: Remove file.
63454         * sysdeps/unix/xstat.c: Likewise.
63455         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63457         * sysdeps/unix/sysv/sigaction.c: Remove file.
63459         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63460         (sysdep_headers): Remove variable.
63461         [termio.h not in sysdep_headers] (generated): Likewise.
63462         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63463         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63464         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63465         * sysdeps/unix/sysv/tcflow.c: Likewise.
63466         * sysdeps/unix/sysv/tcflush.c: Likewise.
63467         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63468         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63469         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63470         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63471         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63473         * sysdeps/unix/siglist.c: Remove file.
63475         * sysdeps/unix/getppid.S: Remove file.
63477         * sysdeps/unix/mkdir.c: Remove file.
63478         * sysdeps/unix/rmdir.c: Likewise.
63480 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63482         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63483         ERR_MAX value.
63484         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63485         errlist-compat value.
63487 2012-04-18  David S. Miller  <davem@davemloft.net>
63489         * sysdeps/generic/memcopy.h (reg_char): Delete.
63490         * debug/strcat_chk.c: Use char, not reg_char.
63491         * debug/strcpy_chk.c: Likewise.
63492         * debug/strncat_chk.c: Likewise.
63493         * debug/strncpy_chk.c: Likewise.
63494         * string/memchr.c: Likewise.
63495         * string/memrchr.c: Likewise.
63496         * string/rawmemchr.c: Likewise.
63497         * string/strcat.c: Likewise.
63498         * string/strchr.c: Likewise.
63499         * string/strchrnul.c: Likewise.
63500         * string/strcmp.c: Likewise.
63501         * string/strcpy.c: Likewise.
63502         * string/strncat.c: Likewise.
63503         * string/strncmp.c: Likewise.
63504         * string/strncpy.c: Likewise.
63506 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63508         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63509         __builtin_memcopy is called when src and dest ranges are known to not
63510         overlap.
63512 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63514         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63515         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63516         fwd_align_merge macro call.
63517         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63518         bwd_align_merge macro call.
63519         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63521 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63523         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63524         bwd_align_merge macros.
63525         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63526         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
63527         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63529 2012-04-18  David S. Miller  <davem@davemloft.net>
63531         * sysdeps/sparc/sparc64/memcopy.h: Delete.
63533 2012-04-18  Andreas Jaeger  <aj@suse.de>
63535         [BZ# 6794]
63536         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
63537         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
63538         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63540         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
63541         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63542         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63544         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63545         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63546         Adjust for changed ldbl-128 files.
63548         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63549         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63550         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63552 2012-04-17  David S. Miller  <davem@davemloft.net>
63554         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63556 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63558         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63559         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63560         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63561         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63562         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
63563         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
63565 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63567         [BZ #6794]
63568         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
63569         * math/libm-test.inc: Add ilogb errno and exception tests.
63570         * math/w_ilogb.c: New file: ilogb wrapper.
63571         * math/w_ilogbf.c: New file: ilogbf wrapper.
63572         * math/w_ilogbl.c: New file: ilogbl wrapper.
63573         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
63574         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
63575         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
63576         exception being thrown with 0.0 as argument.
63577         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
63578         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
63579         exception being thrown with 0.0 as argument.
63580         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
63581         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63582         exception being thrown with 0.0 as argument.
63583         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
63584         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63585         exception being thrown with 0.0 as argument.
63586         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
63587         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
63588         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
63589         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
63590         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
63591         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
63592         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
63593         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
63594         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
63596 2012-04-17  Petr Baudis  <pasky@ucw.cz>
63598         * include/sys/uio.h: Change __vector to __iovec to avoid clash
63599         with altivec.
63601 2012-04-16  Marek Polacek  <polacek@redhat.com>
63603         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
63605 2012-04-16  Marek Polacek  <polacek@redhat.com>
63607         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
63608         operands of fdivp instruction.
63610 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63612         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
63613         * elf/tst-auditmod3b.c: Likewise.
63614         * elf/tst-auditmod4b.c: Likewise.
63615         * elf/tst-auditmod5b.c: Likewise.
63616         * elf/tst-auditmod6b.c: Likewise.
63617         * elf/tst-auditmod6c.c: Likewise.
63618         * elf/tst-auditmod7b.c: Likewise.
63619         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
63620         * sysdeps/x86_64/preconfigure.in: Likewise.
63621         * sysdeps/x86_64/preconfigure: Regenerated.
63623 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63625         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
63626         __ILP32__.
63628 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
63630         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63631         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
63633 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
63635         [BZ #13973]
63636         * locale/iso-639.def: Fix gl language name. Spotted by
63637         Yaron Shahrabani.
63639 2012-04-12  Roland McGrath  <roland@hack.frob.com>
63641         [BZ #2074]
63642         * libio/libio.h (__io_write_fn): Update comment.
63644 2012-04-12  Petr Baudis  <pasky@ucw.cz>
63646         [BZ #2074]
63647         * stdio.texi (Hook Functions): The user provided writer function
63648         is not allowed to return -1.
63650 2012-04-11  David S. Miller  <davem@davemloft.net>
63652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63654 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
63656         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
63657         Add a leading slash to rtkaio.
63659 2012-04-11  Jim Meyering  <meyering@redhat.com>
63661         [BZ #11959]
63662         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
63663         It is not necessarily an error to ignore fwrite's return
63664         value.  One can reliably use ferror to test for errors after
63665         the fact.
63667 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63669         * bits/types.h (__snseconds_t): New type.
63670         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
63672         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
63673         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63674         (__SNSECONDS_T_TYPE): Likewise.
63675         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63676         (__SNSECONDS_T_TYPE): Likewise.
63677         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63678         (__SNSECONDS_T_TYPE): Likewise.
63680 2012-04-10  Andreas Jaeger  <aj@suse.de>
63682         [BZ #2636]
63683         * manual/time.texi (Processor Time): Return type of times is
63684         elapsed real time since an arbitrary point in the past.
63685         (CPU Time): Move CLK_TCK from here...
63686         (Processor Time): ...to here.  Correct description.
63687         * manual/conf.texi (Constants for Sysconf): Correct description of
63688         _SC_CLK_TCK.
63690 2012-04-10  David S. Miller  <davem@davemloft.net>
63692         [BZ #13967]
63693         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
63694         where the is a gap between DT_REL(A) and DT_JMPREL.
63696 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63698         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
63699         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63700         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63702 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63704         * elf/dl-support.c (_dl_inhibit_cache): New variable.
63705         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
63706         (dl_main): Handle --inhibit-cache.
63707         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
63708         _dl_inhibit_cache.
63709         * elf/dl-load.c (_dl_map_object): Use it.
63710         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
63712 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63714         [BZ #13872]
63715         * sysdeps/i386/fpu/e_powl.S (p78): New object.
63716         (__ieee754_powl): Saturate large exponents rather than testing for
63717         overflow of y*log2(x).
63718         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63719         * math/libm-test.inc (pow_test): Do not permit spurious overflow
63720         exceptions.
63722         [BZ #11521]
63723         * math/s_ctan.c: Include <float.h>.
63724         (__ctan): Avoid internal overflow or cancellation in calculating
63725         denominator.
63726         * math/s_ctanf.c: Likewise.
63727         * math/s_ctanl.c: Likewise.
63728         * math/s_ctanh.c: Likewise.
63729         * math/s_ctanhf.c: Likewise.
63730         * math/s_ctanhl.c: Likewise.
63731         * math/libm-test.inc (ctan_test): Add more tests.
63732         (ctanh_test): Likewise.
63733         * sysdeps/i386/fpu/libm-test-ulps: Update.
63734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63736 2012-04-09  Andreas Jaeger  <aj@suse.de>
63738         [BZ #6894]
63739         * manual/filesys.texi (Directory Entries): Mention that d_namlen
63740         is an optional BSD extension.
63742         [BZ #10254]
63743         * manual/stdio.texi (Opening Streams): Document additional fopen
63744         parameters.
63746 2012-04-09  Roland McGrath  <roland@hack.frob.com>
63748         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
63749         %eax without telling the compiler.
63751 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
63753         [BZ # 13963]
63754         * manual/install.texi: Use sourceware.org.
63756 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63758         [BZ #13873]
63759         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
63760         (__ieee754_pow): Generate overflow and underflow using huge*huge
63761         and tiny*tiny rather than just returning constant infinity or zero
63762         for large exponents.
63763         * math/libm-test.inc (pow_test): Require overflow exceptions for
63764         applicable cases of large exponents.
63766         [BZ #706]
63767         * sysdeps/i386/fpu/e_pow.S (p10): New object.
63768         (__ieee754_pow): Use iterative multiplication algorithm only for
63769         integer exponents with absolute value below 1024.  Check for odd
63770         integer exponents when using algorithm for real exponents.
63771         * math/libm-test.inc (pow_test): Add more tests.
63772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63774 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
63776         [BZ #13705]
63777         * math/libm-test.inc (exp_test): Do not allow overflow exception
63778         on underflow test.
63780 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
63782         [BZ #13705]
63783         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
63784         instead of __kernel_standard_f.
63786 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
63788         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
63789         * sysdeps/x86_64/memset_chk.S: Likewise.
63791 2012-04-08  Andreas Jaeger  <aj@suse.de>
63793         [BZ #10153]
63794         * manual/startup.texi (Environment Access): Describe return value
63795         for putenv and setenv.
63797         [BZ #6895]
63798         * manual/filesys.texi (Directory Entries): Add description for
63799         DT_LNK.
63801         [BZ #6890]
63802         * manual/filesys.texi (Directory Entries): Clarify that it's file
63803         system not operating system in the description of DT_UNKNOWN.
63805         [BZ #6578]
63806         * manual/syslog.texi (closelog): Fix reference, it's openlog.
63808 2012-04-08  Stephen Compall  <s11@member.fsf.org>
63810         [BZ #6649]
63811         * manual/llio.texi (Opening and Closing Files): Add cross
63812         reference to explain mode argument.
63814 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
63816         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
63817         * sysdeps/x86_64/memset_chk.S: Likewise.
63819 2012-04-07  David S. Miller  <davem@davemloft.net>
63821         * elf/elf.h (R_SPARC_WDISP10): Define.
63822         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
63823         R_SPARC_SIZE32.
63824         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
63825         R_SPARC_SIZE64 and R_SPARC_H34.
63827 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
63829         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
63830         conditions and remove no longer applicable assertion.
63832 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63834         * bits/byteswap.h: Include <features.h>.
63835         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63836         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63838 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63840         * bits/byteswap.h (__bswap_16): Removed.
63841         Include <bits/byteswap-16.h> to get __bswap_16.
63842         * sysdeps/i386/bits/byteswap.h: Likewise.
63843         * sysdeps/s390/bits/byteswap.h: Likewise.
63844         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63845         * bits/byteswap-16.h: New file.
63846         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63847         * sysdeps/s390/bits/byteswap-16.h: Likewise.
63848         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
63849         * string/Makefile (headers): Add bits/byteswap-16.h.
63851 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63853         [BZ #13895]
63854         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
63855         extra indirection.
63856         * nss/Makefile (tests-static, tests): Add tst-nss-static.
63857         * nss/tst-nss-static.c: New.
63859 2012-04-06  Robert Millan  <rmh@gnu.org>
63861         [BZ #6486]
63862         * manual/llio.texi (File Position Primitive): lseek
63863         refers to WHENCE when it really means OFFSET.
63865 2012-04-06  Andreas Jaeger  <aj@suse.de>
63867         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
63868         strncmp declarations.
63870         * abilist/libc.abilist: Add __poll and __ppoll.
63872 2012-04-05  David S. Miller  <davem@davemloft.net>
63874         * scripts/check-local-headers.sh: Accept a host triplet in the
63875         path matched by the exclude regexp.
63877         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
63878         definition.
63879         * sysdeps/powerpc/powerpc32/dl-machine.h
63880         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
63881         * sysdeps/s390/s390-32/dl-machine.h
63882         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63883         * sysdeps/sparc/sparc32/dl-machine.h
63884         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63885         * sysdeps/sparc/sparc64/dl-machine.h
63886         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63888         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
63889         lazy binding.
63890         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
63891         undefined symbol errors.
63893         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
63894         DT_NEEDED entries.
63896 2012-04-05  Michael Matz  <matz@suse.de>
63898         [BZ #13592]
63899         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
63901 2012-04-05  Andreas Jaeger  <aj@suse.de>
63903         [BZ #13908]
63904         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
63905         comment.
63907 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63909         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
63910         which ROUND is no valid rounding mode.
63912 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63914         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
63915         read again.
63916         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
63918 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63920         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
63921         an exception using FPU order intentionally.
63923 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63925         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
63926         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
63927         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
63928         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
63930 2012-04-05  Simon Josefsson  <simon@josefsson.org>
63932         [BZ #12340]
63933         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
63934         EINVAL when BUFLEN is too smal.
63936 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63938         [BZ #13553]
63939         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
63940         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
63942 2012-04-03  Andreas Jaeger  <aj@suse.de>
63944         [BZ #13938]
63945         * manual/setjmp.texi (System V contexts): Fix sentence.
63947         [BZ #13926]
63948         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
63949         New macro for this case.
63950         [!__GNUC__] (__bswap_64): New inline function for this case.
63951         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63952         * bits/byteswap.h: Likewise.
63953         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
63954         ull, guard with __GLIBC_HAVE_LONG_LONG.
63956         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
63957         __GLIBC_HAVE_LONG_LONG.
63959         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
63960         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
63962 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63964         [BZ #13691]
63965         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
63966         inptr and inend, rather than using last_ch.
63968 2012-04-02  David S. Miller  <davem@davemloft.net>
63970         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
63971         * stdio-common/printf-parse.h (read_int): Change return type to
63972         'int', return -1 on INT_MAX overflow.
63973         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
63974         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
63975         overflows INT_MAX.  Check for overflow of in-format-string precision
63976         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
63977         SIZE_MAX not INT_MAX for integer overflow test.
63978         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
63979         skip the construct in the format string but do not record anything.
63980         * stdio-common/bug22.c: Adjust to test both width/prevision
63981         INT_MAX overflow as well as total length INT_MAX overflow.  Check
63982         explicitly for proper errno values.
63984 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63986         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
63987         CHAR_MAX.
63988         * string/test-strcmp.c [! WIDE]: Likewise.
63989         * time/tst-mktime2.c: Likewise for INT_MAX.
63990         * string/test-string.h: #include <sys/param.h> for MIN.
63992         * csu/init-first.c (__libc_init_first): Call __ctype_init.
63993         * sysdeps/i386/init-first.c (init): Likewise.
63994         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
63995         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
63996         * sysdeps/sh/init-first.c (init): Likewise.
63998 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
64000         * po/ru.po: Update from translation team.
64001         * po/vi.po: Likewise.
64003 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64005         * resolv/nss_dns/dns-host.c: Merge copyright years.
64007 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64009         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64010         Optimize memcpy with prefetch if
64011         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
64012         src, dst pointers have unequal 16 byte alignments.
64014 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64016         [BZ #13928]
64017         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
64018         from a CNAME entry and return the minimum ttl for the query.
64019         (gaih_getanswer_slice): Likewise.
64021 2012-03-30  Jeff Law  <law@redhat.com>
64023         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
64024         due to long keys.
64025         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
64026         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
64028         * resolv/nss_dns/dns-host.c: Update copyright year.
64030 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
64032         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
64033         requests to save a system call.  Fix check that all bytes are sent.
64035         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
64036         comments for sendmmsg.
64038 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64040         [BZ #13691]
64041         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
64042         with only 1 character between 0x0041 and 0x01b0.
64043         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
64044         * wcsmbs/tst-mbsnrtowcs.c: New file.
64046 2012-03-29  David S. Miller  <davem@davemloft.net>
64048         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
64049         small copies by hand.
64051 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64053         [BZ #13761]
64054         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
64055         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
64056         group memberships.
64058 2012-03-28  David S. Miller  <davem@davemloft.net>
64060         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
64061         that branches into memcpy.
64062         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64063         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
64064         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64065         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
64066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
64067         bits.
64068         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
64069         implementation too.
64070         * sysdeps/sparc/mempcpy.S: New file.
64072         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
64073         the IFUNC routine in the libc case.
64074         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64076         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
64077         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
64078         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
64079         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
64080         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
64081         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
64082         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
64083         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
64085         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
64086         loop to 256 bytes instead of 64 bytes and fix test signedness.
64088         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
64089         * sysdeps/sparc/sparc32/Makefile: rather than here...
64090         * sysdeps/sparc/sparc64/Makefile: and here.
64092 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
64094         * malloc/mallocbug.c: Avoid warnings about unused variables.
64096 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64098         [BZ #13760]
64099         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
64100         in the right place. Discard and retry query if response is
64101         larger than input buffer size.
64103 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
64105         [BZ #369]
64106         [BZ #2678]
64107         [BZ #3866]
64108         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64109         x for large integer exponent.
64110         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
64111         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
64112         sign of result as needed afterwards.
64113         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64114         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
64115         result for underflowing pow the same as for overflow.
64116         (__kernel_standard_l): Handle powl overflow and underflow here
64117         rather than calling __kernel_standard.
64118         * math/libm-test.inc (pow_test): Add more tests.
64120         [BZ #3868]
64121         [BZ #13879]
64122         [BZ #13910]
64123         [BZ #13911]
64124         [BZ #13912]
64125         [BZ #13913]
64126         [BZ #13915]
64127         [BZ #13916]
64128         [BZ #13917]
64129         [BZ #13918]
64130         [BZ #13919]
64131         [BZ #13920]
64132         [BZ #13921]
64133         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
64134         * sysdeps/ieee754/k_standard.c: Include <float.h>.
64135         (__kernel_standard_l): New function.
64136         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64137         __kernel_standard.
64138         * math/w_acosl.c (__acosl): Likewise.
64139         * math/w_asinl.c (__asinl): Likewise.
64140         * math/w_atan2l.c (__atan2l): Likewise.
64141         * math/w_atanhl.c (__atanhl): Likewise.
64142         * math/w_coshl.c (__coshl): Likewise.
64143         * math/w_exp10l.c (__exp10l): Likewise.
64144         * math/w_exp2l.c (__exp2l): Likewise.
64145         * math/w_fmodl.c (__fmodl): Likewise.
64146         * math/w_hypotl.c (__hypotl): Likewise.
64147         * math/w_j0l.c (__j0l, __y0l): Likewise.
64148         * math/w_j1l.c (__j1l, __y1l): Likewise.
64149         * math/w_jnl.c (__jnl, __ynl): Likewise.
64150         * math/w_lgammal.c (__lgammal): Likewise.
64151         * math/w_log10l.c (__log10l): Likewise.
64152         * math/w_log2l.c (__log2l): Likewise.
64153         * math/w_logl.c (__logl): Likewise.
64154         * math/w_powl.c (__powl): Likewise.
64155         * math/w_remainderl.c (__remainderl): Likewise.
64156         * math/w_scalbl.c (sysv_scalbl): Likewise.
64157         * math/w_sinhl.c (__sinhl): Likewise.
64158         * math/w_sqrtl.c (__sqrtl): Likewise.
64159         * math/w_tgammal.c (__tgammal): Likewise.
64160         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64161         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64162         * math/libm-test.inc (acos_test): Add more tests.
64163         (acosh_test): Likewise.
64164         (asin_test): Likewise.
64165         (atanh_test): Likewise.
64166         (exp_test): Likewise.
64167         (exp10_test): Likewise.
64168         (exp2_test): Likewise.
64169         (expm1_test): Likewise.
64170         (lgamma_test): Likewise.
64171         (log_test): Likewise.
64172         (log10_test): Likewise.
64173         (log1p_test): Likewise.
64174         (log2_test): Likewise.
64175         (pow_test): Do not allow some spurious overflow exceptions.
64176         (sqrt_test): Add more tests.
64177         (tgamma_test): Likewise.
64178         (y0_test): Likewise.
64179         (y1_test): Likewise.
64180         (yn_test): Likewise.
64182 2012-03-27  Anton Blanchard  <anton@samba.org>
64184         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64185         MAP_HUGETLB.
64186         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64187         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64188         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64190 2012-03-27  David S. Miller  <davem@davemloft.net>
64192         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64194         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64195         have-as-vis3 check.
64197 2012-03-27  Andreas Jaeger  <aj@suse.de>
64199         * sysdeps/x86_64/elf/configure.in: Moved to ...
64200         * sysdeps/x86_64/configure.in: ... here.
64201         * sysdeps/x86_64/elf/start.S: Moved to ...
64202         * sysdeps/x86_64/start.S: ... here.
64203         * sysdeps/x86_64/elf/configure: Delete.
64205         * sysdeps/x86_64/configure.in: Merge contents from
64206         sysdeps/i386/configure.in (without i686 check).
64208         * sysdeps/i386/elf/Versions: Merge into ...
64209         * sysdeps/i386/Versions: ... this.
64210         * sysdeps/i386/elf/Versions: Delete file.
64211         * sysdeps/i386/elf/start.S: Moved to ...
64212         * sysdeps/i386/start.S: ...here.
64213         * sysdeps/i386/elf/configure.in: Merge into...
64214         * sysdeps/i386/configure.in: ...here.
64215         * sysdeps/i386/elf/configure.in: Delete file.
64216         * sysdeps/i386/elf/configure: Delete file.
64218         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64219         * debug/backtracesyms.c: ... here.
64220         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64221         * debug/backtracesymsfd.c: ... here.
64222         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64223         * sysdeps/generic/ifunc-sel.h: ... here.
64225         * sysdeps/unix/i386/start.c: Delete file.
64226         * sysdeps/unix/sparc/start.c: Delete file.
64227         * sysdeps/unix/start.c: Delete file.
64229         * sysdeps/sh/elf/configure.in: Moved to ...
64230         * sysdeps/sh/configure.in: ... here.
64231         * sysdeps/sh/elf/start.S: Moved to ...
64232         * sysdeps/sh/start.S: ... here.
64233         * sysdeps/sh/elf/configure: Delete file.
64235         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64236         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64237         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64238         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64239         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64240         * sysdeps/powerpc/powerpc64/start.S: here.
64241         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64242         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64243         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64244         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64245         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64247         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64248         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64249         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64250         * sysdeps/powerpc/powerpc32/start.S: ... here.
64251         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64252         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64253         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64255         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64256         * sysdeps/powerpc/ifunc-sel.h: ... here.
64257         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64258         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64260         * sysdeps/sparc/elf/configure.in: Moved to ...
64261         * sysdeps/sparc/configure.in: ... here.
64262         * sysdeps/sparc/elf/configure: Delete file.
64263         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64264         * sysdeps/sparc/sparc32/start.S: ... here.
64265         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64266         * sysdeps/sparc/sparc64/start.S: ... here.
64267         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64268         * sysdeps/sparc/sparc32/Makefile: ... this.
64269         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64270         * sysdeps/sparc/sparc64/Makefile: ... this.
64272         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64273         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64274         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64275         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64276         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64277         * sysdeps/s390/s390-32/setjmp.S: ... here.
64278         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64279         * sysdeps/s390/s390-32/configure.in: ... here.
64280         * sysdeps/s390/s390-32/elf/configure: Delete file.
64281         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64282         * sysdeps/s390/s390-32/start.S: ... here.
64284         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64285         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64286         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64287         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64288         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64289         * sysdeps/s390/s390-64/setjmp.S: ... here.
64290         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64291         * sysdeps/s390/s390-64/configure.in: ... here
64292         * sysdeps/s390/s390-64/elf/configure: Delete file.
64293         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64294         * sysdeps/s390/s390-64/start.S: ... here.
64295         * sysdeps/s390/s390-64/elf/configure: Delete.
64297         * configure.in: Remove support for elf directories in sysdeps.
64299         * configure: Regenerated.
64300         * sysdeps/i386/configure: Regenerated.
64301         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64302         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64303         * sysdeps/s390/s390-32/configure: Regenerated.
64304         * sysdeps/s390/s390-64/configure: Regenerated.
64305         * sysdeps/sh/configure: Regenerated.
64306         * sysdeps/sparc/configure: Regenerated.
64307         * sysdeps/x86_64/configure: Regenerated.
64309 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64313         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64314         denormal result into account.
64316 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64318         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64319         Reported by Allan McRae <allan@archlinux.org>.
64321 2012-03-23  Jeff Law  <law@redhat.com>
64323         * nss/getnssent.c (__nss_getent): Fix typo.
64325 2012-03-23  David S. Miller  <davem@davemloft.net>
64327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64329 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64331         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64332         to pad to uint64_t for each field.
64333         (dl_tls_index): Replace unsigned long with uint64_t.
64335 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64336         Paul Pluzhnikov  <ppluzhnikov@google.com>
64338         [BZ #6528]
64339         * grp/Makefile (otherlibs): Don't set it.
64340         * inet/Makefile (otherlibs): Likewise.
64341         * login/Makefile (otherlibs): Likewise.
64342         * nscd/Makefile (otherlibs): Likewise.
64343         * posix/Makefile (otherlibs): Likewise.
64344         * pwd/Makefile (otherlibs): Likewise.
64345         * rt/Makefile (otherlibs): Likewise.
64346         * sunrpc/Makefile (otherlibs): Likewise.
64347         * nss/Makefile (otherlibs): Likewise.
64348         Add libnss_files to routines and static-only-routines.
64349         ($(objpfx)getent): Remove rule.
64350         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64351         static-only-routines.
64353 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64355         [BZ #13892]
64356         * math/s_cexp.c: Include <float.h>.
64357         (__cexp): Handle exp result overflowing not necessarily
64358         overflowing both real and imaginary parts of result.
64359         * math/s_cexpf.c: Likewise.
64360         * math/s_cexpl.c: Likewise.
64361         * math/libm-test.inc (cexp_test): Add more tests.
64362         * sysdeps/i386/fpu/libm-test-ulps: Update.
64363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64365 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64367         * include/link.h (ELFW): New macro.
64368         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64369         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64371 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64373         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64374         with uint64_t.
64376 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64378         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64379         declaration.
64380         (struct La_x32_retval): Likewise.
64382 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64384         * sysdeps/x86_64/preconfigure.in: New file.
64385         * sysdeps/x86_64/preconfigure: New generated file.
64387 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64389         [BZ #13824]
64390         * math/e_exp2l.c: Include <float.h>.
64391         (__ieee754_exp2l): Handle overflow and underflow cases
64392         separately.  Only pass fractional part of argument to
64393         __ieee754_expl.
64394         * math/libm-test.inc (exp2_test): Add more tests.
64396         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64397         negating x to take absolute value.
64398         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64399         Likewise.
64400         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64401         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64402         Likewise.
64403         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64404         computing low part if x was negated.
64405         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64407 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64409         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64410         la_x32_gnu_pltexit.
64411         (pltexit): Cast int_retval to ptrdiff_t.
64412         * elf/tst-auditmod3b.c: Likewise.
64413         * elf/tst-auditmod4b.c: Likewise.
64414         * elf/tst-auditmod5b.c: Likewise.
64415         * elf/tst-auditmod6b.c: Likewise.
64416         * elf/tst-auditmod6c.c: Likewise.
64417         * elf/tst-auditmod7b.c: Likewise.
64419         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64420         and x32_gnu_pltexit.
64422         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64423         __ELF_NATIVE_CLASS.
64424         (La_x32_regs): New macro.
64425         (La_x32_retval): Likewise.
64426         (la_x32_gnu_pltenter): New function prototype.
64427         (la_x32_gnu_pltexit): Likewise.
64429 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64431         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64432         exponent.
64434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64436         * configure.in (libc_cv_cc_nofma): Check for option to disable
64437         generation of FMA instructions.
64438         * configure: Regenerate.
64439         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64440         * sysdeps/ieee754/dbl-64/Makefile: New file.
64441         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64442         Remove brandred-fma4.
64443         (CFLAGS-brandred-fma4.c): Remove.
64444         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64445         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64446         define.
64447         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64448         define.
64450 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64452         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64453         LLONG_MAX != LONG_MAX.
64454         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64455         (_fitoa_word): Likewise.
64456         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64457         LLONG_MAX != LONG_MAX.
64458         * stdio-common/_itowa.h: Include <_itoa.h>.
64459         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64460         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64461         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64462         only if not defined.
64463         (_ITOA_WORD_TYPE): Likewise.
64464         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64465         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64467 2012-03-21  David S. Miller  <davem@davemloft.net>
64469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64471 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64473         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64474         of x86_64 when setting libc_cv_slibdir, libdir and
64475         libc_cv_localedir.
64476         * sysdeps/unix/sysv/linux/configure: Regenerated.
64478 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64480         * manual/lang.texi (Old Varargs): Remove section.
64481         (How Variadic): Update menu.
64482         (va_start): Do not mention varargs.h.
64484 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64485             Joseph Myers  <joseph@codesourcery.com>
64487         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64488         link test.
64489         * configure: Regenerated.
64491 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64493         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64494         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64495         conformtest.pl
64497 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64499         * NOTES: Remove.
64500         * Makefile (files-for-dist): Remove NOTES.
64501         (NOTES): Remove rule.
64502         * README: Don't refer to NOTES.
64503         * manual/creature.texi: Don't include macros.texi.
64504         * manual/intro.texi (creature.texi): Remove comment referring to
64505         NOTES.
64507         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64508         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64509         * configure: Regenerated.
64510         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64511         LIBC_TRY_CC_OPTION.
64512         (libc_cv_as_i686): Likewise.
64513         (libc_cv_cc_avx): Likewise.
64514         (libc_cv_cc_sse2avx): Likewise.
64515         (libc_cv_cc_fma4): Likewise.
64516         (libc_cv_cc_novzeroupper): Likewise.
64517         * sysdeps/i386/configure: Regenerated.
64519         [BZ #13883]
64520         * sysdeps/i386/fpu/s_cexp.S: Remove.
64521         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64522         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64523         * math/libm-test.inc (cexp_test): Add more tests.
64524         * sysdeps/i386/fpu/libm-test-ulps: Update.
64525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64527 2012-03-21  Allan McRae  <allan@archlinux.org>
64529         * timezone/Makefile: Do not install iso3166.tab and zone.tab
64531 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64533         [BZ #13871]
64534         * math/w_exp2.c: Do not include <float.h>.
64535         (o_threshold, u_threshold): Remove.
64536         (__exp2): Calculate result before checking finiteness and calling
64537         __kernel_standard.
64538         * math/w_exp2f.c: Likewise.
64539         * math/w_exp2l.c: Likewise.
64540         * math/libm-test.inc (exp2_test): Require overflow exception for
64541         1e6 input.
64543         [BZ #3866]
64544         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64545         range of signed 64-bit integers before using fistpll.  Remove
64546         checks for whether integers fit in mantissa bits.
64547         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64548         the range of signed 32-bit integers before using fistpl.  Remove
64549         checks for whether integers fit in mantissa bits.
64550         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64551         (__ieee754_powl): Test for y outside the range of signed 64-bit
64552         integers before using fistpll.  Reduce 64-bit values to 63-bit
64553         ones as needed.
64554         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64555         divide-by-zero is raised for zero to large negative powers.
64556         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64557         (__ieee754_powl): Test for y outside the range of signed 64-bit
64558         integers before using fistpll.  Reduce 64-bit values to 63-bit
64559         ones as needed.
64560         * math/libm-test.inc (pow_test): Add more tests.
64562 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64564         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
64565         <stdio-common/_itoa.h>.
64566         * debug/segfault.c: Likewise.
64567         * elf/dl-cache.c: Likewise.
64568         * elf/dl-minimal.c: Likewise.
64569         * elf/dl-misc.c: Likewise.
64570         * elf/dl-sysdep.c: Likewise.
64571         * elf/dl-version.c: Likewise.
64572         * elf/rtld.c: Likewise.
64573         * hurd/hurdsock.c: Likewise.
64574         * hurd/lookup-retry.c: Likewise.
64575         * malloc/malloc.c: Likewise.
64576         * malloc/mtrace.c: Likewise.
64577         * nscd/nscd_getgr_r.c: Likewise.
64578         * nscd/nscd_getpw_r.c: Likewise.
64579         * nscd/nscd_getserv_r.c: Likewise.
64580         * posix/getopt_init.c: Likewise.
64581         * posix/wordexp.c: Likewise.
64582         * stdio-common/_itoa.c: Likewise.
64583         * stdio-common/printf_fphex.c: Likewise.
64584         * stdio-common/vfprintf.c: Likewise.
64585         * string/_strerror.c: Likewise.
64586         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
64587         * sysdeps/i386/i686/hp-timing.h: Likewise.
64588         * sysdeps/mach/_strerror.c: Likewise.
64589         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
64590         * sysdeps/mach/hurd/sethostid.c: Likewise.
64591         * sysdeps/mach/hurd/xmknodat.c: Likewise.
64592         * sysdeps/mach/xpg-strerror.c: Likewise.
64593         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64594         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64595         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
64596         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
64597         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64598         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
64599         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
64600         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
64601         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
64602         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
64603         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
64604         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64605         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
64606         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64607         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64608         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
64609         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
64610         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
64611         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
64612         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
64613         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
64615         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
64617         * stdio-common/_itoa.h: Moved to ...
64618         * sysdeps/generic/_itoa.h: Here.
64620         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
64622         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
64623         instead of "_itoa.h" and "_itowa.h".
64624         * stdio-common/vfprintf.: Likewise.
64626 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64628         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
64629         <bits/wordsize.h>.
64630         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
64631         (__signbit): Likwise.
64632         (llrintf): Likwise.
64633         (llrint): Likwise.
64635 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64637         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
64638         __WORDSIZE != 64.
64640 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
64642         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
64643         OVERFLOW_EXCEPTION_OK.
64644         * math/libm-test.inc ("Philosophy"): Update comment about
64645         exception testing.
64646         (OVERFLOW_EXCEPTION): Define.
64647         (OVERFLOW_EXCEPTION_OK): Likewise.
64648         (INVALID_EXCEPTION_OK): Renumber.
64649         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64650         (IGNORE_ZERO_INF_SIGN): Likewise.
64651         (test_exceptions): Handle FE_OVERFLOW.
64652         (exp10_test): Expect overflow exceptions.
64653         (exp2_test): Likewise.
64654         (expm1_test): Likewise.
64655         (nextafter_test): Likewise.
64656         (pow_test): Likewise.
64657         (scalbn_test): Likewise.
64658         (scalbln_test): Likewise.
64660 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64662         * sysdeps/x86_64/bits/atomic.h
64663         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
64664         64bit integer.
64665         (atomic_exchange_acq): Likewise.
64666         (__arch_exchange_and_add_body): Likewise.
64667         (__arch_add_body): Likewise.
64668         (atomic_add_negative): Likewise.
64669         (atomic_add_zero): Likewise.
64671 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64673         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
64674         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
64676 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64678         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
64679         Check __x86_64__ instead of __WORDSIZE.
64681 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64683         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
64685 2012-03-19  David S. Miller  <davem@davemloft.net>
64687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64689         * sysdeps/sparc/fpu/fenv_private.h: New file.
64690         * sysdeps/sparc/fpu/math_private.h: Use it.
64691         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
64692         Remove.
64693         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
64694         (libc_feholdexcept_setroundl): Remove.
64695         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
64696         Remove.
64697         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
64698         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
64700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64702         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
64703         int64_t instead of long int.
64704         (INSERT_WORDS64): Likwise.
64706 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64708         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
64709         _Unwind_GetCFA return to _Unwind_Ptr first.
64711 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
64713         [BZ #13629]
64714         * math/s_clog.c: Include <float.h>.
64715         (__clog): Scale large or subnormal inputs.
64716         * math/s_clogf.c: Likewise.
64717         * math/s_clogl.c: Likewise.
64718         * math/s_clog10.c: Include <float.h>.
64719         (M_LOG10_2): Define.
64720         (__clog10): Scale large or subnormal inputs.
64721         * math/s_clog10f.c: Likewise.
64722         * math/s_clog10l.c: Likewise.
64723         * math/libm-test.inc (clog_test): Add more tests.
64724         (clog10_test): Likewise.
64725         * sysdeps/i386/fpu/libm-test-ulps: Update.
64726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64728         [BZ #11451]
64729         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
64730         x and y.
64731         * math/libm-test.inc (atan2_test): Add another test.
64733         * Makerules (common-objdir-compile): Remove.
64734         * sysdeps/unix/Makefile (config-generated): Do not add
64735         $(unix-generated) to variable.
64736         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
64737         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
64738         Remove rule.
64739         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
64740         Likewise.
64741         [generic bits/local_lim.h] (before-compile): Do not append to
64742         variable.
64743         [generic bits/local_lim.h] (common-generated): Likewise.
64744         [generic sys/param.h] (before-compile): Do not append to variable.
64745         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
64746         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
64747         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
64748         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
64749         include.
64750         [generic sys/param.h] (sys/param.h-includes): Remove variable.
64751         [generic sys/param.h] (sys/param.h-includes): Remove rule.
64752         [generic sys/param.h] ($(addprefix
64753         $(common-objpfx),$(sys/param.h-includes))): Likewise.
64754         [generic sys/param.h] (common-generated): Do not append to
64755         variable.
64756         [generic sys/param.h] (sysdep_headers): Likewise.
64757         [generic bits/errno.h] (before-compile): Do not append to
64758         variable.
64759         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
64760         rule.
64761         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
64762         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
64763         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
64764         [generic bits/errno.h] (common-generated): Do not append to
64765         variable.
64766         [generic bits/ioctls.h] (before-compile): Do not append to
64767         variable.
64768         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
64769         rule.
64770         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
64771         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
64772         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
64773         rule.
64774         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
64775         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
64776         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
64777         [generic bits/ioctls.h] (common-generated): Do not append to
64778         variable.
64779         [generic sys/syscall.h] (syscall.h): Remove variable.
64780         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
64781         rule.
64782         [generic sys/syscall.h] (before-compile): Do not append to
64783         variable.
64784         [generic sys/syscall.h] (common-generated): Likewise.
64785         * sysdeps/unix/errnos-tmpl.c: Remove file.
64786         * sysdeps/unix/errnos.awk: Likewise.
64787         * sysdeps/unix/ioctls-tmpl.c: Likewise.
64788         * sysdeps/unix/ioctls.awk: Likewise.
64789         * sysdeps/unix/mk-local_lim.c: Likewise.
64790         * sysdeps/unix/snarf-ioctls: Likewise.
64792 2012-03-19  Richard Henderson  <rth@twiddle.net>
64794         * sysdeps/i386/fpu/fenv_private.h: New file.
64795         * sysdeps/i386/fpu/math_private.h: Use it.
64796         (math_opt_barrier, math_force_eval): Remove.
64797         (libc_feholdexcept_setround_53bit): Remove.
64798         (libc_feupdateenv_53bit): Remove.
64799         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64800         (math_opt_barrier, math_force_eval): Remove.
64801         (libc_feholdexcept): Remove.
64802         (libc_feholdexcept_setround): Remove.
64803         (libc_fetestexcept, libc_fesetenv): Remove.
64804         (libc_feupdateenv_test): Remove.
64805         (libc_feupdateenv, libc_feholdsetround): Remove.
64806         (libc_feresetround): Remove.
64808         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
64809         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
64811         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
64812         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
64813         (libc_feupdateenv_testl): New.
64814         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
64815         (libc_feupdateenv_testf): New.
64816         (libc_feupdateenv): Use libc_feupdateenv_test.
64817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
64818         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
64820         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
64821         (libc_feholdsetroundf, libc_feholdsetroundl): New.
64822         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
64823         (libc_feresetround_noex): New.
64824         (libc_feresetround_noexf): New.
64825         (libc_feresetround_noexl): New.
64826         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
64827         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
64828         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
64829         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
64830         SET_RESTORE_ROUND.
64831         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64832         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
64833         (__cos): Likewise.
64834         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
64835         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
64836         SET_RESTORE_ROUND_NOEX.
64837         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
64838         SET_RESTORE_ROUND_NOEXF.
64839         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
64840         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
64841         (libc_feholdsetroundf): New.
64842         (libc_feresetround, libc_feresetroundf): New.
64844         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
64845         (libc_feholdexcept_setround_53bit): Convert from macro to function.
64846         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
64848         * sysdeps/generic/math_private.h: Include <fenv.h>.
64849         (default_libc_feholdexcept): New.
64850         (default_libc_feholdexcept_setround): New.
64851         (default_libc_fesetenv, default_libc_feupdateenv): New.
64852         (libc_feholdexcept): Only define if undefined.
64853         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
64854         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
64855         (libc_feholdexcept_setroundl): Likewise.
64856         (libc_feholdexcept_setround_53bit): Likewise.
64857         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
64858         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
64859         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
64860         (libc_feupdateenv_53bit): Likewise.
64861         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
64862         (libc_feholdexcept): Convert from macro to inline function.
64863         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
64864         (libc_fesetenv, libc_feupdateenv): Likewise.
64866         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
64867         not previously defined.
64868         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
64869         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
64870         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
64871         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
64872         * sysdeps/ieee754/flt-32/math_private.h: New file.
64873         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
64874         math_private.h below SET_FLOAT_WORD.
64875         (__isnan, __isinf_ns, __finite): Remove.
64876         (__isnanf, __isinf_nsf, __finitef): Remove.
64878 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
64880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64882 2012-03-17  David S. Miller  <davem@davemloft.net>
64884         [BZ #6471]
64885         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
64886         for 2.16.
64888 2012-03-16  David S. Miller  <davem@davemloft.net>
64890         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
64891         warnings.
64893         [BZ #6471]
64894         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
64895         properly.
64896         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
64897         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
64898         sysdep_routines when subdir is sysvipc.
64899         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
64900         __getshmlba helper.
64902         * sysdeps/sparc/fpu/libm-test/ulps: Update.
64904 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64906         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
64907         [__LP64__].
64909 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64911         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
64912         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
64913         (__lround): Renamed to ...
64914         (__llround): This.  Replace long int with long long int.
64915         Define lround functions as aliases of llround functions.
64916         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
64918 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64920         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
64921         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
64922         adresses to uintptr_t.  Replace "long int" and "unsigned long
64923         int" with "greg_t" on va_arg.
64925 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64927         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
64928         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
64930         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
64931         Move e_machine check before EI_CLASS check.  Handle x32
64932         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
64933         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
64934         SKIP_EM_IA_64 and include
64935         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
64937         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
64938         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
64939         (add_system_dir): New macro.
64941         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
64942         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
64944 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64946         [BZ #2551]
64947         [BZ #2552]
64948         [BZ #2553]
64949         [BZ #2554]
64950         [BZ #2562]
64951         [BZ #2563]
64952         [BZ #2565]
64953         [BZ #2566]
64954         [BZ #2576]
64955         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
64956         (y0): Likewise.
64957         * math/w_j0f.c (j0f): Likewise.
64958         (y0f): Likewise.
64959         * math/w_j0l.c (__j0l): Likewise.
64960         (__y0l): Likewise.
64961         * math/w_j1.c (j1): Likewise.
64962         (y1): Likewise.
64963         * math/w_j1f.c (j1f): Likewise.
64964         (y1f): Likewise.
64965         * math/w_j1l.c (__j1l): Likewise.
64966         (__y1l): Likewise.
64967         * math/w_jn.c (jn): Likewise.
64968         (yn): Likewise.
64969         * math/w_jnf.c (jnf): Likewise.
64970         (ynf): Likewise.
64971         * math/w_jnl.c (__jnl): Likewise.
64972         (__ynl): Likewise.
64973         * math/libm-test.inc (j0_test): Add more tests.
64974         (j1_test): Likewise.
64975         (jn_test): Likewise.  Add trailing semicolon to existing test.
64976         (y0_test): Likewise.
64977         (y1_test): Likewise.
64978         * sysdeps/i386/fpu/libm-test-ulps: Update.
64979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64981         [BZ #13851]
64982         [BZ #13854]
64983         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
64984         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
64985         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
64986         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
64987         (__tanl): Set errno for infinite argument.
64988         * sysdeps/i386/fpu/mptan.c: Remove.
64989         * sysdeps/i386/fpu/s_tan.S: Likewise.
64990         * sysdeps/i386/fpu/s_tanl.S: Likewise.
64991         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
64992         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
64993         * math/libm-test.inc (tan_test): Add more tests and enable more
64994         tests for double and long double.
64995         * sysdeps/i386/fpu/libm-test-ulps: Update.
64996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64998 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
65000         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
65001         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
65003 2012-03-16  Roland McGrath  <roland@hack.frob.com>
65005         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
65006         * configure.in: Use it for both main tree and add-ons.
65007         * configure: Regenerated.
65009 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65011         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
65013 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65015         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
65016         in comment.
65018         [BZ #13851]
65019         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
65020         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
65021         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
65022         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
65023         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
65024         infinite argument.
65025         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
65026         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
65027         != 0 for prec == 2.
65028         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
65029         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
65030         * sysdeps/i386/fpu/s_cosl.S: Likewise.
65031         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
65032         * sysdeps/i386/fpu/s_sinl.S: Likewise.
65033         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
65034         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
65035         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
65036         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
65037         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
65038         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
65039         * math/libm-test.inc (cos_test): Add more tests and enable more
65040         tests for long double.
65041         (sin_test): Likewise.
65042         (sincos_test): Likewise.
65043         * sysdeps/i386/fpu/libm-test-ulps: Update.
65044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65046 2012-03-16  David S. Miller  <davem@davemloft.net>
65048         * sysdeps/sparc/fpu/math_private.h: New file.
65050 2012-03-15  David S. Miller  <davem@davemloft.net>
65052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
65053         file.
65054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
65055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
65056         file.
65057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
65058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
65059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
65060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
65061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
65062         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
65063         sysdep routines.
65064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65066         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
65067         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
65069         * sysdeps/sparc/sparc-ifunc.h: New file.
65070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
65071         sparc-ifunc.h
65072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
65074         Likewise.
65075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
65076         Likewise.
65077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
65078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
65079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65081         Likewise.
65082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
65084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
65086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
65087         Likewise.
65088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
65089         Likewise.
65090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
65092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
65093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
65094         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65095         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65096         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
65097         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
65098         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65099         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
65101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
65102         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
65103         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
65104         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
65105         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
65106         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
65107         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
65108         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
65109         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
65110         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
65111         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
65112         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
65113         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
65115 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65117         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
65118         scaling.
65119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65121 2012-03-15  Andreas Jaeger  <aj@suse.de>
65123         [BZ #13852]
65124         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
65125         ieee754/flt-32 implementation for sin, cos and sincos.
65126         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
65127         * sysdeps/i386/fpu/s_cosf.S: Likewise.
65128         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
65129         * sysdeps/i386/fpu/s_sinf.S: Likewise.
65130         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
65131         ieee754/flt-32 implementation for tan.
65133         * math/libm-test.inc (cos_test): Enable some large input tests for
65134         float as well
65135         (sin_test): Likewise.
65136         (sincos_test): Likewise.
65137         (tan_test): Add tests for large input.
65139         * sysdeps/i386/fpu/libm-test-ulps: Update.
65141 2012-03-15  Andreas Jaeger  <aj@suse.de>
65143         [BZ #13658]
65144         * math/libm-test.inc (cos_test): Add more test cases.
65145         (sin_test): Likewise.
65146         (sincos_test): Likewise.
65148 2012-03-15  Andreas Jaeger  <aj@suse.de>
65150         [BZ #13837]
65151         * math/libm-test.inc (cos_test): Add a test case for large input
65152         value.
65153         (sin_test): Likewise.
65154         (sincos_test): Likewise.
65156 2012-03-15  Andreas Jaeger  <aj@suse.de>
65157             Joseph Myers  <joseph@codesourcery.com>
65159         [BZ #13658]
65160         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65161         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65162         * sysdeps/i386/fpu/branred.c: Likewise.
65163         * sysdeps/i386/fpu/dosincos.c: Likewise.
65164         * sysdeps/i386/fpu/mpa.c: Likewise.
65165         * sysdeps/i386/fpu/s_cos.S: Likewise.
65166         * sysdeps/i386/fpu/s_sin.S: Likewise.
65167         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65168         * sysdeps/i386/fpu/sincos32.c: Likewise.
65170         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65171         Define.
65172         (libc_feupdateenv_53bit): Define.
65173         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65174         Define.
65175         (libc_feupdateenv_53bit): Define.
65177         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65178         53 bit (without extend i386 double precision).
65180         * math/libm-test.inc (sincos_test): Add tests for large input.
65181         (sin): Likewise.
65182         (cos): Likewise.
65184         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65186 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65190 2012-03-15  David S. Miller  <davem@davemloft.net>
65192         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65193         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65194         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65195         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65208         file.
65209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65211         file.
65212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65214         file.
65215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65217         file.
65218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65219         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65220         fmin/fmax sysdep routines.
65221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65223 2012-03-14  David S. Miller  <davem@davemloft.net>
65225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65227         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65229         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65230         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65231         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65232         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65236         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65237         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65238         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65239         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65240         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65241         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65242         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65243         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65244         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65245         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65246         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65247         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65248         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65249         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65250         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65251         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65252         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65253         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65254         routines.
65255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65256         file.
65257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65259         file.
65260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65262         file.
65263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65265         file.
65266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65268         file.
65269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65271         file.
65272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65273         file.
65274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65275         file.
65276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65277         file.
65278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65279         New file.
65280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65281         file.
65282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65283         file.
65284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65286         file.
65287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65289         file.
65290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65292         file.
65293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65295         VIS3 routines.
65297         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65298         New file.
65300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65302         * sysdeps/sparc/configure.in: New file.
65303         * sysdeps/sparc/configure: Generate.
65304         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65305         * configure: Regenerate.
65306         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65307         * config.make.in (have-as-vis3): New.
65308         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65309         available use -Av9d instead of -Av9a.
65310         * sysdeps/sparc/sparc64/Makefile: Likewise.
65311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65313         New file.
65314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65315         file.
65316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65317         New file.
65318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65319         file.
65320         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65321         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65322         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65323         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65324         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65326         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65327         fzeros/fnegs to load 0x80000000 into a float register instead of
65328         using the stack.
65329         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65331 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65334         bits/syscall.h.
65335         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65336         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65337         ($(inst_includedir)/bits/syscall.h): Remove rule.
65338         ($(objpfx)bits/syscall.d): Include instead of
65339         $(objpfx)syscall-list.d.
65340         (generated): Change syscall-list.h and syscall-list.d to
65341         bits/syscall.h and bits/syscall.d.
65343 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65345         [BZ #13846]
65346         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65348 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65350         [BZ #13841]
65351         * math/s_csqrt.c: Include <float.h>.
65352         (__csqrt): Scale large or subnormal inputs.
65353         * math/s_csqrtf.c: Likewise.
65354         * math/s_csqrtl.c: Likewise.
65355         * math/libm-test.inc (csqrt_test): Add more tests.
65356         * sysdeps/i386/fpu/libm-test-ulps: Update.
65357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65359         [BZ #13840]
65360         * math/libm-test.inc (hypot_test): Add more tests.
65362 2012-03-13  David S. Miller  <davem@davemloft.net>
65364         [BZ #13840]
65365         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65366         double-precision for the calculation instead of scaling.
65368 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65370         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65371         manipulate bits before adding and subtracting TWO52[sx].
65372         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65373         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65374         Likewise.
65375         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65377 2012-03-13  David S. Miller  <davem@davemloft.net>
65379         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65380         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65381         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65382         rtld-global-offsets.h
65383         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65385         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65386         large parameters.
65388         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65390         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65391         'err' in the ifdef scope in which it is actually used.
65393         * nss/nss_db/db-init.c: Include string.h
65395 2012-03-12  David S. Miller  <davem@davemloft.net>
65397         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65398         masking out of the most significant byte of random value used.
65399         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65400         Fix coding style in previous change.
65402         * sysdeps/unix/sysv/linux/kernel-features.h
65403         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65404         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65405         expression.
65406         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65407         later.
65409 2012-03-11  David S. Miller  <davem@davemloft.net>
65411         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65412         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65413         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65414         for 'resultvar' otherwise things get truncated on 64-bit.
65416         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65417         Fix masking out of the most significant byte of random value used.
65419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65421 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65425 2012-03-09  David S. Miller  <davem@davemloft.net>
65427         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65428         variables with appropriate CPP guards.
65429         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65430         from the frame pointer, not the stack pointer.  Correct layout
65431         comments.  Fix test on resulting framesize and the management of
65432         the outregs buffer for pltexit.  Preserve floating point return
65433         values across _dl_call_pltexit call.
65434         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65435         framesize and the management of the outregs buffer for pltexit.
65436         Preserve floating point return values across _dl_call_pltexit
65437         call.
65438         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65439         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65440         (la_sparc64_gnu_pltexit): New functions.
65441         (print_exit): Fix format string for return register value.
65443 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65445         * sunrpc/Makefile (others): Add rpcgen.
65446         ($(objpfx)rpcgen): Remove special build rule and dependency on
65447         libc.
65448         * sunrpc/rpcgen.c: New file.
65450 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65452         [BZ #13673]
65453         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65454         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65455         * sysdeps/i386/crti.S: Likewise.
65456         * sysdeps/i386/crtn.S: Likewise.
65457         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65458         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65459         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65460         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65461         * sysdeps/sh/crti.S: Likewise.
65462         * sysdeps/sh/crtn.S: Likewise.
65463         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65465         [BZ #13673]
65466         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65467         with URL.
65468         * locale/programs/locfile-kw.gperf: Likewise.
65469         * locale/programs/charmap-kw.h: Regenerated.
65470         * locale/programs/locfile-kw.h: Likewise.
65472         [BZ #13673]
65473         * intl/plural.y: Replace FSF snail mail address with URL.
65474         * intl/plural.c: Regenerated.
65476 2012-03-09  Richard Henderson  <rth@twiddle.net>
65478         * include/math_private.h: Remove file.
65479         * math/math_private.h: Move file ...
65480         * sysdeps/generic/math_private.h: ... here.
65482         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65483         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65484         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65486         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65487         and <math_private.h>.
65488         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65489         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65490         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65491         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65492         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65493         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65494         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65495         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65496         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65497         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65498         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65499         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65500         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65501         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65502         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65503         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65504         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65505         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65506         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65507         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65508         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65509         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65510         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65511         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65512         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65513         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65514         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65515         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65516         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65517         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65518         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65519         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65520         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65521         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65522         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65523         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65524         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65525         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65526         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65527         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65528         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
65529         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65530         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65531         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
65532         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
65533         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65534         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
65535         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65536         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65537         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65538         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
65539         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65540         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
65541         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65542         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65543         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65544         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65545         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65546         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65547         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65548         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65549         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65550         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65551         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65552         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65553         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65554         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65555         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65556         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65557         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65558         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65559         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65560         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65561         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65562         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
65563         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
65564         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
65565         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65566         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
65567         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
65568         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65569         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
65570         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65571         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65572         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65573         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
65574         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
65575         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
65576         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65577         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65578         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65579         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65580         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65581         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65582         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65583         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65584         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65585         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65586         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65587         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65588         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65589         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65590         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65591         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65592         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65593         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65594         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65595         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65596         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65597         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65598         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65599         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65600         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65601         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65602         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
65603         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65604         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65605         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65606         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65607         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65608         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65609         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65610         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65611         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
65612         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65613         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65614         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65615         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
65616         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65617         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
65618         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
65619         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65620         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65621         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
65622         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
65623         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65624         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65625         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65626         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
65627         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65628         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65629         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65630         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65631         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
65632         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
65633         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65634         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65635         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65636         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
65637         * sysdeps/ieee754/k_standard.c: Likewise.
65638         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65639         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65640         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65641         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65642         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65643         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65644         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65645         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65646         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65647         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65648         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65649         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65650         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65651         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65652         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65653         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65654         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65655         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65656         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65657         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
65658         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
65659         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
65660         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65661         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65662         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65663         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
65664         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65665         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65666         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65667         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65668         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65669         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65670         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65671         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65672         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65673         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65674         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65675         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
65676         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
65677         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65678         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65679         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65680         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65681         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65682         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65683         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65684         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65685         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65686         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65687         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65688         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65689         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65690         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65691         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
65692         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65693         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65694         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
65695         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
65696         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65697         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65698         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65699         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65700         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65701         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65702         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65703         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65704         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65705         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65706         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65707         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65708         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65709         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65710         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65711         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65712         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65713         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65714         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
65715         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65716         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65717         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65718         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65719         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65720         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65721         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65722         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
65723         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65724         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65725         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
65726         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65727         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65728         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
65729         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65730         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
65731         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65732         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65733         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65734         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
65735         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
65736         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
65737         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
65738         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65739         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65740         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65741         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65742         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
65743         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65744         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65745         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
65746         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
65747         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65748         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65749         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65750         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65751         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65752         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65753         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65754         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65755         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65756         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65757         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65758         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65759         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65760         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65761         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65762         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65763         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
65764         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65765         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65766         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65767         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65768         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65769         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65770         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65771         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
65772         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65773         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65774         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
65775         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
65776         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65777         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
65778         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
65779         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65780         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
65781         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
65782         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65783         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65784         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65785         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65786         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65787         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
65788         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65789         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65790         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65791         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65792         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
65793         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
65794         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65795         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65796         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65797         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
65798         * sysdeps/ieee754/s_lib_version.c: Likewise.
65799         * sysdeps/ieee754/s_matherr.c: Likewise.
65800         * sysdeps/ieee754/s_signgam.c: Likewise.
65801         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65802         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65803         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
65804         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
65805         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
65806         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65807         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
65808         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
65809         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
65810         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
65811         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65812         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
65813         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65814         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65815         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
65816         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65817         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65818         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65819         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65820         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65821         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65823 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65825         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
65826         * sunrpc/rpc_main.c: Likewise.
65827         * sunrpc/rpc_svcout.c: Likewise.
65829 2012-03-09  David S. Miller  <davem@davemloft.net>
65831         * include/math_private.h: New file.
65833 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65835         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
65836         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
65837         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
65838         from <bits/socket_type.h>.
65839         (enum __socket_type): Don't define here.
65840         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
65841         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65842         bits/socket_type.h.
65844         [BZ #13566]
65845         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
65846         checking __USE_GNU.
65848         * Makerules ($(inst_includedir)/%.h): New rule.
65849         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
65850         (install-others): Remove variable setting.
65851         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
65853 2012-03-08  Richard Henderson  <rth@twiddle.net>
65855         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
65856         from macro to inline function; merge with the
65857         !__LIBC_INTERNAL_MATH_INLINES version.
65858         (__ieee754_sqrtf): Likewise.
65860         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
65861         to inline function.
65862         (__rintf, __floor, __floorf): Likewise.
65864         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
65865         macro to inline function.
65866         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
65868         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
65869         not <math/math_private.h>.
65871 2012-03-08  David S. Miller  <davem@davemloft.net>
65873         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
65874         copyright year.
65875         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
65877 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
65879         * resolv/gai_misc.c (handle_requests): Fix struct timespec
65880         normalization.
65881         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
65882         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
65884 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
65886         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
65887         be defined individually, they must be defined as a block.  Define
65888         S for printing a string instead of hidint the different by using a
65889         macro for adding the 'l'.
65890         * stdio-common/tst-fphex-wide.c: Adjust.
65892 2012-03-07  Marek Polacek  <polacek@redhat.com>
65894         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
65896 2012-03-08  Marek Polacek  <polacek@redhat.com>
65898         [BZ #13806]
65899         * stdio-common/Makefile (tests): Add tst-fphex-wide.
65900         * stdio-common/tst-fphex.c: Define a few macros to make the
65901         test reusable.  Use them.
65902         * stdio-common/tst-fphex-wide.c: New file.
65904 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
65906         [BZ #6911]
65907         * manual/macros.texi (gnusystems): New macro.
65908         (nongnusystems): Likewise.
65909         (gnulinuxhurdsystems): Likewise.
65910         (gnuhurdsystems): Likewise..
65911         (gnulinuxsystems): Likewise.
65912         * manual/charset.texi: Use new macros or @theglibc{} to refer to
65913         variants of the GNU system, not "GNU system".
65914         * manual/conf.texi: Likewise.
65915         * manual/errno.texi: Likewise.  Update example of errno macro
65916         expansion.
65917         * manual/filesys.texi: Likewise.
65918         (getumask): Document as specific to GNU/Hurd.
65919         * manual/install.texi: Likewise.  Reword some references to
65920         GNU/Linux.
65921         * manual/intro.texi: Likewise.
65922         * manual/io.texi: Likewise.
65923         (File Name Portability): Detail which constraints are inapplicable
65924         to all GNU systems and which are only inapplicable to GNU/Hurd.
65925         * manual/job.texi: Likewise.
65926         * manual/llio.texi: Likewise.
65927         (O_NOCTTY): Document as present on GNU/Linux.
65928         * manual/maint.texi: Likewise.
65929         * manual/memory.texi: Likewise.
65930         * manual/pattern.texi: Likewise.
65931         * manual/pipe.texi: Likewise.
65932         * manual/process.texi: Likewise.
65933         * manual/resource.texi: Likewise.
65934         (RUSAGE_CHILDREN): Remove statement about specifying a particular
65935         child on GNU/Hurd.
65936         * manual/setjmp.texi: Likewise.
65937         * manual/signal.texi: Likewise.
65938         * manual/startup.texi: Likewise.
65939         * manual/stdio.texi: Likewise.
65940         * manual/terminal.texi: Likewise.
65941         (ONLCR): Document as POSIX.
65942         (OXTABS): Document availability on GNU/Linux as XTABS.
65943         (ONOEOT): Document availability separately from other bits.
65944         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
65945         * manual/time.texi: Likewise.
65946         * manual/users.texi: Likewise.
65947         * INSTALL: Regenerated.
65948         * sysdeps/gnu/errlist.c: Regenerated.
65950         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
65951         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
65952         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
65953         puts.
65954         * configure: Regenerated.
65956 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
65958         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
65959         default includes instead of AC_HEADER_CHECK.
65960         * sysdeps/i386/configure: Regenerated.
65962         [BZ #10716]
65963         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
65964         * math/s_cacoshf.c (__cacoshf): Likewise.
65965         * math/s_cacoshl.c (__cacoshl): Likewise.
65966         * math/s_casinh.c (__casinh): Set signs of result from argument.
65967         * math/s_casinhf.c (__casinhf): Likewise.
65968         * math/s_casinhl.c (__casinhl): Likewise.
65969         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
65970         (casinh_test): Add more tests.
65971         * sysdeps/i386/fpu/libm-test-ulps: Update.
65972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65974 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
65976         * po/zh_TW.po: Update from translation team.
65978         * login/Makefile (distribute): Remove variable.
65979         * catgets/Makefile: Likewise.
65980         * mach/Makefile: Likewise.
65981         * malloc/Makefile: Likewise.
65982         * misc/Makefile: Likewise.
65983         * iconv/Makefile: Likewise.
65984         * nscd/Makefile: Likewise.
65985         * hurd/Makefile: Likewise.
65986         * manual/Makefile: Likewise.
65987         * locale/Makefile: Likewise.
65988         * intl/Makefile: Likewise.
65989         * conform/Makefile: Likewise.
65990         * nss/Makefile: Likewise.
65991         * time/Makefile: Likewise.
65992         * soft-fp/Makefile: Likewise.
65993         * dirent/Makefile: Likewise.
65994         * gmon/Makefile: Likewise.
65995         * po/Makefile: Likewise.
65996         * rt/Makefile: Likewise.
65997         * socket/Makefile: Likewise.
65998         * math/Makefile: Likewise.
65999         * signal/Makefile: Likewise.
66000         * debug/Makefile: Likewise.
66001         * elf/Makefile: Likewise.
66002         * timezone/Makefile: Likewise.
66003         * stdlib/Makefile: Likewise.
66004         * iconvdata/Makefile: Likewise.
66005         * sunrpc/Makefile: Likewise.
66006         * io/Makefile: Likewise.
66007         * argp/Makefile: Likewise.
66008         * inet/Makefile: Likewise.
66009         * hesiod/Makefile: Likewise.
66010         * grp/Makefile: Likewise.
66011         * csu/Makefile: Likewise.
66012         * wctype/Makefile: Likewise.
66013         * crypt/Makefile: Likewise.
66014         * libio/Makefile: Likewise.
66015         * string/Makefile: Likewise.
66016         * nis/Makefile: Likewise.
66017         * resolv/Makefile: Likewise.
66018         * stdio-common/Makefile: Likewise.
66019         * wcsmbs/Makefile: Likewise.
66020         * dlfcn/Makefile: Likewise.
66021         * posix/Makefile: Likewise.
66023         [BZ #6959]
66024         * timezone/Makefile: Don't install timezone files, just the programs
66025         and scripts.
66027 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
66029         * nss/databases.def: Add missing gshadow entry.
66031         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
66033 2012-03-06  Marek Polacek  <polacek@redhat.com>
66035         [BZ #13726]
66036         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
66037         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
66038         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
66039         * stdio-common/tst-long-dbl-fphex.c: New file.
66041 2012-03-06  David S. Miller  <davem@davemloft.net>
66043         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66044         (set_obp_int): New function.
66045         (get_obp_int): New function.
66046         (__get_clockfreq_via_dev_openprom): Likewise.
66047         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
66048         Avoid unused variable warnings on 'val' and use builtin_expect.
66049         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
66050         __builtin_expect.
66051         (INLINE_CLONE_SYSCALL): Likewise.
66053 2012-03-05  David S. Miller  <davem@davemloft.net>
66055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66057 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
66059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66061         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
66062         only for |x| >= 40.
66063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66065 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
66067         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
66068         Replace gettimeofday with __vdso_gettimeofday.
66070         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66071         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
66072         __vdso_clock_gettime and __vdso_getcpu.
66074         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
66075         time with __vdso_time.
66077 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66079         * manual/lang.texi (size_t): Note types to which size_t may be
66080         equivalent with the GNU C Library, but do not describe when
66081         differences between them are significant.
66083 2012-03-05  Andreas Jaeger  <aj@suse.de>
66085         * sysdeps/i386/fpu/libm-test-ulps: Update.
66087 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66089         [BZ #3976]
66090         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
66091         (__ieee754_pow): Save and restore rounding mode and use
66092         round-to-nearest for main computations.
66093         * math/libm-test.inc (pow_test_tonearest): New function.
66094         (pow_test_towardzero): Likewise.
66095         (pow_test_downward): Likewise.
66096         (pow_test_upward): Likewise.
66097         (main): Call the new functions.
66098         * sysdeps/i386/fpu/libm-test-ulps: Update.
66099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66101         [BZ #3976]
66102         * math/libm-test.inc (cosh_test_tonearest): New function.
66103         (cosh_test_towardzero): Likewise.
66104         (cosh_test_downward): Likewise.
66105         (cosh_test_upward): Likewise.
66106         (sinh_test_tonearest): Likewise.
66107         (sinh_test_towardzero): Likewise.
66108         (sinh_test_downward): Likewise.
66109         (sinh_test_upward): Likewise.
66110         (main): Call the new functions.
66111         * sysdeps/i386/fpu/libm-test-ulps: Update.
66112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66114 2012-03-05  Tom de Vries  <tom@codesourcery.com>
66116         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
66117         default stack guard is set in last bytes.
66118         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
66120 2012-03-05  Kees Cook  <keescook@chromium.org>
66122         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
66124         [BZ #13656]
66125         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
66126         possibly allocate from heap instead of stack.
66127         * stdio-common/bug-vfprintf-nargs.c: New file.
66128         * stdio-common/Makefile (tests): Add nargs overflow test.
66130 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
66132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66134 2012-03-03  Marek Polacek  <polacek@redhat.com>
66136         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
66137         * math/math_private.h: Likewise.
66138         * stdlib/tst-strtod.c: Likewise.
66139         * sysdeps/i386/i486/bits/atomic.h: Likewise.
66140         * sysdeps/x86_64/bits/atomic.h: Likewise.
66142 2012-03-02  David S. Miller  <davem@davemloft.net>
66144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
66145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
66146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
66147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
66148         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
66149         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
66150         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
66151         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66153 2012-03-02  Roland McGrath  <roland@hack.frob.com>
66155         [BZ #13792]
66156         * manual/examples/README: New file, says the example source files
66157         can be used under GPL>=2.
66158         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66159         line containing just "*/".
66160         * manual/examples/add.c: Add copyright header (GPL>=2).
66161         * manual/examples/argp-ex1.c: Likewise.
66162         * manual/examples/argp-ex2.c: Likewise.
66163         * manual/examples/argp-ex3.c: Likewise.
66164         * manual/examples/argp-ex4.c: Likewise.
66165         * manual/examples/atexit.c: Likewise.
66166         * manual/examples/db.c: Likewise.
66167         * manual/examples/dir.c: Likewise.
66168         * manual/examples/dir2.c: Likewise.
66169         * manual/examples/execinfo.c: Likewise.
66170         * manual/examples/filecli.c: Likewise.
66171         * manual/examples/filesrv.c: Likewise.
66172         * manual/examples/fmtmsgexpl.c: Likewise.
66173         * manual/examples/genpass.c: Likewise.
66174         * manual/examples/inetcli.c: Likewise.
66175         * manual/examples/inetsrv.c: Likewise.
66176         * manual/examples/isockad.c: Likewise.
66177         * manual/examples/longopt.c: Likewise.
66178         * manual/examples/memopen.c: Likewise.
66179         * manual/examples/memstrm.c: Likewise.
66180         * manual/examples/mkfsock.c: Likewise.
66181         * manual/examples/mkisock.c: Likewise.
66182         * manual/examples/mygetpass.c: Likewise.
66183         * manual/examples/pipe.c: Likewise.
66184         * manual/examples/popen.c: Likewise.
66185         * manual/examples/rprintf.c: Likewise.
66186         * manual/examples/search.c: Likewise.
66187         * manual/examples/select.c: Likewise.
66188         * manual/examples/setjmp.c: Likewise.
66189         * manual/examples/sigh1.c: Likewise.
66190         * manual/examples/sigusr.c: Likewise.
66191         * manual/examples/stpcpy.c: Likewise.
66192         * manual/examples/strdupa.c: Likewise.
66193         * manual/examples/strftim.c: Likewise.
66194         * manual/examples/strncat.c: Likewise.
66195         * manual/examples/subopt.c: Likewise.
66196         * manual/examples/swapcontext.c: Likewise.
66197         * manual/examples/termios.c: Likewise.
66198         * manual/examples/testopt.c: Likewise.
66199         * manual/examples/testpass.c: Likewise.
66200         * manual/examples/timeval_subtract.c: Likewise.
66202         [BZ #13792]
66203         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66204         function to ...
66205         * manual/timeval_subtract.c.texi: ... here, new file.
66207 2012-03-02  David S. Miller  <davem@davemloft.net>
66209         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66211 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66213         [BZ #3976]
66214         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66215         (__sin): Save and restore rounding mode and use round-to-nearest
66216         for all computations.
66217         (__cos): Save and restore rounding mode and use round-to-nearest
66218         for all computations.
66219         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66220         <fenv.h>.
66221         (tan): Save and restore rounding mode and use round-to-nearest for
66222         all computations.
66223         * math/libm-test.inc (cos_test_tonearest): New function.
66224         (cos_test_towardzero): Likewise.
66225         (cos_test_downward): Likewise.
66226         (cos_test_upward): Likewise.
66227         (sin_test_tonearest): Likewise.
66228         (sin_test_towardzero): Likewise.
66229         (sin_test_downward): Likewise.
66230         (sin_test_upward): Likewise.
66231         (tan_test_tonearest): Likewise.
66232         (tan_test_towardzero): Likewise.
66233         (tan_test_downward): Likewise.
66234         (tan_test_upward): Likewise.
66235         (main): Call the new functions.
66236         * sysdeps/i386/fpu/libm-test-ulps: Update.
66237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66239         [BZ #10135]
66240         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66241         small n, then large n, before computing and testing k+n.
66242         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66243         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66244         Likewise.
66245         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66246         Likewise.
66247         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66248         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66249         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66250         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66251         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66252         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66253         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66254         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66255         * math/libm-test.inc (scalbn_test): Add more tests.
66256         (scalbln_test): Likewise.
66258         * manual/filesys.texi (mode_t): Describe constraints on size and
66259         signedness, not exact equivalence to a particular type.
66260         (ino_t): Likewise.
66261         (ino64_t): Likewise.
66262         (dev_t): Likewise.
66263         (nlink_t): Likewise.
66264         (blkcnt_t): Likewise.
66265         (blkcnt64_t): Likewise.
66266         * manual/llio.texi (off_t): Likewise.
66268         [BZ #3976]
66269         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66270         (__ieee754_exp): Save and restore rounding mode and use
66271         round-to-nearest for all computations.
66272         * math/libm-test.inc (exp_test_tonearest): New function.
66273         (exp_test_towardzero): Likewise.
66274         (exp_test_downward): Likewise.
66275         (exp_test_upward): Likewise.
66276         (main): Call the new functions.
66277         * sysdeps/i386/fpu/libm-test-ulps: Update.
66278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66280 2012-03-01  Chris Demetriou  <cgd@google.com>
66282         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66283         have predictable order.
66285 2012-03-01  David S. Miller  <davem@davemloft.net>
66287         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66289         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66290         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66291         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66292         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66294         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66295         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66296         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66298         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66299         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66300         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66301         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66302         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66306         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66307         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66308         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66310         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66311         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66312         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66313         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66314         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66315         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66316         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66317         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66318         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66319         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66320         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66321         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66323         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66324         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66326         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66327         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66328         * sysdeps/sparc/elf/configure: Regenerated.
66330 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66332         * configure.in (AS, LD): Require binutils 2.20 or later.
66333         * configure: Regenerated.
66334         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66335         as required minimum version.
66336         * INSTALL: Regenerated.
66338         [BZ #2541]
66339         [BZ #4108]
66340         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66341         before squaring exponent.
66342         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66343         bottom long double and 27 bits of top long double before squaring
66344         exponent.
66345         * math/libm-test.inc (erfc_test): Add more tests.
66346         * sysdeps/i386/fpu/libm-test-ulps: Update.
66347         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66350 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66352         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66353         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66354         containing bit-fields.
66355         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66356         * soft-fp/single.h (_FP_UNION_S): Likewise.
66357         * soft-fp/double.h (_FP_UNION_D): Likewise.
66359 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66361         [BZ #13786]
66362         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66363         not include ../strcmp.S.
66364         [USE_AS_STRNCASECMP_L]: Likewise.
66365         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66366         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66367         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66368         (__strncasecmp_l_ia32): Define as alias to
66369         __strncasecmp_l_nonascii.
66371         [BZ #5794]
66372         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66373         * sysdeps/i386/fpu/libm-test-ulps: Update.
66374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66376         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66379 2012-02-29  Jeff Law  <law@redhat.com>
66381         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66382         out of bounds read.
66384 2012-02-29  Marek Polacek  <polacek@redhat.com>
66386         [BZ #13706]
66387         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66388         * elf/Makefile: Add rules to run tst-unused-dep.out.
66390 2012-02-28  David S. Miller  <davem@davemloft.net>
66392         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66393         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66394         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66395         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66396         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66397         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66399 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66401         * math/libm-test.inc (llround_test): Move one test from
66402         lround_test.  Use TEST_f_L in moved test.
66403         (lround_test): Move misplaced test to llround_test.  Add testcase
66404         from bug 2561.
66406 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66408         * sysdeps/x86_64/fpu/e_expf.S: New file.
66409         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66411 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66413         [BZ #13637]
66414         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66415         of remain_len that may cause incomplete multi-byte character and
66416         false match.
66417         * posix/bug-regex33.c: New file.
66418         * posix/Makefile (tests): Add bug-regex33.
66420 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66422         * manual/macros.texi: New file.
66423         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66424         * manual/libc.texinfo: Include macros.texi.
66425         * manual/creatute.texi: Likewise.
66426         * manual/install.texi: Likewise.
66427         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66428         @glibcadj{} in references to the GNU C Library.
66429         * manual/charset.texi: Likewise.
66430         * manual/conf.texi: Likewise.
66431         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66432         when not using those macros.
66433         * manual/creature.texi: Likewise.
66434         * manual/crypt.texi: Likewise.
66435         * manual/errno.texi: Likewise.
66436         * manual/filesys.texi: Likewise.
66437         * manual/header.texi: Likewise.
66438         * manual/install.texi: Likewise.
66439         * manual/intro.texi: Likewise.
66440         * manual/io.texi: Likewise.
66441         * manual/job.texi: Likewise.
66442         * manual/lang.texi: Likewise.
66443         * manual/libc.texiinfo: Likewise.
66444         * manual/llio.texi: Likewise.
66445         * manual/locale.texi: Likewise.
66446         * manual/maint.texi: Likewise.
66447         * manual/math.texi: Likewise.
66448         * manual/memory.texi: Likewise.
66449         * manual/message.texi: Likewise.
66450         * manual/nss.texi: Likewise.
66451         * manual/pattern.texi: Likewise.
66452         * manual/process.texi: Likewise.
66453         * manual/resource.texi: Likewise.
66454         * manual/search.texi: Likewise.
66455         * manual/setjmp.texi: Likewise.
66456         * manual/signal.texi: Likewise.
66457         * manual/socket.texi: Likewise.
66458         * manual/startup.texi: Likewise.
66459         * manual/stdio.texi: Likewise.
66460         * manual/string.texi: Likewise.
66461         * manual/sysinfo.texi: Likewise.
66462         * manual/syslog.texi: Likewise.
66463         * manual/terminal.texi: Likewise.
66464         * manual/time.texi: Likewise.
66465         * manual/users.texi: Likewise.
66466         * INSTALL: Regenerated.
66467         * NOTES: Regenerated.
66468         * sysdeps/gnu/errlist.c: Regenerated.
66470 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66472         * include/dirent.h: Include <dirstream.h> before
66473         <dirent/dirent.h>.
66475 2012-02-28  David S. Miller  <davem@davemloft.net>
66477         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66478         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66479         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66480         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66482 2012-02-27  David S. Miller  <davem@davemloft.net>
66484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66486         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66487         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66490         frame pointer instead of stack pointer relative arg slot.
66491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66492         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66493         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66495 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66497         [BZ #3992]
66498         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66500 2012-02-27  David S. Miller  <davem@davemloft.net>
66502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66506         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66507         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66508         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66509         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66511 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66513         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66514         later.  Allow versions 5-9.
66515         * configure: Regenerated.
66516         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66517         required minimum version and 4.6 as recommended version.  Do not
66518         mention bugs in GCC 2.7 and 2.8.
66519         * INSTALL: Regenerated.
66521 2012-02-27  David S. Miller  <davem@davemloft.net>
66523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
66527         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
66528         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
66529         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
66530         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
66532         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
66533         manipulate bits before adding and subtracting TWO112[sx].
66534         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66536 2012-02-27  Roland McGrath  <roland@hack.frob.com>
66538         [BZ #13775]
66539         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
66540         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
66541         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
66542         being in POSIX, because they are in 1003.1-2008.
66544         * rt/tst-aio.c: Include <fcntl.h>.
66545         * rt/tst-aio7.c: Likewise.
66546         * rt/tst-aio64.c: Likewise.
66548         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66550 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66552         * manual/install.texi (--with-headers): Describe headers as
66553         interface headers, not private headers.
66554         (Specific advice for GNU/Linux systems): Describe use of headers
66555         from "make headers_install", not private headers from older
66556         kernels.
66557         * INSTALL: Regenerated.
66558         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66559         Change to 2.6.19.
66560         * sysdeps/unix/sysv/linux/configure: Regenerated.
66562         * manual/llio.texi (fclean): Remove documentation.
66564         * manual/Makefile (libc-texi-generated): New variable.  Include
66565         version.texi.
66566         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
66567         $(libc-texi-generated), not duplicated list of files.
66568         (version.texi, stamp-version): New rules.
66569         (realclean): Remove $(libc-texi-generated), not individual files
66570         from that list.  Do not remove dir-add.texinfo.
66571         * manual/libc.texinfo: Comment out uses of edition numbers and
66572         references to printed manual.  Remove last-updated dates.
66573         (EDITION): Comment out.
66574         (ISBN): Likewise.
66575         (VERSION, UPDATED): Remove.
66576         (version.texi): Include.
66578 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
66580         * sysdeps/posix/spawni.c: Include <signal.h>.
66581         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
66582         * sysdeps/pthread/aio_fsync.c: Likewise.
66584 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
66586         * conform/Makefile (tests): Run only when not cross-compiling and
66587         when fast-check is not defined.
66589         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
66590         * conform/data/limits.h-data: Fixes for POSIX2008.
66591         * conform/run-conformtest.sh: Run all tests.
66592         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
66593         headers.
66594         * include/bits/dlfcn.h: Likewise.
66595         * include/langinfo.h: Likewise.
66596         * include/monetary.h: Likewise.
66597         * include/sys/poll.h: Likewise.
66599         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
66600         for __USE_GNU.
66601         * posix/spawn.h: Define __need_sigset_t.
66602         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
66603         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
66604         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
66605         to get sigevent_t only.
66606         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
66607         only for __USE_GNU.
66608         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66609         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66610         process_vm_writev only for __USE_GNU.
66611         * termios/termios.h: Declare tcgetsid also for POSIX2008.
66613         * conform/Makefile: For now ignore errors from run-conformtest.
66614         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
66615         POSIX to avoid namespace pollution.  Don't prepend headers.
66616         * conform/data/aio.h-data: Fixes for POSIX testing.
66617         * conform/data/fcntl.h-data: Likewise.
66618         * conform/data/glob.h-data: Likewise.
66619         * conform/data/grp.h-data: Likewise.
66620         * conform/data/pthread.h-data: Likewise.
66621         * conform/data/pwd.h-data: Likewise.
66622         * conform/data/signal.h-data: Likewise.
66623         * conform/data/spawn.h-data: Likewise.
66624         * conform/data/stdio.h-data: Likewise.
66625         * conform/data/stdlib.h-data: Likewise.
66626         * conform/data/stropts.h-data: Likewise.
66627         * conform/data/sys/mman.h-data: Likewise.
66628         * conform/data/sys/stat.h-data: Likewise.
66629         * conform/data/sys/types.h-data: Likewise.
66630         * conform/data/sys/wait.h-data: Likewise.
66631         * conform/data/time.h-data: Likewise.
66632         * conform/data/unistd.h-data: Likewise.
66633         * conform/data/utime.h-data: Likewise.
66635         * io/sys/stat.h: fchmod was always in POSIX.
66636         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
66637         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
66638         * rt/aio.h: Define __need_timespec before including <time.h>.
66639         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
66640         struct.  Add forward declaration of pthread_attr_t and use it in
66641         sigevent.
66642         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66643         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66644         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
66645         always remove CLK_TCK definition.
66647 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
66649         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
66651 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
66653         * conform/run-conformtest.sh: New file.
66654         * conform/Makefile: Run run-conformtest for tests.
66655         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
66656         support.
66658         * conform/data/uchar.h-data: New file.
66659         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
66660         * conform/data/arpa/inet.h-data: Likewise.
66661         * conform/data/assert.h-data: Likewise.
66662         * conform/data/complex.h-data: Likewise.
66663         * conform/data/cpio.h-data: Likewise.
66664         * conform/data/ctype.h-data: Likewise.
66665         * conform/data/dirent.h-data: Likewise.
66666         * conform/data/dlfcn.h-data: Likewise.
66667         * conform/data/errno.h-data: Likewise.
66668         * conform/data/fcntl.h-data: Likewise.
66669         * conform/data/float.h-data: Likewise.
66670         * conform/data/fmtmsg.h-data: Likewise.
66671         * conform/data/fnmatch.h-data: Likewise.
66672         * conform/data/ftw.h-data: Likewise.
66673         * conform/data/glob.h-data: Likewise.
66674         * conform/data/grp.h-data: Likewise.
66675         * conform/data/iconv.h-data: Likewise.
66676         * conform/data/inttypes.h-data: Likewise.
66677         * conform/data/langinfo.h-data: Likewise.
66678         * conform/data/libgen.h-data: Likewise.
66679         * conform/data/limits.h-data: Likewise.
66680         * conform/data/locale.h-data: Likewise.
66681         * conform/data/math.h-data: Likewise.
66682         * conform/data/monetary.h-data: Likewise.
66683         * conform/data/mqueue.h-data: Likewise.
66684         * conform/data/ndbm.h-data: Likewise.
66685         * conform/data/net/if.h-data: Likewise.
66686         * conform/data/netdb.h-data: Likewise.
66687         * conform/data/netinet/in.h-data: Likewise.
66688         * conform/data/nl_types.h-data: Likewise.
66689         * conform/data/poll.h-data: Likewise.
66690         * conform/data/pthread.h-data: Likewise.
66691         * conform/data/pwd.h-data: Likewise.
66692         * conform/data/regex.h-data: Likewise.
66693         * conform/data/sched.h-data: Likewise.
66694         * conform/data/search.h-data: Likewise.
66695         * conform/data/semaphore.h-data: Likewise.
66696         * conform/data/setjmp.h-data: Likewise.
66697         * conform/data/signal.h-data: Likewise.
66698         * conform/data/spawn.h-data: Likewise.
66699         * conform/data/stdarg.h-data: Likewise.
66700         * conform/data/stdio.h-data: Likewise.
66701         * conform/data/stdlib.h-data: Likewise.
66702         * conform/data/string.h-data: Likewise.
66703         * conform/data/strings.h-data: Likewise.
66704         * conform/data/stropts.h-data: Likewise.
66705         * conform/data/sys/ipc.h-data: Likewise.
66706         * conform/data/sys/mman.h-data: Likewise.
66707         * conform/data/sys/msg.h-data: Likewise.
66708         * conform/data/sys/resource.h-data: Likewise.
66709         * conform/data/sys/select.h-data: Likewise.
66710         * conform/data/sys/sem.h-data: Likewise.
66711         * conform/data/sys/shm.h-data: Likewise.
66712         * conform/data/sys/socket.h-data: Likewise.
66713         * conform/data/sys/stat.h-data: Likewise.
66714         * conform/data/sys/statvfs.h-data: Likewise.
66715         * conform/data/sys/time.h-data: Likewise.
66716         * conform/data/sys/timeb.h-data: Likewise.
66717         * conform/data/sys/times.h-data: Likewise.
66718         * conform/data/sys/types.h-data: Likewise.
66719         * conform/data/sys/uio.h-data: Likewise.
66720         * conform/data/sys/un.h-data: Likewise.
66721         * conform/data/sys/utsname.h-data: Likewise.
66722         * conform/data/sys/wait.h-data: Likewise.
66723         * conform/data/syslog.h-data: Likewise.
66724         * conform/data/tar.h-data: Likewise.
66725         * conform/data/termios.h-data: Likewise.
66726         * conform/data/utime.h-data: Likewise.
66727         * conform/data/utmpx.h-data: Likewise.
66728         * conform/data/varargs.h-data: Likewise.
66729         * conform/data/wchar.h-data: Likewise.
66730         * conform/data/wctype.h-data: Likewise.
66731         * conform/data/wordexp.h-data: Likewise.
66733         * include/stropts.h: New file.
66734         * include/uchar.h: New file.
66735         * include/aio.h: Changes to allow conformtest.pl to use the headers.
66736         * include/assert.h: Likewise.
66737         * include/ctype.h: Likewise.
66738         * include/dirent.h: Likewise.
66739         * include/dlfcn.h: Likewise.
66740         * include/fcntl.h: Likewise.
66741         * include/fnmatch.h: Likewise.
66742         * include/glob.h: Likewise.
66743         * include/grp.h: Likewise.
66744         * include/libio.h: Likewise.
66745         * include/locale.h: Likewise.
66746         * include/math.h: Likewise.
66747         * include/net/if.h: Likewise.
66748         * include/netdb.h: Likewise.
66749         * include/netinet/in.h: Likewise.
66750         * include/pthread.h: Likewise.
66751         * include/pwd.h: Likewise.
66752         * include/regex.h: Likewise.
66753         * include/sched.h: Likewise.
66754         * include/search.h: Likewise.
66755         * include/setjmp.h: Likewise.
66756         * include/signal.h: Likewise.
66757         * include/stdio.h: Likewise.
66758         * include/stdlib.h: Likewise.
66759         * include/string.h: Likewise.
66760         * include/sys/cdefs.h: Likewise.
66761         * include/sys/mman.h: Likewise.
66762         * include/sys/msg.h: Likewise.
66763         * include/sys/resource.h: Likewise.
66764         * include/sys/select.h: Likewise.
66765         * include/sys/socket.h: Likewise.
66766         * include/sys/stat.h: Likewise.
66767         * include/sys/statvfs.h: Likewise.
66768         * include/sys/time.h: Likewise.
66769         * include/sys/times.h: Likewise.
66770         * include/sys/uio.h: Likewise.
66771         * include/sys/utsname.h: Likewise.
66772         * include/sys/wait.h: Likewise.
66773         * include/termios.h: Likewise.
66774         * include/time.h: Likewise.
66775         * include/ulimit.h: Likewise.
66776         * include/unistd.h: Likewise.
66777         * include/utime.h: Likewise.
66778         * include/wchar.h: Likewise.
66779         * include/wctype.h: Likewise.
66780         * include/wordexp.h: Likewise.
66782         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
66784         * time/time.h: TIME_UTC must be a macro.
66785         Make timespec_get available for ISO C11 only as well.
66787 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
66789         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
66790         Reported by Peng Haitao <penght@cn.fujitsu.com>.
66792 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66794         * configure.in: Use -o not -a in test for unsupported multi-arch.
66796 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66798         * manual/texinfo.tex: Update to version 2012-01-19.16.
66800 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66802         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
66804 2012-02-24  Roland McGrath  <roland@hack.frob.com>
66806         [BZ #13738]
66807         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
66808         * manual/fdl-1.3.texi: New file.
66809         * manual/fdl-1.1.texi: File removed.
66811         [BZ #13738]
66812         * manual/libc.texinfo (FDL_VERSION): New @set.
66813         Use it for mention of FDL in cover text.
66814         (Documentation License): Use it in @include file name.
66816 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66817             Roland McGrath  <roland@hack.frob.com>
66819         [BZ #5461]
66820         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
66821         (not LONG_LONG_MAX and LONG_LONG_MIN.
66822         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
66823         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
66824         name.
66825         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
66827 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66829         [BZ #2547]
66830         [BZ #11365]
66831         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
66832         manipulate bits before adding and subtracting TWO23[sx].
66833         * math/libm-test.inc (nearbyint_test): Add more tests.
66835 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66837         [BZ #2548]
66838         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
66839         bits before adding and subtracting TWO23[sx].
66840         * math/libm-test.inc (rint_test): Add more tests.
66841         (rint_test_tonearest): Likewise.
66842         (rint_test_towardzero): Likewise.
66843         (rint_test_downward): Likewise.
66844         (rint_test_upward: Likewise.
66846 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66848         [BZ #10110]
66849         * include/stdc-predef.h: New file.  Extracted from features.h.
66850         * include/features.h: Include stdc-predef.h.
66851         * Makefile (headers): Add stdc-predef.h.
66852         * CONFORMANCE (Compiler limitations): Update.
66854 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66856         * manual/libc.texinfo (VERSION, UPDATED): Revert.
66858 2012-02-21  David S. Miller  <davem@davemloft.net>
66860         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
66861         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66863 2012-02-20  David S. Miller  <davem@davemloft.net>
66865         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
66866         using a normal save/restore sequence, rather than allocating a
66867         dummy stack frame just to store a frame pointer and restore.
66868         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66870 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66872         * manual/install.texi: Fix stray word in line-wrapped comment.
66874 2012-02-20  David S. Miller  <davem@davemloft.net>
66876         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
66877         both binutils and gcc support GOTDATA.
66879         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
66880         "rd %pc" in the PIC register setup sequences.
66882         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
66883         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
66884         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66885         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
66886         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66887         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66888         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66889         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66890         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
66891         (SYSCALL_ERROR_HANDLER): Likewise.
66892         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66893         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66894         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
66895         (SYSCALL_ERROR_HANDLER): Likewise.
66897         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
66898         (HAVE_GCC_GOTDATA): New.
66899         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
66900         relocation support in both binutils and gcc.
66901         * sysdeps/sparc/elf/configure: Regenerate.
66903         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
66904         * sysdeps/sparc/sparc32/elf/configure: Delete.
66905         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
66906         * sysdeps/sparc/sparc64/elf/configure: Delete.
66907         * sysdeps/sparc/elf/configure.in: New file.
66908         * sysdeps/sparc/elf/configure: Generate.
66910         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
66911         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
66912         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66913         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
66914         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
66916 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66918         * manual/install.texi: Do not mention specific glibc version
66919         numbers.
66920         * manual/libc.texinfo (VERSION, UPDATED): Update.
66921         (@copying): Use @copyright{} and range of years.
66923 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66925         [BZ #13695]
66926         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
66927         [crti.S not in sysdirs] (generated): Do not append.
66928         [crti.S not in sysdirs] (omit-deps): Likewise.
66929         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
66930         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
66931         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
66932         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
66933         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
66934         Likewise.
66935         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
66936         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
66937         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
66938         * csu/defs.awk: Remove file.
66939         * sysdeps/generic/initfini.c: Likewise.
66940         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
66941         variable.
66942         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
66943         Likewise.
66945 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66947         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
66948         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
66949         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
66950         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
66951         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66952         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
66953         <bits/epoll.h>.
66954         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
66955         (__EPOLL_PACKED): Define to empty if not defined by
66956         <bits/epoll.h>.
66957         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
66958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66959         bits/epoll.h.
66961 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66963         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
66964         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
66965         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
66966         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
66967         <bits/timerfd.h>.
66968         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
66969         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66970         bits/timerfd.h.
66972 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66974         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
66975         in C locale.
66976         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66977         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66978         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
66979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66981 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
66983         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66984         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66986 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
66988         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
66989         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
66990         defined.
66991         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
66992         Likewise.
66993         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
66994         entry for 2.16.
66996 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
66998         * math/w_acos.c: Use non-signaling floating-point comparisons.
66999         * math/w_acosf.c: Likewise.
67000         * math/w_acosh.c: Likewise.
67001         * math/w_acoshf.c: Likewise.
67002         * math/w_acoshl.c: Likewise.
67003         * math/w_acosl.c: Likewise.
67004         * math/w_asin.c: Likewise.
67005         * math/w_asinf.c: Likewise.
67006         * math/w_asinl.c: Likewise.
67007         * math/w_atanh.c: Likewise.
67008         * math/w_atanhf.c: Likewise.
67009         * math/w_atanhl.c: Likewise.
67010         * math/w_exp2.c: Likewise.
67011         * math/w_exp2f.c: Likewise.
67012         * math/w_exp2l.c: Likewise.
67013         * math/w_j0.c: Likewise.
67014         * math/w_j0f.c: Likewise.
67015         * math/w_j0l.c: Likewise.
67016         * math/w_j1.c: Likewise.
67017         * math/w_j1f.c: Likewise.
67018         * math/w_j1l.c: Likewise.
67019         * math/w_jn.c: Likewise.
67020         * math/w_jnf.c: Likewise.
67021         * math/w_log.c: Likewise.
67022         * math/w_log10.c: Likewise.
67023         * math/w_log10f.c: Likewise.
67024         * math/w_log10l.c: Likewise.
67025         * math/w_log2.c: Likewise.
67026         * math/w_log2f.c: Likewise.
67027         * math/w_log2l.c: Likewise.
67028         * math/w_logf.c: Likewise.
67029         * math/w_logl.c: Likewise.
67030         * math/w_sqrt.c: Likewise.
67031         * math/w_sqrtf.c: Likewise.
67032         * math/w_sqrtl.c: Likewise.
67033         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67034         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
67035         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67036         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67037         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67039 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67041         [BZ #9739]
67042         * manual/string.texi (strnlen): Use correct parameter name in
67043         equivalent expression.
67045 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67047         [BZ #11174]
67048         * manual/users.texi (seteuid): Consistently use neweuid for
67049         argument name.
67051 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67053         [BZ #13704]
67054         * manual/nss.texi (Services in the NSS configuration): Correct
67055         list of services in example configuration file.
67057 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
67059         [BZ #11322]
67060         * manual/arith.texi: Remove statements about negative zero
67061         behaving identically to zero.
67063 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67065         [BZ #5993]
67066         * manual/install.texi: Do not document upgrading from libc5.
67068 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67070         [BZ #4596]
67071         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
67073 2012-02-18  David S. Miller  <davem@davemloft.net>
67075         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
67076         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
67077         %o7 across the call.
67078         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
67079         instead.
67080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
67081         SETUP_PIC_REG_LEAF.
67082         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67083         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
67084         * sysdeps/sparc/crtn.S: Likewise.
67086 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
67088         * aout/Makefile: Remove.
67090 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
67092         [BZ #13058]
67093         * manual/examples/argp-ex1.c (main): Format definition in GNU
67094         style.
67095         * manual/examples/argp-ex2.c (main): Likewise.
67096         * manual/examples/argp-ex3.c (main): Likewise.
67097         * manual/examples/argp-ex4.c (main): Likewise.
67098         * manual/examples/longopt.c (main): Use new-style prototype
67099         definition.
67100         * manual/examples/strncat.c (main): Specify return type and use
67101         (void) for arguments.
67102         * manual/examples/subopt.c (main): Use char **argv argument.
67104 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67106         [BZ #5077]
67107         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
67108         rounding modes.
67110 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
67112         [BZ #6907]
67113         * manual/string.texi (strchr): Change when strchrnul is
67114         recommended.
67116 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
67118         [BZ #174]
67119         * manual/locale.texi (setlocale): Document LOCPATH.
67121 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67123         [BZ #10210]
67124         * manual/process.texi (execle): Move @dots{} before last argument.
67126 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
67128         [BZ #12047]
67129         * manual/charset.texi (Generic Charset Conversion): Fix typo
67130         (LC_TYPE -> LC_CTYPE).
67132 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
67134         [BZ #5805]
67135         * manual/arith.texi (scalbn): Use @var{} on parameter names.
67136         (scalbnf): Likewise.
67137         (scalbnl): Likewise.
67138         (scalbln): Likewise.
67139         (scalblnf): Likewise.
67140         (scalblnl): Likewise.
67141         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
67142         (vwarnx): Likewise.
67143         (verr): Likewise.
67144         (verrx): Likewise.
67145         * manual/filesys.texi (telldir): Use braces around return type.
67146         * manual/llio.texi (mmap): Add space after comma.
67147         (mmap64): Likewise.
67148         * manual/math.texi (jn): Use @var{} on parameter names.
67149         (jnf): Likewise.
67150         (jnl): Likewise.
67151         (yn): Likewise.
67152         (ynf): Likewise.
67153         (ynl): Likewise.
67154         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
67155         line.
67156         * manual/resource.texi (ulimit): Use @dots{} instead of literal
67157         "...".
67158         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67159         (sched_get_priority_max): Likewise.
67160         * manual/signal.texi (sigvec): Add space after comma.
67161         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67162         names.
67163         (if_indextoname): Likewise.
67164         (if_freenameindex): Likewise.
67165         (sendto): Use ',' instead of '.' in prototype.
67166         * manual/startup.texi (syscall): Use @dots{} instead of literal
67167         "...".
67168         * manual/stdio.texi (__fpending): Separate initial words of
67169         paragraph from @deftypefun line.
67170         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67171         "...".
67172         (vsyslog): Use @var{} on parameter names.
67173         * manual/terminal.texi (stty): Use @var{} on parameter names.
67174         * manual/users.texi (getutmp): Use @var{} on parameter names.
67175         (getutmpx): Likewise.
67177 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67179         [BZ #6884]
67180         * manual/stdio.texi (fopen): Fix typos in description of
67181         ",ccs=STRING".
67183 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67185         [BZ #4026]
67186         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67187         get clock_id definition.
67189 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67191         [BZ #4822]
67192         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67193         (madvise): Cast every argument to void on its own.
67195 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67197         [BZ #9902]
67198         * manual/startup.texi (Exit Status): Fix typo.
67200 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67202         [BZ #10140]
67203         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67204         * manual/examples/argp-ex2.c: Likewise.
67205         * manual/examples/argp-ex3.c: Likewise.
67207 2012-02-16  Richard Henderson  <rth@redhat.com>
67209         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67210         * sysdeps/s390/s390-32/initfini.c: Remove.
67211         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67212         * sysdeps/s390/s390-64/initfini.c: Remove.
67214 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67216         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67217         compiler output for sysdeps/generic/initfini.c.
67218         * sysdeps/sh/elf/initfini.c: Remove file.
67220 2012-02-16  David S. Miller  <davem@davemloft.net>
67222         [BZ #11494]
67223         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67225         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67226         * sysdeps/sparc/crti.S: New file.
67227         * sysdeps/sparc/crtn.S: New file.
67228         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67229         * sysdeps/sparc/sparc64/Makefile: Likewise.
67231 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67233         [BZ #3335]
67234         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67236 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67238         [BZ #4822]
67239         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67241         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67242         (write, read, close): Likewise.
67243         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67245 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67247         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67248         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67249         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67250         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67251         <bits/signalfd.h>.
67252         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67254         bits/signalfd.h.
67256 2012-02-14  Marek Polacek  <polacek@redhat.com>
67258         * sysdeps/x86_64/crti.S: New file.
67259         * sysdeps/x86_64/crtn.S: New file.
67260         * sysdeps/x86_64/elf/initfini.c: Remove file.
67262 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67264         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67265         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67266         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67267         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67268         <bits/inotify.h>.
67269         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67270         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67271         bits/inotify.h.
67273 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67275         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67276         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67277         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67278         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67279         <bits/eventfd.h>.
67280         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67281         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67282         bits/eventfd.h.
67284 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67286         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67287         __feraiseexcept instead of feraiseexcept.
67289         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67290         nanosleep invocations.
67291         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67292         strings, and add error checking for a nanosleep invocations.
67294 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67296         Replace FSF snail mail address with URLs, as per GNU coding standards.
67297         Most of the snail mail addresses were wrong anyway, and omitting
67298         them makes the source code easier to maintain.  Almost all of the
67299         changes are to license notices and to locale LC_IDENTIFICATION
67300         addresses, except for this one:
67301         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67302         not its snail mail address.
67304 2012-02-09  Richard Henderson  <rth@twiddle.net>
67306         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67307         of kernel-features.h.
67309         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67311 2012-02-08  Marek Polacek  <polacek@redhat.com>
67313         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67314         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67315         * sysdeps/gnu/_G_config.h: Likewise.
67316         * sysdeps/generic/_G_config.h: Likewise.
67318 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67320         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67321         tests.
67322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67324         * sysdeps/powerpc/powerpc32/crti.S: New file.
67325         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67326         * sysdeps/powerpc/powerpc64/crti.S: New file.
67327         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67329         * Makeconfig (have-initfini): Don't set.
67330         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67331         * configure.in (nopic_initfini): Don't substitute.
67332         * config.h.in (HAVE_INITFINI): Don't #undef.
67333         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67334         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67336 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67338         Support crti.S and crtn.S provided directly by architectures.
67339         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67340         [crti.S in sysdirs] (omit-deps): Likewise.
67341         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67342         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67343         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67344         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67345         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67346         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67347         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67348         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67349         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67350         compiler output for sysdeps/generic/initfini.c.
67351         * sysdeps/i386/elf/Makefile: Remove file.
67352         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67354 2012-02-07  Marek Polacek  <polacek@redhat.com>
67356         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67357         * sysdeps/gnu/_G_config.h: Likewise.
67358         * sysdeps/mach/hurd/_G_config.h: Likewise.
67360 2012-02-07  Marek Polacek  <polacek@redhat.com>
67362         * math/Makefile (tests): Add tst-CMPLX2.
67363         * math/tst-CMPLX2.c: New file.
67365 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67367         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67369         * math/libm-test.inc (jn_test): Add missing L suffix.
67371 2012-02-06  Marek Polacek  <polacek@redhat.com>
67373         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67374         * sysdeps/i386/fpu/e_powf.S: Likewise.
67375         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67376         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67377         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67378         * sysdeps/i386/fpu/e_pow.S: Likewise.
67379         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67380         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67381         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67382         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67383         * sysdeps/i386/fpu/e_log2.S: Likewise.
67384         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67385         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67386         * sysdeps/i386/fpu/e_powl.S: Likewise.
67387         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67388         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67389         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67390         * sysdeps/i386/fpu/e_logl.S: Likewise.
67391         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67392         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67393         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67394         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67395         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67396         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67397         * sysdeps/i386/fpu/e_log.S: Likewise.
67398         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67399         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67400         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67401         * sysdeps/i386/fpu/e_logf.S: Likewise.
67402         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67403         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67404         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67405         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67406         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67407         * sysdeps/i386/fpu/e_log10.S: Likewise.
67408         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67409         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67410         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67411         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67412         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67413         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67414         * sysdeps/i386/asm-syntax.h: Likewise.
67415         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67416         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67417         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67418         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67419         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67420         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67421         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67422         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67423         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67424         * sysdeps/powerpc/sysdep.h: Likewise.
67425         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67426         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67428 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67430         [BZ #411]
67431         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67433 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67435         * sysdeps/i386/sysdep.h: Include <features.h>.
67436         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67437         version.
67439 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67441         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67442         Define.
67443         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67444         LOAD_PIC_REG_STR.
67446 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67448         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67449         (SETUP_PIC_REG): Use GET_PC_THUNK.
67450         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67451         macro.
67453 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67455         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67456         for non-PIC compilation.
67457         (SETUP_PIC_REG): Add .p2align directive.
67458         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67459         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67460         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67461         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67462         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67463         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67464         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67465         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67466         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67467         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67468         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67469         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67470         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67471         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67472         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67473         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67474         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67475         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67476         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67477         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67478         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67479         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67480         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67481         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67482         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67483         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67484         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67485         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67486         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67487         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67488         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67489         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67490         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67491         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67492         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67493         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67494         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67495         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67496         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67497         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67498         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67500 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67502         * math/tst-CMPLX.c: Include <stdio.h>.
67504 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67506         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67507         float.
67508         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67509         * sysdeps/sparc/bits/mathdef.h: Likewise.
67511 2012-01-31  Marek Polacek  <polacek@redhat.com>
67513         * libio/libio.h: Don't define _PARAMS.
67514         * locale/programs/config.h: Don't define PARAMS.
67515         * stdlib/strtol_l.c: Likewise.
67516         (__strtol_l): Remove PARAMS from the prototype.
67518 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67520         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67521         names.  Just use the correct names.  Remove unnecessary wrapper
67522         functions.
67523         * malloc/arena.c: Likewise.
67524         * malloc/hooks.c: Likewise.
67526         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
67527         ARENA_TEST says not to.  Simplify test for creation of a new arena.
67528         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
67530 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
67532         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
67533         into tail calls.
67534         (update_get_addr): New function.
67535         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
67536         GET_ADDR_MODULE parameter.
67538 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67540         * crypt/cert.c: Remove __STDC__ conditionals.
67541         * crypt/crypt-entry.c: Likewise.
67542         * crypt/crypt_util.c: Likewise.
67543         * libio/filedoalloc.c: Likewise.
67544         * libio/fileops.c: Likewise.
67545         * libio/genops.c: Likewise.
67546         * libio/iofclose.c: Likewise.
67547         * libio/iofdopen.c: Likewise.
67548         * libio/iofopen.c: Likewise.
67549         * libio/iofopen64.c: Likewise.
67550         * libio/iogetdelim.c: Likewise.
67551         * libio/iopopen.c: Likewise.
67552         * libio/obprintf.c: Likewise.
67553         * libio/oldfileops.c: Likewise.
67554         * libio/oldiofclose.c: Likewise.
67555         * libio/oldiofdopen.c: Likewise.
67556         * libio/oldiofopen.c: Likewise.
67557         * libio/oldiopopen.c: Likewise.
67558         * libio/wfiledoalloc.c: Likewise.
67559         * libio/wgenops.c: Likewise.
67560         * locale/programs/xmalloc.c: Likewise.
67561         * misc/syslog.c: Likewise.
67562         * stdio-common/xbug.c: Likewise.
67563         * string/memchr.c: Likewise.
67564         * string/memcmp.c: Likewise.
67565         * string/memrchr.c: Likewise.
67566         * string/rawmemchr.c: Likewise.
67567         * sysdeps/posix/getcwd.c: Likewise.
67568         * time/strftime_l.c: Likewise.
67570 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67572         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
67573         * config.make.in (config-cflags-sse2avx): Define.
67574         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
67575         Fix typo.
67577 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
67579         * scripts/config.guess: Update from upstream config git repository.
67580         * scripts/config.sub: Likewise.
67582 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
67584         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
67585         (EM_NUM): Update.
67586         (R_TILEPRO_*, R_TILEGX_*): New macros.
67588         * scripts/firstversions.awk: Fix bug in version range handling.
67590         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
67592         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
67594         * include/sys/epoll.h: New file.
67595         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
67596         libc_hidden_def.
67598 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
67600         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
67601         Avoid unnecessary __WORDSIZE == 64 test.
67602         (fmaxf): Use VEX format if possible.
67603         (fmax): Likewise.
67604         (fminf): Likewise.
67605         (fmin): Likewise.
67607         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
67608         * math/math_private.h: Remove libc_fegetround* and
67609         libc_fesetround*.
67610         * sysdeps/i386/configure.in: Check for -msse2avx.
67611         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
67612         also if SSE2AVX is defined.
67613         Remove libc_fegetround* and libc_fesetround*.
67614         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
67615         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
67616         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
67617         of HAS_YMM_USABLE.
67618         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67619         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67620         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67621         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67622         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67624         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
67626 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67628         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
67629         size is not set.
67630         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67632 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
67634         [BZ #13618]
67635         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
67636         relocation.
67637         * Makeconfig (libm): Define.
67638         * elf/Makefile: Add rules to build and run tst-relsort1.
67639         * elf/tst-relsort1.c: New file.
67640         * elf/tst-relsort1mod1.c: New file.
67641         * elf/tst-relsort1mod2.c: New file.
67643 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
67645         * math/s_ldexp.c: Remove __STDC__ conditionals.
67646         * math/s_ldexpf.c: Likewise.
67647         * math/s_ldexpl.c: Likewise.
67648         * math/s_nextafter.c: Likewise.
67649         * math/s_nexttowardf.c: Likewise.
67650         * math/s_significand.c: Likewise.
67651         * math/s_significandf.c: Likewise.
67652         * math/s_significandl.c: Likewise.
67653         * math/w_jnl.c: Likewise.
67654         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67655         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67656         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67657         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67658         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67659         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67660         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
67661         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67662         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67663         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67664         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67665         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67666         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67667         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67668         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67669         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67670         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67671         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67672         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67673         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67674         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67675         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67676         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67677         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67678         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67679         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67680         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67681         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67682         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67683         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67684         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67685         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67686         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67687         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67688         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67689         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67690         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67691         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67692         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67693         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67694         * sysdeps/ieee754/k_standard.c: Likewise.
67695         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67696         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67697         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67698         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67699         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67700         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67701         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67702         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67703         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67704         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67705         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67706         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67707         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67708         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67709         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67710         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67711         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67712         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67713         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67714         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67715         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67716         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67717         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67718         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67719         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67720         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67721         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67722         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67723         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67724         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67725         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67726         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
67727         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67728         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67729         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67730         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67731         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
67732         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67733         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67734         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
67735         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
67736         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67737         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
67738         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
67739         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67740         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
67741         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
67742         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67743         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67744         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
67745         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
67746         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67747         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67748         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67749         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67750         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67751         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
67752         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67753         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67754         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67755         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67756         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67757         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67758         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67759         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67760         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67761         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67762         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67763         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67764         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67765         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67766         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67767         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67768         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67769         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67770         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67771         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67772         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67773         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67774         * sysdeps/ieee754/s_matherr.c: Likewise.
67775         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67776         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67777         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67778         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67780 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67782         * crypt/md5.h: Remove __STDC__ conditionals.
67783         * libio/libioP.h: Likewise.
67784         * locale/programs/config.h: Likewise.
67785         * sysdeps/generic/sysdep.h: Likewise.
67786         * sysdeps/i386/asm-syntax.h: Likewise.
67787         * sysdeps/s390/asm-syntax.h: Likewise.
67788         * sysdeps/unix/sysdep.h: Likewise.
67789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
67790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67792 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67794         * libio/libio.h: Remove __STDC__ conditionals.
67795         * malloc/obstack.h: Likewise.
67796         * math/complex.h: Likewise.
67797         * math/math.h: Likewise.
67798         * sysdeps/generic/_G_config.h: Likewise.
67799         * sysdeps/gnu/_G_config.h: Likewise.
67800         * sysdeps/mach/hurd/_G_config.h: Likewise.
67801         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67802         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67803         * sysdeps/sparc/bits/mathdef.h: Likewise.
67805 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
67807         [BZ #13583]
67808         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
67809         Clean up HAS_* macros.
67810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
67811         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
67812         possible.
67813         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
67814         HAS_AVX.
67815         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67816         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67817         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67818         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67819         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67821 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
67823         * elf/tst-unique3.cc (gets): Remove declaration.
67824         * elf/tst-unique3lib.cc (gets): Likewise.
67825         * elf/tst-unique3lib2.cc (gets): Likewise.
67826         * elf/tst-unique4.cc (gets): Likewise.
67828 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
67830         * include/stdio.h: Add C++ protection.  Add gets declarations and
67831         definitions.
67832         * debug/tst-chk1.c: Don't declare gets here.
67833         * stdio-common/tst-gets.c: Likewise.
67835 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67837         * posix/glob: Remove directory.
67839 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67841         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
67843 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
67845         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
67846         of the non-standard EPFNOSUPPORT.
67848 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67850         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
67851         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
67852         ANYWHERE set to 1 only on KERN_NO_SPACE error.
67854 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
67856         * wcsmbs/uchar.h: Test __STDC_VERSION__.
67858 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
67860         * nscd/aicache.c (addhstaiX): Do not cache negative results of
67861         transient errors.
67862         * nscd/grpcache.c (cache_addgr): Likewise.
67863         * nscd/hstcache.c (cache_addhst): Likewise.
67864         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67865         * nscd/pwdcache.c (cache_addpw): Likewise.
67866         * nscd/servicescache.c (cache_addserv): Likewise.
67868 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
67870         * malloc/malloc.c: Various cleanups.
67871         * malloc/hooks.c: Likewise.
67873         * stdlib/Makefile (tests): Add bug-fmtmsg1.
67874         * stdlib/bug-fmtmsg1.c: New file.
67876         * stdlib/fmtmsg.c (init): Add missing unlock.
67877         Patch by Peng Haitao <penght@cn.fujitsu.com>.
67879 2012-01-12  Marek Polacek  <polacek@redhat.com>
67881         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
67882         and _GNU_SOURCE.
67884 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67886         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
67887         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
67888         macro to ensure uniqueness of label name.
67889         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67890         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67892 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
67894         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
67896         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
67897         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67898         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67899         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
67901 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
67903         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
67905         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
67906         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67907         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67909         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
67911         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
67912         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67913         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67914         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
67916         * math/bits/math-finite.h: Add ldexp support.
67918 2012-01-10  Marek Polacek  <polacek@redhat.com>
67920         * locale/programs/localedef.h (show_archive_content): Add noreturn
67921         attribute.
67923 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
67925         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
67927 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67929         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
67931         * io/Makefile (headers): Add bits/poll2.h.
67933 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
67935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
67936         typo #include statement.
67938 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67940         * include/sys/cdefs.h: Define __attribute_alloc_size.
67941         * catgets/gencat.c: Add alloc_size attribute and apply consistently
67942         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
67943         * elf/pldd.c: Likewise.
67944         * iconv/iconv_charmap.c: Likewise.
67945         * iconv/iconvconfig.c: Likewise.
67946         * iconv/strtab.c: Likewise.
67947         * locale/programs/locale.c: Likewise.
67948         * locale/programs/localedef.h: Likewise.
67949         * locale/programs/simple-hash.c: Likewise.
67950         * nscd/nscd.h: Likewise.
67951         * nss/makedb.c: Likewise.
67952         * sysdeps/generic/ldconfig.h: Likewise.
67953         * locale/programs/localedef.c: Remove xmalloc prototype.
67954         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
67956 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67958         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
67959         appropriate.
67961 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67963         * math/Makefile (tests): Add tst-CMPLX.
67964         * math/tst-CMPLX.c: New file.
67966         * math/complex.h (CMPLXL): Fix typo.
67968         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
67969         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
67970         GLIBC_2.16.
67971         * debug/tst-chk1.c: Add poll and ppoll tests.
67972         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
67973         * include/sys/poll.h: Add hidden proto for ppoll.
67974         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
67975         * sysdeps/mach/hurd/ppoll.c: Likewise.
67976         * io/ppoll.c: Likewise.
67977         * debug/poll_chk.c: New file.
67978         * debug/ppoll_chk.c: New file.
67979         * include/bits/poll2.h: New file.
67980         * io/bits/poll2.h: New file.
67982         [BZ #1350]
67983         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
67985         * configure.in: static is always set to yes.  Remove.
67986         * config.make.in: Don't set build-static.
67987         * Makeconfig: Remove use of build-static.
67988         * dlfcn/Makefile: Likewise.
67989         * elf/Makefile: Likewise.
67990         * math/Makefile: Likewise.
67991         * misc/Makefile: Likewise.
67992         * nptl/Makefile: Likewise.
67993         * sysdeps/mach/hurd/Makefile: Likewise.
67995         * configure.in: PWD_P is not used anymore.
67996         * config.make.in: Remove PWD_P entry.
67998         * configure.in: Remove last remnants of RANLIB.
67999         No need to check for signed size_t anymore.
68000         Don't set libc_commonpagesize and libc_relro_required here for Alpha
68001         and IA-64.
68002         Remove __builtin_expect test because we require at least gcc 3.4.
68003         * aclocal.m4: Likewise.
68005         * wcsmbs/mbrtoc16.c: Implement using towc function.
68006         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
68007         * wcsmbs/wcsmbsload.c: Likewise.
68008         * iconv/gconv_simple.c: Likewise.
68009         * iconv/gconv_int.h: Likewise.
68010         * iconv/gconv_builtin.h: Likewise.
68011         * iconv/iconv_prog.c: Remove CHAR16 handling.
68013         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
68015         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
68017         * configure.in: Remove --with-elf and --enable-bounded options.
68018         Dont set base_machine for ia64.  More non-ELF conditions removed.
68019         Remove testing and setting of leading underscore information.
68020         * config.make.in (build-bounded): Set to no.
68021         * config.h.in: Remove NO_UNDERSCORES entry.
68022         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
68023         them.
68024         * csu/start.c: Remove !NO_UNDERSCORE code.
68025         * locale/localeinfo.h: Likewise.
68026         * sysdeps/generic/machine-gmon.h: Likewise.
68027         * sysdeps/generic/sysdep.h: Likewise.
68028         * sysdeps/i386/sysdep.h: Likewise.
68029         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68030         * sysdeps/mach/sysdep.h: Likewise.
68031         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68032         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68033         * sysdeps/sh/sysdep.h: Likewise.
68034         * sysdeps/sparc/sparc32/alloca.S: Likewise.
68035         * sysdeps/unix/i386/sysdep.S: Likewise.
68036         * sysdeps/unix/sparc/start.c: Likewise.
68037         * sysdeps/unix/sparc/sysdep.S: Likewise.
68038         * sysdeps/unix/sparc/sysdep.h: Likewise.
68039         * sysdeps/unix/start.c: Likewise.
68040         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68041         * sysdeps/x86_64/sysdep.h: Likewise.
68043 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
68045         [BZ #13553]
68046         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
68047         for non-gcc.
68048         * argp/argp-fmtstream.h: Use const instead __const.
68049         * argp/argp.h: Likewise.
68050         * assert/assert.h: Likewise.
68051         * bits/fenv.h: Likewise.
68052         * bits/sched.h: Likewise.
68053         * bits/sigset.h: Likewise.
68054         * bits/sigthread.h: Likewise.
68055         * catgets/nl_types.h: Likewise.
68056         * conform/data/pthread.h-data: Likewise.
68057         * crypt/crypt-private.h: Likewise.
68058         * crypt/crypt.h: Likewise.
68059         * crypt/crypt_util.c: Likewise.
68060         * ctype/ctype.h: Likewise.
68061         * debug/execinfo.h: Likewise.
68062         * debug/mbsnrtowcs_chk.c: Likewise.
68063         * debug/mbsrtowcs_chk.c: Likewise.
68064         * debug/wcsnrtombs_chk.c: Likewise.
68065         * debug/wcsrtombs_chk.c: Likewise.
68066         * debug/wcstombs_chk.c: Likewise.
68067         * dirent/dirent.h: Likewise.
68068         * dlfcn/dlfcn.h: Likewise.
68069         * elf/neededtest4.c: Likewise.
68070         * grp/grp.h: Likewise.
68071         * gshadow/gshadow.h: Likewise.
68072         * iconv/gconv.h: Likewise.
68073         * iconv/gconv_int.h: Likewise.
68074         * iconv/gconv_simple.c: Likewise.
68075         * iconv/iconv.h: Likewise.
68076         * iconv/loop.c: Likewise.
68077         * iconv/skeleton.c: Likewise.
68078         * include/aio.h: Likewise.
68079         * include/aliases.h: Likewise.
68080         * include/argz.h: Likewise.
68081         * include/arpa/inet.h: Likewise.
68082         * include/assert.h: Likewise.
68083         * include/dirent.h: Likewise.
68084         * include/dlfcn.h: Likewise.
68085         * include/execinfo.h: Likewise.
68086         * include/fcntl.h: Likewise.
68087         * include/fenv.h: Likewise.
68088         * include/glob.h: Likewise.
68089         * include/grp.h: Likewise.
68090         * include/libintl.h: Likewise.
68091         * include/mntent.h: Likewise.
68092         * include/netdb.h: Likewise.
68093         * include/pwd.h: Likewise.
68094         * include/rpc/netdb.h: Likewise.
68095         * include/sched.h: Likewise.
68096         * include/search.h: Likewise.
68097         * include/shadow.h: Likewise.
68098         * include/signal.h: Likewise.
68099         * include/stdio.h: Likewise.
68100         * include/stdlib.h: Likewise.
68101         * include/string.h: Likewise.
68102         * include/sys/socket.h: Likewise.
68103         * include/sys/stat.h: Likewise.
68104         * include/sys/statfs.h: Likewise.
68105         * include/sys/statvfs.h: Likewise.
68106         * include/sys/syslog.h: Likewise.
68107         * include/sys/time.h: Likewise.
68108         * include/sys/uio.h: Likewise.
68109         * include/time.h: Likewise.
68110         * include/unistd.h: Likewise.
68111         * include/utmp.h: Likewise.
68112         * include/wchar.h: Likewise.
68113         * include/wctype.h: Likewise.
68114         * inet/aliases.h: Likewise.
68115         * inet/arpa/inet.h: Likewise.
68116         * inet/netinet/ether.h: Likewise.
68117         * inet/netinet/in.h: Likewise.
68118         * intl/libintl.h: Likewise.
68119         * io/bits/fcntl2.h: Likewise.
68120         * io/fcntl.h: Likewise.
68121         * io/ftw.h: Likewise.
68122         * io/sys/poll.h: Likewise.
68123         * io/sys/stat.h: Likewise.
68124         * io/sys/statfs.h: Likewise.
68125         * io/sys/statvfs.h: Likewise.
68126         * io/utime.h: Likewise.
68127         * libio/bits/stdio.h: Likewise.
68128         * libio/bits/stdio2.h: Likewise.
68129         * libio/libio.h: Likewise.
68130         * libio/libioP.h: Likewise.
68131         * libio/stdio.h: Likewise.
68132         * locale/lc-ctype.c: Likewise.
68133         * locale/locale.h: Likewise.
68134         * login/utmp.h: Likewise.
68135         * malloc/arena.c: Likewise.
68136         * malloc/malloc.c: Likewise.
68137         * malloc/malloc.h: Likewise.
68138         * malloc/mcheck.c: Likewise.
68139         * malloc/mtrace.c: Likewise.
68140         * math/bits/mathcalls.h: Likewise.
68141         * math/fenv.h: Likewise.
68142         * math/math_private.h: Likewise.
68143         * misc/bits/error.h: Likewise.
68144         * misc/bits/syslog.h: Likewise.
68145         * misc/err.h: Likewise.
68146         * misc/error.h: Likewise.
68147         * misc/fstab.h: Likewise.
68148         * misc/mntent.h: Likewise.
68149         * misc/regexp.h: Likewise.
68150         * misc/search.h: Likewise.
68151         * misc/sgtty.h: Likewise.
68152         * misc/sys/mman.h: Likewise.
68153         * misc/sys/syslog.h: Likewise.
68154         * misc/sys/uio.h: Likewise.
68155         * misc/sys/xattr.h: Likewise.
68156         * misc/ttyent.h: Likewise.
68157         * nis/rpcsvc/ypclnt.h: Likewise.
68158         * nss/nss.h: Likewise.
68159         * posix/bits/unistd.h: Likewise.
68160         * posix/fnmatch.h: Likewise.
68161         * posix/glob.h: Likewise.
68162         * posix/sched.h: Likewise.
68163         * posix/spawn.h: Likewise.
68164         * posix/sys/wait.h: Likewise.
68165         * posix/unistd.h: Likewise.
68166         * posix/wordexp.h: Likewise.
68167         * pwd/pwd.h: Likewise.
68168         * resolv/netdb.h: Likewise.
68169         * resource/sys/resource.h: Likewise.
68170         * rt/aio.h: Likewise.
68171         * rt/bits/mqueue2.h: Likewise.
68172         * rt/mqueue.h: Likewise.
68173         * shadow/shadow.h: Likewise.
68174         * signal/signal.h: Likewise.
68175         * socket/send.c: Likewise.
68176         * socket/sendto.c: Likewise.
68177         * socket/sys/socket.h: Likewise.
68178         * stdio-common/printf.h: Likewise.
68179         * stdlib/bits/stdlib.h: Likewise.
68180         * stdlib/fmtmsg.h: Likewise.
68181         * stdlib/monetary.h: Likewise.
68182         * stdlib/stdlib.h: Likewise.
68183         * stdlib/ucontext.h: Likewise.
68184         * streams/stropts.h: Likewise.
68185         * string/argz.h: Likewise.
68186         * string/bits/string2.h: Likewise.
68187         * string/string.h: Likewise.
68188         * string/strings.h: Likewise.
68189         * sunrpc/rpc/auth.h: Likewise.
68190         * sunrpc/rpc/auth_des.h: Likewise.
68191         * sunrpc/rpc/clnt.h: Likewise.
68192         * sunrpc/rpc/netdb.h: Likewise.
68193         * sunrpc/rpc/pmap_clnt.h: Likewise.
68194         * sunrpc/rpc/xdr.h: Likewise.
68195         * sysdeps/generic/inttypes.h: Likewise.
68196         * sysdeps/generic/net/if.h: Likewise.
68197         * sysdeps/generic/sys/swap.h: Likewise.
68198         * sysdeps/gnu/net/if.h: Likewise.
68199         * sysdeps/gnu/utmpx.h: Likewise.
68200         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68201         * sysdeps/i386/i486/bits/string.h: Likewise.
68202         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68203         * sysdeps/s390/bits/string.h: Likewise.
68204         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68205         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68206         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68207         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68208         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68209         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68210         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68211         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68212         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68213         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68214         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68215         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68216         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68217         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68218         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68219         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68220         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68221         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68222         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68223         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68224         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68225         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68226         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68227         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68228         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68229         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68230         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68231         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68232         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68233         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68234         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68235         * sysvipc/sys/ipc.h: Likewise.
68236         * sysvipc/sys/msg.h: Likewise.
68237         * sysvipc/sys/sem.h: Likewise.
68238         * sysvipc/sys/shm.h: Likewise.
68239         * termios/termios.h: Likewise.
68240         * time/sys/time.h: Likewise.
68241         * time/time.h: Likewise.
68242         * wcsmbs/bits/wchar2.h: Likewise.
68243         * wcsmbs/uchar.h: Likewise.
68244         * wcsmbs/wchar.h: Likewise.
68245         * wctype/wctype.h: Likewise.
68247         [BZ #13551]
68248         * Makeconfig: Remove all but ELF support including AIX support.
68249         * Makerules: Likewise.
68250         * config.h.in: Likewise.
68251         * config.make.in: Likewise.
68252         * configure: Likewise.
68253         * configure.in: Likewise.
68254         * csu/Makefile: Likewise.
68255         * csu/version.c: Likewise.
68256         * debug/Makefile: Likewise.
68257         * dlfcn/Makefile: Likewise.
68258         * elf/Makefile: Likewise.
68259         * extra-lib.mk: Likewise.
68260         * iconv/Makefile: Likewise.
68261         * include/libc-symbols.h: Likewise.
68262         * include/shlib-compat.h: Likewise.
68263         * resolv/Makefile: Likewise.
68264         * resolv/res_libc.c: Likewise.
68265         * rt/Makefile: Likewise.
68266         * sysdeps/i386/asm-syntax.h: Likewise.
68267         * sysdeps/i386/sysdep.h: Likewise.
68268         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68269         * sysdeps/mach/sysdep.h: Likewise.
68270         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68271         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68272         * sysdeps/s390/asm-syntax.h: Likewise.
68273         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68274         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68275         * sysdeps/sh/sysdep.h: Likewise.
68276         * sysdeps/unix/sparc/sysdep.h: Likewise.
68277         * sysdeps/wordsize-32/divdi3.c: Likewise.
68278         * sysdeps/x86_64/sysdep.h: Likewise.
68280         * argp/Versions: Remove _argp_unlock_xxx.
68282         [BZ #13559]
68283         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68284         * abilist/libBrokenLocale.abilist: Likewise.
68285         * abilist/libanl.abilist: Likewise.
68286         * abilist/libc.abilist: Likewise.
68287         * abilist/libcrypt.abilist: Likewise.
68288         * abilist/libdl.abilist: Likewise.
68289         * abilist/libm.abilist: Likewise.
68290         * abilist/libnsl.abilist: Likewise.
68291         * abilist/libpthread.abilist: Likewise.
68292         * abilist/libresolv.abilist: Likewise.
68293         * abilist/librt.abilist: Likewise.
68294         * abilist/libthread_db.abilist: Likewise.
68295         * abilist/libutil.abilist: Likewise.
68296         * abilist/libnss_db.abilist: New file.
68298         * scripts/abilist.awk: Add support for indirect functions.
68300         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68302         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68304         * shlib-versions: Remove entries for ports architectures.
68306         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68307         files in ports.
68308         * elf/stackguard-macros.h: Remove support for IA-64.
68309         * elf/tst-auditmod1.c: Likewise.
68310         * sysdeps/generic/ldsodefs.h: Likewise.
68312         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68313         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68314         configure files.
68316         [BZ #13552]
68317         * configure.in: Remove --enable-omitfp support.
68318         * FAQ.in: Adjust.
68319         * config.make.in: Likewise.
68320         * Makeconfig: Likewise.
68321         * manual/install.texi: Likewise.
68323         In case anyone cares, the IA-64 architecture could move to ports.
68324         * sysdeps/ia64/*: Removed.
68325         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68326         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68328         [BZ #13555]
68329         * configure.in: Remove entries for unsupported architectures.
68331         [BZ #13533]
68332         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68333         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68334         routines.
68335         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68336         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68337         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68338         fall back to using wcrtomb.
68339         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68340         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68341         renaming.
68342         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68343         * wcsmbs/tst-c16c32-1.c: New file.
68345         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68346         local variable.
68348         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68350         * elf/tst-unique3.cc: Add explicit declaration of gets.
68351         * elf/tst-unique3lib.cc: Likewise.
68352         * elf/tst-unique3lib2.cc: Likewise.
68353         * elf/tst-unique4.cc: Likewise.
68355         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68357 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68359         [BZ #13566]
68360         * assert/assert.h (static_assert): Don't define for C++.
68361         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68362         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68364 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68366         * iconv/loop.c (single loop): Fix assertion in storing of
68367         remaining bytes.
68369         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68371 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68373         * posix/getconf.c: Update copyright year.
68374         * nss/getent.c: Likewise.
68375         * nss/makedb.c: Likewise.
68376         * iconv/iconvconfig.c: Likewise.
68377         * iconv/iconv_prog.c: Likewise.
68378         * elf/ldconfig.c: Likewise.
68379         * elf/pldd.c: Likewise.
68380         * elf/sotruss.ksh: Likewise.
68381         * catgets/gencat.c: Likewise.
68382         * csu/version.c: Likewise.
68383         * elf/ldd.bash.in: Likewise.
68384         * elf/sprof.c (print_version): Likewise.
68385         * locale/programs/locale.c: Likewise.
68386         * locale/programs/localedef.c: Likewise.
68387         * login/programs/pt_chown.c: Likewise.
68388         * nscd/nscd.c (print_version): Likewise.
68389         * debug/xtrace.sh: Likewise.
68390         * malloc/memusage.sh: Likewise.
68391         * malloc/mtrace.pl: Likewise.
68392         * debug/catchsegv.sh: Likewise.
68394 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68396         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68397         pure attribute.
68399 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68401         [BZ #13533]
68402         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68403         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68404         transformations.
68405         * iconv/gconv_int.h: Likewise.
68406         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68407         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68408         from libc for GLIBC_2.16.
68409         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68410         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68411         * wcsmbs/uchar.h: Really define mbstate_t.
68412         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68413         * wcsmbs/c16rtomb.c: New file.
68414         * wcsmbs/mbrtoc16.c: New file.
68415         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68416         for C/POSIX locale.
68417         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68418         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68420         * wcsmbs/wchar.h: Add missing __restrict.
68422 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68424         [BZ #13532]
68425         * time/Makefile (routines): Add timespec_get.
68426         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68427         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68428         timespec for ISO C11.
68429         * time/timespec_get.c: New file.
68430         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68431         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68433         [BZ #13531]
68434         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68435         * stdlib/stdlib.h: Declare aligned_alloc.
68436         * Versions.def: Add GLIBC_2.16 for libc.
68437         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68439         [BZ 13527]
68440         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68441         ISO C11.
68443         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68444         code.
68446         [BZ #13528]
68447         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68449         [BZ #13529]
68450         * assert/assert.h (static_assert): Define.
68452         * version.h: Update for 2.16 development version.
68454         [BZ #13526]
68455         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68456         _ISOC11_SOURCE.
68458         * version.h (RELEASE): Bump for 2.15 release.
68459         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68461         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68462         Patch by Marek Polacek <mpolacek@redhat.com>.
68464         * bits/byteswap.h: Protect long long constants with __extension__.
68465         * sysdeps/i386/bits/byteswap.h: Likewise.
68466         * sysdeps/ia64/bits/byteswap.h: Likewise.
68467         * sysdeps/s390/bits/byteswap.h: Likewise.
68468         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68470 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68472         [BZ #13540]
68473         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68474         destination buffer.
68475         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68477 2011-12-23  Marek Polacek  <polacek@redhat.com>
68479         * elf/dl-addr.c (determine_info): Add inline keyword.
68480         * elf/tst-auditmod4b.c (check_avx): Likewise.
68481         * elf/tst-auditmod6b.c (check_avx): Likewise.
68482         * elf/tst-auditmod6c.c (check_avx): Likewise.
68483         * elf/tst-auditmod7b.c (check_avx): Likewise.
68485 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68487         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68488         !__SSE_MATH__.
68490 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68492         [BZ #13540]
68493         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68494         processing for last bytes.
68496 2011-08-06  Bruno Haible  <bruno@clisp.org>
68498         [BZ #13061]
68499         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68500         U+0385, not to U+1FEE.
68502         [BZ #13062]
68503         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68504         entry for U+00A5 U+0301.
68506 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68508         [BZ #13166]
68509         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68510         buffer for the output is too small.
68512         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68513         optimization.
68515         [BZ #13185]
68516         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68517         SSE flags if possible.
68519 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68521         [BZ #13540]
68522         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68523         processing for last bytes.
68525 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
68527         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
68528         (syscall-list-default-options, syscall-list-default-condition)
68529         (syscall-list-includes): Define.
68530         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
68531         list of ABIs and options and #if conditions for each ABI.  Do not
68532         handle common syscalls between ABIs specially.
68533         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
68534         Remove.
68535         (syscall-list-variants, syscall-list-32bit-options)
68536         (syscall-list-32bit-condition, syscall-list-64bit-options)
68537         (syscall-list-64bit-condition): Define.
68538         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
68539         (syscall-list-variants, syscall-list-32bit-options)
68540         (syscall-list-32bit-condition, syscall-list-64bit-options)
68541         (syscall-list-64bit-condition): Define.
68542         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68543         Remove.
68544         (syscall-list-variants, syscall-list-32bit-options)
68545         (syscall-list-32bit-condition, syscall-list-64bit-options)
68546         (syscall-list-64bit-condition): Define.
68547         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68548         Remove.
68549         (syscall-list-variants, syscall-list-32bit-options)
68550         (syscall-list-32bit-condition, syscall-list-64bit-options)
68551         (syscall-list-64bit-condition): Define.
68553 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68555         * locale/iso-639.def: Add brx entry.
68557         [BZ #13328]
68558         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68559         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68561         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68562         __feraiseexcept_renamed.
68564 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68566         [BZ #13538]
68567         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
68568         EPOLLET with unsigned values.
68569         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68570         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68572         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
68573         to large cancellation.
68574         * math/s_cacoshf.c: Likewise.
68575         * math/s_cacoshl.c: Likewise.
68577 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
68579         [BZ #13305]
68580         [BZ #12786]
68581         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
68582         * math/s_cacoshf.c: Likewise.
68583         * math/s_cacoshl.c: Likewise.
68585 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68587         [BZ #13439]
68588         * iconv/gconv.h: Define __GCONV_SWAP.
68589         * iconvdata/unicode.c: The swap bit must be stored in __flags.
68590         * iconvdata/utf-16.c: Likewise.
68591         * iconvdata/utf-32.c: Likewise.
68593 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
68595         [BZ #13524]
68596         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
68597         numerator after shifting it by one limb.
68599 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
68601         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
68602         under [__USE_EXTERN_INLINES].
68604 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68606         [BZ #13446]
68607         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
68609 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68611         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
68612         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
68613         optimized code.
68614         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
68615         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
68616         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
68617         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
68618         for strncasecmp/strncasecmp_l compilation.
68619         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
68620         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
68622 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
68624         [BZ #13484]
68625         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
68626         of __asm__.
68628 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68630         [BZ #13506]
68631         * time/tzfile.c (__tzfile_read): Check values from file header.
68633 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68635         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
68636         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
68637         * powerpc/powerpc32/dl-start.S: Likewise.
68638         * powerpc/powerpc32/elf/start.S: Likewise.
68639         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
68640         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
68641         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
68642         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
68643         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
68644         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
68645         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
68646         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68647         * powerpc/powerpc32/fpu/s_round.S: Likewise.
68648         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
68649         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
68650         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
68651         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
68652         * powerpc/powerpc32/memset.S: Likewise.
68653         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
68654         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68655         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68656         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68657         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68658         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
68659         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
68660         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
68661         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
68662         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
68663         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
68664         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68665         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68667 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68669         * math/libm-test.inc: Added more nearbyint tests.
68670         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
68671         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
68672         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
68673         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
68675 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
68677         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
68678         FD_CLOEXEC.
68680 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68682         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
68683         Add wcscpy-ssse3 wcscpy-c.
68684         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
68685         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
68686         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
68687         * sysdeps/x86_64/wcschr.S: New file.
68688         * sysdeps/x86_64/wcsrchr.S: New file.
68689         * string/test-strcmp.c: Remove checking of wcscmp function for
68690         wrong alignments.
68691         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
68692         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
68693         wcsrchr-sse2 wcsrchr-c.
68694         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
68695         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
68696         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
68697         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
68698         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
68699         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
68700         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
68701         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
68702         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
68703         * wcsmbc/wcschr.c (WCSCHR): New macro.
68705 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68707         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
68708         * wcsmbs/test-wcsrchr.c: New file.
68709         * string/test-strrchr.c: Add wcsrchr support.
68710         (WIDE): New macro.
68711         * wcsmbs/test-wcscpy.c: New file.
68712         * string/test-strcpy.c: Add wcscpy support.
68713         (WIDE): New macro.
68715 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
68717         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
68718         the inner loop.
68720 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
68722         [BZ #13472]
68723         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
68725 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
68727         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
68728         Minor optimizations.
68730         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
68731         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
68732         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
68734 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
68736         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
68737         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
68738         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
68739         for gcc to avoid warnings.
68740         * inet/Makefile (tests): Add tst-checks.
68741         * inet/tst-checks.c: New file.
68743         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
68744         warning.
68746         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
68747         __wmemcmp_sse2.
68749         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
68750         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
68752         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
68754 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
68756         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
68757         problem.
68759         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
68761 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
68763         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
68764         conditional on GCC version.
68765         (__arch_compare_and_exchange_val_8_acq)
68766         (__arch_compare_and_exchange_val_16_acq)
68767         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
68768         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
68769         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
68771 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
68773         * sysdeps/sh/backtrace.c: New file.
68775 2011-12-02  Andreas Schwab  <schwab@redhat.com>
68777         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
68778         parenthesis.
68780 2011-12-01  Andreas Schwab  <schwab@redhat.com>
68782         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
68783         falling back to utime.
68785 2011-11-30  Andreas Schwab  <schwab@redhat.com>
68787         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
68788         expectations for float.
68790 2011-11-29  Andreas Schwab  <schwab@redhat.com>
68792         * locale/weight.h (findidx): Add parameter len.
68793         * locale/weightwc.h (findidx): Likewise.
68794         * posix/fnmatch_loop.c (FCT): Adjust caller.
68795         * posix/regcomp.c (build_equiv_class): Likewise.
68796         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
68797         * posix/regexec.c (check_node_accept_bytes): Likewise.
68798         * string/strcoll_l.c (STRCOLL): Likewise.
68799         * string/strxfrm_l.c (STRXFRM): Likewise.
68801 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
68803         * Makefile.in: Remove CVSOPT handling.
68804         * configure.in: Remove use of AC_REVISION.
68805         * iconvdata/Makefile (distribute): No need to filter out CVS.
68806         * scripts/list-sources.sh: Remove CVS, subversion and monotone
68807         handling.
68809 2011-11-16  Andreas Schwab  <schwab@redhat.com>
68811         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
68812         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
68813         [USE_AS_STRNCASECMP_L]: Likewise.
68814         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
68815         NO_TLS_DIRECT_SEG_REFS.
68816         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
68817         Fix argument offsets for non-PIC.
68818         [USE_AS_STRNCASECMP_L]: Likewise.
68819         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
68820         NO_TLS_DIRECT_SEG_REFS.
68822 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68824         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
68825         O_CLOEXEC.
68826         * locale/loadlocale.c (_nl_load_locale): Likewise.
68828 2011-11-15  Andreas Schwab  <schwab@redhat.com>
68830         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
68831         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
68832         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
68833         (SYSCALL_GETTIME): Set errno on error.
68835         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
68836         count references to noai6ai_cached.
68838 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68840         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
68842         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
68843         FD_CLOEXEC for /proc/self/maps.
68845         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
68846         FD_CLOEXEC for /proc/meminfo.
68848         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
68849         gai.conf.
68851         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
68852         FD_CLOEXEC for given file.
68854         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
68856         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
68857         FD_CLOEXEC for /etc/hosts.
68858         (_gethtent): Likewise.
68860         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
68862         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
68863         cancellation and set FD_CLOEXEC for /etc/netgroup.
68865         * nss/nss_files/files-key.c (search): Don't allow cancellation when
68866         reading /etc/publickey.
68868         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
68869         allow cancellation when reading /etc/group.
68871         * nss/nss_files/files-alias.c (internal_setent): Don't allow
68872         cancellation.
68873         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
68875         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
68876         when using data file.
68878         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
68880         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
68881         (write_nis_obj): Use "c" and "e" in fopen.
68883         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
68885         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
68887         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
68889         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
68891         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
68892         locale.alias.
68894         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
68896         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
68898         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
68900         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
68901         file parsing and set FD_CLOEXEC.
68903 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68905         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
68907 2011-11-14  Andreas Schwab  <schwab@redhat.com>
68909         * malloc/arena.c (arena_get2): Don't call reused_arena when
68910         _int_new_arena failed.
68912 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68914         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
68915         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
68916         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
68917         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68918         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68919         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
68920         to compile strcasecmp and strncasecmp.
68921         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
68922         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
68924         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
68926 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
68928         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
68929         locale-defines.sym to gen-as-const-headers.
68930         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
68931         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
68932         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
68933         to compile strcasecmp and strncasecmp.
68934         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
68935         strcasecmp_l and strncasecmp_l.
68936         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
68937         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
68938         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
68939         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
68940         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
68941         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
68942         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
68943         * sysdeps/i386/i686/multiarch/strncase.S: New file.
68944         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
68945         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
68946         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
68948 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
68950         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
68951         result of SYSDEP_GETTIME_CPU to retval.
68952         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
68953         parameter list to macro.  Remove trailing semicolon.  Adjust users.
68955         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
68956         variable.
68958         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
68959         mantissa words.
68960         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
68962         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
68963         from unused variable.
68965         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
68966         DWARF definitions.
68967         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
68968         for assembling.
68970         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
68971         over namespaces.
68973         * sunrpc/rpc_prot.c (rejected): Fix case value.
68975         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
68976         unsigned long long int to avoid warnings in shift.
68978         * posix/regex_internal.c (re_string_reconstruct): Actually use result
68979         of use of trans.
68980         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
68981         variable tmp.
68983         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
68984         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
68985         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
68987         * nis/nis_table.c (nis_list): Use variable of correct type for
68988         result of __follow_path call.
68990 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68992         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
68993         of math functions ceil, trunc, floor, round, and sqrt, when
68994         avaliable on the platform.
68995         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
68996         name clash.
68997         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68998         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68999         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69001 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
69003         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
69004         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69006 2011-11-11  Roland McGrath  <roland@hack.frob.com>
69008         * include/unistd.h: Fix __readlink return type.
69009         Reported by Chris Metcalf <cmetcalf@tilera.com>.
69011 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
69013         * stdlib/ucontext.h: Undo last change for makecontext.
69015 2011-11-11  Andreas Schwab  <schwab@redhat.com>
69017         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
69019         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
69020         * setjmp/setjmp.h: Mark functions as non-leaf.
69021         * setjmp/bits/setjmp2.h: Likewise.
69022         * stdlib/ucontext.h: Likewise.
69024 2011-11-10  Andreas Schwab  <schwab@redhat.com>
69026         * malloc/arena.c (_int_new_arena): Don't increment narenas.
69027         (reused_arena): Don't check arena limit.
69028         (arena_get2): Atomically check arena limit.
69030 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
69032         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
69033         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
69035         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
69036         instructions.
69038 2011-11-07  Andreas Schwab  <schwab@redhat.com>
69040         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
69041         handler when locking.
69043         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69044         Fix size of allocated buffer.
69046 2011-11-04  Andreas Schwab  <schwab@redhat.com>
69048         [BZ #10103]
69049         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
69050         declarations for long double functions.
69051         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
69053         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
69055 2011-11-03  Andreas Schwab  <schwab@redhat.com>
69057         * nscd/nscd.c (main): Don't start AVC thread until credentials are
69058         installed.
69060         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
69061         is disabled.
69063 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69065         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
69067 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69069         * include/alloca.h (stackinfo_alloca_round): Define.
69070         (extend_alloca): Use it.
69071         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
69072         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
69073         here.
69075         * scripts/check-local-headers.sh: Ignore libaudit.h.
69077         * nscd/Makefile (extra-objs): Make recursively expanded.
69079 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
69081         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
69082         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
69084         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
69085         * posix/tst-rfc3484-2.c: Likewise.
69086         * posix/tst-rfc3484-3.c: Likewise.
69088         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69089         process_vm_writev.
69090         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
69091         process_vm_writev.
69092         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
69093         process_vm_writev from libc using GLIBC_2.15 version.
69095         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
69097 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
69099         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
69100         stack usage.
69102 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
69104         [BZ #13367]
69105         * nss/getent.c (initgroups_keys): Show error message in case no group
69106         names are given.
69108         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
69109         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
69110         __bump_nl_timestamp.
69111         * nscd/connections (nscd_init): When host database is served open
69112         netlink socket and request notification about configuration changes.
69113         (main_loop_poll): Track netlink file descriptor and bump timestamp
69114         in case data becomes available.
69115         (main_loop_epoll): Likewise.
69116         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
69117         (database_pers_head): Add extra_data fileds.
69118         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
69119         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
69120         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
69121         Adjust caller.
69122         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
69123         in6ai data, call __free_in6ai.
69124         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
69125         Add -DHAVE_NETLINK.
69126         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
69127         interface information.  Reuse previous data if netlink timestamp
69128         is not changed.
69129         (__bump_nl_timestamp): New function.
69130         (__free_in6ai): New function.
69132 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
69134         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
69135         close_not_cancel_no_status here.
69136         (__check_pf): Reorganize code a bit to not call close twice if OOM.
69138 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69140         [BZ #13276]
69141         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
69142         return value.
69144         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
69145         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
69146         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
69148 2011-07-03  Andreas Jaeger  <aj@suse.de>
69150         [BZ #10709]
69151         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
69152         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
69153         * math/libm-test.inc (sin_test): Add test case.
69155 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69157         [BZ #13337]
69158         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69159         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69161         * elf/chroot_canon.c (chroot_canon): Cleanups.
69163         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69165         [BZ #13335]
69166         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69167         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69169         * string/test-strchr.c: Make usable for strchrnul testing.
69170         * string/test-strchrnul.c: New file.
69171         * string/Makefile (strop-tests): Add strchrnul.
69173         * po/it.po: Update from translation team.
69174         * po/es.po: Likewise.
69176 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69178         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69179         the three constants needed as parameters.  Drop the others.
69180         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69181         __m128i_strloadu_tolower.
69182         Create and initialize variable zero and use it in all the places
69183         where _mm_setzero_si128 was used.
69185         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69186         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69187         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69188         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69189         anymore.
69190         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69191         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69192         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69193         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69194         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69195         __mpranred, __mptan.
69196         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69197         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69198         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69199         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69200         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69201         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69202         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69203         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69204         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69206 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69208         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69209         redefine if SHARED.
69210         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69212         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69213         wide char related routines to wcsmbs subdir.
69215 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69217         [BZ #13344]
69218         * misc/sys/cdefs.h (__THROWNL): Define.
69219         * posix/unistd.h: Use __THREADNL instead of __THREAD
69220         for memory synchronization functions.
69222 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69224         [BZ #13349]
69225         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69226         doesn't exist.
69227         * manual/stdio.texi (Obstack Streams): Node removed.
69229 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69231         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69232         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69233         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69235         * math/math_private.h (math_force_eval): Allow non-addressable
69236         arguments.
69237         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69239 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69241         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69242         file is not needed.
69244         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69245         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69246         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69247         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69248         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69249         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69250         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69251         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69252         Add AVX variants.
69253         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69254         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69255         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69256         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69257         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69258         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69259         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69260         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69261         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69262         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69263         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69264         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69265         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69266         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69267         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69268         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69269         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69270         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69271         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69273         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69274         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69276         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69277         place.  Use VEX encoding when compiling for AVX.
69279 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69281         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69282         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69284         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69286 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69288         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69289         useless if() expression.
69290         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69291         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69292         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69293         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69294         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69295         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69296         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69297         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69298         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69299         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69300         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69301         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69302         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69303         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69304         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69305         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69306         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69307         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69308         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69310         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69312 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69314         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69315         condition.
69316         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69318 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69320         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69321         .text section.  Avoid duplicate constants.
69322         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69323         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69324         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69325         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69326         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69327         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69328         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69329         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69330         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69331         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69332         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69333         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69334         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69335         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69336         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69337         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69338         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69339         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69340         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69341         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69342         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69343         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69344         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69345         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69346         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69347         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69348         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69349         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69350         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69351         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69352         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69353         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69354         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69355         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69356         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69357         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69358         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69359         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69360         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69361         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69362         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69363         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69364         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69365         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69366         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69368 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69370         * sysdeps/x86_64/dla.h: Move to ...
69371         * sysdeps/x86_64/fpu/dla.h: ...here.
69372         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69373         situations.  Use __builtin_fma only for gcc 4.6 and up.
69375         * config.make.in: Add have-mfma4 entry.
69376         * configure.in: Substitute libc_cv_cc_fma4.
69377         * math/Makefile (dbl-only-routines): Add sincostab.
69378         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69379         Use __sincostab not sincos.
69380         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69381         name is a macro.
69382         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69383         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69384         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69386         using __copysign.
69387         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69388         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69389         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69390         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69391         and __inv.
69392         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69393         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69394         __copysign.
69395         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69396         define aliases when function name is a macro.
69397         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69398         sysdeps/ieee754/dbl-64/sincos.tbl.
69399         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69400         fma4-enabled routines.
69401         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69402         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69403         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69404         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69405         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69406         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69407         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69408         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69409         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69410         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69411         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69412         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69413         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69414         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69415         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69416         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69417         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69418         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69419         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69420         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69421         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69422         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69423         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69424         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69425         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69426         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69427         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69428         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69429         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69430         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69432         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69433         rename.
69434         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69435         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69436         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69438         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69439         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69440         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69441         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69443 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69445         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69447 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69449         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69451         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69452         prediction.
69453         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69455         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69456         Remove unused variable magic_bits.
69457         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69459         * string/strnlen.c: Define and use STRNLEN macro.
69460         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69461         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69462         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69463         * wcsmbs/wcslen.c: Define and use WCSLEN.
69464         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69465         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69466         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69467         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69468         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69469         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69470         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69472 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69474         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69475         strnlen-sse2-no-bsf.
69476         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69477         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69478         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69479         Add strnlen support.
69480         (USE_AS_STRNLEN): New macro.
69481         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69482         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69483         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69484         * sysdeps/x86_64/wcslen.S: New file.
69486 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69488         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69489         XMM-moves are used for copying on small sizes.
69491 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69493         * wcsmbs/Makefile (strop-tests): Add wcschr.
69494         * wcsmbs/test-wcschr.c: New file.
69495         * string/test-strchr.c: Update.
69496         Add wcschr support.
69497         (WIDE): New macro.
69499 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69501         * wcsmbs/Makefile (strop-tests): Add wcslen.
69502         * wcsmbs/test-wcslen.c: New file.
69503         * string/test-strlen.c: Update.
69504         Add wcslen support.
69505         (WIDE): New macro.
69507 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69509         * po/it.po: Update from translation team.
69511 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69513         * sysdeps/x86_64/wcscmp.S: Update.
69514         Fix wrong comparison semantics.
69515         wcscmp shall use signed comparison not unsigned.
69516         Don't use substraction to avoid overflow bug.
69517         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69518         * wcsmbc/wcscmp.c: Likewise.
69519         * string/test-strcmp.c: Likewise.
69520         Add new tests to check cases with negative values.
69522 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69524         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69525         * sysdeps/x86_64/dla.h: ...here.  New file.
69526         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
69527         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69528         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69529         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69530         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69531         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69532         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69533         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69534         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69536 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
69538         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
69539         __ynl_finite aliases.
69541 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69545         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69546         define DLA_FMA.
69547         [DLA_FMA] (EMULV): Use DLA_FMA.
69548         [DLA_FMA] (MUL12): Use EMULV.
69549         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69550         that are not needed.
69551         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69552         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69553         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69554         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69555         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69556         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69557         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69559 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69561         * math/s_nan.c: Undef __nan.
69562         * math/s_nanf.c: Undef __nanf.
69563         * math/s_nanl.c: Undef __nanl.
69564         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
69565         "math_private.h".
69567 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69569         * math/s_catan.c: Add branch predictions.
69570         * math/s_catanf.c: Likewise.
69571         * math/s_catanh.c: Likewise.
69572         * math/s_catanhf.c: Likewise.
69573         * math/s_catanhl.c: Likewise.
69574         * math/s_catanl.c: Likewise.
69575         * math/s_cexp.c: Likewise.
69576         * math/s_cexpf.c: Likewise.
69577         * math/s_cexpl.c: Likewise.
69578         * math/s_clog.c: Likewise.
69579         * math/s_clog10.c: Likewise.
69580         * math/s_clog10f.c: Likewise.
69581         * math/s_clog10l.c: Likewise.
69582         * math/s_clogf.c: Likewise.
69583         * math/s_clogl.c: Likewise.
69584         * math/s_csqrt.c: Likewise.
69585         * math/s_csqrtf.c: Likewise.
69586         * math/s_csqrtl.c: Likewise.
69587         * math/s_ctanf.c: Likewise.
69588         * math/s_ctanh.c: Likewise.
69589         * math/s_ctanhf.c: Likewise.
69590         * math/s_ctanhl.c: Likewise.
69591         * math/s_ctanl.c: Likewise.
69593         * math/math_private.h: Define __nan, __nanf, __nanl.
69594         * math/s_cacosh.c: Include <math_private.h>.
69595         * math/s_cacoshl.c: Likewise.
69596         * math/s_casinh.c: Likewise.
69597         * math/s_casinhf.c: Likewise.
69598         * math/s_casinhl.c: Likewise.
69599         * math/s_ccos.c: Rely entire on ccosh.
69600         * math/s_ccosf.c: Rely entire on ccoshf.
69601         * math/s_ccosl.c: Rely entirely on ccoshl.
69602         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
69603         Remove tests for FE_INVALID.
69604         * math/s_ccoshf.c: Likewise.
69605         * math/s_ccoshl.c: Likewise.
69606         * math/s_csin.c: Likewise.
69607         * math/s_csinf.c: Likewise.
69608         * math/s_csinh.c Likewise.
69609         * math/s_csinhf.c: Likewise.
69610         * math/s_csinhl.c: Likewise.
69611         * math/s_csinl.c: Likewise.
69612         * math/s_ctan.c: Likewise.
69613         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
69614         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
69615         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
69617 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
69619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
69620         compilation problems.
69622         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
69623         __builtin_expect.
69625 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
69627         * sysdeps/i386/configure.in: Test for -mfma4 option.
69628         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
69629         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
69630         COMMON_CPUID_INDEX_80000001.
69631         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
69632         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
69633         use it if FMA3 is not supported.
69634         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
69636         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
69637         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69639 2011-10-20  Andreas Schwab  <schwab@redhat.com>
69641         [BZ #12892]
69642         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
69643         it would create a cycle with a link time dependency.
69645 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
69647         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
69648         instruction.
69649         * string/Makefile (strop-tests): Add rawmemchr.
69650         * string/test-rawmemchr.c: New file.
69652         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
69653         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
69654         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
69655         when compiling str{,n}casecmp and when AVX is available.  Hook up
69656         new optimized code in initializers.
69658 2011-10-19  Andreas Schwab  <schwab@redhat.com>
69660         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
69661         __feraiseexcept instead of feraiseexcept.
69663 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
69665         * math/math_private.h: Define defaults for libc_fetestexcept and
69666         libc_feupdateenv.
69667         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
69668         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
69669         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69670         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69671         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69672         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69673         libc_fetestexcept and libc_feupdateenv.
69675         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
69676         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
69677         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
69678         * sysdeps/x86_64/fpu/math_private.h: Define special version of
69679         libc_feholdexcept_setround.
69681         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
69682         Add s_nearbyint-c and s_nearbyintf-c.
69683         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
69684         nearbyintf inlines.
69685         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
69686         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
69687         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
69688         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
69690         * math/math_private.h: Define defaults for libc_fegetround,
69691         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
69692         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
69693         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
69694         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
69695         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
69696         standard functions.
69697         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69698         Remove comments and hacks for old compiler versions.
69699         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69700         libc_fegetround, libc_fesetround, libc_feholdexcept, and
69701         libc_feholdexceptl.
69703 2011-10-18  Andreas Schwab  <schwab@redhat.com>
69705         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
69706         (__feraiseexcept_renamed): Add __NTH.
69707         (feraiseexcept): Add __NTH.  Rename local variables to fix
69708         namespace violations.
69710 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
69712         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
69714         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
69716         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
69717         recently added interfaces.
69718         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
69720         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
69721         about macro parameter expansion.
69723         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
69724         __NO_MATH_INLINES is defined.  Cleanups.
69726         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
69727         and __floorf is target has SSE4.1.
69728         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
69729         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
69730         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
69731         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
69733         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
69734         name.
69735         (floorf): Likewise.
69737         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
69739 2011-10-17  Andreas Schwab  <schwab@redhat.com>
69741         * misc/sys/cdefs.h: Fix last change.
69743         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
69744         database lookup.
69746 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
69748         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
69750         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
69751         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69752         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69753         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69754         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69755         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69756         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69757         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69758         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69759         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
69760         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
69761         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
69762         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
69763         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
69764         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
69765         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
69766         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
69767         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
69768         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
69769         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
69770         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
69771         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
69773         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
69774         ceil, ceilf, floor, floorf.
69776         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
69777         Perform IRELATIVE relocations last.
69779         * elf/do-rel.h: Add another parameter nrelative, replacing the
69780         local variable with the same name.  Change name of the function
69781         to end in Rel or Rela (uppercase).
69782         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
69783         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
69784         elf_dynamic_do_##reloc function.
69786 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69788         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
69789         is sufficient, at least on modern CPUs.
69791         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
69793         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
69794         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
69796         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
69797         __expl_finite.
69798         * math/bits/math-finite.h: Add entries for exp.
69799         * math/e_expl.c: Add __*_finite alias.
69800         * sysdeps/i386/fpu/e_exp.S: Likewise.
69801         * sysdeps/i386/fpu/e_expf.S: Likewise.
69802         * sysdeps/i386/fpu/e_expl.c: Likewise.
69803         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69804         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69805         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
69806         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
69807         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
69808         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69809         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69811         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
69812         is sufficient, at least on modern CPUs.
69814         * ctype/ctype-info.c (__ctype_init): Define.
69815         * include/ctype.h (__ctype_init): Declare.
69816         (__ctype_b_loc): The variable is always initialized.
69817         (__ctype_toupper_loc): Likewise.
69818         (__ctype_tolower_loc): Likewise.
69819         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
69820         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
69822 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
69824         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
69826         * configure.in: Also look in $cxxmachine/include for C++ system
69827         headers.
69829 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69831         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
69832         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
69833         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
69834         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
69835         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
69836         (USE_AS_WMEMCMP): New macro.
69837         Fixing indents.
69838         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
69839         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
69840         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
69841         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
69842         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69843         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
69844         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
69845         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
69846         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
69847         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
69848         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
69849         (USE_AS_WMEMCMP): New macro.
69850         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
69851         * sysdeps/string/test-memcmp.c: Update.
69852         Fix simple_wmemcmp.
69853         Add new tests.
69854         * wcsmbs/wmemcmp.c: Update.
69855         (WMEMCMP): New macro.
69856         Fix overflow bug.
69858 2011-10-12  Andreas Jaeger  <aj@suse.de>
69860         [BZ #13268]
69861         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
69863 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69865         * libio/iofwide.c (do_length): Avoid warning.
69867         * ctype/ctype.h (__isctype_f): Add missing __THROW.
69869 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
69871         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
69873         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
69874         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
69875         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
69876         * sysdeps/i386/i686/fpu/e_log.S: New file.
69877         * sysdeps/i386/i686/fpu/e_logf.S: New file.
69878         * sysdeps/i386/i686/fpu/e_logl.S: New file.
69880         * ctype/ctype.h: Add support for inlined isXXX functions when
69881         compiling C++ code.
69883 2011-10-14  Andreas Schwab  <schwab@redhat.com>
69885         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69887         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
69889 2011-10-13  Roland McGrath  <roland@hack.frob.com>
69891         [BZ #13291]
69892         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
69894 2011-10-13  Andreas Schwab  <schwab@redhat.com>
69896         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
69897         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
69898         feraiseexcept.
69900         * sysdeps/x86_64/memrchr.S: Check for zero size.
69902         * string/stratcliff.c: Add memrchr tests.
69904 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69906         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69907         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
69908         rawmemchr-sse2 rawmemchr-sse2-bsf.
69909         * sysdeps/i386/i686/multiarch/memchr.S: New file.
69910         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
69911         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
69912         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
69913         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
69914         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
69915         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
69916         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
69917         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
69918         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
69919         * string/memrchr.c (MEMRCHR): New macro.
69921 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
69923         Add integration with gcc's -ffinite-math-only and optimize wrapper
69924         functions in libm.
69925         * Versions.def: Define GLIBC_2.15 version for libm.
69926         * math/Makefile (headers): Add bits/math-finite.h.
69927         * math/bits/math-finite.h: New file.
69928         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
69929         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
69930         * math/e_acoshl.c: Add __*_finite alias.
69931         * math/e_acosl.c: Likewise.
69932         * math/e_asinl.c: Likewise.
69933         * math/e_atan2l.c: Likewise.
69934         * math/e_atanhl.c: Likewise.
69935         * math/e_coshl.c: Likewise.
69936         * math/e_exp10.c: Likewise.
69937         * math/e_exp10f.c: Likewise.
69938         * math/e_exp10l.c: Likewise.
69939         * math/e_exp2l.c: Likewise.
69940         * math/e_fmodl.c: Likewise.
69941         * math/e_gammal_r.c: Likewise.
69942         * math/e_hypotl.c: Likewise.
69943         * math/e_j0l.c: Likewise.
69944         * math/e_j1l.c: Likewise.
69945         * math/e_jnl.c: Likewise.
69946         * math/e_lgammal_r.c: Likewise.
69947         * math/e_log10l.c: Likewise.
69948         * math/e_log2l.c: Likewise.
69949         * math/e_logl.c: Likewise.
69950         * math/e_powl.c: Likewise.
69951         * math/e_sinhl.c: Likewise.
69952         * math/e_sqrtl.c: Likewise.
69953         * math/e_scalb.c: Completely rewritten and optimized.
69954         * math/e_scalbf.c: Likewise.
69955         * math/e_scalbl.c: Likewise.
69956         * math/w_acos.c: Likewise.
69957         * math/w_acosf.c: Likewise.
69958         * math/w_acosl.c: Likewise.
69959         * math/w_acosh.c: Likewise.
69960         * math/w_acoshf.c: Likewise.
69961         * math/w_acoshl.c: Likewise.
69962         * math/w_asin.c: Likewise.
69963         * math/w_asinf.c: Likewise.
69964         * math/w_asinl.c: Likewise.
69965         * math/w_atan2.c: Likewise.
69966         * math/w_atan2f.c: Likewise.
69967         * math/w_atan2l.c: Likewise.
69968         * math/w_atanh.c: Likewise.
69969         * math/w_atanhf.c: Likewise.
69970         * math/w_atanhl.c: Likewise.
69971         * math/w_exp10.c: Likewise.
69972         * math/w_exp10f.c: Likewise.
69973         * math/w_exp10l.c: Likewise.
69974         * math/w_fmod.c: Likewise.
69975         * math/w_fmodf.c: Likewise.
69976         * math/w_fmodl.c: Likewise.
69977         * math/w_j0.c: Likewise.
69978         * math/w_j0f.c: Likewise.
69979         * math/w_j0l.c: Likewise.
69980         * math/w_j1.c: Likewise.
69981         * math/w_j1f.c: Likewise.
69982         * math/w_j1l.c: Likewise.
69983         * math/w_jn.c: Likewise.
69984         * math/w_jnf.c: Likewise.
69985         * math/w_log.c: Likewise.
69986         * math/w_logf.c: Likewise.
69987         * math/w_logl.c: Likewise.
69988         * math/w_log10.c: Likewise.
69989         * math/w_log10f.c: Likewise.
69990         * math/w_log10l.c: Likewise.
69991         * math/w_log2.c: Likewise.
69992         * math/w_log2f.c: Likewise.
69993         * math/w_log2l.c: Likewise.
69994         * math/w_pow.c: Likewise.
69995         * math/w_powf.c: Likewise.
69996         * math/w_powl.c: Likewise.
69997         * math/w_remainder.c: Likewise.
69998         * math/w_remainderf.c: Likewise.
69999         * math/w_remainderl.c: Likewise.
70000         * math/w_scalb.c: Likewise.
70001         * math/w_scalbf.c: Likewise.
70002         * math/w_scalbl.c: Likewise.
70003         * math/w_sqrt.c: Likewise.
70004         * math/w_sqrtf.c: Likewise.
70005         * math/w_sqrtl.c: Likewise.
70006         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
70007         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
70008         used.
70009         * math/math_private.h: Declare __kernel_standard_f.
70010         * math/w_cosh.c: Remove cruft and optimize a bit.
70011         * math/w_coshf.c: Likewise.
70012         * math/w_coshl.c: Likewise.
70013         * math/w_exp2.c: Likewise.
70014         * math/w_exp2f.c: Likewise.
70015         * math/w_exp2l.c: Likewise.
70016         * math/w_hypot.c: Likewise.
70017         * math/w_hypotf.c: Likewise.
70018         * math/w_hypotl.c: Likewise.
70019         * math/w_lgamma.c: Likewise.
70020         * math/w_lgamma_r.c: Likewise.
70021         * math/w_lgammaf.c: Likewise.
70022         * math/w_lgammaf_r.c: Likewise.
70023         * math/w_lgammal.c: Likewise.
70024         * math/w_lgammal_r.c: Likewise.
70025         * math/w_sinh.c: Likewise.
70026         * math/w_sinhf.c: Likewise.
70027         * math/w_sinhl.c: Likewise.
70028         * math/w_tgamma.c: Likewise.
70029         * math/w_tgammaf.c: Likewise.
70030         * math/w_tgammal.c: Likewise.
70031         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70032         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70033         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
70034         Minor optimizations.  Pretty printing.  Remove cruft.
70035         * sysdeps/i386/fpu/e_acosf.S: Likewise.
70036         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70037         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70038         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70039         * sysdeps/i386/fpu/e_acosl.c: Likewise.
70040         * sysdeps/i386/fpu/e_asin.S: Likewise.
70041         * sysdeps/i386/fpu/e_asinf.S: Likewise.
70042         * sysdeps/i386/fpu/e_atan2.S: Likewise.
70043         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
70044         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
70045         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70046         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70047         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70048         * sysdeps/i386/fpu/e_exp10.S: Likewise.
70049         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
70050         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
70051         * sysdeps/i386/fpu/e_exp2.S: Likewise.
70052         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
70053         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
70054         * sysdeps/i386/fpu/e_fmod.S: Likewise.
70055         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
70056         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
70057         * sysdeps/i386/fpu/e_hypot.S: Likewise.
70058         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
70059         * sysdeps/i386/fpu/e_log.S: Likewise.
70060         * sysdeps/i386/fpu/e_log10.S: Likewise.
70061         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70062         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70063         * sysdeps/i386/fpu/e_log2.S: Likewise.
70064         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70065         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70066         * sysdeps/i386/fpu/e_logf.S: Likewise.
70067         * sysdeps/i386/fpu/e_logl.S: Likewise.
70068         * sysdeps/i386/fpu/e_pow.S: Likewise.
70069         * sysdeps/i386/fpu/e_powf.S: Likewise.
70070         * sysdeps/i386/fpu/e_powl.S: Likewise.
70071         * sysdeps/i386/fpu/e_remainder.S: Likewise.
70072         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
70073         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
70074         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70075         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70076         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70077         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
70078         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
70079         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
70080         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70081         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70082         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70083         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70084         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70085         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70086         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
70087         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70088         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70089         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70090         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70091         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70092         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70093         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70094         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70095         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70096         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70097         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70098         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70099         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70100         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70101         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70102         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70103         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70104         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70105         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70106         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70107         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70108         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
70109         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70110         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70111         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70112         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70113         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70114         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70115         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70116         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70117         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70118         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70119         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70120         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70121         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70122         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70123         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70124         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70125         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70126         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70127         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70128         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70129         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
70130         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70131         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70132         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70133         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70134         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70135         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70136         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70137         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70138         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70139         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70140         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70141         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70142         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70143         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70144         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70145         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70146         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70147         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70148         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
70149         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70150         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70151         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70152         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70153         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70154         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70155         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70156         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70157         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70158         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70159         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70160         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70161         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70162         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70163         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70164         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70165         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70166         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70167         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70168         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70169         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70170         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70171         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70172         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70173         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70174         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70175         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70176         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70177         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70178         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70179         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70180         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70181         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70182         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70183         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70184         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70185         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70186         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70187         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70188         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70189         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70190         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70191         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70192         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70193         (__isnanf): Likewise.
70194         (__isinf_ns): Likewise.
70195         (__isinf_nsf): Likewise.
70196         (__finite): Likewise.
70197         (__finitef): Likewise.
70198         (__ieee754_sqrt): Define as macro.
70199         (__ieee754_sqrtf): Define as macro.
70200         (__ieee754_sqrtl): Define as macro.
70201         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70202         inlined copy.
70203         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70204         __FINITE_MATH_ONLY__ consistent.
70205         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70207 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70209         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70210         of rawmemchr.
70212         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70214 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70216         * po/ja.po: Update from translation team.
70218 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70220         * locale/programs/locarchive.c (prepare_address_space): New function.
70221         (create_archive, enlarge_archive, open_archive): Use it.
70223         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70224         inside [SHARED], where it is used.
70226         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70228         * nss/getent.c (netgroup_keys): Remove unused variable.
70229         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70231 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70233         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70234         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70235         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70236         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70237         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70238         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70239         * math/Makefile (libm-calls): Add s_isinf_ns.
70240         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70241         * math/multc3.c: Likewise.
70242         * math/s_casin.c: Likewise.
70243         * math/s_casinf.c: Likewise.
70244         * math/s_casinl.c: Likewise.
70245         * math/s_ccos.c: Likewise.
70246         * math/s_ccosf.c: Likewise.
70247         * math/s_ccosl.c: Likewise.
70248         * math/s_ctan.c: Likewise.
70249         * math/s_ctanf.c: Likewise.
70250         * math/s_ctanh.c: Likewise.
70251         * math/s_ctanhf.c: Likewise.
70252         * math/s_ctanhl.c: Likewise.
70253         * math/s_ctanl.c: Likewise.
70254         * math/w_fmod.c: Likewise.
70255         * math/w_fmodf.c: Likewise.
70256         * math/w_fmodl.c: Likewise.
70257         * math/w_remainder.c: Likewise.
70258         * math/w_remainderf.c: Likewise.
70259         * math/w_remainderl.c: Likewise.
70260         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70261         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70262         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70263         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70264         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70265         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70266         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70267         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70269         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70270         of the number.
70271         * stdio-common/printf_fphex.c: Likewise.
70272         * stdio-common/printf_size.c: Likewise.
70274         * math/e_exp10.c: Include math_private.h using <...> not "...".
70275         * math/e_exp10f.c: Likewise.
70276         * math/e_exp10l.c: Likewise.
70277         * math/e_exp2l.c: Likewise.
70278         * math/e_j0l.c: Likewise.
70279         * math/e_j1l.c: Likewise.
70280         * math/e_jnl.c: Likewise.
70281         * math/e_lgammal_r.c: Likewise.
70282         * math/e_rem_pio2l.c: Likewise.
70283         * math/e_scalb.c: Likewise.
70284         * math/e_scalbf.c: Likewise.
70285         * math/e_scalbl.c: Likewise.
70286         * math/k_cosl.c: Likewise.
70287         * math/k_sinl.c: Likewise.
70288         * math/k_tanl.c: Likewise.
70289         * math/s_cacoshf.c: Likewise.
70290         * math/s_catan.c: Likewise.
70291         * math/s_catanf.c: Likewise.
70292         * math/s_catanh.c: Likewise.
70293         * math/s_catanhf.c: Likewise.
70294         * math/s_catanhl.c: Likewise.
70295         * math/s_catanl.c: Likewise.
70296         * math/s_ccosh.c: Likewise.
70297         * math/s_ccoshf.c: Likewise.
70298         * math/s_ccoshl.c: Likewise.
70299         * math/s_cexp.c: Likewise.
70300         * math/s_cexpf.c: Likewise.
70301         * math/s_cexpl.c: Likewise.
70302         * math/s_clog.c: Likewise.
70303         * math/s_clog10.c: Likewise.
70304         * math/s_clog10f.c: Likewise.
70305         * math/s_clog10l.c: Likewise.
70306         * math/s_clogf.c: Likewise.
70307         * math/s_clogl.c: Likewise.
70308         * math/s_csin.c: Likewise.
70309         * math/s_csinf.c: Likewise.
70310         * math/s_csinh.c: Likewise.
70311         * math/s_csinhf.c: Likewise.
70312         * math/s_csinhl.c: Likewise.
70313         * math/s_csinl.c: Likewise.
70314         * math/s_csqrt.c: Likewise.
70315         * math/s_csqrtf.c: Likewise.
70316         * math/s_csqrtl.c: Likewise.
70317         * math/s_ctan.c: Likewise.
70318         * math/s_ctanf.c: Likewise.
70319         * math/s_ctanh.c: Likewise.
70320         * math/s_ctanhf.c: Likewise.
70321         * math/s_ctanhl.c: Likewise.
70322         * math/s_ctanl.c: Likewise.
70323         * math/s_ldexp.c: Likewise.
70324         * math/s_ldexpf.c: Likewise.
70325         * math/s_ldexpl.c: Likewise.
70326         * math/s_significand.c: Likewise.
70327         * math/s_significandf.c: Likewise.
70328         * math/s_significandl.c: Likewise.
70329         * math/w_acos.c: Likewise.
70330         * math/w_acosf.c: Likewise.
70331         * math/w_acosh.c: Likewise.
70332         * math/w_acoshf.c: Likewise.
70333         * math/w_acoshl.c: Likewise.
70334         * math/w_acosl.c: Likewise.
70335         * math/w_asin.c: Likewise.
70336         * math/w_asinf.c: Likewise.
70337         * math/w_asinl.c: Likewise.
70338         * math/w_atan2.c: Likewise.
70339         * math/w_atan2f.c: Likewise.
70340         * math/w_atan2l.c: Likewise.
70341         * math/w_atanh.c: Likewise.
70342         * math/w_atanhf.c: Likewise.
70343         * math/w_atanhl.c: Likewise.
70344         * math/w_cosh.c: Likewise.
70345         * math/w_coshf.c: Likewise.
70346         * math/w_coshl.c: Likewise.
70347         * math/w_dremf.c: Likewise.
70348         * math/w_exp10.c: Likewise.
70349         * math/w_exp10f.c: Likewise.
70350         * math/w_exp10l.c: Likewise.
70351         * math/w_exp2.c: Likewise.
70352         * math/w_exp2f.c: Likewise.
70353         * math/w_fmod.c: Likewise.
70354         * math/w_fmodf.c: Likewise.
70355         * math/w_fmodl.c: Likewise.
70356         * math/w_hypot.c: Likewise.
70357         * math/w_hypotf.c: Likewise.
70358         * math/w_hypotl.c: Likewise.
70359         * math/w_j0.c: Likewise.
70360         * math/w_j0f.c: Likewise.
70361         * math/w_j0l.c: Likewise.
70362         * math/w_j1.c: Likewise.
70363         * math/w_j1f.c: Likewise.
70364         * math/w_j1l.c: Likewise.
70365         * math/w_jn.c: Likewise.
70366         * math/w_jnf.c: Likewise.
70367         * math/w_jnl.c: Likewise.
70368         * math/w_lgamma.c: Likewise.
70369         * math/w_lgamma_r.c: Likewise.
70370         * math/w_lgammaf.c: Likewise.
70371         * math/w_lgammaf_r.c: Likewise.
70372         * math/w_lgammal.c: Likewise.
70373         * math/w_lgammal_r.c: Likewise.
70374         * math/w_log.c: Likewise.
70375         * math/w_log10.c: Likewise.
70376         * math/w_log10f.c: Likewise.
70377         * math/w_log10l.c: Likewise.
70378         * math/w_log2.c: Likewise.
70379         * math/w_log2f.c: Likewise.
70380         * math/w_log2l.c: Likewise.
70381         * math/w_logf.c: Likewise.
70382         * math/w_logl.c: Likewise.
70383         * math/w_pow.c: Likewise.
70384         * math/w_powf.c: Likewise.
70385         * math/w_powl.c: Likewise.
70386         * math/w_remainder.c: Likewise.
70387         * math/w_remainderf.c: Likewise.
70388         * math/w_remainderl.c: Likewise.
70389         * math/w_scalb.c: Likewise.
70390         * math/w_scalbf.c: Likewise.
70391         * math/w_scalbl.c: Likewise.
70392         * math/w_sinh.c: Likewise.
70393         * math/w_sinhf.c: Likewise.
70394         * math/w_sinhl.c: Likewise.
70395         * math/w_sqrt.c: Likewise.
70396         * math/w_sqrtf.c: Likewise.
70397         * math/w_sqrtl.c: Likewise.
70398         * math/w_tgamma.c: Likewise.
70399         * math/w_tgammaf.c: Likewise.
70400         * math/w_tgammal.c: Likewise.
70402         * po/ja.po: Update from translation team.
70404 2011-09-29  Andreas Jaeger  <aj@suse.de>
70406         [BZ #13179]
70407         * sunrpc/netname.c (netname2host): Fix logic.
70409         [BZ #6779]
70410         [BZ #6783]
70411         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70412         correctly.
70413         * math/w_remainder.c (__remainder): Likewise.
70414         * math/w_remainderf.c (__remainderf): Likewise.
70415         * math/libm-test.inc (remainder_test): Add test cases.
70417 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70419         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70420         sdiv_qrnnd.
70422 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70424         * string/test-memcmp.c: Avoid unncessary #defines.
70425         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70427 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70429         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70430         Use new sse2 version for core i3 - i7 as it's faster
70431         than sse42 version.
70432         (bit_Prefer_PMINUB_for_stringop): New.
70433         * sysdeps/x86_64/rawmemchr.S: Update.
70434         Replace with faster SSE2 version.
70435         * sysdeps/x86_64/memrchr.S: New file.
70436         * sysdeps/x86_64/memchr.S: Update.
70437         Replace with faster SSE2 version.
70439 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70441         * elf/dl-load.c (lose): Add cast to avoid warning.
70443 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70445         * po/ca.po: Update from translation team.
70447         * inet/getnetgrent_r.c: Hook up nscd.
70448         * nscd/Makefile (routines): Add nscd_netgroup.
70449         (nscd-modules): Add netgroupcache.
70450         (CFLAGS-netgroupcache.c): Define.
70451         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70452         (cache_search): Add const to second parameter.
70453         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70454         INNETGR.
70455         (dbs): Add netgrdb entry.
70456         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70457         (verify_persistent_db): Handle netgrdb.
70458         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70459         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70460         GETFDNETGR.
70461         (netgroup_response_header): Define.
70462         (innetgroup_response_header): Define.
70463         (datahead): Add netgroup_response_header and innetgroup_response_header
70464         elements.
70465         * nscd/nscd.conf: Add entries for netgroup cache.
70466         * nscd/nscd.h (dbtype): Add netgrdb.
70467         (_PATH_NSCD_NETGROUP_DB): Define.
70468         (netgroup_iov_disabled): Declare.
70469         (xmalloc, xcalloc, xrealloc): Move declarations here.
70470         (cache_search): Adjust prototype.
70471         Add netgroup-related prototypes.
70472         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70473         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70474         (__nscd_innetgr): Declare.
70475         * nscd/selinux.c (perms): Use access_vector_t as element type and
70476         add netgroup-related initializers.
70477         * nscd/netgroupcache.c: New file.
70478         * nscd/nscd_netgroup.c: New file.
70479         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70480         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70481         For four parameters use innetgr.
70482         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70483         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70484         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70485         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70487         * nscd/connections.c (register_traced_file): Don't register file
70488         for disabled databases.
70490 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70492         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70494         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70495         from tree and freeing node.
70497 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70499         * nss/nsswitch.c (__nss_database_lookup): Handle
70500         nss_parse_service_list out of memory case.
70502 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70504         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70505         out of memory case.
70507 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70509         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70510         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70511         pass it down.
70512         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70513         elf_machine_rela, elf_machine_lazy_rel.
70514         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70515         (ELF_DYNAMIC_DO_REL): Likewise.
70516         (ELF_DYNAMIC_DO_RELA): Likewise.
70517         (ELF_DYNAMIC_RELOCATE): Likewise.
70518         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70519         to ELF_DYNAMIC_DO_REL.
70520         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70521         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70522         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70523         elf_machine_rela.
70524         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70525         skip_ifunc, don't call ifunc function if non-zero.
70526         (elf_machine_rela): Likewise.
70527         (elf_machine_lazy_rel): Likewise.
70528         (elf_machine_lazy_rela): Likewise.
70529         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
70530         (elf_machine_lazy_rel): Likewise.
70531         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
70532         Likewise.
70533         (elf_machine_lazy_rel): Likewise.
70534         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70535         Likewise.
70536         (elf_machine_lazy_rel): Likewise.
70537         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
70538         (elf_machine_lazy_rel): Likewise.
70539         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
70540         (elf_machine_lazy_rel): Likewise.
70541         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
70542         (elf_machine_lazy_rel): Likewise.
70543         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70544         (elf_machine_lazy_rel): Likewise.
70545         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70546         (elf_machine_lazy_rel): Likewise.
70547         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70548         (elf_machine_lazy_rel): Likewise.
70550 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70552         * nss/nss_files/files-init.c (_nss_files_init): Use static
70553         initialization for all the *_traced_file variables.
70555 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70557         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70559 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70561         [BZ #13226]
70562         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
70564 2011-09-27  Andreas Schwab  <schwab@redhat.com>
70566         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70567         Reread the line before reparsing it.
70569 2011-09-26  Andreas Schwab  <schwab@redhat.com>
70571         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
70573 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
70574             Maxim Kuvyrkov  <maxim@codesourcery.com>
70575             Joseph Myers  <joseph@codesourcery.com>
70577         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
70578         if needed for __stack_chk_guard.
70580 2011-09-19  Roland McGrath  <roland@hack.frob.com>
70582         * sysdeps/posix/spawni.c (script_execute): Always define it.
70583         It will be optimized away if unused.
70584         (maybe_script_execute): New function.
70585         (__spawni): Call it.
70587         * Makerules: Don't include tls.make.
70588         (config-tls): Always set to thread.
70589         * tls.make.c: File removed.
70591 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
70593         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
70594         * config.make.in (CPPFLAGS-config): New substituted variable.
70596 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70598         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
70600         [BZ #13192]
70601         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
70602         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
70604 2011-09-15  Roland McGrath  <roland@hack.frob.com>
70606         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
70607         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
70608         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70609         (CALL_FAIL): Likewise.
70610         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
70611         (CALL_FAIL): Macro removed.
70612         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
70614 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70616         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
70617         for __FINITE_MATH_ONLY__ == 1.
70619 2011-09-15  Andreas Schwab  <schwab@redhat.com>
70621         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
70622         __ieee754_sqrt instead of sqrt.
70623         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
70624         __ieee754_sqrtf instead of sqrtf.
70625         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
70626         __floorf instead of floorf.
70627         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
70628         __floorf, __truncf instead of floorf, truncf.
70630 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
70632         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
70634         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
70635         __extern_always_inline.
70636         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
70637         32-bit.
70639 2011-09-14  Andreas Schwab  <schwab@redhat.com>
70641         * elf/rtld.c (dl_main): Also relocate in dependency order when
70642         doing symbol dependency testing.
70644 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
70646         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70647         Always define `refsym'.
70649 2011-09-13  Andreas Schwab  <schwab@redhat.com>
70651         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
70652         (__FD_ELT): Renamed from __FDELT.
70653         * misc/bits/select2.h (__FD_ELT): Likewise.
70654         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
70655         __FD_MASK instead of __FDELT, __FDMASK.
70656         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70657         Likewise.
70658         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70659         Likewise.
70661         * elf/Makefile (gen-ldd): Fix pattern.
70663         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
70664         (init_tls): Likewise.
70666 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
70668         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
70670 2011-09-12  Andreas Schwab  <schwab@redhat.com>
70672         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
70673         `struct cmsghdr *' instead of `void *'.
70674         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
70675         Likewise.
70677 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
70679         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
70680         if non-absolute.
70681         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
70682         ldd_rewrite_script.
70684 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
70686         * configure.in: Remove --with-tls option.
70687         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
70688         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
70689         out in case it is missing.
70690         * sysdeps/ia64/elf/configure.in: Likewise.
70691         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
70692         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
70693         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
70694         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
70695         * sysdeps/sh/elf/configure.in: Likewise.
70696         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
70697         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70698         * sysdeps/x86_64/elf/configure.in: Likewise.
70699         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
70700         * sysdeps/mach/hurd/tls.h: Likewise.
70702         [BZ #13067]
70703         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
70705         [BZ #13090]
70706         * configure.in: Fix use of AC_INIT.
70708         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
70710 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
70712         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
70713         __set_errno.
70714         * malloc/hooks.c: Likewise.
70716         [BZ #11929]
70717         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
70718         variables statically.
70719         (narenas): Initialize.
70720         (list_lock): Initialize.
70721         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
70722         initializtion of main_arena and list_lock.  Small cleanups.
70723         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
70724         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
70725         Add initializers to main_arena and mp_.
70726         (malloc_state): Remove pagesize member.  Change all users to use
70727         GLRO(dl_pagesize).
70729         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
70730         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
70731         is always initialized.
70733         * malloc/malloc.c: Removed unused configurations and dead code.
70734         * malloc/arena.c: Likewise.
70735         * malloc/hooks.c: Likewise.
70736         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
70738         * include/tls.h: Removed.  USE___THREAD must always be defined.
70739         * bits/libc-tsd.h: Don't handle !USE___THREAD.
70740         * elf/dl-libc.c: Likewise.
70741         * elf/dl-tsd.c: Likewise.
70742         * include/errno.h: Likewise.
70743         * include/netdb.h: Likewise.
70744         * include/resolv.h: Likewise.
70745         * inet/herrno-loc.c: Likewise.
70746         * inet/herrno.c: Likewise.
70747         * malloc/arena.c: Likewise.
70748         * malloc/hooks.c: Likewise.
70749         * malloc/malloc.c: Likewise.
70750         * resolv/res-state.c: Likewise.
70751         * resolv/res_libc.c: Likewise.
70752         * sysdeps/i386/dl-machine.h: Likewise.
70753         * sysdeps/ia64/dl-machine.h: Likewise.
70754         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
70755         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70756         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
70757         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
70758         * sysdeps/sh/dl-machine.h: Likewise.
70759         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70760         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70761         * sysdeps/unix/i386/sysdep.S: Likewise.
70762         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
70763         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
70764         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
70765         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
70766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
70767         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
70768         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
70769         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70770         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70771         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
70772         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70773         * sysdeps/x86_64/dl-machine.h: Likewise.
70774         * tls.make.c: Likewise.
70776         * configure.in: Remove --with-__thread option.  Make tests for
70777         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
70778         tls_model attribute fail if no support is available.  Remove
70779         USE_IN_LIBIO.
70780         * Makeconfig: Adjust for dropped configure option.  All features are
70781         now mandatory.
70782         * Makerules: Likewise.
70783         * Versions.def: Likewise.
70784         * argp/argp-fmtstream.c: Likewise.
70785         * argp/argp-fmtstream.h: Likewise.
70786         * argp/argp-help.c: Likewise.
70787         * assert/assert.c: Likewise.
70788         * config.h.in: Likewise.
70789         * config.make.in: Likewise.
70790         * configure: Likewise.
70791         * configure.in: Likewise.
70792         * csu/Versions: Likewise.
70793         * csu/init.c: Likewise.
70794         * elf/tst-audit2.c: Likewise.
70795         * elf/tst-tls10.c: Likewise.
70796         * elf/tst-tls10.h: Likewise.
70797         * elf/tst-tls11.c: Likewise.
70798         * elf/tst-tls12.c: Likewise.
70799         * elf/tst-tls14.c: Likewise.
70800         * elf/tst-tlsmod11.c: Likewise.
70801         * elf/tst-tlsmod12.c: Likewise.
70802         * elf/tst-tlsmod13.c: Likewise.
70803         * elf/tst-tlsmod13a.c: Likewise.
70804         * elf/tst-tlsmod14a.c: Likewise.
70805         * elf/tst-tlsmod15b.c: Likewise.
70806         * elf/tst-tlsmod16a.c: Likewise.
70807         * elf/tst-tlsmod16b.c: Likewise.
70808         * elf/tst-tlsmod7.c: Likewise.
70809         * elf/tst-tlsmod8.c: Likewise.
70810         * elf/tst-tlsmod9.c: Likewise.
70811         * gmon/gmon.c: Likewise.
70812         * grp/fgetgrent_r.c: Likewise.
70813         * grp/putgrent.c: Likewise.
70814         * hurd/fopenport.c: Likewise.
70815         * include/libc-symbols.h: Likewise.
70816         * include/tls.h: Likewise.
70817         * intl/gettextP.h: Likewise.
70818         * intl/loadinfo.h: Likewise.
70819         * locale/global-locale.c: Likewise.
70820         * locale/localeinfo.h: Likewise.
70821         * mach/devstream.c: Likewise.
70822         * malloc/arena.c: Likewise.
70823         * malloc/set-freeres.c: Likewise.
70824         * misc/err.c: Likewise.
70825         * misc/getttyent.c: Likewise.
70826         * misc/mntent_r.c: Likewise.
70827         * posix/getopt.c: Likewise.
70828         * posix/wordexp.c: Likewise.
70829         * pwd/fgetpwent_r.c: Likewise.
70830         * resolv/Versions: Likewise.
70831         * resolv/res_hconf.c: Likewise.
70832         * shadow/fgetspent_r.c: Likewise.
70833         * shadow/putspent.c: Likewise.
70834         * stdio-common/printf_fphex.c: Likewise.
70835         * stdio-common/tmpfile.c: Likewise.
70836         * stdlib/abort.c: Likewise.
70837         * stdlib/fmtmsg.c: Likewise.
70838         * sunrpc/auth_unix.c: Likewise.
70839         * sunrpc/clnt_perr.c: Likewise.
70840         * sunrpc/clnt_tcp.c: Likewise.
70841         * sunrpc/clnt_udp.c: Likewise.
70842         * sunrpc/clnt_unix.c: Likewise.
70843         * sunrpc/openchild.c: Likewise.
70844         * sunrpc/svc_simple.c: Likewise.
70845         * sunrpc/svc_tcp.c: Likewise.
70846         * sunrpc/svc_udp.c: Likewise.
70847         * sunrpc/svc_unix.c: Likewise.
70848         * sunrpc/xdr.c: Likewise.
70849         * sunrpc/xdr_array.c: Likewise.
70850         * sunrpc/xdr_rec.c: Likewise.
70851         * sunrpc/xdr_ref.c: Likewise.
70852         * sunrpc/xdr_stdio.c: Likewise.
70854 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70856         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70858 2011-07-03  Andreas Jaeger  <aj@suse.de>
70860         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
70861         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
70862         regenerate with gen-libm-tests.pl.
70864 2010-05-12  Petr Baudis  <pasky@suse.cz>
70866         [BZ #11589]
70867         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
70868         around j0() zero points by switching to j1().
70869         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70870         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70871         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70872         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70874 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70876         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
70877         instead of 0.
70878         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
70879         instead of 0.
70880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70881         Patch in part by Pavel Roskin <proski@gnu.org>.
70883         [BZ #13138]
70884         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
70885         realloc.
70886         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
70887         Free memory block if necessary.
70889         [BZ #12847]
70890         * libio/genops.c (INTDEF): For string streams the _lock pointer can
70891         be NULL.  Don't lock in this case.
70893 2011-09-09  Roland McGrath  <roland@hack.frob.com>
70895         * elf/elf.h (ELFOSABI_GNU): New macro.
70896         (ELFOSABI_LINUX): Define to that.
70898 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
70900         * string/strncat.c (strncat): Undef the symbol in case it has been
70901         defined in bits/string.h.
70903 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70905         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
70907         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
70908         link map.
70910 2011-08-17  Andreas Jaeger  <aj@suse.de>
70912         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
70914 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
70915             Ian Lance Taylor  <iant@google.com>
70917         * math/libm-test.inc (lround_test): New testcase.
70918         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
70920 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
70922         * Makefile: Remove support for automatic cvs check-ins.
70923         * Makerules: Likewise.
70924         * config.make.in: Likewise.
70925         * configure.in: Likewise.
70926         * intl/Makefile: Likewise.
70927         * locale/Makefile: Likewise.
70928         * po/Makefile: Likewise.
70929         * posix/Makefile: Likewise.
70930         * sysdeps/gnu/Makefile: Likewise.
70931         * sysdeps/mach/hurd/Makefile: Likewise.
70932         * sysdeps/sparc/sparc32/Makefile: Likewise.
70934         [BZ #13118]
70935         * posix/Makefile (bug-regex32-ENV): Define.
70936         Patch by John Stanley <jpsinthemix@verizon.net>.
70938         * misc/Makefile (headers): Add bits/select2.h.
70939         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
70940         * misc/bits/select2.h: New file.
70941         * include/bits/select2.h: New file.
70942         * debug/Makefile (routines): Add fdelt_chk.
70943         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
70944         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
70945         FD_ISSET.
70946         * debug/fdelt_chk.c: New file.
70948         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
70949         * wcsmbs/test-wmemcmp.c: Likewise.
70950         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
70951         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
70953 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70955         * string/Makefile (strop-tests): Add memcmp.
70956         * string/test-wmemcmp.c: New file.
70957         * string/test-memcmp.c: Add wmemcmp support.
70959 2011-09-08  Roland McGrath  <roland@hack.frob.com>
70961         [BZ #13153]
70962         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
70963         2011-07-19 change.
70965         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
70966         garbage value in a __mach_port_mod_refs call in the cases of the
70967         task-self and thread-self ports.
70969 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70971         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
70973 2011-09-08  Andreas Schwab  <schwab@redhat.com>
70975         * elf/dl-load.c (lose): Check for non-null L.
70977 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70979         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
70981         * elf/dl-libc.c (dlerror_run): Pass back error code from
70982         dl_catch_error.
70984         [BZ #13123]
70985         * elf/dl-load.c (lose): Free l_origin if it is valid.
70987         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
70988         names.
70989         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
70990         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70991         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70992         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70993         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
70994         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
70996 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70998         * sysdeps/powerpc/fpu/e_hypot.c: New file.
70999         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
71000         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
71001         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
71002         * sysdeps/powerpc/fpu/k_cosf.c: New file.
71003         * sysdeps/powerpc/fpu/k_sinf.c: New file.
71004         * sysdeps/powerpc/fpu/s_cosf.c: New file.
71005         * sysdeps/powerpc/fpu/s_sinf.c: New file.
71006         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
71007         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
71009 2011-08-15  Alan Modra  <amodra@gmail.com>
71011         [BZ #13092]
71012         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
71013         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
71014         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
71015         ppc_mcount to static-only-routines.
71016         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
71017         __mcount_internal.
71018         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
71019         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
71021 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
71023         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
71024         for finite and infinity parameters.
71026 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71028         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
71029         and add nop instructions for throughput optimization.
71030         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71032 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
71034         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
71035         aligned copy for power7 with vector-scalar instructions.
71036         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
71038 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
71040         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
71041         AVX check.
71043 2011-09-07  Andreas Schwab  <schwab@redhat.com>
71045         [BZ #13144]
71046         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
71047         last change.
71049 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71051         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71052         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
71053         syscall wrapper around clock_gettime in __vdso_clock_gettime.
71054         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
71055         clock_gettime.
71057 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71059         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
71060         Forgot to demangle the pointer.
71062         * sysdeps/i386/sysdep.h: Define atom_text_section.
71063         * sysdeps/x86_64/sysdep.h: Likewise.
71064         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
71065         section with atom_text_section.
71066         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71067         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71068         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
71069         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71070         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
71072         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
71073         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
71074         already be defined.  Change to take two parameters and don't assign
71075         result to variable.  Adjust all users.
71076         Define INTERNAL_GETTIME if not already defined.
71077         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
71078         call.
71079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
71080         HAVE_CLOCK_GETTIME_VSYSCALL.
71081         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
71083         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
71084         gettimeofday vsyscall, just use time.
71086 2011-09-06  Andreas Schwab  <schwab@redhat.com>
71088         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
71089         <errno.h>.
71091 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71093         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
71094         syscall on x86-64.
71095         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
71096         syscall.
71097         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
71098         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
71099         syscall if possible.
71101 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71103         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
71104         e_ident.  Don't pass to find_mapsXX.
71105         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
71107 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71110         strchr-sse2-no-bsf strrchr-sse2-no-bsf
71111         * sysdeps/x86_64/multiarch/strchr.S: Update.
71112         Check bit_slow_BSF bit.
71113         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71114         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
71115         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
71117 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71119         [BZ #13134]
71120         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
71121         before glibc 2.15.
71122         (tryshell): Define.
71123         (__spawni): Change last parameter to be flag.  Test
71124         SPAWN_XFLAGS_USE_PATH flag to use path or not.
71125         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
71126         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
71127         * posix/spawni.c: Likewise.
71128         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
71129         * posix/spawnp.c: Likewise.  Change normal version to use
71130         SPAWN_XFLAGS_USE_PATH.
71131         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
71132         SPAWN_XFLAGS_TRY_SHELL.
71134         [BZ #13150]
71135         * posix/glob.h: Remove gcc 1.x support.
71137         [BZ #13068]
71138         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
71140 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71142         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71143         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
71144         strrchr-sse2-bsf
71145         * sysdeps/i386/i686/multiarch/strchr.S: New file.
71146         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
71147         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
71148         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
71149         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
71150         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
71152 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71154         * sysdeps/x86_64/wcscmp.S: New file.
71156         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
71157         wcscmp-c wcscmp-sse2
71158         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71159         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71160         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71161         * wcsmbs/wcscmp.c: Allow renaming.
71163 2011-09-05  David S. Miller  <davem@davemloft.net>
71165         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71166         stack slot, rather than the struct return pointer slot.
71167         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71168         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71170         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71172 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71174         * po/ja.po: Update from translation team.
71176         [BZ #13144]
71177         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71178         kernel in 64-bit binaries.
71180 2011-09-01  David S. Miller  <davem@davemloft.net>
71182         * elf/elf.h (HWCAP_SPARC_*): Move to..
71183         * sysdeps/sparc/sysdep.h: this new file and add new values.
71184         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71185         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71186         _DL_HWCAP_COUNT to 24.
71187         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71188         entries.
71189         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71190         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71191         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71192         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71193         instead of magic constants.
71194         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71196 2011-08-31  David S. Miller  <davem@davemloft.net>
71198         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71199         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71200         Reimplement to do errno handling inline.
71201         (SYSCALL_ERROR_HANDLER): New macro.
71202         (__SYSCALL_STRING): Do not do errno handling in asm.
71203         (__CLONE_SYSCALL_STRING): Delete.
71204         (__INTERNAL_SYSCALL_STRING): Delete.
71205         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71206         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71207         (PSEUDO): Reimplement to do errno handling inline.
71208         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71209         (SYSCALL_ERROR_HANDLER): New macro.
71210         (__SYSCALL_STRING): Do not do errno handling in asm.
71211         (__CLONE_SYSCALL_STRING): Delete.
71212         (__INTERNAL_SYSCALL_STRING): Delete.
71213         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71214         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71215         i386.
71216         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71217         (inline_syscall*): Add 'err' argument.
71218         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71219         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71220         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71221         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71223         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71224         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71226 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71228         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71230 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71232         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71233         directive.
71235 2011-08-24  David S. Miller  <davem@davemloft.net>
71237         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71239 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71241         * elf/Makefile: Add rules to build and run unload8 test.
71242         * elf/unload8.c: New file.
71243         * elf/unload8mod1.c: New file.
71244         * elf/unload8mod1x.c: New file.
71245         * elf/unload8mod2.c: New file.
71246         * elf/unload8mod3.c: New file.
71248         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71249         it wasn't used.
71251 2011-08-23  David S. Miller  <davem@davemloft.net>
71253         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71254         subtract stack bias.
71255         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71256         %sp not %fp in calculations.
71257         (_JMPBUF_UNWINDS_ADJ): Likewise.
71259         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71260         (aio_suspend): Call it to force an exception region around the
71261         AIO_MISC_WAIT() invocation.
71263 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71265         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71266         backslash.
71268 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71270         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71271         protection macro.
71272         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71273         and <dl-machine.h>.
71274         (Elf64_FuncDesc): Remove.
71276 2011-08-22  David S. Miller  <davem@davemloft.net>
71278         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71279         sigaltstack check, add missing cfi directives.
71280         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71281         missing cfi directives, and sigaltstack handling.
71283 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71285         [BZ #11724]
71286         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71287         object is seen twice.
71288         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71290         * elf/Makefile (distribute): Add tst-initorder2.c.
71291         (tests): Add tst-initorder2.
71292         (modules-names): Add tst-initorder2a tst-initorder2b
71293         tst-initorder2c tst-initorder2d.  Add rules to build them.
71294         ($(objpfx)tst-initorder2.out): New rule.
71295         * elf/tst-initorder2.c: New file.
71296         * elf/tst-initorder2.exp: New file.
71298 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71300         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71302         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71303         dependencies back to end of function.
71305         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71306         $(elfobjdir)/ld.so.
71308 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71311         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71312         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71313         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71314         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71315         of __vdso_gettimeofday.
71316         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71317         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71318         attribute_hidden.
71319         (_libc_vdso_platform_setup): Remove initialization of
71320         __vdso_gettimeofday and __vdso_time.
71322 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71324         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71325         and fgetc_unlocked.
71326         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71327         getc_unlocked.
71329         * elf/dl-open.c (add_to_global): Report additions to the global scope
71330         for LD_DEBUG=scopes.
71331         (dl_open_worker): Also print scope of newly loaded dependencies.
71332         (_dl_show_scope): Indicate if there is no scope.
71334         [BZ #13114]
71335         * stdio-common/Makefile (tests): Add bug24.
71336         * stdio-common/bug24.c: New file.
71338 2011-08-19  Andreas Jaeger  <aj@suse.de>
71340         [BZ #13114]
71341         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71342         non-existant file when using close-on-exec mode.
71344 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71346         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71347         the very first instruction.
71349         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71350         the CFI state in the end.
71351         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71352         inclusion of dl-trampoline.h.
71353         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71355 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71357         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71358         expectations for long double.
71360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71361         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71363 2011-08-14  David S. Miller  <davem@davemloft.net>
71365         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71366         artificual limit depends upon the system page size.
71368 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71370         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71371         * resolv/Makefile: Define CFLAGS-libresolv.
71373 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71375         * nss/makedb.c (compute_tables): Make variables used in nested
71376         function static.
71378 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71380         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71381         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71382         if buffer was too small.
71384         * elf/pldd.c (main): Attach to all threads in the process.
71385         Rewrite /proc handling to use *at functions.
71387 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71389         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71390         specifies first scope to show.
71391         (dl_open_worker): Update callers.  Move printing scope of new
71392         object to before the relocation.
71393         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71394         * sysdeps/generic/ldsodefs.h: Update declaration.
71396         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71397         string for the scope number.
71399 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71401         * nscd/servicescache.c (cache_addserv): Make sure written is always
71402         initialized.
71404 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71406         * sysdeps/i386/i486/bits/atomic.h
71407         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71408         statement expression, so as to suppress "set but not used" warning.
71409         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71411         * string/strncat.c (STRNCAT): Use prototype definition.
71413         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71414         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71415         -Iprograms here.
71416         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71417         (localedef-modules): Add localedef.
71418         (locale-modules): Add locale.
71420         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71421         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71422         to avoid a warning.
71424 2011-08-14  David S. Miller  <davem@davemloft.net>
71426         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71427         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71429 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71431         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71432         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71433         * elf/rtld.c (dl_main): Set l_name of vDSO.
71434         Call _dl_show_scope when DL_DEBUG_SCOPES.
71435         (process_dl_debug): Recognize scopes flag and also set it for all.
71436         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71437         Declare _dl_show_scope.
71439         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71440         (do_dlopen): Pass caller_dlopen to dl_open.
71441         (__libc_dlopen_mode): Initialize caller_dlopen.
71443         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71444         of libc.  Make tolower call locale-independent.  Optimize a bit by
71445         using isdigit instead of isalnum.
71446         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71448 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71450         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71451         was a dependency or dynamically loaded.
71453 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71455         * intl/l10nflist.c: Allow architecture-specific pop function.
71456         * sysdeps/x86_64/l10nflist.c: New file.
71458         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71459         classification.
71461 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71463         * include/dirent.h: Add libc_hidden_proto for scandirat and
71464         scandirat64.  Don't declare __scandirat64.
71465         * dirent/scandirat.c: Add libc_hidden_def.
71466         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71467         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71469 2011-08-10  David S. Miller  <davem@davemloft.net>
71471         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71472         enum.
71473         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71474         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71475         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71477 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71479         * Versions.def [libc]: Add GLIBC_2.15.
71480         * dirent/Makefile (routines): Add scandirat and scandirat64.
71481         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71482         GLIBC_2.15.
71483         * dirent/dirent.h: Declare scandirat and scandirat64.
71484         * dirent/scandirat.c: New file.
71485         * dirent/scandirat64.c: New file.
71486         * sysdeps/wordsize-64/scandirat.c: New file.
71487         * sysdeps/wordsize-64/scandirat64.c: New file.
71488         * dirent/opendir.c: Define opendirat.
71489         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71490         using scandirat.
71491         * dirent/scandir64.c: Adjust for scandir.c change.
71492         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71493         __scandirat64, and __scandir_cancel_handler.
71494         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71495         additional parameter and use openat instead of open (outside of ld.so).
71496         Add new __opendir as wrapper around __opendirat.
71497         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71498         here without requiring old scandirat implementation.
71500 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71502         * dirent/scandir.c (cancel_handler): Renamed to
71503         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71504         defined.  Adjust users.
71505         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71506         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71508 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71510         * string/test-string.h (IMPL): Use __STRING to expand name and then
71511         stringify it.
71513         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71514         of cleanups.
71516 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71518         * string/Makefile: Update.
71519         (strop-tests): Append strncat.
71520         * string/test-wcscmp.c: New file.
71521         New comprehensive test for wcscmp.
71522         * string/test-strcmp.c: Update.
71523         (WIDE): New define.
71525 2011-07-22  Andreas Schwab  <schwab@redhat.com>
71527         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
71528         line.
71530 2011-07-26  Andreas Schwab  <schwab@redhat.com>
71532         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71533         encoding to ACE if AI_IDN.
71535 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
71537         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
71538         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
71540 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71542         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71543         Fix overflow bug in strncat.
71544         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71546         * string/test-strncat.c: Update.
71547         Add new tests for checking overflow bugs.
71549 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71551         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71552         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71553         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71554         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71555         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71556         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71557         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71558         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71559         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71561         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71562         (USE_AS_STRCAT): Define.
71563         Add strcat and strncat support.
71564         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71566 2011-07-25  Andreas Schwab  <schwab@redhat.com>
71568         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
71569         __n bigger than INT_MAX+1.
71570         (__strncmp_g): Likewise.
71572 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
71574         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
71575         * libio/stido.h: Likewise.
71577         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
71578         (AF_NFC): Define.
71579         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
71580         (AF_NFC): Define.
71582         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
71583         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71584         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71585         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
71586         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71588         [BZ #13021]
71589         * scripts/test-installation.pl: Don't expect libnss_test1 to be
71590         installed.
71592         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
71593         typo.
71594         (_dl_x86_64_save_sse): Likewise.
71596 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
71598         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
71599         OSXSAVE.
71600         (_dl_x86_64_save_sse): Likewise.
71602         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
71604         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
71606 2011-07-21  Andreas Schwab  <schwab@redhat.com>
71608         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
71609         change.
71610         (_dl_x86_64_save_sse): Use correct AVX check.
71612 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71614         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
71615         bug in strncpy/strncat.
71616         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
71618 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
71620         * string/tester.c (test_strcat): Add tests for different alignments
71621         of source and destination.
71622         (test_strncat): Likewise.
71624 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71626         [BZ #12852]
71627         * posix/glob.c (glob): Check passed in values before using them in
71628         expressions to avoid some overflows.
71629         (glob_in_dir): Likewise.
71631         [BZ #13007]
71632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
71633         check for AVX enablement so that we don't crash with old kernels and
71634         new hardware.
71635         * elf/tst-audit4.c: Add same checks here.
71636         * elf/tst-audit6.c: Likewise.
71638         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
71640 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
71642         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
71644 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71646         * po/cs.po: Update from translation team.
71647         * po/bg.po: Likewise.
71649 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
71651         * misc/sys/cdefs.h: Add support for const attribute.
71652         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
71653         to gnu_dev_{major,minor,makedev} functions.
71655 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
71657         * intl/dcigettext.c (get_output_charset): Add missing bracket.
71659 2011-07-20  Andreas Schwab  <schwab@redhat.com>
71661         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
71662         strlen results.
71664 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71666         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
71667         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
71668         register in order to avoid conflicts with the soft frame pointer
71669         being held in r11 when necessary.
71670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
71671         (INTERNAL_VSYSCALL_NCS): Likewise.
71673 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
71675         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
71676         * elf/dl-fini.c (_dl_fini): Adjust caller.
71677         * elf/dl-close.c (_dl_close_worker): Likewise.
71678         * sysdeps/generic/ldsodefs.h: Adjust declaration.
71680 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71682         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
71683         "aux_cache->nlibs < 0".
71685         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
71686         in the reload-count case.
71688 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71691         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
71692         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
71693         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
71694         * sysdeps/x86_64/multiarch/strcat.S: New file.
71695         * sysdeps/x86_64/multiarch/strncat.S: New file.
71696         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
71697         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
71698         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
71699         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
71700         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
71701         (USE_AS_STRCAT): Define.
71702         Add strcat and strncat support.
71703         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71704         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
71705         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
71706         * string/strncat.c: Update.
71707         (USE_AS_STRNCAT): Define.
71708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71709         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
71710         and i7.
71711         * sysdeps/x86_64/multiarch/init-arch.h
71712         (bit_Prefer_PMINUB_for_stringop): New.
71713         (index_Prefer_PMINUB_for_stringop): Likewise.
71714         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
71715         bit_Prefer_PMINUB_for_stringop.
71717 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71719         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
71720         buffer64.
71721         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
71722         of casting of buffer.
71723         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
71724         buffer32 and buffer64.
71725         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
71726         writes instead of casting of buffer.
71727         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
71728         buffer32.
71729         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
71730         casting of buffer.
71732 2011-07-19  Andreas Schwab  <schwab@redhat.com>
71734         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
71736 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71738         * nscd/nscd.c (termination_handler): Don't do anything for a database
71739         if it has not yet been initialized.
71741 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71743         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71745 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71747         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71749 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71751         * po/nl.po: Update from translation team.
71752         * po/sv.po: Likewise.
71754 2011-07-16  Roland McGrath  <roland@hack.frob.com>
71756         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
71757         now disallowed by GCC.
71759         * configure.in (use-default-link): Default to yes if a test -shared
71760         link meets our qualifications.
71761         * configure: Regenerated.
71763         * config.make.in (output-format): New variable.
71764         * configure.in: Check for ld --print-output-format support.
71765         * configure: Regenerated.
71766         * Makerules ($(common-objpfx)format.lds)
71767         [$(output-format) != unknown]: Just use $(output-format),
71768         instead of the linker-script munging.
71770 2011-07-14  Roland McGrath  <roland@hack.frob.com>
71772         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
71773         of $(common-objpfx)shlib.lds.
71774         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
71776         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
71777         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
71779         * configure.in (-z relro check): Adjust test code to add a large
71780         writable data section after it.
71781         * configure: Regenerated.
71783 2011-07-11  Roland McGrath  <roland@hack.frob.com>
71785         * configure.in (-z relro check): Fix test code to make the variable
71786         truly const.
71787         * configure: Regenerated.
71789 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
71791         * nscd/nscd.h (struct traced_file): Define.
71792         (struct database_dyn): Remove inotify_descr, reset_res, and filename
71793         elements.  Add traced_files.
71794         (inotify_fd): Declare.
71795         (register_traced_file): Declare.
71796         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
71797         (inotify_fd): Export.
71798         (resolv_conf_descr): Remove.
71799         (nscd_init): Move inotify descriptor creation to main.
71800         Don't register files for notification here.
71801         (register_traced_file): New function.
71802         (invalidate_cache): Don't use reset_res to determine whether to call
71803         res_init, go through the list of registered files.
71804         (main_loop_poll): The inotify descriptors are now stored in the
71805         structures for the traced files.
71806         (main_loop_epoll): Likewise.
71807         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
71808         to __nss_disable_nscd.
71809         * nscd/cache.c (prune_cache): There is no single inotify descriptor
71810         for a database anymore.  Check the records for all the registered
71811         files instead.
71812         * nss/Makefile (libnss_files-routines): Add files-init.
71813         (libnss_db-routines): Add db-init.
71814         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
71815         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
71816         * nss/nss_db/db-init.c: New file.
71817         * nss/nss_files/files-init.c: New file.
71818         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
71819         __nss_lookup_function.
71820         (__nss_lookup_function): Call nss_load_library.
71821         (nss_load_all_libraries): New function.
71822         (__nss_disable_nscd): Take parameter with callback function for files
71823         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
71824         used for the cached services.
71825         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
71826         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
71827         options for features to all the files in nscd.
71829         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
71831 2011-07-10  Roland McGrath  <roland@hack.frob.com>
71833         * csu/elf-init.c (__libc_csu_init): Comment typo.
71835 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
71837         * po/pl.po: Update from translation team.
71838         * po/ja.po: Likewise.
71839         * po/ru.po: Likewise.
71840         * po/ko.po: Likewise.
71841         * po/fr.po: Likewise.
71843 2011-07-09  Roland McGrath  <roland@hack.frob.com>
71845         * configure.in (.ctors/.dtors header and trailer check):
71846         Use an empirical test on a built program.
71847         * configure: Regenerated.
71849         * configure.in (-z relro check): Use an empirical test on a built DSO.
71850         Detect, but do not require, on ia64.
71851         * configure: Regenerated.
71853         * configure.in (READELF): Find it with AC_CHECK_TOOL.
71854         Update tests that use readelf to use $READELF instead.
71855         * configure: Regenerated.
71857 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
71859         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
71860         if the result is not used.
71862 2011-07-05  Andreas Jaeger  <aj@suse.de>
71864         [BZ#9696]
71865         * stdlib/tst-strtod.c: Add testcase.
71867 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
71869         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
71870         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
71871         The latter has a higher limit.  Take additional parameter to pass to
71872         the new function.
71873         (__pathconf): Pass file to __statfs_link_max.
71874         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
71875         __statfs_link_max.
71876         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
71877         __statfs_link_max.
71879         [BZ #12868]
71880         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
71881         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71882         Handle Lustre.
71883         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
71884         (__statfs_filesize_max): Likewise.
71885         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
71887 2011-07-05  Andreas Jaeger  <aj@suse.de>
71889         * resolv/res_comp.c (dn_skipname): Remove unused variable.
71891 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
71893         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
71894         `status' variable.
71895         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
71896         Likewise.
71898 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
71900         * Makefile (strop-tests): Add strncat.
71901         * string/test-strncat.c: New file.
71903 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
71905         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
71907 2011-06-21  Andreas Jaeger  <aj@suse.de>
71909         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
71910         Copy rule from iconvdata/Makefile.
71912 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71914         [BZ #12922]
71915         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
71916         but no long options are defined, just return 'W'.
71918 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
71920         [BZ #9696]
71921         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
71923 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71925         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
71926         netgroups to read.
71927         (innetgr): Likewise.
71929 2011-07-05  Roland McGrath  <roland@hack.frob.com>
71931         * config.make.in (install_root): Default to $(DESTDIR).
71933 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
71935         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
71937 2011-07-02  Roland McGrath  <roland@hack.frob.com>
71939         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
71941         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
71942         containing directory rather than embedding absolute directory names.
71944         * scripts/check-local-headers.sh: Rewritten using awk.
71945         Match by word, not by line.  Print error messages for matches.
71946         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
71948         * Makerules [shlib-lds-flags empty]:
71949         ($(common-objpfx)libc_pic.opts): New target.
71950         ($(common-objpfx)libc_pic.os.clean): New target.
71951         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
71953         * config.make.in (OBJCOPY): New variable.
71954         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
71955         * configure: Regenerated.
71957         * config.make.in (use-default-link): New variable.
71958         * configure.in (use_default_link): Grok --with-default-link to set it.
71959         * configure: Regenerated.
71960         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
71961         (shlib-lds, shlib-lds-flags): Define to empty.
71963         * Makerules (shlib-lds): New variable.
71964         (shlib-lds-flags): New variable.
71965         (build-shlib, build-moduile, build-module-asneeded): Use it.
71966         ($(common-objpfx)libc.so): Use $(shlib-lds).
71967         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
71968         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
71970         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
71971         DT_FLAGS/DT_FLAGS_1 with zero flags.
71973         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
71974         linker script munging.
71976 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
71978         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
71979         as 128-bit value.
71980         * crypt/sha512.c (sha512_process_block): Perform total addition using
71981         128-bit if possible.
71982         (__sha512_finish_ctx): Likewise.
71983         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
71984         as 64-bit value.
71985         * crypt/sha256.c (SWAP64): Define.
71986         (sha256_process_block): Perform total addition using 64-bit if
71987         possible.
71988         (__sha256_finish_ctx): Likewise.
71990 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
71992         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
71993         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71994         * nscd/hstcache.c (cache_addhst): Likewise.
71995         * nscd/grpcache.c (cache_addgr): Likewise.
71996         * nscd/aicache.c (addhstaiX): Likewise.
71997         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
71999 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
72001         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
72002         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72003         * nscd/hstcache.c (cache_addhst): Likewise.
72004         * nscd/grpcache.c (cache_addgr): Likewise.
72005         * nscd/aicache.c (addhstaiX): Likewise.
72007 2011-07-01  Andreas Schwab  <schwab@redhat.com>
72009         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
72010         domain only when needed.
72012 2011-06-30  Andreas Schwab  <schwab@redhat.com>
72014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
72015         is always restored.
72017 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
72019         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
72020         are re-adding the entry.
72021         * nscd/servicescache.c (cache_addserv): Likewise.
72023 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
72025         * sysdeps/generic/dl-irel.h: fix protection against multiple
72026         inclusions.
72027         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
72029 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
72031         [BZ #12935]
72032         * malloc/memusage.sh: Fix quoting in message.
72033         * debug/xtrace.sh: Likewise.
72035         * configure.in: Remove support for --experimental-malloc option, make
72036         it the default.
72037         * config.make.in: Likewise.
72038         * malloc/Makefile: Likewise.
72040 2011-06-27  Andreas Schwab  <schwab@redhat.com>
72042         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
72043         two-byte characters.
72045 2011-06-27  Roland McGrath  <roland@hack.frob.com>
72047         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
72048         AC_CACHE_CHECK invocation.
72049         * configure: Regenerated.
72051         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
72053 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
72055         [BZ #12350]
72056         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
72057         bit from old_res_options.
72059         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
72061         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
72062         value type for setfct.
72064 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
72066         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72067         __gettimeofday instead of gettimeofday.
72069 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
72071         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
72073 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
72075         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
72077         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
72078         info.
72080 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72083         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72084         strcpy-sse2-unaligned strncpy-sse2-unaligned
72085         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
72086         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
72087         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
72088         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
72089         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
72090         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
72091         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
72092         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
72093         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
72094         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
72095         (STRCPY): Support SSE2 and SSSE3 versions.
72097 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
72099         [BZ #12874]
72100         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
72101         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
72102         kernels which artificially limit size of requests.
72104 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72106         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72107         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72108         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
72109         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
72110         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
72111         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
72112         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
72113         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
72114         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
72115         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
72116         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
72117         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
72118         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
72119         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
72120         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
72121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72122         Enable unaligned load optimization for Intel Core i3, i5 and i7
72123         processors.
72124         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
72125         Define.
72126         (index_Fast_Unaligned_Load): Define.
72127         (HAS_FAST_UNALIGNED_LOAD): Define.
72129 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
72131         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
72133 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72135         [BZ #12907]
72136         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
72137         until it is clear that the information is realy needed.
72138         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
72140 2011-06-22  Andreas Schwab  <schwab@redhat.com>
72142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
72144 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72146         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72147         /sys/devices/system/cpu/online if it is usable.
72149         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
72150         reading the information from the /proc filesystem to once a second.
72152 2011-06-21  Andreas Jaeger  <aj@suse.de>
72154         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
72155         NULL after inclusion of kernel headers.
72157 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72159         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72160         calls to internal_setent.
72162         [BZ #12885]
72163         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72164         addresses using gethostbyname4_r ignore IPv4 addresses.
72166         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72167         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72169         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72171 2011-06-20  David S. Miller  <davem@davemloft.net>
72173         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72174         inclusions.
72175         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72177         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72178         (elf_irel): Use it.
72179         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72180         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72181         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72182         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72183         * sysdeps/x86_64/dl-irel.h: Likewise.
72185         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72186         * elf/dl-sym.c: Likewise.
72188 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72190         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72191         need to dereference resplen2.
72193 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72195         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72197 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72199         * Makeconfig: Define vardbdir and inst_vardbdir.
72200         * nss/Makefile: Add rules to install db-Makefile.
72202         * nss/nss_db/db-XXX.c: Cleanup.
72204         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72205         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72206         GLIBC_PRIVATE.
72207         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72208         * nss/makedb.c: Implement -g option to specify that value strings
72209         are generated and should not be added to table iterated over for
72210         get*ent calls.
72211         * nss/nss_db/db-initgroups.c: New file.
72213         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72214         interface.
72216         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72217         (internal_getgrouplist): Adjust to name change.
72218         Update use_initgroups_entry if this is not the first call.
72219         * nss/databases.def: Add initgroups entry.
72221         * nss/makedb.c (compute_tables): Check result of multiple hash table
72222         sizes to minimize maximum chain length.
72224 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72226         * Versions.def: Add entry for libnss_db.
72227         * shlib-versions: Likewise.
72228         * nss/Makefile: Add rules to build libnss_db.
72229         * nss/Versions: Add libnss_db information.  Organize libnss_files
72230         entries better.
72231         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72232         makedb progra.  Some minor improvements to generate smaller files.
72233         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72234         here from...
72235         * nss/makedb.c: ...here.
72236         Improve database format to be smaller and require less memory at
72237         runtime.
72238         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72239         db anymore.
72240         * nss/nss_db/db-netgrp.c: Likewise.
72241         * nss/nss_db/db-open.c: Likewise.
72242         * nss/nss_files/flies-XXX.x: Adjust comments.
72243         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72244         * nss/nss_files/files-grp.c: Likewise.
72245         * nss/nss_files/files-hosts.c: Likewise.
72246         * nss/nss_files/files-network.c: Likewise.
72247         * nss/nss_files/files-proto.c: Likewise.
72248         * nss/nss_files/files-pwd.c: Likewise.
72249         * nss/nss_files/files-rpc.c: Likewise.
72250         * nss/nss_files/files-service.c: Likewise.
72251         * nss/nss_files/files-sgrp.c: Likewise.
72252         * nss/nss_files/files-spwd.c: Likewise.
72253         * nss/nss_db/db-alias.c: Removed.
72254         * nss/nss_db/dummy-db.h: Removed.
72256 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72258         * nss/makedb.c: Rewritten to not use database library.
72259         * nss/Makefile: Update to build new makedb program.
72261 2011-06-14  Andreas Jaeger  <aj@suse.de>
72263         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72264         memset declaration.
72266 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72269         tmpbuf.
72271 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72273         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72274         * elf/Makefile ($(objpfx)ld.so): Likewise.
72276         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72277         Don't list ld.so twice in dependencies.
72279         * posix/bug-regex31.c: Include <stdlib.h>.
72281         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72283         * nis/nss_compat/compat-spwd.c
72284         (getspent_next_nss_netgr): Remove unused variable.
72285         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72287         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72288         nonmembers" output to use the right array.
72290         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72292         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72294         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72295         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72296         * catgets/gencat.c (read_input_file): Likewise.
72297         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72299         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72300         variable definition inside #if's controlling its use.
72302         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72304         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72306         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72308         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72309         unreachable code.
72311         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72313         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72314         * configure: Regenerated.
72316         * Makerules: Revert last change.
72317         * elf/Makefile: Likewise.
72319 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72321         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72322         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72323         (reloc-link): Likewise.
72325 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72327         * elf/Makefile: Add rules to build pldd.
72328         * elf/pldd.c: New file.
72329         * elf/pldd-xx.c: New file.
72331 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72333         * version.h: Update for 2.15 development version.
72335 2011-06-07  David S. Miller  <davem@davemloft.net>
72337         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72338         ifuncs.
72339         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72340         elf_machine_lazy_rel): Likewise.
72341         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72342         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72343         elf_machine_lazy_rel): Likewise.
72344         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72345         dl_hwcap via passed in argument.
72346         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72347         Likewise.
72349 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72351         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72353 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72355         [BZ #12849]
72356         * manual/fdl-1.1.texi: New file, verbatim from:
72357         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72358         * manual/lgpl-2.1.texi: New file, verbatim from:
72359         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72360         * manual/Makefile (licenses): New variable, list those new file names.
72361         (texis): Use it.
72362         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72364         * manual/fdl.texi: File removed.
72365         * manual/lesser.texi: File removed.
72366         * manual/libc.texinfo (Copying, Documentation License):
72367         Use new @include file names, put @appendix directive before @include.
72369 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72371         [BZ #12841]
72372         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72373         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72374         (mq_open): Add __NTH.
72376 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72379         Assume Intel Core i3/i5/i7 processor if AVX is available.
72381 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72383         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72384         typo.
72386 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72388         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72389         memory.  Use alloca_account.  Fix memory leak when retrying.
72391 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72393         * version.h (RELEASE): Bump for 2.14 release.
72394         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72396         * config.make.in (RANLIB): Remove entry.
72398 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72400         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72401         (libc.pot): Work around missing support for .ksh extension in xgettext.
72403         [BZ #12684]
72404         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72405         if both request failed.
72406         (send_dg): In case of server errors clear resplen or *resplen2.
72408         [BZ #12454]
72409         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72410         when there are multiple maps.
72411         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72412         (_dl_fini): Remove test here.
72414         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72416 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72418         [BZ #12350]
72419         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72420         bit from old_res_options.
72421         (gaih_inet): Likewise.
72423         [BZ #11099]
72424         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72425         as signed.
72427         * resolv/res_init.c (res_setoptions): Make the code more compact.
72429         [BZ #11558]
72430         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72431         set RES_USEVC.
72433         [BZ #11634]
72434         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72436         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72438         [BZ #11781]
72439         * malloc/malloc.h: Declare malloc hook variables as volatile.
72441         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72442         in last patch.
72444         [BZ #11799]
72445         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72446         raise in the comment.
72447         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72448         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72449         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72451 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72453         [BZ #12811]
72454         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72455         grow the buffers more if it already has to be sufficient.
72456         (build_wcs_upper_buffer): Likewise.
72457         * posix/regexec.c (check_matching): Likewise.
72458         (clean_state_log_if_needed): Likewise.
72459         (extend_buffers): Don't enlarge buffers beyond size of the input
72460         buffer.
72461         Patches mostly by Emil Wojak <emil@wojak.eu>.
72462         * posix/bug-regex32.c: New file.
72463         * posix/Makefile (tests): Add bug-regex32.
72465         * locale/findlocale.c (_nl_find_locale): Return right away if
72466         _nl_explode_name failed.
72467         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72469         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72471         * debug/xtrace.sh: Unify messages.
72472         * malloc/memusage.sh: Likewise.
72474         [BZ #12813]
72475         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72476         time symbol from vDSO.  Substitute with vsyscall if not available.
72477         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72478         __vdso_time.
72480         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72481         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72482         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72483         Add sendmmsg and internal_sendmmsg.
72484         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72485         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72486         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72488         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72489         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72490         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72492 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72494         [BZ #12813]
72495         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72496         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72497         available.
72498         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72499         __vdso_getcpu.
72501         [BZ #12814]
72502         * iconvdata/Makefile (tests): Add bug-iconv9.
72503         * iconvdata/bug-iconv9.c: New file.
72505 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72507         [BZ #12814]
72508         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72510 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72512         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72513         (struct user_regs_struct): Change intcs field back to cs.
72515 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72517         * po/ja.po: Update from translation team.
72519 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72521         [BZ #12795]
72522         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72523         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72525 2011-05-20  Andreas Schwab  <schwab@redhat.com>
72527         * stdlib/longlong.h: Update from GCC.
72529 2011-05-23  Andreas Schwab  <schwab@redhat.com>
72531         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
72532         parameter name.
72533         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
72534         Add parameter name.
72535         (__sysconf): Pass it down.
72537 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
72539         [BZ #12671]
72540         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
72541         some situations.
72542         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72543         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72544         add in in __libc_use_alloca calls.  Adjust callers.
72545         (glob): Use malloc in some situations.
72547         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72548         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72549         pltexit.
72551 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72553         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72554         and CLOCK_BOOTTIME_ALARM.
72556         [BZ #12782]
72557         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72558         is returned.
72560         * string/_strerror.c (__strerror_r): Print negative errors as signed
72561         numbers.
72563         [BZ #12777]
72564         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
72565         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
72566         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
72568         * configure.in: Fix typo in redirection and correct removal of test
72569         files in two cases.
72571         [BZ #12788]
72572         * locale/setlocale.c (new_composite_name): Fix test to check for
72573         identical name of all categories.
72575         [BZ #12792]
72576         * libio/filedoalloc.c (local_isatty): New function.
72577         (_IO_file_doallocate): Use local_isatty.
72578         * stdio-common/perror.c (perror): In case a new stream is used
72579         forward the stream error.
72580         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
72581         error flag.
72583 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
72585         [BZ #11884]
72586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
72587         alloca.
72588         * include/alloca.h (extend_alloca_account): Define.
72590         [BZ #11857]
72591         * posix/regex.h: Fix comments with documentation of user-accessible
72592         fields after compilation and describe correct free'ing of pattern
72593         after re_compile_pattern.
72594         Patch by Reuben Thomas <rrt@sc3d.org>.
72596 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
72598         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
72599         and -mno-altivec to prevent the compiler from using Altivec and/or
72600         VSX instructions when the corresponding registers are not available.
72602 2011-05-19  Andreas Schwab  <schwab@redhat.com>
72604         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
72606 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
72608         * libio/freopen.c (freopen): Use __dup2, not dup2.
72609         * libio/freopen64.c (freopen64): Likewise.
72611 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72613         [BZ #12775]
72614         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
72615         * math/Makefile (tests): Add test-powl.
72616         (CFLAGS-test-powl.c): Define.
72617         * math/test-powl.c: New file.
72619 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72621         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
72623 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
72625         [BZ #11837]
72626         * iconvdata/gb18030.c: Update to GB18020-2005.
72628 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
72630         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
72631         RE_SYNTAX_POSIX_AWK): Update to match recent development.
72632         Patch by Aharon Robbins <arnold@skeeve.com>.
72634         [BZ #11892]
72635         * stdlib/putenv.c (putenv): Don't always create copy of the variable
72636         on the stack.
72638         [BZ #11895]
72639         * misc/pselect.c (__pselect): Handle timeout value errors hidden
72640         through underflows.
72642         [BZ #12766]
72643         * misc/error.c (error_at_line): Ensure file_name and old_file_name
72644         point to strings before performing equality test for error_one_per_line
72645         mode.
72647         [BZ #11697]
72648         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
72650         [BZ #11820]
72651         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72652         (struct user_fpregs_struct): Avoid __uint*_t types.
72654         [BZ #6420]
72655         * malloc/mtrace.c (tr_where): Add additional parameter to point to
72656         symbol info.  Use it instead of calling _dl_addr locally.
72657         (lock_and_info): New function.
72658         (tr_freehook): Call lock_and_info and pass symbol info as additional
72659         parameter to tr_where.
72660         (tr_mallochook): Likewise.
72661         (tr_reallochook): Likewise.
72662         (tr_memalignhook): Likewise.
72664         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
72665         used and couldn't be at all thread-safe.
72667 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
72669         * libio/freopen.c (freopen): Don't close old file descriptor
72670         before the new one is opened.  Instead dup the new file descriptor
72671         to the old one after the new stream is created.
72672         * libio/freopen64.c (freopen64): Likewise.
72673         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
72674         * libio/fileops.c (_IO_new_file_close_it): Handle new
72675         _IO_FLAGS2_NOCLOSE flag.
72676         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
72677         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
72678         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
72679         _IO_FLAGS2_NOCLOSE flag.
72680         * include/unistd.h: Add hidden_proto for dup3.
72681         Define __have_dup3.
72682         * io/dup3.c: Define hidden symbol.
72683         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
72685         [BZ #7101]
72686         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
72687         when an incomplete long option is used.
72688         * posix/tst-getopt_long1.c: New file.
72689         * posix/Makefile (tests): Add tst-getopt_long1.
72691         [BZ #10138]
72692         * scripts/config.guess: Update from autoconf-2.68.
72693         * scripts/config.sub: Likewise.
72695         [BZ #10157]
72696         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
72697         tests into ...
72698         (has_cpuclock): ...this.  New function.
72699         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
72700         macro here based on has_cpuclock code.
72702         [BZ #10149]
72703         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72704         First byte (not low byte) is now always NUL.
72705         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
72707         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72708         Use non-cancelable interfaces.
72710         [BZ #9809]
72711         * locale/iso-639.def: Add entry for Sorani.
72713         [BZ #11901]
72714         * include/stdlib.h: Move include protection to the right place.
72715         Define abort_msg_s.  Declare __abort_msg with it.
72716         * stdlib/abort.c (__abort_msg): Adjust type.
72717         * assert/assert.c (__assert_fail_base): New function.  Majority
72718         of code from __assert_fail.  Allocate memory for __abort_msg with
72719         mmap.
72720         (__assert_fail): Now call __assert_fail_base.
72721         * assert/assert-perr.c: Remove bulk of implementation.  Use
72722         __assert_fail_base.
72723         * include/assert.hL Declare __assert_fail_base.
72724         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
72725         mmap.
72726         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
72728 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
72730         [BZ #11952]
72731         [BZ #12453]
72732         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
72733         until all modules are registered in the DTV.
72734         * elf/Makefile: Add rules to build and run tst-tls19.
72735         * elf/tst-tls19.c: New file.
72736         * elf/tst-tls19mod1.c: New file.
72737         * elf/tst-tls19mod2.c: New file.
72738         * elf/tst-tls19mod3.c: New file.
72739         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
72741         [BZ #12083]
72742         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
72743         correctly.
72745         [BZ #12601]
72746         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
72747         two-byte sequence errors.
72748         * iconvdata/Makefile (tests): Add bug-iconv8.
72749         * iconvdata/bug-iconv8.c: New file.
72751         [BZ #12626]
72752         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
72753         buf2 definition.
72755         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
72757         [BZ #12432]
72758         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
72759         (dummy_getcfa): New function.
72760         (init): Get _Unwind_GetCFA address, use dummy if not found.
72761         (backtrace_helper): In recursion check, also check whether CFA changes.
72762         (__backtrace): Completely initialize arg.
72764         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
72765         storing incomplete byte sequence in state object.  Avoid testing for
72766         guaranteed too small input if we know there is enough data available.
72768 2011-05-11  Andreas Schwab  <schwab@redhat.com>
72770         * Makeconfig (+link-pie): Indent.
72771         * Rules (binaries-pie): Define if $(have-fpie) and
72772         $(build-shared).
72773         (binaries-shared): Also filter out $(binaries-pie).
72774         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
72775         * nscd/Makefile (others-pie): Add nscd.
72776         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
72777         ($(objpfx)nscd): Remove command override.
72778         * login/Makefile (others-pie): Add pt_chown.
72779         ($(objpfx)pt_chown): Remove command override.
72780         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
72781         remove command overrides.
72783 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
72785         * libio/tst_putwc.c: Fix error messages.
72787         [BZ #12724]
72788         * libio/fileops.c (_IO_new_file_close_it): Always flush when
72789         currently writing and seek to current position when not.
72790         * libio/Makefile (tests): Add bug-fclose1.
72791         * libio/bug-fclose1.c: New file.
72793 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
72795         [BZ #12511]
72796         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
72797         don't set DF_1_NODELETE here.
72798         (do_lookup_x): When entering new entry test for copy relocation
72799         and if necessary set DF_1_NODELETE flag.
72800         * elf/tst-unique4.cc: New file.
72801         * elf/tst-unique4.h: New file.
72802         * elf/tst-unique4lib.cc: New file.
72803         * elf/Makefile: Add rules to build and run tst-unique4.
72804         Patch by Piotr Bury <pbury@goahead.com>.
72806 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
72808         [BZ #12052]
72809         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
72811         [BZ #12625]
72812         * misc/mntent_r.c (addmntent): Flush the stream after the output
72814         [BZ #12393]
72815         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
72816         (is_trusted_path_normalize): Skip initial colon.  Append slash
72817         to empty buffer.  Duplicate is_trusted_path code but allow
72818         constructed patch to be prefix.
72819         (is_dst): Allow $ORIGIN followed by /.
72820         (_dl_dst_substitute): Correct clearing of check_for_trusted.
72821         Correct testing of result of is_trusted_path_normalize
72822         (decompose_rpath): Fix warning.
72824 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
72826         [BZ #11257]
72827         * grp/initgroups.c (internal_getgrouplist): When we found the service
72828         list through the initgroups entry in nsswitch.conf do not always
72829         continue on a successful lookup.  Don't always use the
72830         __nss_group_database value if it is set.
72831         * nss/nsswitch.conf (initgroups): Change action for successful db
72832         lookup to continue for compatibility.
72834 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
72836         [BZ #11532]
72837         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
72838         and CP774 modules.
72839         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
72840         and CP774 modules.
72841         * iconvdata/tst-tables.sh: Likewise.
72842         * iconvdata/cp770.c: New file.
72843         * iconvdata/cp771.c: New file.
72844         * iconvdata/cp772.c: New file.
72845         * iconvdata/cp773.c: New file.
72846         * iconvdata/cp774.c: New file.
72847         * iconvdata/testdata/CP770: New file.
72848         * iconvdata/testdata/CP770..UTF8: New file.
72849         * iconvdata/testdata/CP771: New file.
72850         * iconvdata/testdata/CP771..UTF8: New file.
72851         * iconvdata/testdata/CP772: New file.
72852         * iconvdata/testdata/CP772..UTF8: New file.
72853         * iconvdata/testdata/CP773: New file.
72854         * iconvdata/testdata/CP773..UTF8: New file.
72855         * iconvdata/testdata/CP774: New file.
72856         * iconvdata/testdata/CP774..UTF8: New file.
72858         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
72859         END CHARMAP line.
72860         * iconvdata/gen-8bit-gap.sh: Likewise.
72861         * iconvdata/gen-8bit.sh: Likewise.
72863         * locale/iso-639.def: Add ary entry.
72865         [BZ #11258]
72866         * locale/C-translit.h.in: Add U20A1 transliteration.
72868         [BZ #12178]
72869         * locale/iso-639.def: Add wae entry.
72870         Patch by Kevin Bortis <bortis@translate-wae.ch>.
72872         [BZ #12545]
72873         * locale/programs/localedef.c (construct_output_path): Use ssize_t
72874         for n.
72876         [BZ #12711]
72877         * locale/C-translit.h.in: Add entry for U20B9.
72878         Patch by pravin.d.s@gmail.com.
72880 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
72882         [BZ #12713]
72883         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
72884         ENAMETOOLONG use generic getcwd.
72885         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
72886         in rtld.  Use *stat64.
72887         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
72888         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
72889         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
72890         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
72891         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
72892         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
72893         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
72894         __fstatat64 macros.
72895         * include/dirent.h: Add libc_hidden_proto for rewinddir.
72896         * dirent/rewinddir.c: Add libc_hidden_def.
72897         * sysdeps/mach/hurd/rewinddir.c: Likewise.
72898         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
72900         * include/dirent.h (__alloc_dir): Add flags parameter.
72901         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
72902         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
72903         __alloc_dir.
72904         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
72905         from fdopendir if O_CLOEXEC is already set.
72907 2011-03-15  Alan Modra  <amodra@gmail.com>
72909         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
72910         l_tls_firstbyte_offset non-zero.  Save padding offset in
72911         l_tls_firstbyte_offset for later use.
72912         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
72913         freeing static tls block.
72915 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
72917         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
72918         where #ifdef was intended.  The intent is to prevent ARG_MAX from
72919         being defined by the kernel headers.
72921 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
72923         [BZ #12734]
72924         * resolv/resolv.h: Define RES_NOTLDQUERY.
72925         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
72926         no-tld-query and set RES_NOTLDQUERY.
72927         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
72928         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
72929         modern BIND to search name as TLD unless forbidden.
72931 2011-05-07  Petr Baudis  <pasky@suse.cz>
72932             Ulrich Drepper  <drepper@gmail.com>
72934         [BZ #12393]
72935         * elf/dl-load.c (fillin_rpath): Move trusted path check...
72936         (is_trusted_path): ...to here.
72937         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
72938         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
72939         using is_trusted_path_normalize() in setuid scripts.
72941 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72943         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
72944         __BEGIN/__END_DECLS.
72946 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
72948         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
72949         NSS_STATUS_NOTFOUND if no record was found.
72951 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72953         * sunrpc/Makefile (headers): Add rpc/netdb.h.
72954         (headers-not-in-tirpc): Remove rpc/netdb.h
72955         * resolv/netdb.h: Revert last change.
72957 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72959         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
72960         circular dependency between libgcc.a and libc.a.
72962 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72964         * resolv/netdb.h: Don't include <rpc/netdb.h>.
72965         * nis/Makefile: Don't install rpcsvc/*.
72966         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
72967         instead of <rpc/types.h>.
72968         (MAXHOSTNAMELEN): Define.
72970 2011-05-03  Andreas Schwab  <schwab@redhat.com>
72972         * elf/ldconfig.c (add_dir): Don't crash on empty path.
72974 2011-04-28  Maciej Babinski  <mbabinski@google.com>
72976         [BZ #12714]
72977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
72978         gethostbyname4_r when IPv6 results are possible.
72980 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
72982         [BZ #12723]
72983         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
72984         _PC_PIPE_BUF handling.
72986 2011-04-30  Bruno Haible  <bruno@clisp.org>
72988         [BZ #12717]
72989         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
72990         * resolv/netdb.h (getnameinfo): Change type of flags parameter
72991         to 'int'.
72992         * inet/getnameinfo.c (getnameinfo): Likewise.
72994 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
72996         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
72997         to groups setting in database lookup.
72998         * nss/nsswitch.conf: Add initgroups entry.
73000 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
73002         [BZ #12685]
73003         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
73004         mode string.
73005         Patch by Eric Blake <eblake@redhat.com>.
73007 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
73009         * sunrpc/Makefile (need-export-routines): Add svc_run.
73010         (routines): Remove svc_run.
73011         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
73012         * sunrpc/clnt_perr.c (clnt_perrno): Export.
73013         * sunrpc/svc_run.c (svc_run): Likewise.
73014         * sunrpc/svc_udp.c (svcudp_create): Likewise.
73016 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
73018         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
73019         problem in reallocation in last patch.
73021 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
73023         * sunrpc/Makefile: Move inclusion of Rules.
73025 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73027         * nss/nss_files/files-initgroups.c: New file.
73028         * nss/Makefile (libnss_files-routines): Add files-initgroups.
73029         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
73030         _nss_files_initgroups_dyn.
73032 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
73034         * elf/elf.h (R_ARM_IRELATIVE): Define.
73036 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73038         * po/ru.po: Update from translation team.
73040 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73042         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
73043         dependencies.
73045 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
73047         [BZ #12653]
73048         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
73049         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
73050         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73051         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73052         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73054 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
73056         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
73057         differing bytes.
73058         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
73059         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
73060         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73062 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73064         [BZ #12420]
73065         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
73066         storing it.
73067         * stdlib/bug-getcontext.c: New file.
73068         * stdlib/Makefile: Add rules to build and run bug-getcontext.
73070 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73072         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
73073         instructions into .machine "z9-109".
73074         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
73075         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
73077 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73079         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
73080         between environment variables and auxiliary vector.
73082 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
73084         * Makefile: Add rules to build linkobj/libc.so.
73085         * include/libc-symbols.h: Define libc_hidden_nolink.
73086         * include/rpc/auth.h: Mark functions which are to be hidden.
73087         * include/rpc/auth_des.h: Likewise.
73088         * include/rpc/auth_unix.h: Likewise.
73089         * include/rpc/clnt.h: Likewise.
73090         * include/rpc/des_crypt.h: Likewise.
73091         * include/rpc/key_prot.h: Likewise.
73092         * include/rpc/pmap_clnt.h: Likewise.
73093         * include/rpc/pmap_prot.h: Likewise.
73094         * include/rpc/pmap_rmt.h: Likewise.
73095         * include/rpc/rpc_msg.h: Likewise.
73096         * include/rpc/svc.h: Likewise.
73097         * include/rpc/svc_auth.h: Likewise.
73098         * include/rpc/xdr.h: Likewise.
73099         * nis/Makefile: Link all DSOs against linkobj/libc.so.
73100         * nss/Makefile: Likewise.
73101         * sunrpc/Makefile: Don't install headers.  Build library with normal
73102         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
73103         * sunrpc/auth_des.c: Hide exported symbols by default, export some
73104         for the compat linking library.  Remove use of INTDEF/INTUSE.
73105         * sunrpc/auth_none.c: Likewise.
73106         * sunrpc/auth_unix.c: Likewise.
73107         * sunrpc/authdes_prot.c: Likewise.
73108         * sunrpc/authuxprot.c: Likewise.
73109         * sunrpc/clnt_gen.c: Likewise.
73110         * sunrpc/clnt_perr.c: Likewise.
73111         * sunrpc/clnt_raw.c: Likewise.
73112         * sunrpc/clnt_simp.c: Likewise.
73113         * sunrpc/clnt_tcp.c: Likewise.
73114         * sunrpc/clnt_udp.c: Likewise.
73115         * sunrpc/clnt_unix.c: Likewise.
73116         * sunrpc/des_crypt.c: Likewise.
73117         * sunrpc/des_soft.c: Likewise.
73118         * sunrpc/get_myaddr.c: Likewise.
73119         * sunrpc/key_call.c: Likewise.
73120         * sunrpc/key_prot.c: Likewise.
73121         * sunrpc/netname.c: Likewise.
73122         * sunrpc/pm_getmaps.c: Likewise.
73123         * sunrpc/pm_getport.c: Likewise.
73124         * sunrpc/pmap_clnt.c: Likewise.
73125         * sunrpc/pmap_prot.c: Likewise.
73126         * sunrpc/pmap_prot2.c: Likewise.
73127         * sunrpc/pmap_rmt.c: Likewise.
73128         * sunrpc/publickey.c: Likewise.
73129         * sunrpc/rpc_cmsg.c: Likewise.
73130         * sunrpc/rpc_common.c: Likewise.
73131         * sunrpc/rpc_dtable.c: Likewise.
73132         * sunrpc/rpc_prot.c: Likewise.
73133         * sunrpc/rpc_thread.c: Likewise.
73134         * sunrpc/rtime.c: Likewise.
73135         * sunrpc/svc.c: Likewise.
73136         * sunrpc/svc_auth.c: Likewise.
73137         * sunrpc/svc_authux.c: Likewise.
73138         * sunrpc/svc_raw.c: Likewise.
73139         * sunrpc/svc_run.c: Likewise.
73140         * sunrpc/svc_simple.c: Likewise.
73141         * sunrpc/svc_tcp.c: Likewise.
73142         * sunrpc/svc_udp.c: Likewise.
73143         * sunrpc/svc_unix.c: Likewise.
73144         * sunrpc/svcauth_des.c: Likewise.
73145         * sunrpc/xcrypt.c: Likewise.
73146         * sunrpc/xdr.c: Likewise.
73147         * sunrpc/xdr_array.c: Likewise.
73148         * sunrpc/xdr_float.c: Likewise.
73149         * sunrpc/xdr_intXX_t.c: Likewise.
73150         * sunrpc/xdr_mem.c: Likewise.
73151         * sunrpc/xdr_rec.c: Likewise.
73152         * sunrpc/xdr_ref.c: Likewise.
73153         * sunrpc/xdr_sizeof.c: Likewise.
73154         * sunrpc/xdr_stdio.c: Likewise.
73156 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
73158         [BZ #12650]
73159         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73160         * sysdeps/ia64/dl-tls.h: Likewise.
73161         * sysdeps/powerpc/dl-tls.h: Likewise.
73162         * sysdeps/s390/dl-tls.h: Likewise.
73163         * sysdeps/sh/dl-tls.h: Likewise.
73164         * sysdeps/sparc/dl-tls.h: Likewise.
73165         * sysdeps/x86_64/dl-tls.h: Likewise.
73166         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73168 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73170         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73171         rpath element also skip the following colon.
73172         (expand_dynamic_string_token): Add is_path parameter and pass
73173         down to DL_DST_REQUIRED and _dl_dst_substitute.
73174         (decompose_rpath): Call expand_dynamic_string_token with
73175         non-zero is_path.  Ignore empty rpaths.
73176         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73177         with zero is_path.
73179 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73182         Make cancelable.
73184 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73186         [BZ #12655]
73187         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73188         Patch by Filipe David Manana <fdmanana@apache.org>.
73190 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73192         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73193         Maintain aligned stack.
73194         (CHECK_RSP): Remove unused macro.
73196 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73198         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73199         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73201 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73203         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73205         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73207 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73209         [BZ #12518]
73210         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73211         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73212         * sysdeps/x86_64/memmove.c: New file.
73213         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73214         (memcpy): Renamed to ...
73215         (__new_memcpy): This.
73216         (memcpy): Provide GLIBC_2_14 memcpy.
73217         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73218         (memcpy): Provide GLIBC_2_2_5 memcpy.
73220 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73222         [BZ #12631]
73223         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73225 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73227         * misc/syncfs.c: New file.
73228         * misc/Makefile (routines): Add syncfs.
73229         * posix/unistd.h: Declare syncfs.
73230         * sysdeps/unix/syscalls.list: Add syncfs.
73232 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73234         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73235         open_by_handle_at.
73236         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73237         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73238         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73239         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73241         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73242         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73244 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73246         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73247         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73248         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73249         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73250         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73251         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73252         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73254         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73255         sync_file_range.c with -fexceptions.
73256         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73257         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73258         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73259         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73260         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73261         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73262         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73263         sync_file_range as cancellation point
73264         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73265         now a wrapper around __call_sync_file_range with cancellation handling.
73266         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73267         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73268         function name to __call_sync_file_range.
73269         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73270         Add call_sync_file_range.
73272 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73274         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73275         bits/timex.h.
73277 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73279         * iconv/iconv.h: Fix typo in comment.
73280         * io/fcntl.h: Likewise.
73281         * libio/stdio.h: Likewise.
73282         * posix/spawn.h: Likewise.
73283         * posix/unistd.h: Likewise.
73284         * stdlib/stdlib.h: Likewise.
73285         * time/time.h: Likewise.
73286         * wcsmbs/wchar.h: Likewise.
73288         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73289         open_by_handle): Add.
73290         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73291         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73292         Augment a few comments.
73293         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73294         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73295         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73296         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73297         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73298         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73299         open_by_handle.
73301         * io/fcntl.h (AT_EMPTY_PATH): Define.
73303 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73305         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73306         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73307         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73308         to...
73309         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73310         * Versions.def: Add GLIBC_2.14.
73311         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73312         Export.
73314 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73316         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73317         round counter.
73318         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73320 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73322         [BZ #12597]
73323         * string/test-strncmp.c (do_page_test): New function.
73324         (check2): Likewise.
73325         (test_main): Call check2.
73326         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73328 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73330         [BZ #12587]
73331         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73332         Handle cache information in CPU leaf 4.
73333         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73335 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73337         [BZ #12583]
73338         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73339         character representation.
73340         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73342 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73344         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73345         END(__isnan) to END(__isnanf) to match function entry point/label
73346         EALIGN(__isnanf,...).
73348 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73350         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73352 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73354         [BZ #12510]
73355         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73356         copy from the symbol referenced in the relocation to initialize the
73357         used variable.
73358         Patch by Piotr Bury <pbury@goahead.com>.
73359         * elf/Makefile: Add rules to build and tst-unique3.
73360         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73361         * elf/tst-unique3.cc: New file.
73362         * elf/tst-unique3.h: New file.
73363         * elf/tst-unique3lib.cc: New file.
73364         * elf/tst-unique3lib2.cc: New file.
73366         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73368 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73370         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73371         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73372         to _start.
73374 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73376         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73377         to-be-loaded object along a path to loader is ld.so.
73379 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73380             Ulrich Drepper  <drepper@gmail.com>
73382         * sysdeps/x86_64/memset.S: After aligning destination, code
73383         branches to different locations depending on the value of
73384         misalignment, when multiarch is enabled. Fix this.
73386 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73388         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73389         Set _x86_64_preferred_memory_instruction for AMD processsors.
73390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73391         Set bit_Prefer_SSE_for_memop for AMD processors.
73393 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73395         * libio/fmemopen.c (fmemopen): Optimize a bit.
73397 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73399         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73401 2011-03-03  Roland McGrath  <roland@redhat.com>
73403         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73405 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73407         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73408         __bzero_ultra1 instead of __memset_ultra1.
73410 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73411             Ulrich Drepper  <drepper@gmail.com>
73413         [BZ #12509]
73414         * include/link.h (struct link_map): Add l_orig_initfini.
73415         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73416         returning unsuccessfully.
73417         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73418         close of a file loaded at startup, restore the original l_initfini
73419         list.
73420         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73421         list, store the pointer.
73422         * elf/Makefile ($(objpfx)noload-mem): New rule.
73423         (noload-ENV): Define.
73424         (tests): Add $(objpfx)noload-mem.
73425         * elf/noload.c: Include <memcheck.h>.
73426         (main): Call mtrace.  Close all opened handles.
73428 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73430         [BZ #12454]
73431         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73432         dependencies are missing.
73434 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73436         Fix __if_freereq crash: Unlike the generic version which uses free,
73437         Hurd needs munmap.
73438         * sysdeps/mach/hurd/ifreq.h: New file.
73440 2011-01-27  Petr Baudis  <pasky@suse.cz>
73441             Ulrich Drepper  <drepper@gmail.com>
73443         [BZ 12445]#
73444         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73445         to extend_alloca().
73446         * stdio-common/bug23.c: New file.
73447         * stdio-common/Makefile (tests): Add bug23.
73449 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73450             Ulrich Drepper  <drepper@gmail.com>
73452         [BZ #12489]
73453         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73454         before performing relro protection.  At old place add assertion
73455         to make sure nothing changed.
73457 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73458             Glauber de Oliveira Costa  <glommer@gmail.com>
73460         * elf/elf.h: Add new ARM TLS relocs.
73462 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73465         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73466         cast from r3.
73467         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73468         'tests' variable.
73469         * sysdeps/wordsize-64/tst-writev.c: New file.
73471 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73473         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73474         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73475         insns in _dl_start to prevent a TOC reference before relocs are
73476         resolved.
73478 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73480         [BZ #12469]
73481         * Makeconfig: Remove RANLIB definition.
73482         * Makerules: Don't use RANLIB.
73483         * aclocal.m4: Remove ranlib test.
73484         * configure.in: No need to check for ranlib.
73485         * elf/rtld-Rules: Don't use RANLIB.
73487 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73489         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73490         protection macro.
73491         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73492         inclusion protection macro.
73494         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73495         SIGRTMIN and SIGRTMAX and print information in that case only when
73496         SIGRTMIN is defined.
73498 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73500         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73501         arginfo fn returning -1.
73503         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73504         and thousands string is zero terminated.
73506 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73508         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73509         sysdeps/unix/sysv/linux/bits/socket.h.
73511 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73513         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73514         (__CPU_COUNT): Remove old macros.
73515         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73516         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73517         (__CPU_ALLOC, __CPU_FREE): Add macros.
73518         (__sched_cpualloc, __sched_cpufree): Add declarations.
73520 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73522         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73523         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73524         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73525         (readdhstai): Return value of addhstaiX call.
73526         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
73527         (addgrbyX): Return value returned by cache_addgr.
73528         (readdgrbyname): Return value returned by addgrbyX.
73529         (readdgrbygid): Likewise.
73530         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
73531         (addpwbyX): Return value returned by cache_addpw.
73532         (readdpwbyname): Return value returned by addhstbyX.
73533         (readdpwbyuid): Likewise.
73534         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
73535         (addservbyX): Return value returned by cache_addserv.
73536         (readdservbyname): Return value returned by addservbyX:
73537         (readdservbyport): Likewise.
73538         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
73539         (addhstbyX): Return value returned by cache_addhst.
73540         (readdhstbyname): Return value returned by addhstbyX.
73541         (readdhstbyaddr): Likewise.
73542         (readdhstbynamev6): Likewise.
73543         (readdhstbyaddrv6): Likewise.
73544         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73545         (readdinitgroups): Return value returned by addinitgroupsX.
73546         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73547         (prune_cache): Keep track of timeout value of re-added entries.
73548         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73549         * nscd/nscd.h: Adjust prototypes of readd* functions.
73551 2011-02-04  Roland McGrath  <roland@redhat.com>
73553         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73554         (nis_stats): Likewise.
73555         * nis/nis_modify.c (nis_modify): Likewise.
73556         * nis/nis_remove.c (nis_remove): Likewise.
73557         * nis/nis_add.c (nis_add): Likewise.
73559         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73561         * posix/fnmatch_loop.c: Add some consts.
73563         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
73565 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
73567         [BZ #12460]
73568         * config.make.in (config-cflags-novzeroupper): Define.
73569         * configure.in: Substitute libc_cv_cc_novzeroupper.
73570         * elf/Makefile (AVX-CFLAGS): Define.
73571         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
73572         (CFLAGS-tst-auditmod4a.c): Likewise.
73573         (CFLAGS-tst-auditmod4b.c): Likewise.
73574         (CFLAGS-tst-auditmod6b.c): Likewise.
73575         (CFLAGS-tst-auditmod6c.c): Likewise.
73576         (CFLAGS-tst-auditmod7b.c): Likewise.
73577         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
73579 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
73581         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
73582         function to the callback.
73583         Patch partly by Jiri Olsa <jolsa@redhat.com>.
73585 2011-02-02  Andreas Schwab  <schwab@redhat.com>
73587         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
73588         of errno.
73590 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
73592         [BZ #11724]
73593         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
73594         of constructors.
73595         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
73596         of destructors.
73597         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
73599         [BZ #11724]
73600         * elf/Makefile: Add rules to build and run new test.
73601         * elf/tst-initorder.c: New file.
73602         * elf/tst-initorder.exp: New file.
73603         * elf/tst-initordera1.c: New file.
73604         * elf/tst-initordera2.c: New file.
73605         * elf/tst-initordera3.c: New file.
73606         * elf/tst-initordera4.c: New file.
73607         * elf/tst-initorderb1.c: New file.
73608         * elf/tst-initorderb2.c: New file.
73609         * elf/tst-order-a1.c: New file.
73610         * elf/tst-order-a2.c: New file.
73611         * elf/tst-order-a3.c: New file.
73612         * elf/tst-order-a4.c: New file.
73613         * elf/tst-order-b1.c: New file.
73614         * elf/tst-order-b2.c: New file.
73615         * elf/tst-order-main.c: New file.
73616         New test case by George Gensure <werkt0@gmail.com>.
73618 2010-10-01  Andreas Schwab  <schwab@redhat.com>
73620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73621         decoding ACE if AI_CANONIDN.
73623 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
73625         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
73627 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
73629         * version.h (RELEASE): Bump for 2.13 release.
73630         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
73632         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
73634         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
73635         MADV_NOHUGEPAGE.
73636         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
73637         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
73638         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
73639         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
73640         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
73641         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73643         * posix/getconf.c: Update copyright year.
73644         * catgets/gencat.c: Likewise.
73645         * csu/version.c: Likewise.
73646         * debug/catchsegv.sh: Likewise.
73647         * debug/xtrace.sh: Likewise.
73648         * elf/ldconfig.c: Likewise.
73649         * elf/ldd.bash.in: Likewise.
73650         * elf/sprof.c (print_version): Likewise.
73651         * iconv/iconv_prog.c: Likewise.
73652         * iconv/iconvconfig.c: Likewise.
73653         * locale/programs/locale.c: Likewise.
73654         * locale/programs/localedef.c: Likewise.
73655         * malloc/memusage.sh: Likewise.
73656         * malloc/mtrace.pl: Likewise.
73657         * nscd/nscd.c (print_version): Likewise.
73658         * nss/getent.c: Likewise.
73660         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
73661         PF_CAIF, and PF_ALG.
73662         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73664 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
73666         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
73667         (modules-names): Use them.
73668         (ifunc-test-modules, ifunc-pie-tests): Define.
73669         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
73670         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
73671         (test-extras): Likewise.
73672         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
73673         $(compile-command.c).
73674         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
73675         (all-built-dso): Define.
73676         (check-textrel.out, check-execstack.out): Depend on it.
73678         * configure.in: Don't override --enable-multi-arch.
73680 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
73682         [BZ #6812]
73683         * nscd/hstcache.c (tryagain): Define.
73684         (cache_addhst): Return tryagain not notfound for temporary errors.
73685         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
73686         failed.
73688 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
73690         [BZ #10563]
73691         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
73692         to make the syscall.
73693         * sysdeps/unix/sysv/linux/setgroups.c: New file.
73695         [BZ #12378]
73696         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
73697         and fall back to matching as normal character if the string ends before
73698         the matching ']' is found.  This is what POSIX requires.
73699         * posix/testfnm.c: Adjust test result.
73700         * posix/globtest.sh: Adjust test result.  Add new test.
73701         * posix/tst-fnmatch.input: Likewise.
73702         * posix/tst-fnmatch2.c: Add new test.
73704 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
73706         * elf/Makefile (check-execstack): Revert last change.  Depend on
73707         check-execstack.h.
73708         (check-execstack.h): New target.
73709         (generated): Add check-execstack.h.
73710         * elf/check-execstack.c: Include "check-execstack.h".
73711         (main): Revert last change.
73712         (handle_file): Return zero if GNU_STACK is absent and
73713         DEFAULT_STACK_PERMS doesn't include PF_X.
73715 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
73717         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
73718         in child fails because the descriptor is already closed.
73719         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
73720         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
73721         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
73723         [BZ #12397]
73724         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
73725         syscall.
73727         [BZ #10484]
73728         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
73729         temporary buffer used to handle multi lookups locally.
73730         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
73732 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73734         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
73735         loader is ld.so.
73737 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
73739         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
73740         alignment for SSE2.
73742 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73744         [BZ #12394]
73745         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
73746         characters.  When rounding increased number of integer digits recompute
73747         number of groups.
73748         * stdio-common/tst-grouping.c: New file.
73749         * stdio-common/Makefile: Add rules to build and run tst-grouping.
73751 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
73753         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
73754         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
73756         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
73757         void.
73758         * bits/select.h: Likewise.
73760 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
73762         * po/ja.po: Update from translation team.
73764 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
73766         [BZ #11155]
73767         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
73768         implementation just like for lxstat, fxstatat, et al.
73770 2010-12-27  Jim Meyering  <meyering@redhat.com>
73772         [BZ #12348]
73773         * posix/regexec.c (build_trtable): Return failure indication upon
73774         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
73776 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
73778         [BZ #12201]
73779         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
73780         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
73781         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
73782         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
73784         [BZ #12207]
73785         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
73787         [BZ #12204]
73788         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
73789         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
73791 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
73793         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
73794         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
73795         script has SORT_BY_INIT_PRIORITY.
73796         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
73797         NO_CTORS_DTORS_SECTIONS is defined.
73798         * elf/soinit.c: Likewise.
73799         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
73800         NO_CTORS_DTORS_SECTIONS is defined.
73801         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
73802         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
73803         * sysdeps/sh/init-first.c: Likewise.
73804         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
73806 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
73808         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
73809         always use the slow path.
73811 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
73813         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
73814         similar rule which adds the sysdep directories to the header search in
73815         order to pick up the correct platform stackinfo.h.
73816         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
73817         perform test if it is, otherwise return successfully without testing.
73818         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
73819         DEFAULT_STACK_PERMS define in stackinfo.h.
73820         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
73821         defined in stackinfo.h.
73822         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
73823         DEFAULT_STACK_PERMS defined in stackinfo.h.
73824         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
73825         * sysdeps/ia64/stackinfo.h: Likewise.
73826         * sysdeps/s390/stackinfo.h: Likewise.
73827         * sysdeps/sh/stackinfo.h: Likewise.
73828         * sysdeps/sparc/stackinfo.h: Likewise.
73829         * sysdeps/x86_64/stackinfo.h: Likewise.
73830         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
73831         PF_X for powerpc64.  Retain PF_X for powerpc32.
73833 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
73835         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
73836         accurately.
73837         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
73838         GETDENTS_64BIT_ALIGNED.
73840 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
73842         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
73844 2010-12-10  Andreas Schwab  <schwab@redhat.com>
73846         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
73847         _GNU_SOURCE.
73849         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
73850         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
73851         Remove __restrict.
73852         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
73853         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
73855 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
73857         [BZ #11655]
73858         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
73859         are initialized.
73861 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
73863         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
73865 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
73867         * po/it.po: Update from translation team.
73869 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
73871         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
73872         unused codes.
73874 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
73876         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
73878 2010-11-24  Andreas Schwab  <schwab@redhat.com>
73880         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
73881         specially.
73882         (gaih_getanswer_slice): Likewise.
73884 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
73886         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
73888 2010-05-31  Petr Baudis  <pasky@suse.cz>
73890         [BZ #11149]
73891         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
73892         silently even in the chroot mode.
73894 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
73896         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
73897         last patch a bit.  Pretty printing
73899 2010-05-31  Petr Baudis <pasky@suse.cz>
73901         [BZ #10085]
73902         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
73903         initialization of skip_initgroups_dyn.
73905 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
73907         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
73908         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73910 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
73912         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
73914 2010-11-11  Andreas Schwab  <schwab@redhat.com>
73916         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
73917         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
73918         (tst-fnmatch-ENV): Set MALLOC_TRACE.
73919         ($(objpfx)tst-fnmatch-mem): New rule.
73920         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
73921         * posix/tst-fnmatch.c (main): Call mtrace.
73923 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
73925         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73926         Support Intel processor model 6 and model 0x2c.
73928 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
73930         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
73931           signed comparison.
73933 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
73935         [BZ #12205]
73936         * string/test-strncasecmp.c (check_result): New function.
73937         (do_one_test): Use it.
73938         (check1): New function.
73939         (test_main): Use it.
73940         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
73941         Support strcasecmp and strncasecmp.
73943 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
73945         [BZ #12194]
73946         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
73947         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73949 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73951         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
73952         IFUNC support.
73953         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73954         memset-x86-64.
73955         * sysdeps/x86_64/multiarch/bzero.S: New file.
73956         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
73957         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
73958         * sysdeps/x86_64/multiarch/memset.S: New file.
73959         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
73960         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73961         Set bit_Prefer_SSE_for_memop for Intel processors.
73962         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
73963         Define.
73964         (index_Prefer_SSE_for_memop): Define.
73965         (HAS_PREFER_SSE_FOR_MEMOP): Define.
73967 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
73969         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
73970         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
73972 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
73974         [BZ #12191]
73975         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73976         (__x86_64_raw_data_cache_size_half): Likewise.
73977         (__x86_64_raw_shared_cache_size): Likewise.
73978         (__x86_64_raw_shared_cache_size_half): Likewise.
73980         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73981         (__x86_64_raw_data_cache_size_half): Likewise.
73982         (__x86_64_raw_shared_cache_size): Likewise.
73983         (__x86_64_raw_shared_cache_size_half): Likewise.
73984         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
73985         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
73986         and __x86_64_raw_shared_cache_size_half.  Round
73987         __x86_64_data_cache_size_half, __x86_64_data_cache_size
73988         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
73989         to multiple of 256 bytes.
73991 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
73993         [BZ #12167]
73994         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73995         of inacessible symlinks.  Verify result of symlink before returning it.
73996         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
73997         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
73999 2010-10-28  Erich Ritz  <erichritz@gmail.com>
74001         * math/math.h (isinf): Fix typo in comment.
74003 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
74005         * po/da.po: Update from translation team.
74007 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
74009         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
74010         is added to the list.
74012 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74013             Ulrich Drepper  <drepper@gmail.com>
74015         * elf/dl-object.c (_dl_new_object): Don't append the new object to
74016         the global list here.  Move code to...
74017         (_dl_add_to_namespace_list): ...here.  New function.
74018         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
74019         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
74020         * elf/dl-load.c (lose): Don't remove the element from the list.
74021         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
74022         (_dl_map_object): Likewise.
74024 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
74026         [BZ #12159]
74027         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
74028         into all bytes of SSE register.
74029         Patch by Richard Li <richardpku@gmail.com>.
74031 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
74033         [BZ #12140]
74034         * malloc/malloc.c (_int_free): Fill correct number of bytes when
74035         perturbing.
74037 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
74039         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
74040         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
74041         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
74042         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
74044         submachine.
74045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
74047 2010-10-22  Andreas Schwab  <schwab@redhat.com>
74049         * include/dlfcn.h (__RTLD_SECURE): Define.
74050         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
74051         mode & __RTLD_SECURE instead.
74052         (open_path): Rename preloaded parameter to secure.
74053         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
74054         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
74055         * elf/dl-deps.c (openaux): Likewise.
74056         * elf/rtld.c (struct map_args): Remove is_preloaded.
74057         (map_doit): Don't use it.
74058         (dl_main): Likewise.
74059         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
74060         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
74062 2010-09-09  Andreas Schwab  <schwab@redhat.com>
74064         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
74065         (sysd-rules-targets): Remove duplicates.
74066         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
74067         rtld-%.$o dependency.
74069 2010-10-18  Andreas Schwab  <schwab@redhat.com>
74071         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
74072         _dl_map_object do it.
74074 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
74076         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
74077         fast fma builtins, define the macros in the C99 standard.
74078         (FP_FAST_FMAF): Likewise.
74079         (FP_FAST_FMAL): Likewise.
74080         * sysdeps/x86_64/bits/mathdef.h: Likewise.
74082         * bits/mathdef.h: Update copyright year.
74083         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74085 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
74087         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
74088         builtins, define the macros in the C99 standard.
74089         (FP_FAST_FMAF): Likewise.
74090         (FP_FAST_FMAL): Likewise.
74091         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
74092         multiply/add.
74093         (FP_FAST_FMAF): Likewise.
74095 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
74097         [BZ #3268]
74098         * math/libm-test.inc (fma_test): Some new testcases.
74099         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
74100         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
74101         y and infinite z.  Do multiplication by C already in long double.
74102         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
74103         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
74104         y and infinite z.  Do bitwise or of inexact bit into u.d.
74105         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
74106         * sysdeps/i386/fpu/s_fmaf.S: Removed.
74107         * sysdeps/i386/fpu/s_fma.S: Removed.
74108         * sysdeps/i386/fpu/s_fmal.S: Removed.
74110 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
74112         [BZ #3268]
74113         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
74114         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
74115         computation is not scheduled after fetestexcept.  Fix value
74116         of minimum denormal long double.
74118 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
74120         [BZ #3268]
74121         * math/libm-test.inc (fma_test): Add some more tests.
74122         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
74123         correctly.
74125 2010-10-15  Andreas Schwab  <schwab@redhat.com>
74127         * scripts/data/localplt-s390-linux-gnu.data: New file.
74128         * scripts/data/localplt-s390x-linux-gnu.data: New file.
74130 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
74132         [BZ #3268]
74133         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
74134         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
74135         instead of dbl-64.
74136         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
74137         inlines.
74138         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
74139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
74140         if one of x and y is very large and the other is subnormal.
74141         * sysdeps/s390/fpu/s_fmaf.c: New file.
74142         * sysdeps/s390/fpu/s_fma.c: New file.
74143         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
74144         * sysdeps/powerpc/fpu/s_fma.S: New file.
74145         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
74146         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
74147         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
74149 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
74151         [BZ #3268]
74152         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
74153         fma tests.
74154         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
74155         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
74156         * sysdeps/i386/i686/multiarch/s_fma.c: Include
74157         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
74158         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74159         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74160         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74162 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74164         [BZ #12078]
74165         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74166         * posix/bug-regex31.input: Add test case.
74168 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74170         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74171         * posix/bug-regex31.input: New file.
74173         [BZ #12078]
74174         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74175         (parse_sub_exp): Fix last change, use postorder.
74177         * posix/bug-regex31.c: New file.
74178         * posix/Makefile: Add rules to build and run bug-regex31.
74180         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74182         [BZ #12078]
74183         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74185         [BZ #12108]
74186         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74187         to have entries in sys_siglist.
74189         [BZ #12093]
74190         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74191         be NULL.
74193 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74195         [BZ #3268]
74196         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74197         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74198         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74199         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74200         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74201         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74202         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74203         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74204         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74205         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74206         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74207         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74208         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74209         * math/ftestexcept.c (fetestexcept): Likewise.
74210         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74211         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74212         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74213         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74214         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74215         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74216         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74218 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74220         [BZ #12107]
74221         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74222         newline.
74224 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74226         * string/bug-strstr1.c: New file.
74227         * string/Makefile: Add rules to build and run bug-strstr1.
74229 2010-10-05  Eric Blake  <eblake@redhat.com>
74231         [BZ #12092]
74232         * string/str-two-way.h (two_way_long_needle): Always clear memory
74233         when skipping input due to the shift table.
74235 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74237         [BZ #12005]
74238         * malloc/mcheck.c: Handle large requests.
74240         [BZ #12077]
74241         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74242         for strncmp and strncasecmp.
74243         * string/stratcliff.c: Add tests for strcmp and strncmp.
74244         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74246 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74248         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74249         __set_fpscr.
74251 2010-09-30  Andreas Jaeger  <aj@suse.de>
74253         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74254         (CGROUP_SUPER_MAGIC): Define.
74255         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74256         Handle btrfs and cgroup file systems.
74257         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74258         Likewise.
74260 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74262         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74263         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74265 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74267         [BZ #12067]
74268         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74269         trying to locate the ELF header.
74271 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74273         [BZ #11611]
74274         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74275         Mask out sign-bit copies when constructing f_fsid.
74277 2010-09-24  Petr Baudis <pasky@suse.cz>
74279         * debug/stack_chk_fail_local.c: Add missing licence exception.
74280         * debug/warning-nop.c: Likewise.
74282 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74284         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74285         implementing getdents64 using getdents syscall, set d_type if
74286         __ASSUME_GETDENTS32_D_TYPE.
74288 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74290         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74291         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74293 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74295         [BZ #12037]
74296         * posix/unistd.h: Undo change of feature selection for ftruncate from
74297         2010-01-11.
74299 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74301         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74302         detection.
74304 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74306         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74307         fanotify_mark.
74308         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74310 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74312         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74313         variables after CHECK_SP call.
74314         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74316 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74317             Ulrich Drepper  <drepper@redhat.com>
74319         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74320         re-relocationg ld.so.
74321         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74322         _dl_init_paths call.
74323         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74324         here anymore.
74326 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74328         * resolv/res_init.c (__res_vinit): Count the default server we added.
74330 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74331             Ulrich Drepper  <drepper@redhat.com>
74333         [BZ #11968]
74334         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74335         (____longjmp_chk): Use %ebx for saving value across system call.
74336         Add unwind info.
74338 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74340         * manual/Makefile: Don't mix pattern rules with normal rules.
74342 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74344         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74345         operation.
74346         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74347         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74348         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74349         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74350         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74351         Likewise.
74353 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74355         [BZ #11979]
74356         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74357         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74359 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74361         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74362         * sysdeps/x86_64/addmul_1.S: Likewise.
74363         * sysdeps/x86_64/lshift.S: Likewise.
74364         * sysdeps/x86_64/mul_1.S: Likewise.
74365         * sysdeps/x86_64/rshift.S: Likewise.
74366         * sysdeps/x86_64/sub_n.S: Likewise.
74367         * sysdeps/x86_64/submul_1.S: Likewise.
74369 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74371         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74372         Define __sched_param instead of SCHED_* and sched_param when
74373         <bits/sched.h> is included with __need_schedparam defined.
74374         * bits/sched.h [__need_schedparam]
74375         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74376         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74377         (__defined_schedparam): Define to 1.
74378         (__sched_param): New structure, identical to sched_param.
74379         (__need_schedparam): Undefine.
74381 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74383         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74384         (epoll_create1): Declare.
74386         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74388 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74390         [BZ #7066]
74391         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74392         shifting retval into place.
74394 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74396         * nis/rpcsvc/nis.h: Update copyright notice.
74397         * nis/rpcsvc/nis.x: Likewise.
74398         * nis/rpcsvc/nis_callback.h: Likewise.
74399         * nis/rpcsvc/nis_callback.x: Likewise.
74400         * nis/rpcsvc/nis_object.x: Likewise.
74401         * nis/rpcsvc/nis_tags.h: Likewise.
74402         * nis/rpcsvc/yp.h: Likewise.
74403         * nis/rpcsvc/yp.x: Likewise.
74404         * nis/rpcsvc/ypupd.h: Likewise.
74405         * nis/yp_xdr.c: Likewise.
74406         * nis/ypupdate_xdr.c: Likewise.
74408         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74409         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74410         (pmap_getport): Use __libc_rpc_getport.
74411         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74412         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74413         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74415 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74418         fanotify_mark.
74420 2010-08-27  Roland McGrath  <roland@redhat.com>
74422         * sysdeps/i386/i686/multiarch/Makefile
74423         (CFLAGS-varshift.c): New variable.
74425 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74427         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74428         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74430         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74432         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74434 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74436         * sysdeps/x86_64/strlen.S: Unroll the loop.
74437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74438         strlen-sse2 strlen-sse2-bsf.
74439         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74440         __strlen_no_bsf if bit_Slow_BSF is set.
74441         (__strlen_sse42): Removed.
74442         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74443         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74445 2010-08-25  Roland McGrath  <roland@redhat.com>
74447         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74448         * sysdeps/x86_64/multiarch/varshift.c: New file.
74449         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74450         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74451         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74452         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74454 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74456         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74457         strlen-sse2 strlen-sse2-bsf.
74458         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74459         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74460         (__strlen_sse2): Removed.
74461         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74462         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74464         bit_Slow_BSF for Atom.
74465         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74466         (index_Slow_BSF): Define.
74467         (HAS_SLOW_BSF): Define.
74469 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74471         [BZ #10851]
74472         * resolv/res_init.c (__res_vinit): When no server address at all
74473         is given default to loopback.
74475 2010-08-24  Roland McGrath  <roland@redhat.com>
74477         * configure.in: Remove config-name.h generation.
74478         * configure: Regenerated.
74479         * config-name.in: File removed.
74480         * scripts/config-uname.sh: New file.
74481         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74482         ($(objdir)config-name.h): New target.
74484         * sunrpc/rpc_parse.h: Avoid nested comment.
74486 2010-08-24  Richard Henderson  <rth@redhat.com>
74487             Ulrich Drepper  <drepper@redhat.com>
74488             H.J. Lu  <hongjiu.lu@intel.com>
74490         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74492         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74493         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74494         _mm_alignr_epi8 with _mm_loadu_si128.
74495         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74496         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74497         (__m128i_shift_right): Removed.
74498         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74499         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74500         * sysdeps/x86_64/multiarch/varshift.h: New file.
74501         * sysdeps/x86_64/multiarch/varshift.S: New file.
74503 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74505         * configure.in: Move assembler checks to before sysdep dir checking.
74507 2010-08-20  Petr Baudis  <pasky@suse.cz>
74509         * LICENSES: Sync the sunrpc license.
74511 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74513         * sunrpc/auth_des.c: Update copyright notice once again.
74514         * sunrpc/auth_none.c: Likewise.
74515         * sunrpc/auth_unix.c: Likewise.
74516         * sunrpc/authdes_prot.c: Likewise.
74517         * sunrpc/authuxprot.c: Likewise.
74518         * sunrpc/bindrsvprt.c: Likewise.
74519         * sunrpc/clnt_gen.c: Likewise.
74520         * sunrpc/clnt_perr.c: Likewise.
74521         * sunrpc/clnt_raw.c: Likewise.
74522         * sunrpc/clnt_simp.c: Likewise.
74523         * sunrpc/clnt_tcp.c: Likewise.
74524         * sunrpc/clnt_udp.c: Likewise.
74525         * sunrpc/clnt_unix.c: Likewise.
74526         * sunrpc/des_crypt.c: Likewise.
74527         * sunrpc/des_soft.c: Likewise.
74528         * sunrpc/get_myaddr.c: Likewise.
74529         * sunrpc/getrpcport.c: Likewise.
74530         * sunrpc/key_call.c: Likewise.
74531         * sunrpc/key_prot.c: Likewise.
74532         * sunrpc/openchild.c: Likewise.
74533         * sunrpc/pm_getmaps.c: Likewise.
74534         * sunrpc/pm_getport.c: Likewise.
74535         * sunrpc/pmap_clnt.c: Likewise.
74536         * sunrpc/pmap_prot.c: Likewise.
74537         * sunrpc/pmap_prot2.c: Likewise.
74538         * sunrpc/pmap_rmt.c: Likewise.
74539         * sunrpc/rpc/auth.h: Likewise.
74540         * sunrpc/rpc/auth_unix.h: Likewise.
74541         * sunrpc/rpc/clnt.h: Likewise.
74542         * sunrpc/rpc/des_crypt.h: Likewise.
74543         * sunrpc/rpc/key_prot.h: Likewise.
74544         * sunrpc/rpc/netdb.h: Likewise.
74545         * sunrpc/rpc/pmap_clnt.h: Likewise.
74546         * sunrpc/rpc/pmap_prot.h: Likewise.
74547         * sunrpc/rpc/pmap_rmt.h: Likewise.
74548         * sunrpc/rpc/rpc.h: Likewise.
74549         * sunrpc/rpc/rpc_des.h: Likewise.
74550         * sunrpc/rpc/rpc_msg.h: Likewise.
74551         * sunrpc/rpc/svc.h: Likewise.
74552         * sunrpc/rpc/svc_auth.h: Likewise.
74553         * sunrpc/rpc/types.h: Likewise.
74554         * sunrpc/rpc/xdr.h: Likewise.
74555         * sunrpc/rpc_clntout.c: Likewise.
74556         * sunrpc/rpc_cmsg.c: Likewise.
74557         * sunrpc/rpc_common.c: Likewise.
74558         * sunrpc/rpc_cout.c: Likewise.
74559         * sunrpc/rpc_dtable.c: Likewise.
74560         * sunrpc/rpc_hout.c: Likewise.
74561         * sunrpc/rpc_main.c: Likewise.
74562         * sunrpc/rpc_parse.c: Likewise.
74563         * sunrpc/rpc_parse.h: Likewise.
74564         * sunrpc/rpc_prot.c: Likewise.
74565         * sunrpc/rpc_sample.c: Likewise.
74566         * sunrpc/rpc_scan.c: Likewise.
74567         * sunrpc/rpc_scan.h: Likewise.
74568         * sunrpc/rpc_svcout.c: Likewise.
74569         * sunrpc/rpc_tblout.c: Likewise.
74570         * sunrpc/rpc_util.c: Likewise.
74571         * sunrpc/rpc_util.h: Likewise.
74572         * sunrpc/rpcinfo.c: Likewise.
74573         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
74574         * sunrpc/rpcsvc/key_prot.x: Likewise.
74575         * sunrpc/rpcsvc/klm_prot.x: Likewise.
74576         * sunrpc/rpcsvc/mount.x: Likewise.
74577         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
74578         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
74579         * sunrpc/rpcsvc/rex.x: Likewise.
74580         * sunrpc/rpcsvc/rstat.x: Likewise.
74581         * sunrpc/rpcsvc/rusers.x: Likewise.
74582         * sunrpc/rpcsvc/sm_inter.x: Likewise.
74583         * sunrpc/rpcsvc/spray.x: Likewise.
74584         * sunrpc/rpcsvc/yppasswd.x: Likewise.
74585         * sunrpc/rtime.c: Likewise.
74586         * sunrpc/svc.c: Likewise.
74587         * sunrpc/svc_auth.c: Likewise.
74588         * sunrpc/svc_authux.c: Likewise.
74589         * sunrpc/svc_raw.c: Likewise.
74590         * sunrpc/svc_run.c: Likewise.
74591         * sunrpc/svc_simple.c: Likewise.
74592         * sunrpc/svc_tcp.c: Likewise.
74593         * sunrpc/svc_udp.c: Likewise.
74594         * sunrpc/svc_unix.c: Likewise.
74595         * sunrpc/svcauth_des.c: Likewise.
74596         * sunrpc/xcrypt.c: Likewise.
74597         * sunrpc/xdr.c: Likewise.
74598         * sunrpc/xdr_array.c: Likewise.
74599         * sunrpc/xdr_float.c: Likewise.
74600         * sunrpc/xdr_mem.c: Likewise.
74601         * sunrpc/xdr_rec.c: Likewise.
74602         * sunrpc/xdr_ref.c: Likewise.
74603         * sunrpc/xdr_sizeof.c: Likewise.
74604         * sunrpc/xdr_stdio.c: Likewise.
74606         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
74607         handling.
74609 2010-08-19  Andreas Schwab  <schwab@redhat.com>
74611         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
74613 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
74615         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
74616         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
74617         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
74618         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
74619         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
74620         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
74621         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
74622         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
74623         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
74624         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
74625         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
74626         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
74627         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
74628         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
74630 2010-07-26  Anton Blanchard  <anton@samba.org>
74632         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
74633         * malloc/arena.c (heap_trim): Likewise.
74635 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
74637         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
74638         here.  Not...
74639         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
74640         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
74642 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
74644         * sysdeps/i386/elf/Makefile: New file.
74646 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74648         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
74649         from fanotify_init.
74650         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
74651         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74653 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
74655         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
74656         of strncasecmp_l.
74657         * sysdeps/multiarch/strcmp.S: Likewise.
74659 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
74661         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74662         strncase_l-nonascii.
74663         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74664         Add strncase_l-ssse3.
74665         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
74666         * sysdeps/x86_64/strcmp.S: Likewise.
74667         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
74668         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
74669         * sysdeps/x86_64/strncase.S: New file.
74670         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
74671         * sysdeps/x86_64/strncase_l.S: New file.
74672         * string/Makefile (strop-tests): Add strncasecmp.
74673         * string/test-strncasecmp.c: New file.
74675         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
74676         warning.
74678         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
74679         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
74681 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74683         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
74685 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
74687         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
74688         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
74689         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
74691 2010-05-01  Alan Modra  <amodra@gmail.com>
74693         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
74694         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
74695         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
74696         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
74697         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
74698         tidying.  Don't tail-call __sigjmp_save for static lib.
74699         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
74700         save location.
74701         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
74702         (CALL_MCOUNT): Add eh info, and nop after bl.
74703         (TAIL_CALL_SYSCALL_ERROR): New macro.
74704         (PSEUDO_RET): Use it.
74705         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
74706         Correct save location of integer regs and cr.
74707         (_dl_profile_resolve): Correct cr save location.  Delete nops
74708         after bl when SHARED.  Reduce cfi size a little by better
74709         placement of cfi directives.
74710         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
74711         make a stack frame.  Instead use parm save area as a temp.
74712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
74713         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
74714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
74715         Don't make a stack frame for parent, use parm save area.
74716         Increase child stack frame to 112 bytes.  Don't save unused reg,
74717         and adjust reg usage.  Set up cfi on error recovery and
74718         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
74719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74720         (__makecontext): Add dummy nop after jump to exit.
74721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
74722         Use correct parm save area and cr save, reduce stack frame.
74723         Correct cfi for possible PSEUDO_RET frame setup.
74724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
74725         Branch to local label emitted by PSEUDO_RET rather than
74726         __syscall_error.
74728 2010-08-12  Andreas Schwab  <schwab@redhat.com>
74730         [BZ #11904]
74731         * locale/programs/locale.c (print_assignment): New function.
74732         (show_locale_vars): Use it.
74734 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
74736         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
74737         field.
74738         (struct statfs64): Likewise.
74739         (_STATFS_F_FLAGS): Define.
74740         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
74741         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74742         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
74743         (ST_VALID): Define locally.
74744         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
74745         __statvfs_getflags, use the provided value.
74746         * sysdeps/unix/sysv/linux/kernel-features.h: Define
74747         __ASSUME_STATFS_F_FLAGS.
74749         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
74751         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
74752         Add sys/fanotify.h.
74753         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
74754         fanotify_mask for GLIBC_2.13.
74755         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
74756         fanotify_init and fanotify_mark.
74757         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74758         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
74760         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
74761         Add prlimit.
74762         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
74763         prlimit64 for GLIBC_2.13.
74764         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
74765         prlimit64.
74766         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
74767         syscall.
74768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
74769         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74770         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
74771         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
74772         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
74773         add prlimit alias.
74774         * sysdeps/unix/sysv/linux/prlimit.c: New file.
74776         [BZ #11903]
74777         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
74778         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
74780         * nss/Makefile: Add rules to build and run tst-nss-test1.
74781         * shlib-versions: Add entry for libnss_test1.
74782         * nss/nss_test1.c: New file.
74783         * nss/tst-nss-test1.c: New file.
74785         * nss/nsswitch.c (__nss_database_custom): Define new variable.
74786         (__nss_configure_lookup): Set appropriate entry in
74787         __nss_configure_lookup to true.
74788         * nss/nsswitch.h: Define enum with indeces of databases in
74789         databases and __nss_database_custom arrays.  Declare
74790         __nss_database_custom.
74791         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
74792         to avoid using nscd when custom rules are installed.
74793         * nss/getXXbyYY_r.c: Likewise.
74794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
74796         * nss/nss_files/files-parse.c: Whitespace fixes.
74798 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
74800         [BZ #11883]
74801         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
74802         * posix/fnmatch_loop.c: Likewise.
74804 2010-07-17  Andi Kleen  <ak@linux.intel.com>
74806         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
74807         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
74808         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
74809         * Versions.def [GLIBC_2.13]: Add.
74811 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
74813         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74814         Also fail if tpwd after pwuid call is NULL.
74816 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74818         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
74819         when converting to ms.
74821 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74823         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
74824         EOPNOTSUPP errors with ENOTTY.
74825         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
74826         EOPNOTSUPP errors with ENOTTY.
74828 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
74830         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74831         Add strcasecmp_l-ssse3.
74832         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
74833         strcasecmp.
74834         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
74835         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
74836         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
74838 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
74840         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
74842         * string/Makefile (strop-tests): Add strcasecmp.
74843         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74844         strcasecmp_l-nonascii.
74845         (gen-as-const-headers): Add locale-defines.sym.
74846         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
74847         * sysdeps/x86_64/strcasecmp.S: New file.
74848         * sysdeps/x86_64/strcasecmp_l.S: New file.
74849         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
74850         * sysdeps/x86_64/locale-defines.sym: New file.
74851         * string/test-strcasecmp.c: New file.
74853         * string/test-strcasestr.c: Test both ends of the range of characters.
74854         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
74856 2010-07-29  Roland McGrath  <roland@redhat.com>
74858         [BZ #11856]
74859         * manual/locale.texi (Yes-or-No Questions): Fix example code.
74861 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
74863         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
74864         for ld.so.
74866 2010-07-27  Andreas Schwab  <schwab@redhat.com>
74868         * manual/memory.texi (Malloc Tunable Parameters): Document
74869         M_PERTURB.
74871 2010-07-26  Roland McGrath  <roland@redhat.com>
74873         [BZ #11840]
74874         * configure.in (-fgnu89-inline check): Set and substitute
74875         gnu89_inline, not libc_cv_gnu89_inline.
74876         * configure: Regenerated.
74877         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
74879 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
74881         * string/test-strnlen.c: New file.
74882         * string/Makefile (strop-tests): Add strnlen.
74883         * string/tester.c (test_strnlen): Add a few more test cases.
74884         * string/tst-strlen.c: Better error reporting.
74886         * sysdeps/x86_64/strnlen.S: New file.
74888 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
74890         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
74891         lower-latency instructions.
74893 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
74895         * string/test-strcasestr.c: New file.
74896         * string/test-strstr.c: New file.
74897         * string/Makefile (strop-tests): Add strstr and strcasestr.
74898         * string/str-two-way.h: Don't undefine MAX.
74899         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
74901 2010-07-21  Andreas Schwab  <schwab@redhat.com>
74903         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74904         strcasestr-nonascii.
74905         (CFLAGS-strcasestr-nonascii.c): Define.
74906         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
74907         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
74908         Remove unused attribute.
74910 2010-07-20  Roland McGrath  <roland@redhat.com>
74912         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
74913         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
74914         ld.so.cache was broken.  With it, there is no way to disable dsocaps
74915         like LD_HWCAP_MASK can disable hwcaps.
74917 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74919         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
74921 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
74923         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
74924         call in strcasestr.
74925         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
74926         __strcasestr_sse42_nonascii.
74927         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
74928         strcasestr-nonascii.c.
74929         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
74931 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
74933         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74934         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
74935         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
74936         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
74938 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
74940         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
74941         fcntl.
74943 2010-07-06  Andreas Schwab  <schwab@redhat.com>
74945         [BZ #11577]
74946         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
74947         dl_signal_cerror.
74949 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
74951         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
74952         _PC_PIPE_BUF using F_GETPIPE_SZ.
74954 2010-07-05  Roland McGrath  <roland@redhat.com>
74956         * manual/arith.texi (Rounding Functions): Fix rint description
74957         implicit in round description.
74959 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
74961         * elf/Makefile: Fix linking for a few tests to make recent linker
74962         happy.
74964 2010-06-30  Andreas Schwab  <schwab@redhat.com>
74966         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74967         $(common-objpfx)libc_nonshared.a.
74969 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
74971         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
74972         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
74973         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74974         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74975         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
74976         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
74977         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74978         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
74980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
74981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
74982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
74984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
74986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
74987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
74988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
74989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
74991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
74993         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
74994         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74995         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
74996         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
74997         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
74998         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
74999         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
75000         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
75001         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
75002         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
75003         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
75004         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
75005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
75006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
75007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
75008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
75009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
75010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
75011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
75012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
75013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
75014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
75015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
75016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
75017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
75018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
75020 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
75022         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
75023         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
75024         * string/memmove.c (memmove): Renamed to ...
75025         (MEMMOVE): ...this.  Default to memmove.
75026         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
75027         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
75028         (END_CHK): Define.
75029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75030         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
75031         mempcpy-ssse3-back memmove-ssse3-back.
75032         * sysdeps/x86_64/multiarch/bcopy.S: New file .
75033         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
75034         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
75035         * sysdeps/x86_64/multiarch/memcpy.S: New file.
75036         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
75037         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
75038         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
75039         * sysdeps/x86_64/multiarch/memmove.c: New file.
75040         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
75041         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
75042         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
75043         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
75044         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
75045         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
75046         Define.
75047         (index_Fast_Copy_Backward): Define.
75048         (HAS_ARCH_FEATURE): Define.
75049         (HAS_FAST_REP_STRING): Define.
75050         (HAS_FAST_COPY_BACKWARD): Define.
75052 2010-06-21  Andreas Schwab  <schwab@redhat.com>
75054         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75055         Restore proper fallback handling.
75057 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
75059         [BZ #11701]
75060         * posix/group_member.c (__group_member): Correct checking loop.
75062         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
75063         OOM in getpwuid_r correctly.  Return error number when the caller
75064         should return, otherwise -1.
75065         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
75066         call returning > 0 value.
75067         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
75069 2010-06-07  Andreas Schwab  <schwab@redhat.com>
75071         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
75072         libc_nonshared.a from targets in modules-names.
75074 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
75076         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
75077         requires it.
75079 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
75081         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
75082         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
75083         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
75084         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
75086 2010-06-02  Andreas Schwab  <schwab@redhat.com>
75088         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
75090 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
75092         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
75093         and F_GETPIPE_SZ.
75094         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75095         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75096         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75098         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75099         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75101 2010-06-14  Roland McGrath  <roland@redhat.com>
75103         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
75105 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
75107         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
75108         __REDIRECT followed by __THROW.
75109         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
75110         * posix/getopt.h (getopt): Likewise.
75112 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75114         * hurd/lookup-at.c (__file_name_lookup_at): Accept
75115         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
75116         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
75117         in AT_FLAGS.
75118         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
75119         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
75121 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
75123         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
75125 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
75127         [BZ #11640]
75128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75129         Properly check family and model.
75131 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
75133         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
75135 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
75137         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
75139 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
75141         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
75142         symbol reference.
75144 2010-05-19  Andreas Schwab  <schwab@redhat.com>
75146         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
75147         symbol reference.
75149 2010-05-21  Andreas Schwab  <schwab@redhat.com>
75151         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
75152         and internal_recvmmsg.
75153         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
75154         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
75155         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
75156         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
75158         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75159         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75160         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75162 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75164         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75166 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75168         POWER7 optimizations.
75169         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75170         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75172 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75174         * version.h: Update for 2.13 development version.
75176 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75178         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75179         exceptions.  Return 0.
75181 2010-05-07  Roland McGrath  <roland@redhat.com>
75183         * elf/ldconfig.c (main): Add a const.
75185 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75187         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75188         (args_options): Add no-idn option.
75189         (ahosts_keys_int): Add idn_flags to ai_flags.
75190         (parse_option): Handle 'i' option to clear idn_flags.
75192         * malloc/malloc.c (_int_free): Possible race in the most recently
75193         added check.  Only act on the data if no current modification
75194         happened.
75196 See ChangeLog.17 for earlier changes.