Fix ucs4le_internal_loop in error case. [BZ #19726]
[glibc.git] / ChangeLog
blob9c2d14aa5c8d8fb57a8aa47937d2719e1328a9ab
1 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         [BZ #19726]
4         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5         outptrp in case of an illegal input.
6         * iconv/tst-iconv6.c: New file.
7         * iconv/Makefile (tests): Add tst-iconv6.
9 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12         an error in case of a value in range of an utf16 low surrogate.
14 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
17         an error in case of a value in range of an utf16 low surrogate.
19 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
22         Move to ...
23         * sysdeps/s390/Makefile: ... here.
24         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
25         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
26         (BRANCH_ON_COUNT): New define.
27         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
28         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
29         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
30         run on s390-32, too.
31         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
32         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
33         run on s390-32, too.
34         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
35         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
36         run on s390-32, too.
38 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
40         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
41         etf3eh or new vector loop-variant.
43 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
45         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
46         etf3eh or new vector loop-variant.
48 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
50         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
51         or new vector loop-variant.
53 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
55         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
56         Rename to TR_LOOP and usage of tr instead of troo instruction.
58 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
60         * sysdeps/s390/multiarch/gconv_simple.c: New File.
61         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
63 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
65         * sysdeps/s390/multiarch/8bit-generic.c: New File.
66         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
67         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
68         New override define.
69         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
71 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
73         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
74         * sysdeps/s390/configure.ac: Add test for S390 vector register
75         support in gcc.
76         * sysdeps/s390/configure: Regenerated.
78 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
80         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
81         Install file from $(objpfx)gconv-modules.
82         ($(objpfx)gconv-modules): Concatenate architecture specific file
83         in variable sysdeps-gconv-modules and gconv-modules in src dir.
84         * sysdeps/s390/gconv-modules: New file.
85         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
86         Deleted.
87         ($(objpfx)gconv-modules-s390): Deleted.
88         (sysdeps-gconv-modules): New variable.
90 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
92         [BZ #15479]
93         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
94         of immediate operand to rounding instruction.
95         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
96         Likewise.
97         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
98         Likewise.
99         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
100         Likewise.
102 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
104         * math/libm-test.inc (MIN_EXP): Directly define as
105         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
107 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
109         * math/libm-test.inc (MANT_DIG): Directly define as
110         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
112 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
114         * stdlib/gen-tst-strtod-round.c (main):
115           Change usage to more closely match the generated
116           output.  Add usage and compilation instructions.
117           (string_to_fp): Add and use FILE* parameter as
118           output target.
119           (print_fp): Likewise.
120           (round_str): Likewise.
121           (round_for_all): Likewise.
122         * stdlib/tst-strtod-round.c (tests): Move into
123         * stdlib/tst-strtod-round-data.h: New file.
125 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
127         [BZ #15479]
128         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
129         (__round): Do not force "inexact" exception.
130         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
131         variable.
132         (__round): Do not force "inexact" exception.
133         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
134         (__roundf): Do not force "inexact" exception.
135         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
136         (__roundl): Do not force "inexact" exception.
137         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
138         (__roundl): Do not force "inexact" exception.
139         * math/libm-test.inc (round_test_data): Do not allow spurious
140         "inexact" exceptions.
142         [BZ #15479]
143         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
144         exception in comment.
145         (huge): Remove variable.
146         (__floor): Do not force "inexact" exception.
147         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
148         "inexact" exception in comment.
149         (huge): Remove variable.
150         (__floor): Do not force "inexact" exception.
151         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
152         exception in comment.
153         (huge): Remove variable.
154         (__floorf): Do not force "inexact" exception.
155         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
156         exception in comment.
157         (huge): Remove variable.
158         (__floorl): Do not force "inexact" exception.
160         [BZ #15479]
161         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
162         exception in comment.
163         (huge): Remove variable.
164         (__ceil): Do not force "inexact" exception.
165         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
166         "inexact" exception in comment.
167         (huge): Remove variable.
168         (__ceil): Do not force "inexact" exception.
169         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
170         (__ceilf): Do not force "inexact" exception.
171         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
172         exception in comment.
173         (huge): Remove variable.
174         (__ceill): Do not force "inexact" exception.
176 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
178         * config.h.in (BIND_NOW): New.
179         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
180         * configure: Regenerated.
181         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
182         indirect branch via the GOT slot.
184 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
186         [BZ #19765]
187         * sysdeps/s390/mempcpy.S: New File.
188         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
189         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
190         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
191         Add mempcpy variants.
192         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
193         (memcpy): Adjust to be usable from mempcpy entry point.
194         (__memcpy_mvcle): Likewise.
195         * sysdeps/s390/s390-64/memcpy.S: Likewise.
196         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
197         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
198         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
199         (__memcpy_z10): Likewise.
200         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
202 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
204         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
205         Remove __GI_ symbol.
206         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
207         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
208         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
209         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
210         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
211         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
213 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
215         * sysdeps/s390/s390-64/memcpy.S (memcpy):
216         Use cghi instead of chi to compare 64bit value.
218 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
220         * sysdeps/s390/s390-32/memcpy.S (memcpy):
221         Jump to 1MB check before executing mvc-loop.
223 2016-05-24  Florian Weimer  <fweimer@redhat.com>
225         [BZ #6527]
226         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
227         unconditionally.
228         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
230 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
232         * stdlib/tst-strtod6.c (do_test): Use new type generic
233         invocation of the test function.
234         (test): Refactor into ...
235         (TEST_STRTOD): New macro base function.
237 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
239         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
240         (TEST_STRTOD): New macro.
241         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
243 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
245         * stdlib/tst-strtod6.c (do_test): Use new type generic
246         invocation of the test function.
247         (test): Refactor into ...
248         (TEST_STRTOD): New macro base function.
250 2016-05-23  Florian Weimer  <fweimer@redhat.com>
252         CVE-2016-4429
253         [BZ #20112]
254         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
255         payload.
257 2016-05-23  Florian Weimer  <fweimer@redhat.com>
259         [BZ #20111]
260         * bits/sockaddr.h (_SS_SIZE): Define.
261         * bits/socket.h (_SS_SIZE): Remove.
262         (_SS_PADSIZE): Adjust to account for all padding.
263         (struct sockaddr_storage): Update comment.  Avoid implicit
264         padding.
265         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
266         (_SS_PADSIZE): Adjust to account for all padding.
267         (struct sockaddr_storage): Update comment.  Avoid implicit
268         padding.
269         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
270         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
271         (_SS_PADSIZE): Adjust to account for all padding.
272         (struct sockaddr_storage): Update comment.  Avoid implicit
273         padding.
274         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
275         __SS_SIZE is 126 in this version.
276         * inet/tst-sockaddr.c: New file.
277         * inet/Makefile (tests): Add tst-sockaddr.c
278         (tst-sockaddr.c): Compile with non-strict aliasing.
280 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
282         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
283         [XPG3 || XPG4].
284         (NL_ARGMAX): Also expect for [XPG3].
285         (NL_LANGMAX): Likewise.
286         (NL_MSGMAX): Likewise.
287         (NL_NMAX): Likewise.
288         (NL_SETMAX): Likewise.
289         (NL_TEXTMAX): Likewise.
290         (NZERO): Likewise.
291         (TMP_MAX): Likewise.
292         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
293         variable.
295         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
296         (PF_MAX): Update value.
297         (AF_KCM): New macro.
298         (SOL_NETBEUI): Likewise.
299         (SOL_LLC): Likewise.
300         (SOL_DCCP): Likewise.
301         (SOL_NETLINK): Likewise.
302         (SOL_TIPC): Likewise.
303         (SOL_RXRPC): Likewise.
304         (SOL_PPPOL2TP): Likewise.
305         (SOL_BLUETOOTH): Likewise.
306         (SOL_PNPIPE): Likewise.
307         (SOL_RDS): Likewise.
308         (SOL_IUCV): Likewise.
309         (SOL_CAIF): Likewise.
310         (SOL_ALG): Likewise.
311         (SOL_NFC): Likewise.
312         (SOL_KCM): Likewise.
313         (MSG_BATCH): New enum value and macro.
315 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
317         [BZ #18185]
318         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
319         sharing L2 cache to 2 for Knights Landing.
321 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
323         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
324         (FTW_DP): Do not expect for [XPG3 || XPG4].
325         (FTW_SL): Do not expect for [XPG3].
326         (FTW_SLN): Likewise.
327         (FTW_PHYS): Likewise.
328         (FTW_MOUNT): Likewise.
329         (FTW_DEPTH): Likewise.
330         (FTW_CHDIR): Likewise.
331         (nftw): Likewise.
332         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
333         variable.
335 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
337         * manual/errno.texi: Fix various typos & grammar errors.
339 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
341         * manual/intro.texi: Fix duplicated typo.
343 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
345         [BZ #13304]
346         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
347         <float.h>, <math_private.h> and <stdlib.h>.
348         (add_split): New function.
349         (mul_split): Likewise.
350         (ext_val): New typedef.
351         (store_ext_val): New function.
352         (mul_ext_val): New function.
353         (compare): New function.
354         (add_split_ext): New function.
355         (__fmal): After checking for Inf, NaN and zero, compute result as
356         an exact sum of scaled double values in round-to-nearest before
357         adding those up and adjusting for other rounding modes.
358         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
359         tests of fma.
360         * math/auto-libm-test-out: Regenerated.
362 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
364         [BZ #20119]
365         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
366         processor level type mask for CPUID with EAX == 11.
368 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
370         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
371         logical threads if the HTT bit is 0.
372         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
373         (index_cpu_HTT): Likewise.
374         (reg_HTT): Likewise.
376 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
378         [BZ #20115]
379         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
380         Remove alignments on jump targets.
382 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
384         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
385         (getpwent): Likewise.
386         (setpwent): Likewise.
387         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
388         variable.
390         * conform/data/search.h-data (insque): Do not expect for [XPG3].
391         (remque): Likewise.
392         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
393         variable.
395 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
397         * math/libm-test.inc: Update comment not to refer to signs of NaNs
398         not being tested.
400 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
402         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
403         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
404         call.
405         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
406         (__condvar_cleanup1): Likewise.
408 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
410         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
411         New
412         (__pthread_unwind): Renamed to ...
413         (PTHREAD_UNWIND): This.
414         (__pthread_enable_asynccancel): Replace
415         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
417 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
419         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
420         (CLONE_NEWCGROUP): New macro.
422         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
423         (Q_GETNEXTQUOTA): New macro.
425 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
427         [BZ #19907]
428         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
429         buffer updated by the previous run.
430         * string/test-memcpy.c (do_one_test): Likewise.
431         * benchtests/bench-memmove.c (do_one_test): Add a comment.
432         * string/test-memmove.c (do_one_test): Likewise.
434 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
436         [BZ #20094]
437         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
438         not [__USE_XOPEN].
439         (unlockpt): Likewise.
440         (ptsname): Likewise.
441         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
442         variable.
444         [BZ #20076]
445         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
446         instead of [__USE_UNIX98].
447         (S_ISSOCK): Likewise.
448         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
449         variable.
451         [BZ #20074]
452         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
453         [__USE_POSIX].
454         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
455         variable.
457         [BZ #20051]
458         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
459         (ttyslot): Do not declare.
460         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
461         (ttyslot): New prototype.
462         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
463         variable.
464         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
466 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
468         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
470 2016-05-13  Florian Weimer  <fweimer@redhat.com>
472         Fix race condition in tst-mallocfork2, use fewer resources.
473         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
474         to current process group.
475         (signal_sender): Yield in the non-sleeping case.
477 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
479         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
480         (ecvt): Likewise.
481         (fcvt): Likewise.
482         (gcvt): Likewise.
483         (getsubopt): Likewise.
484         (grantpt): Likewise.
485         (initstate): Likewise.
486         (l64a): Likewise.
487         (mktemp): Likewise.
488         (mkstemp): Likewise.
489         (ptsname): Likewise.
490         (random): Likewise.
491         (realpath): Likewise.
492         (setstate): Likewise.
493         (srandom): Likewise.
494         (ttyslot): Likewise.
495         (unlockpt): Likewise.
496         (valloc): Likewise.
498         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
499         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
500         variable.
502 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
504         [BZ #20072]
505         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
506         init_cpu_features only if SHARED is defined.
507         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
509 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
511         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
512         non-inclusive caches on Intel processors.
514 2016-05-13  Florian Weimer  <fweimer@redhat.com>
516         * malloc/malloc.c (dumped_main_arena_start)
517         (dumped_main_arena_end): New variables.
518         (DUMPED_MAIN_ARENA_CHUNK): New macro.
519         (do_check_chunk): Skip dumped fake mmapped chunks.
520         (munmap_chunk): Likewise.
521         (__libc_free): Do not adjust statistics for fake mmapped chunks.
522         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
523         mmapped chunks.
524         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
525         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
526         and dumped_main_arena_end to cover the dumped heap.
528 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
530         * conform/data/time.h-data (getdate_err): Do not expect for
531         [XPG3].
532         (getdate): Likewise.
533         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
534         variable.
536         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
537         (F_ULOCK): Likewise.
538         (F_TEST): Likewise.
539         (F_TLOCK): Likewise.
540         (useconds_t): Likewise.
541         (intptr_t): Do not expect for [XPG3] or [XPG4].
542         (brk): Do not expect for [XPG3]
543         (fchown): Likewise.
544         (fchdir): Likewise.
545         (ftruncate): Likewise.
546         (getdtablesize): Likewise.
547         (gethostid): Likewise.
548         (getpagesize): Likewise.
549         (getpgid): Likewise.
550         (getsid): Likewise.
551         (getwd): Likewise.
552         (lchown): Likewise.
553         (lockf): Likewise.
554         (readlink): Likewise.
555         (sbrk): Likewise.
556         (setpgrp): Likewise.
557         (setregid): Likewise.
558         (setreuid): Likewise.
559         (symlink): Likewise.
560         (sync): Likewise.
561         (truncate): Likewise.
562         (ualarm): Likewise.
563         (usleep): Likewise.
564         (vfork): Likewise.
565         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
566         variable.
568         [BZ #20054]
569         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
570         not [__USE_UNIX98].
571         * conform/data/unistd.h-data (gethostname): Do not expect for
572         [XPG3].
574         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
575         [!POSIX] (S_IFBLK): Likewise.
576         [!POSIX] (S_IFCHR): Likewise.
577         [!POSIX] (S_IFIFO): Likewise.
578         [!POSIX] (S_IFREG): Likewise.
579         [!POSIX] (S_IFDIR): Likewise.
580         [!POSIX] (S_IFLNK): Likewise.
581         [!POSIX] (S_IFSOCK): Likewise.
582         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
583         variable.
584         (test-xfail-XPG4/fcntl.h/conform): Likewise.
586 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
588         * sysdeps/aarch64/memset.S (__memset):
589         Rewrite of optimized memset.
591 2016-05-12  Florian Weimer  <fweimer@redhat.com>
593         [BZ #19703]
594         Partially async-signal-safe fork for single-threaded processes.
595         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
596         variable.  Do not acquire and reset/release malloc and libio locks
597         in single-threaded processes.
598         * malloc/tst-mallocfork2.c: New file.
599         * malloc/Makefile (tests): Add it.
601 2016-05-12  Florian Weimer  <fweimer@redhat.com>
603         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
604         argument.  Use scratch buffer instead of extend_alloca.
605         (gethosts): Use scratch buffer instead of extend_alloca.
606         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
607         extend_alloca.
608         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
610 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
612         [BZ #20055]
613         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
614         instead of [__USE_UNIX98].
615         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
616         [__USE_UNIX98].
617         * conform/data/termios.h-data (tcgetsid): Do not expect for
618         [XPG3].
619         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
620         variable.
621         (test-xfail-XPG4/termios.h/conform): Likewise.
623 2016-05-11  Florian Weimer  <fweimer@redhat.com>
625         Do not use mcheck in localedef.
626         * locale/programs/localedef.c (turn_on_mcheck)
627         (__malloc_initialize_hook): Remove.
629 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
631         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
632         * sysdeps/s390/s390-64/Makefile: Likewise.
634 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
636         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
637         Remove ifunc-defines.sym.
638         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
639         Likewise.
640         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
641         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
642         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
643         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
644         rtld-global-offsets.sym.
645         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
646         * sysdeps/x86/cpu-features-offsets.sym: This.
647         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
648         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
650 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
652         [BZ #20073]
653         * io/sys/stat.h (fchmod): Declare for
654         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
655         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
656         variable.
658         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
659         [XPG3] (S_IFSOCK): Likewise.
660         [XPG3] (S_ISVTX): Likewise.
661         [XPG3] (S_ISLNK): Likewise.
662         [XPG3] (S_ISSOCK): Likewise.
663         [XPG3] (fchmod): Likewise.
664         [XPG3] (lstat): Likewise.
665         [XPG3] (mknod): Likewise.
667         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
668         [XPG3].  Expect type long and XFAIL for [XPG4].
669         (st_blocks): Likewise.
671         [BZ #20044]
672         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
673         (pthread_atfork): New prototype.
674         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
675         variable.
677         [BZ #20043]
678         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
679         prototype.
681 2016-05-10  Florian Weimer  <fweimer@redhat.com>
683         [BZ #20017]
684         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
685         gmtime.
687 2016-05-10  Florian Weimer  <fweimer@redhat.com>
689         [BZ #19994]
690         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
691         flag in _res.options.
693 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
695         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
696         [XPG3 || XPG4].
697         (blksize_t): Likewise.
698         (clockid_t): Likewise.
699         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
700         variable.
701         (test-xfail-XPG4/sys/types.h/conform): Likewise.
703 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
705         * sysdeps/unix/sysv/linux/s390/init-first.c:
706         Add VDSO_SYMBOL(getcpu).
707         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
708         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
709         Add VDSO_SYMBOL(getcpu).
710         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
711         New define HAVE_GETCPU_VSYSCALL.
712         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
714 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
716         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
717         instead of <sysdeps/x86_64/cacheinfo.c>.
718         * sysdeps/x86_64/cacheinfo.c: Moved to ...
719         * sysdeps/x86/cacheinfo.c: Here.
721 2016-05-04  Florian Weimer  <fweimer@redhat.com>
723         * malloc/malloc-internal.h: Adjust header file guard.
725 2016-05-04  Florian Weimer  <fweimer@redhat.com>
727         [BZ #19787]
728         * inet/getnameinfo.c (check_sprintf_result): New function.
729         (CHECKED_SNPRINTF): New macro.
730         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
731         to the host buffer.
732         (gni_host_local): Use checked_copy to copy the host name.
733         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
734         (gni_serv_local): Use checked_copy to copy the service name.
735         (getnameinfo): Remove unnecessary truncation of result buffers.
737 2016-05-04  Florian Weimer  <fweimer@redhat.com>
739         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
740         in case of inet_ntop failure.
742 2016-05-04  Florian Weimer  <fweimer@redhat.com>
744         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
745         avoid long lines.
746         (gni_host_inet_numeric): Likewise.  Reduce scope of local
747         variables.
748         (gni_host_inet, gni_host_local): Add comment.
749         (gni_host): Add comment.  Use temporary to avoid long lines.
751 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
753         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
754         registers specifiers where general purpose registers specifiers should
755         have been used.
757 2016-05-04  Florian Weimer  <fweimer@redhat.com>
759         [BZ #19779]
760         CVE-2016-1234
761         Avoid copying names of directory entries.
762         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
763         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
764         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
765         (struct readdir_result): New type.
766         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
767         (GL_READDIR): New macros.
768         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
769         (convert_dirent, convert_dirent64): New functions.
770         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
771         convert_dirent64.  Adjust references to the readdir result.
772         * sysdeps/unix/sysv/linux/i386/glob64.c:
773         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
774         * posix/bug-glob2.c (LONG_NAME): Define.
775         (filesystem): Add LONG_NAME.
776         (my_DIR): Increase the size of room_for_dirent.
778 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
780         [BZ #20041]
781         * misc/sys/select.h (__need_timespec): Only define if
782         [__USE_XOPEN2K].
783         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
784         variable.
785         (test-xfail-XPG4/utmpx.h/conform): Likewise.
786         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
787         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
789 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
790             Segher Boessenkool  <segher@gcc.gnu.org>
792         [BZ #20004]
793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
794         (__novec_swapcontext): Add missing load.
796 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
798         [BZ #20023]
799         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
800         <time.h>.
801         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
802         variable.
803         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
805 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
808         flags CLONE_VM compare.
810 2016-05-02  Florian Weimer  <fweimer@redhat.com>
812         [BZ #20031]
813         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
814         completely empty.
816 2016-05-02  Florian Weimer  <fweimer@redhat.com>
818         [BZ #19573]
819         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
820         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
821         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
822         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
823         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
824         (hesiod_free_list): Mark as hidden.
825         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
826         res_set, res_get.
827         * hesiod/hesiod.c: Remove unnecessary forward declarations.
828         (init, __hesiod_res_get, __hesiod_res_set): Remove.
829         (hesiod_init): Remove obsolete res_ninit call.
830         (hesiod_end): Do not free resolver state.  Do not invoke callback.
831         (hesiod_bind): Do not call init.
832         (get_txt_records): Use res_mkquery, res_send instead of
833         res_nmkquery, res_nsend.
834         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
835         instead of _nss_hesiod_init.
836         (_nss_hesiod_initgroups_dyn): Likewise.
837         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
838         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
839         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
841 2016-05-02  Florian Weimer  <fweimer@redhat.com>
843         * hesiod/hesiod_p.h (DEF_RHS): Remove.
844         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
846 2016-05-02  Florian Weimer  <fweimer@redhat.com>
848         * hesiod/hesiod.h: Remove RCS keyword.
849         * hesiod/hesiod_p.h: Likewise.
851         * hesiod/hesiod.c: Likewise.
853 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
855         [BZ #12450]
856         * locale/iso-639.def: Add Samogitian/sgs.
858 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
860         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
862         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
864 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
865             Carlos O'Donell  <carlos@redhat.com>
867         [BZ #19072]
868         * grp/Makefile (headers): Add grp-merge.h
869         (routines): Add grp-merge.
870         * grp/getgrgid_r.c: Include grp-merge.h.
871         (DEEPCOPY_FN): Define.
872         (MERGE_FN): Define.
873         * grp/getgrname_r.c: Include grp-merge.h.
874         (DEEPCOPY_FN): Define.
875         (MERGE_FN): Define.
876         * grp/grp-merge.c: New file.
877         * grp/grp-merge.h: New file.
878         * include/grp-merge.h: New file.
879         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
880         __copy_grp@GLIBC_PRIVATE.
881         * manual/nss.texi (Actions in the NSS configuration): Describe
882         return, continue, and merge.
883         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
884         (DEEPCOPY_FN): Define.
885         (MERGE_FN): Define.
886         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
887         (DEEPCOPY_FN): Define.
888         (MERGE_FN): Define.
889         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
890         [!MERGE_FN]: Define __merge_einval.
891         (CHECK_MERGE): Define.
892         (REENTRANT_NAME): Process merge if do_merge is true.
893         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
894         (__nss_getent_r): Likewise.
895         * nss/nsswitch.c (nss_parse_service_list): Likewise.
896         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
898 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
900         [BZ #20012]
901         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
902         length to calculate the buffer to read.
903         (fmemopen_write): Set the buffer position based on bytes written.
904         (fmemopen_seek): Return EINVAL for invalid whence modes.
906         [BZ #19957]
907         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
908         tst-getpid2.
909         (test): Add tst-clone2.
910         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
911         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
912         pid/tid fields for CLONE_VM.
913         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
914         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
915         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
916         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
917         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
918         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
919         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
920         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
922         Likewise.
923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
924         Likewise.
925         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
926         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
927         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
928         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
929         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
930         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
931         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
932         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
934 2016-04-29  Florian Weimer  <fweimer@redhat.com>
936         [BZ #19642]
937         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
938         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
939         (gni_serv_local, gni_serv): New functions extracted from
940         getnameinfo.
941         (getnameinfo): Call gni_host and gni_serv to perform the
942         processing.  Always free scratch buffer.
944 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
946         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
947         remaining bytes in the dest string, with zeros.
949 2016-04-29  Florian Weimer  <fweimer@redhat.com>
951         [BZ #20010]
952         CVE-2016-3706
953         * sysdeps/posix/getaddrinfo.c
954         (convert_hostent_to_gaih_addrtuple): New function.
955         (gethosts): Call convert_hostent_to_gaih_addrtuple.
956         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
957         AF_INET data.
959 2016-04-29  Florian Weimer  <fweimer@redhat.com>
961         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
962         callback function gl_readdir.
963         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
964         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
965         (glob_in_dir): Remove len.  Use strdup instead of malloc and
966         memcpy to copy the name.
967         * manual/pattern.texi (Calling Glob): Document requirements for
968         implementations of the gl_readdir callback function.
969         * manual/examples/mkdirent.c: New example.
970         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
971         per the manual guidance.
972         * posix/tst-gnuglob.c (my_readdir): Likewise.
974 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
976         [BZ #20014]
977         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
978         not [__USE_POSIX].
979         (getchar_unlocked): Likewise.
980         (putc_unlocked): Likewise.
981         (putchar_unlocked): Likewise.
982         (flockfile): Likewise.
983         (ftrylockfile): Likewise.
984         (funlockfile): Likewise.
985         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
986         variable.
987         (test-xfail-XPG4/stdio.h/conform): Likewise.
989         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
990         Expect constant.
991         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
992         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
993         variable.
994         (test-xfail-XPG4/langinfo.h/conform): Likewise.
995         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
997         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
998         [__USE_LARGEFILE64] (off64_t): Likewise.
999         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
1000         variable.
1002 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1004         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
1006 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1008         * resolv/inet_addr.c: Reindent preprocessor conditionals.
1009         * resolv/res_init.c: Likewise.
1010         * resolv/res_mkquery.c: Likewise.
1012 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1014         * resolv/res_init.c (isascii): Do not define.  Use definition in
1015         <ctype.h>.
1016         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
1017         (LOG_AUTH): Remove.
1018         (SPRINTF): Remove, adjust caller.
1019         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
1021 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1023         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
1024         SUNSECURITY conditional.
1025         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1027 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1029         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
1030         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
1031         Remove BSD-related preprocessor conditionals.
1032         * conf/portability.h: Remove.
1034 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1036         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
1037         * resolv/res_data.c: Likewise.
1039 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1041         * resolv/res_comp.c: Remove code conditional on __ultrix__.
1042         * resolv/res_data.c: Remove code conditional on ultrix.
1044 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1046         * resolv/res_init.c (RFC1535): Do not define.  Remove
1047         RFC1535 preprocessor conditionals.
1048         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
1049         because there configuration options which make the resolver
1050         behavior different.
1052 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1054         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
1055         RESOLVSORT preprocessor conditionals.
1056         * resolv/nss_dns/dns-host.c: Likewise.
1057         * resolv/res_init.c: Likewise.
1059 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1061         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
1062         is never defined.
1064 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1066         * inet/inet_lnaof.c: Remove SCSS keyword.
1067         * inet/inet_mkadr.c: Likewise.
1068         * inet/inet_net.c: Likewise.
1069         * inet/inet_netof.c: Likewise.
1070         * inet/rcmd.c: Likewise.
1071         * inet/rexec.c: Likewise.
1072         * inet/ruserpass.c: Likewise.
1074 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1076         * resolv/inet_addr.c: Remove _LIBC conditionals.
1077         * resolv/res_data.c: Likewise.
1078         * resolv/res_init.c: Likewise.
1079         * resolv/res_mkquery.c: Likewise.
1080         * resolv/res_libc.c: Update comment.
1081         * resolv/README: Update.
1083 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1085         * resolv/gethnamaddr.c: Remove SCSS keyword.
1086         * resolv/herror.c: Likewise.
1087         * resolv/inet_addr.c: Likewise.
1088         * resolv/inet_net_ntop.c: Likewise.
1089         * resolv/inet_net_pton.c: Likewise.
1090         * resolv/inet_neta.c: Likewise.
1091         * resolv/inet_ntop.c: Likewise.
1092         * resolv/inet_pton.c: Likewise.
1093         * resolv/ns_date.c: Remove RCS keyword.
1094         * resolv/ns_name.c: Likewise.
1095         * resolv/ns_netint.c: Likewise.
1096         * resolv/ns_parse.c: Likewise.
1097         * resolv/ns_print.c: Likewise.
1098         * resolv/ns_samedomain.c: Likewise.
1099         * resolv/ns_ttl.c: Likewise.
1100         * resolv/nsap_addr.c: Likewise.
1101         * resolv/res_comp.c: Remove SCSS and RCS keyword.
1102         * resolv/res_data.c: Remove RCS keyword.
1103         * resolv/res_debug.c: Remove SCSS and RCS keyword.
1104         * resolv/res_init.c: Likewise.
1105         * resolv/res_mkquery.c: Likewise.
1106         * resolv/res_query.c: Likewise.
1107         * resolv/res_send.c: Likewise.
1109 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1111         * conform/data/stdio.h-data (fdopen): Expect also for
1112         [XPG3 || XPG4].
1114         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
1115         (fseeko): Likewise.
1116         (ftello): Likewise.
1117         (ftrylockfile): Likewise.
1118         (funlockfile): Likewise.
1119         (getc_unlocked): Likewise.
1120         (getchar_unlocked): Likewise.
1121         (putc_unlocked): Likewise.
1122         (putchar_unlocked): Likewise.
1124 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1126         [BZ #19868]
1127         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1128         DNS packet syntax checks (which were not needed before).  Skip
1129         over non-PTR records.
1131 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1133         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1134         definition.  Include <stddef.h> instead.
1136 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1138         [BZ #19831]
1139         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1140         function.
1141         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1142         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1144 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1146         [BZ #19862]
1147         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1148         (getanswer_r): Do not call syslog.
1149         (gaih_getanswer_slice): Likewise.
1150         * resolv/gethnamaddr.c (AskedForGot): Remove.
1151         (getanswer): Do not call syslog.
1152         (gethostbyaddr): Likewise.
1154 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1156         * conform/data/signal.h-data (union sigval): Expect also if
1157         [XOPEN2K].
1158         (struct sigevent): Likewise.
1159         (SIGEV_NONE): Likewise.
1160         (SIGEV_SIGNAL): Likewise.
1161         (SIGEV_THREAD): Likewise.
1162         (SIGRTMIN): Likewise.
1163         (SIGRTMAX): Likewise.
1164         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1165         variable.
1166         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1168 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1170         [BZ #19830]
1171         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1172         (gaih_getanswer_slice): Likewise.
1173         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1174         Also check for availability of RR metadata.
1176 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1178         [BZ #19825]
1179         * resolv/res_send.c (send_vc): Remove early *resplen2
1180         initialization.  Set *resplen2 on socket error.  Call
1181         close_and_return_error for other errors.
1183 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1185         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1186         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1187         (SCM_IUCV_TRGCLS): New define.
1189 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1191         [BZ #20005]
1192         * libio/fmemopen.c (fmemopen_write): Update internal position after
1193         write.
1194         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1195         * stdio-common/tst-fmemopen4.c: New file..
1197 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1199         [BZ #19996]
1200         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1201         not [__USE_XOPEN2K].
1202         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1203         variable.
1205         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1206         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1207         variable.
1209         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1210         [__USE_XOPEN2K8].
1211         [__USE_LARGEFILE64] (off64_t): Likewise.
1212         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1213         variable.
1215 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1217         [BZ #19989]
1218         * libio/stdio.h (cuserid): Do not declare if
1219         [__USE_XOPEN2K && !__USE_GNU].
1220         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1221         variable.
1223 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1225         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1226         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1228         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1229         ifunc'ed strcspn.
1230         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1231         [EALIGN]: Removed.
1232         [END]: Likewise
1233         [STRSPN]: Define instead of the above to control symbol name.
1234         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1235         New file.
1236         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1237         Likewise.
1238         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1239         Likewise.
1240         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1241         Likewise.
1242         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1243         [INITIAL_MASK]: New macro.
1244         [STRCSPN]: Likewise.
1245         [UPDATE_MASK]: Likewise.
1246         [USE_AS_STRCSPN]: Lisewise.
1248 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1250         [BZ #19931]
1251         * stdio-common/tst-vfprintf-width-prec.c: New file.
1252         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1253         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1254         (generated): Add mtrace-related files.
1255         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1256         (tst-%-mem.out): New pattern rule, replaces
1257         tst-printf-bz18872-mem.out.
1258         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1259         specifier, deallocate any previously allocated work buffer.
1261 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1263         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1264         Add nop before __startcontext, add explaining comments.
1266 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1268         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1269         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1270         completely different API.
1272         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1273         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1274         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1275         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1276         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1277         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1278         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1279         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1280         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1281         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1283 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1285         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1287 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1289         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1290         when it is the default of 0.
1292 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1294         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1295         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1296         (sysdep_routines): Add new strcasestr targets.
1297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1298         (__libc_ifunc_impl_list): Likewise.
1299         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1300         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1301         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1302         * sysdeps/powerpc/powerpc64/power8/Makefile:
1303         New file to add strcasestr-ppc64 to sysdep_routines.
1304         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1305         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1307 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1309         * benchtests/Makefile (wcsmbs-benchset): Include only for
1310         native builds and runs.
1311         (LOCALES): Likewise.
1312         (bench-build): Build timing-type here instead of the bench
1313         target.  Generate locale only for native builds.
1314         * benchtests/README: Add note for cross-building.
1316         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1318         * benchtests/README: Update README to include instructions on
1319         using bench-build.
1321         * Makefile.in (bench-build): New target.
1322         * Rules (PHONY): Add bench-build target.
1323         * benchtests/Makefile (bench): Depend on bench-build.
1324         (bench-build): New target.
1326 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1328         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1329         profil_reply_port.
1330         (profile_waiter): Do not initialize profil_reply_port.
1331         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1332         frequency instead of tick length in us.
1334 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1336         [BZ #18712]
1337         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1338         (__old_mempcpy_small): Likewise.
1339         (__old_strcpy_small): Likewise.
1340         (__old_stpcpy_small): Likewise.
1341         (__old_strpbrk_c2): Fix compat symbol name.
1342         (__old_strpbrk_c3): Likewise.
1343         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1344         (__mempcpy_small): Remove.
1345         (__strcpy_small): Remove.
1346         (__stpcpy_small): Remove.
1348 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1350         [BZ #19400]
1351         * locale/iso-639.def: Add the Talossan/tzl language.
1353 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1355         [BZ #16983]
1356         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1357         comment.  Add "ln" to strchr check on postal_fmt.
1359 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1361         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1362         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1363         tel_dom_fmt.
1365 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1367         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1368         (sysdep_routines): Added __strlen_power8.
1369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1370         __strlen_power8 entry.
1371         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1372         Implementation for POWER8.
1373         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1374         for __strlen_power8.
1375         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1376         Implementation for POWER8.
1378 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1380         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1382 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1384         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1385         Goldmont and Airmont processors.
1387 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1389         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1390         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1391         (__STRING2_SMALL_GET32): Remove.
1392         (memset): Remove.
1393         (__memset_1): Remove.
1394         (__memset_gc): Remove.
1395         (__mempcpy): Remove.
1396         (mempcpy): Remove.
1397         (__mempcpy_args): Remove.
1398         (strchr): Remove.
1399         (strcpy): Remove.
1400         (strcpy_args): Remove.
1401         (__stpcpy_args): Remove.
1402         (__strcmp_cc): Remove.
1403         (__strcmp_gc): Remove.
1404         (strstr): Remove.
1406 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1408         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1409         * nis/nis_call.c (nis_server_cache_add): Likewise.
1411 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1413         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1415 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1417         * malloc/arena.c (__malloc_fork_lock_parent)
1418         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1419         internal_function attribute.
1421 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1423         * stdio-common/printf_fp.c (__printf_fp_l):
1424         Rename ___printf_fp_l to __printf_fp_l and
1425         remove strong alias. Use libc_hidden_def instead
1426         of ldbl_hidden_def macro.
1428 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1430         Remove malloc hooks from fork handler.  They are no longer needed
1431         because malloc runs right before fork, and no malloc calls from
1432         other fork handlers are not possible anymore.
1433         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1434         declarations.
1435         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1436         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1437         (atfork_recursive_cntr): Remove.
1438         (__malloc_fork_lock_parent): Do not override malloc hooks and
1439         thread_arena.
1440         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1441         thread_arena.
1442         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1443         thread_arena instead of save_arena.
1445 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1447         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1448         (thread_atfork, thread_atfork_static): Remove.
1449         * sysdeps/mach/hurd/malloc-machine.h:
1450         (thread_atfork, thread_atfork_static): Remove.
1452 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1454         [BZ #19431]
1455         Run the malloc fork handler as late as possible to avoid deadlocks.
1456         * malloc/malloc-internal.h: New file.
1457         * malloc/malloc.c: Include it.
1458         * malloc/arena.c (ATFORK_MEM): Remove.
1459         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1460         Update comment.
1461         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1462         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1463         Remove outdated comment.
1464         (ptmalloc_init): Do not call thread_atfork.  Remove
1465         thread_atfork_static.
1466         * malloc/tst-malloc-fork-deadlock.c: New file.
1467         * Makefile (tests): Add tst-malloc-fork-deadlock.
1468         (tst-malloc-fork-deadlock): Link against libpthread.
1469         * manual/memory.texi (Aligned Memory Blocks): Update safety
1470         annotation comments.
1471         * sysdeps/nptl/fork.c (__libc_fork): Call
1472         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1473         __malloc_fork_unlock_child.
1474         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1476 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1478         [BZ #19613]
1479         Remove union wait.
1480         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1481         (w_stopsig, w_stopval): Remove.
1482         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1483         stat_loc argument.
1484         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1485         (__WAIT_STATUS_DEFN): Remove.
1486         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1487         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1488         (wait, wait3, wait4): Use int * for the stat_loc argument.
1489         * posix/wait.c (__wait): Likewise.
1490         * posix/wait3.c (__wait3): Likewise.
1491         * posix/wait4.c (__wait4): Likewise.
1492         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
1493         (__WAIT_STATUS_DEFN): Remove.
1494         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1495         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
1496         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
1497         argument.
1498         * sysdeps/posix/wait.c (__libc_wait): Likewise.
1499         * sysdeps/posix/wait3.c (__wait3): Likewise.
1500         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
1501         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1502         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
1503         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
1504         stat_loc argument.
1505         * manual/process.texi (BSD Wait Functions): Remove union wait.
1507 2016-04-13  Andreas Schwab  <schwab@suse.de>
1509         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1510         (test-extras): Add tst-tlsalign-vars.
1511         * math/Makefile: Wrap long lines.
1512         (libm-vec-test-wrappers): Define.
1513         (test-extras): Add $(libm-vec-test-wrappers).
1514         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1515         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1516         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1517         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1518         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1519         (extra-test-objs): Add corresponding objects.
1521 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1523         [BZ #19928]
1524         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1525         New.
1526         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1527         times of shared cache size.
1528         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
1529         (VMOVNT): New.
1530         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
1531         (VMOVNT): Likewise.
1532         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
1533         (VMOVNT): Likewise.
1534         (VMOVU): Changed to movups for smaller code sizes.
1535         (VMOVA): Changed to movaps for smaller code sizes.
1536         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
1537         comments.
1538         (PREFETCH): New.
1539         (PREFETCH_SIZE): Likewise.
1540         (PREFETCHED_LOAD_SIZE): Likewise.
1541         (PREFETCH_ONE_SET): Likewise.
1542         Rewrite to use forward and backward loops, which move 4 vector
1543         registers at a time, to support overlapping addresses and use
1544         non temporal store if size is above the threshold and there is
1545         no overlap between destination and source.
1547 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
1549         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
1550         Include dl-vdso.
1551         * sysdeps/unix/sysv/linux/mips/Versions: Add
1552         __vdso_clock_gettime.
1553         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
1554         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
1555         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
1556         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
1557         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
1558         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
1559         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1560         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1561         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1563 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1565         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
1566         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
1567         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1568         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1569         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1570         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1573         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
1574         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
1575         syscalls generation.
1576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1577         [__NR_pwrite64] (__NR_write): Remove define.
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1579         [__NR_pwrite64] (__NR_write): Remove define.
1580         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
1581         Remove define.
1582         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
1583         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
1584         Remove define.
1585         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
1586         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
1587         Linux implementation as base.
1588         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1590         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
1591         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
1592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1593         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
1595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1596         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
1597         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
1598         syscall generation.
1599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1600         [__NR_pread64] (__NR_pread): Remove define.
1601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1602         [__NR_pread64] (__NR_pread): Likewise.
1603         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
1604         define.
1605         (__libc_pread): Use SYSCALL_LL macro on offset argument.
1606         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
1607         Remove define.
1608         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
1609         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
1610         Linux implementation as base.
1611         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1612         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1613         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1615         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
1616         definition.
1617         (__ALIGNMENT_COUNT): Likewise.
1618         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
1619         (__ALIGNMENT_COUNT): Likewise.
1620         (SYSCALL_LL): New define.
1621         (SYSCALL_LL64): Likewise.
1622         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
1623         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
1624         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
1625         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
1627         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1628         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
1629         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1630         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1631         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1632         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1634 2016-04-11  Florian Weimer  <fweimer@redhat.com>
1636         [BZ #19865]
1637         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
1638         original buffer before retry.
1640 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1642         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
1643         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
1644         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
1645         GLRO(dl_auxv) list.
1646         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
1647         including <ldsodefs.h>.
1648         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
1650 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
1652         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
1653         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
1654         $(CPPFLAGS).
1656 2016-04-09  Khem Raj  <raj.khem@gmail.com>
1658         [BZ #17950]
1659         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
1660         Add -mfpmath=387.
1662 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
1664         * sysdeps/i386/configure.ac: Change == to = when calling test.
1665         * sysdeps/x86_64/configure.ac: Likewise.
1666         * sysdeps/i386/configure: Regenerated.
1667         * sysdeps/x86_64/configure: Likewise.
1669 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
1671         [BZ #16137]
1672         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
1673         * benchtests/bench-strcoll.c (input_files): Likewise.
1674         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1675         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
1676         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
1678 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
1680         [BZ #19929]
1681         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
1682         [__USE_XOPEN2K8 && !__USE_GNU].
1683         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
1684         variable.
1686         [BZ #19925]
1687         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
1688         define if [!__USE_MISC && __USE_XOPEN2K].
1689         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
1690         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
1691         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
1692         Likewise.
1693         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
1694         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
1695         variable.
1696         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1698 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1700         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1701         (sysdep_routines): Add new strspn targets.
1702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1703         (__libc_ifunc_impl_list): Add strspn.
1704         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1705         New file.
1706         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
1707         Likewise.
1708         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
1709         Likewise.
1710         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1711         Likewise.
1713 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1715         * misc/hsearch_r.c: Include <limits.h>.
1717 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1719         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
1721 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1723         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1724         (MEMCPY_SYMBOL): New.
1725         (MEMPCPY_SYMBOL): Likewise.
1726         (MEMMOVE_CHK_SYMBOL): Likewise.
1727         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
1728         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
1729         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
1730         Provide alias for memcpy in libc.a and ld.so.
1732 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1734         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1735         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
1736         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
1737         Disabled fro now.
1738         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
1739         symbols.  Properly check USE_MULTIARCH on __memset symbols.
1741 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1743         * benchtests/Makefile (string-benchset): Add memcpy-large,
1744         memmove-large and memset-large.
1745         * benchtests/bench-memcpy-large.c: New file.
1746         * benchtests/bench-memmove-large.c: Likewise.
1747         * benchtests/bench-memmove-large.c: Likewise.
1748         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
1750 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1752         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
1753         32-bit displacement to avoid long nop between instructions.
1755 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1757         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
1758         a comment on VMOVU and VMOVA.
1760 2016-04-04  Florian Weimer  <fweimer@redhat.com>
1762         [BZ #19633]
1763         Use specified locale for number formatting in strfmon_l.
1764         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
1765         (__nl_lookup_word): New inline functions.
1766         * include/printf.h (__print_fp_l): Declare.
1767         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
1768         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
1769         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
1770         (___printf_fp): New function.
1771         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
1772         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
1773         * stdlib/tst-strfmon_l.c (do_test): New test.
1774         * stdlib/Makefile (tests): Add kt.
1775         (LOCALES): Build additional locales.
1776         (tst-strfmon_l.out): Require locales.
1778 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1780         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
1781         if not in libc.
1782         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1783         Likewise.
1784         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
1785         Likewise.
1786         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1787         Likewise.
1789 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1791         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1792         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
1793         with unaligned_erms.
1794         (__memmove_erms): Skip if source == destination.
1795         (__memmove_unaligned_erms): Don't check source == destination
1796         first.
1798 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1800         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
1801         bit_arch_Fast_Copy_Backward for Intel Core proessors.
1803 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1805         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
1806         * string/strspn.c (strspn): Likewise.
1808 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1810         * benchtests/bench-memset.c (do_test): Support 64-byte
1811         alignment.
1812         (test_main): Test 64-byte alignment.
1814 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1816         * benchtests/bench-memmove.c (test_main): Test 64-byte
1817         alignment.
1819 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1821         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
1823 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1825         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
1826         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
1827         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
1829         * string/strpbrk.c (strpbrk): Rewrite function.
1830         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
1831         (__strpbrk_c2): Likewise.
1832         (__strpbrk_c3): Likewise.
1833         * string/string-inlines.c
1834         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
1835         Likewise.
1836         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
1837         Likewise.
1839         * string/strspn.c (strcspn): Rewrite function.
1840         * string/bits/string2.h (strspn): Use __builtin_strcspn.
1841         (__strspn_c1): Remove inline function.
1842         (__strspn_c2): Likewise.
1843         (__strspn_c3): Likewise.
1844         * string/string-inlines.c
1845         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
1846         compatibility symbol.
1847         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
1848         Likewise.
1849         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
1850         Likewise.
1851         * string/string-inlines.c: Include generic version.
1853 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
1854             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1856         * string/Version (libc): Add GLIBC_2.24.
1857         * string/strcspn.c (strcspn): Rewrite function.
1858         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
1859         (__strcspn_c1): Remove inline function.
1860         (__strcspn_c2): Likewise.
1861         (__strcspn_c3): Likewise.
1862         * string/string-inline.c
1863         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
1864         compatibility symbol.
1865         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
1866         Likewise.
1867         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
1868         Likewise.
1869         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
1871 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1873         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1874         Use ahi instead of aghi to adjust stack pointer.
1876 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1878         [BZ #19853]
1879         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
1880         TEST to take significant digits as second parameter.
1881         [TEST]: Redefine in terms of TEST_N taking 30
1882         significant digits.
1883         (do_test): Add test case to demonstrate precision
1884         failure in the ldbl-128ibm printf.
1885         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
1886         (__mpn_extract_long_double): Carry 7 extra intermediate
1887         bits of precision to aide computing difference when
1888         signs differ.
1890 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1892         [BZ #19881]
1893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1894         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
1895         memset-avx512-unaligned-erms.
1896         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1897         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
1898         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
1899         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
1900         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
1901         __memset_sse2_unaligned_erms, __memset_erms,
1902         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
1903         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1904         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
1905         file.
1906         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1907         Likewise.
1908         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
1909         Likewise.
1910         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
1911         Likewise.
1913 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1915         [BZ #19776]
1916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1917         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
1918         memmove-avx512-unaligned-erms.
1919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1920         (__libc_ifunc_impl_list): Test
1921         __memmove_chk_avx512_unaligned_2,
1922         __memmove_chk_avx512_unaligned_erms,
1923         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
1924         __memmove_chk_sse2_unaligned_2,
1925         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
1926         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
1927         __memmove_avx512_unaligned_erms, __memmove_erms,
1928         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
1929         __memcpy_chk_avx512_unaligned_2,
1930         __memcpy_chk_avx512_unaligned_erms,
1931         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
1932         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
1933         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
1934         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
1935         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
1936         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
1937         __mempcpy_chk_avx512_unaligned_erms,
1938         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
1939         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
1940         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
1941         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
1942         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
1943         __mempcpy_erms.
1944         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
1945         file.
1946         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1947         Likwise.
1948         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1949         Likwise.
1950         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1951         Likwise.
1953 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1955         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
1956         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
1957         (La_s390_64_regs): Likewise.
1958         (La_s390_32_retval): Append vector register lrv_v24.
1959         (La_s390_64_retval): Likeweise.
1960         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
1961         Handle extended structs La_s390_32_regs and La_s390_32_retval.
1962         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
1963         Handle extended structs La_s390_64_regs and La_s390_64_retval.
1965 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1967         [BZ #19916]
1968         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
1969         to create a non-vector/vector version for _dl_runtime_resolve and
1970         _dl_runtime_profile. Move implementation to ...
1971         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
1972         (_dl_runtime_resolve) Save and restore fpr/vrs.
1973         (_dl_runtime_profile) Save and restore vrs and fix some issues
1974         if _dl_call_pltexit is called.
1975         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
1976         Choose the correct resolver function if running on a machine with vx.
1977         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
1978         to create a non-vector/vector version for _dl_runtime_resolve and
1979         _dl_runtime_profile. Move implementation to ...
1980         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
1981         (_dl_runtime_resolve) Save and restore fpr/vrs.
1982         (_dl_runtime_profile) Save and restore vrs and fix some issues
1983         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
1984         Choose the correct resolver function if running on a machine with vx.
1986 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1988         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
1990 2016-03-31  Florian Weimer  <fweimer@redhat.com>
1992         [BZ #19509]
1993         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
1994         skip_map != NULL.
1995         * elf/tst-dlsym-error.c: New file.
1996         * elf/Makefile (tests): Add tst-dlsym-error.
1997         (tst-dlsym-error): Link against libdl.
1999 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
2001         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2002         (__ASSUME_FUTIMESAT): Remove macro.
2003         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
2005 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2007         [BZ #19879]
2008         CVE-2016-3075
2009         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
2010         copy name.
2012 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2014         [BZ #19837]
2015         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
2016         error if parse_line fails.
2018 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2020         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
2021         (index_cpu_ERMS): Likewise.
2022         (reg_ERMS): Likewise.
2024 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
2026         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
2027         PER_LINUX_FDPIC): Add.
2029 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2031         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2032         memcpy-avx512-no-vzeroupper.
2033         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
2034         to ...
2035         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
2036         (MEMCPY): Don't define.
2037         (MEMCPY_CHK): Likewise.
2038         (MEMPCPY): Likewise.
2039         (MEMPCPY_CHK): Likewise.
2040         (MEMPCPY_CHK): Renamed to ...
2041         (__mempcpy_chk_avx512_no_vzeroupper): This.
2042         (MEMPCPY_CHK): Renamed to ...
2043         (__mempcpy_chk_avx512_no_vzeroupper): This.
2044         (MEMCPY_CHK): Renamed to ...
2045         (__memmove_chk_avx512_no_vzeroupper): This.
2046         (MEMCPY): Renamed to ...
2047         (__memmove_avx512_no_vzeroupper): This.
2048         (__memcpy_avx512_no_vzeroupper): New alias.
2049         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
2051 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2053         [BZ #18858]
2054         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2055         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
2056         and mempcpy-avx512-no-vzeroupper.
2057         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
2058         New.
2059         (MEMPCPY): Likewise.
2060         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
2061         (MEMPCPY_CHK): New.
2062         (MEMPCPY): Likewise.
2063         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
2064         (MEMPCPY): Likewise.
2065         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
2066         (MEMPCPY): Likewise.
2067         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
2068         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
2069         Likewise.
2070         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
2071         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
2073 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2074              Amit Pawar  <Amit.Pawar@amd.com>
2076         [BZ #19583]
2077         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2078         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
2079         processors.  Set Fast_Copy_Backward for AMD Excavator
2080         processors.
2081         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
2082         New.
2083         (index_arch_Fast_Unaligned_Copy): Likewise.
2084         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
2085         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
2087 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2089         [BZ #19791]
2090         * resolv/res_send.c (close_and_return_error): New function.
2091         (send_dg): Initialize *resplen2 after reopen failure.  Call
2092         close_and_return_error for error returns.  On error paths without
2093         __res_iclose, initialze *resplen2 explicitly.  Update comment for
2094         successful return.
2096 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2098         [BZ# 19860]
2099         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
2100         zero if the compiler does not provide the AVX512F bit.
2102 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
2104         [BZ #19848]
2105         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
2106         from 8 to 4.
2107         (__ieee754_powl): Compare integer exponent against 4 not 8.
2108         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
2109         from 8 to 4.
2110         (__ieee754_powl): Compare integer exponent against 4 not 8.
2111         * math/auto-libm-test-in: Add more tests of pow.
2112         * math/auto-libm-test-out: Regenerated.
2113         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
2114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2116 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2118         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
2119         Make code unconditional.
2120         [!__NR_utimensat]: Remove conditional code.
2121         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
2122         Make code unconditional.
2123         [!__NR_utimensat]: Remove conditional code.
2124         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2125         Make code unconditional.
2126         [!__NR_utimensat]: Remove conditional code.
2128 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2130         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2131         Make code unconditional.
2133 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2135         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2136         call-clobbered %eax on retry path.
2137         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2139 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2141         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2142         Don't set %rcx twice before "rep movsb".
2144 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2146         [BZ #19583]
2147         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2148         inline.  Check family before setting family, model and
2149         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2150         bits here.
2151         (init_cpu_features): Replace HAS_CPU_FEATURE and
2152         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2153         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2154         for Intel processors with usable AVX2.  Call get_common_indeces
2155         for other processors with family == NULL.
2156         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2157         (CPU_FEATURES_ARCH_P): Likewise.
2158         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2159         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2161 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2163         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2164         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2165         $(shared-thread-library) instead of hardcoding the path to libpthread.
2167 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2169         * sysdeps/unix/sysv/linux/kernel-features.h
2170         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2171         * sysdeps/unix/sysv/linux/getdents.c
2172         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2173         [!have_no_getdents64_defined]: Likewise.
2174         (__GETDENTS): Remove __have_no_getdents64 conditional.
2176 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2178         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2179         Remove macro.
2180         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2181         <kernel-features.h>.
2182         (signalfd) [__NR_signalfd4]: Make code unconditional.
2183         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2185 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2187         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2188         style.
2190 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2192         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2193         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2194         __pthread_unwind.
2195         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2196         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2197         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2198         (__condvar_cleanup1): Likewise.
2200 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2202         [BZ #19822]
2203         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2204         move it to the final $@ location.
2206 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2208         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2209         access where posix_spawn success and pid argument is null.
2210         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2211         success case.
2213 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2215         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2217         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2219         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2220         and __fcntl.
2221         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2222         __fcntl only.
2223         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2224         adding attribute_hidden to __open and __fcntl.
2226         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2227         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2228         depend on libc-modules.h,
2229         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2231 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2233         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2234         Remove macro.
2235         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2236         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2237         entry.
2239         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2240         Remove macro.
2241         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2242         include <kernel-features.h>.
2243         [!__ASSUME_FALLOCATE]: Remove conditional code.
2244         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2246 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2248         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2249         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2250         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2251         (_ZGVdN4v_cos_avx2): Likewise.
2252         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2253         (_ZGVdN4v_cos): Likewise.
2254         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2255         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2256         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2257         (_ZGVdN4v_exp_avx2): Likewise.
2258         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2259         (_ZGVdN4v_exp): Likewise.
2260         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2261         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2262         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2263         (_ZGVdN4v_log_avx2): Likewise.
2264         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2265         (_ZGVdN4v_log): Likewise.
2266         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2267         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2268         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2269         (_ZGVdN4vv_pow_avx2): Likewise.
2270         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2271         (_ZGVdN4vv_pow): Likewise.
2272         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2273         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2274         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2275         (_ZGVdN4v_sin_avx2): Likewise.
2276         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2277         (_ZGVdN4v_sin): Likewise.
2278         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2279         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2280         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2281         (_ZGVdN4vvv_sincos_avx2): Likewise.
2282         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2283         (_ZGVdN4vvv_sincos): Likewise.
2284         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2285         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2286         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2287         (_ZGVbN4v_cosf_sse4): Likewise.
2288         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2289         (_ZGVdN8v_cosf_avx2): Likewise.
2290         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2291         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2292         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2293         (_ZGVbN4v_expf_sse4): Likewise.
2294         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2295         (_ZGVdN8v_expf_avx2): Likewise.
2296         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2297         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2298         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2299         (_ZGVbN4v_logf_sse4): Likewise.
2300         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2301         (_ZGVdN8v_logf_avx2): Likewise.
2302         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2303         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2304         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2305         (_ZGVbN4vv_powf_sse4): Likewise.
2306         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2307         (_ZGVdN8vv_powf_avx2): Likewise.
2308         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2309         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2310         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2311         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2312         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2313         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2314         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2315         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2316         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2317         (_ZGVbN4v_sinf_sse4): Likewise.
2318         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2319         (_ZGVdN8v_sinf_avx2): Likewise.
2320         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2321         Use JUMPTARGET to call callee.
2322         (WRAPPER_IMPL_SSE2_ff): Likewise.
2323         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2324         (WRAPPER_IMPL_AVX): Likewise.
2325         (WRAPPER_IMPL_AVX_ff): Likewise.
2326         (WRAPPER_IMPL_AVX_fFF): Likewise.
2327         (WRAPPER_IMPL_AVX512): Likewise.
2328         (WRAPPER_IMPL_AVX512_ff): Likewise.
2329         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2330         Likewise.
2331         (WRAPPER_IMPL_SSE2_ff): Likewise.
2332         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2333         (WRAPPER_IMPL_AVX): Likewise.
2334         (WRAPPER_IMPL_AVX_ff): Likewise.
2335         (WRAPPER_IMPL_AVX_fFF): Likewise.
2336         (WRAPPER_IMPL_AVX512): Likewise.
2337         (WRAPPER_IMPL_AVX512_ff): Likewise.
2338         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2340 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2342         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2343         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2344         qualifier.
2345         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2346         internal_function qualifiers.
2348 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2350         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2351         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2352         * math/atest-exp.c (exp_mpn): Mark chk unused.
2353         * math/atest-exp2.c (exp_mpn): Likwise.
2354         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2355         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2357 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2359         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2360         Remove macro.
2361         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2362         <kernel-features.h>.
2363         [__NR_ppoll]: Make code unconditional.
2364         [!__ASSUME_PPOLL]: Remove conditional code.
2366         * sysdeps/unix/sysv/linux/kernel-features.h
2367         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2368         (__ASSUME_ACCEPT4): Likewise.
2369         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2370         Define.
2371         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2372         Likewise.
2373         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2374         Likewise.
2375         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2376         Likewise.
2377         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2378         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2379         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2380         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2381         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2382         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2383         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2384         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2385         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2386         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2387         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2388         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2389         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2390         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2391         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2392         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2393         Likewise.
2394         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2395         Likewise.
2396         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2397         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2398         0x040300].
2399         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2400         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2401         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2402         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2403         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2404         0x030300].
2405         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2406         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2407         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2408         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2409         0x040300].
2410         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2411         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2412         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2413         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2414         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2415         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2416         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2417         0x030300].
2418         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2419         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2420         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2421         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2422         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2423         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2424         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2425         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2426         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2427         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2428         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2429         0x040300].
2430         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2431         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2432         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2433         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2434         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2435         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2436         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2437         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2438         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2439         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2440         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2441         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2442         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2443         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2444         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2445         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2446         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2447         Likewise.
2448         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2449         Likewise.
2451 2016-03-15  Andreas Schwab  <schwab@suse.de>
2453         [BZ #19257]
2454         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2455         statp->_u._ext.nscount as loop count.
2457 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2459         * math/test-signgam-finite-c99.c: Also #undef
2460         __LIBC_INTERNAL_MATH_INLINES.
2461         * math/test-signgam-main.c: Likewise.
2463 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2465         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2466         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2467         (MADV_FREE): Likewise.
2468         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2469         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2470         EPOLLEXCLUSIVE.
2472 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2474         * timezone/README: Remove mention of checktab.awk. Mention wiki
2475         SharedSourceFiles.
2477 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2479         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2480         WUNTRACED.
2482 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2484         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2485         order to match the type of p when calling atomic_exchange_acq().
2487 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2489         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2490         cfi_offset calls.
2491         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2492         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
2493         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
2494         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
2495         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
2497 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
2499         * timezone/checktab.awk: Removed.
2501 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
2503         * manual/math.texi (Errors in Math Functions): Document relaxed
2504         accuracy goals for IBM long double.
2505         * math/libm-test.inc (test_exceptions): Always allow spurious
2506         "underflow" and "inexact" exceptions for IBM long double.
2508 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2510         [BZ #19762]
2511         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2512         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2513         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2514         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2515         (bit_arch_*): This for feature array.
2516         (bit_*): Renamed to ...
2517         (bit_cpu_*): This for cpu array.
2518         (index_*): Renamed to ...
2519         (index_arch_*): This for feature array.
2520         (index_*): Renamed to ...
2521         (index_cpu_*): This for cpu array.
2522         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2523         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2524         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2525         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2526         bit_##name with index_cpu_##name and bit_cpu_##name.
2527         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
2528         bit_##name with index_arch_##name and bit_arch_##name.
2530 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
2532         [BZ #19792]
2533         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2534         Terminate FDE before return label.
2536 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
2538         [BZ #19790]
2539         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
2540         (rintl): Define as macro.
2541         [USE_AS_NEARBYINTL] (__rintl): Likewise.
2542         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
2543         of fesetround.  Ensure results are evaluated before end of scope.
2544         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
2545         USE_AS_NEARBYINTL and include s_rintl.c.
2546         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
2547         Disable exception traps in new environment.
2548         (libc_feholdsetround_ppc_ctx): Likewise.
2550 2016-03-08  Roland McGrath  <roland@hack.frob.com>
2552         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
2553         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
2554         (tst_audit10_aux) [__AVX512F__]: ... here.
2556 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
2558         * include/sys/auxv.h: New file.
2560 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2562         [BZ #19759]
2563         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
2565 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2567         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
2568         operand modifier.
2569         (feclearexcept): Likewise.
2571 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2573         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
2574         to reflect the entire 32-bit HWCAP.
2575         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
2576         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
2578 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2580         [BZ #19783]
2581         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
2582         $(test-via-rtld-prefix).
2583         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
2585 2016-03-08  Florian Weimer  <fweimer@redhat.com>
2587         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
2588         union wait.  Report any non-zero exit status as error.
2590 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2592         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
2593         configured with --enable-hardcoded-path-in-tests.
2595 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
2597         [BZ #19677]
2598         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2599         (__ieee754_remainderl): Put zero low parts in canonical form.
2600         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
2601         file.  Based on
2602         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
2603         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
2604         with wrapper round test-fmodrem-ldbl-128ibm.c.
2605         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
2606         file.
2607         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
2608         Likewise.
2609         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2610         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
2612 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2614         [BZ #19610]
2615         * elf/ldconfig.c (opt_link): Update comment.
2616         (options): Update help string for option -X.
2617         (search_dir): Unlink stale symbolic link only if updating symbolic
2618         links.
2619         * elf/tst-ldconfig-X.sh: New file.
2620         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
2621         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
2623 2016-03-07  Andreas Schwab  <schwab@suse.de>
2625         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
2626         needed arguments.
2628 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
2630         [BZ #15333]
2631         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
2632         to lstat64.
2634 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2636         * libio/filedoalloc.c (isatty): Remove.
2637         (local_isatty): Add comment.  Call __isatty directly.
2638         (_IO_file_doallocate): Update comment.  Assume _LIBC.
2639         * libio/wfiledoalloc.c (isatty): Remove.
2640         (_IO_wfile_doallocate): Update comment.
2642 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2644         [BZ #19269]
2645         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
2646         tst-audit4-aux.o.
2647         (tst-audit10): Depend on tst-audit10-aux.o.
2648         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
2649         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
2650         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
2651         instead of inline AVX code.
2652         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
2653         instead of inline AVX512 code.
2654         * sysdeps/x86_64/tst-audit4-aux.c: New file
2655         * sysdeps/x86_64/tst-audit10-aux.c: New file
2657         [BZ #19648]
2658         * test-skeleton.c (main): Do not set RLIMIT_DATA.
2660 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2662         [BZ #14750]
2663         [BZ #10354]
2664         [BZ #18433]
2665         * include/sched.h (__clone): Add hidden prototype.
2666         (__clone2): Likewise.
2667         * include/unistd.h (__dup): Likewise.
2668         * posix/Makefile (tests): Add tst-spawn2.
2669         * posix/tst-spawn2.c: New file.
2670         * sysdeps/posix/dup.c (__dup): Add hidden definition.
2671         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
2672         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2673         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2674         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2675         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2676         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
2677         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2678         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
2679         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2680         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2682         Likewise.
2683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2684         Likewise.
2685         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2686         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2687         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2688         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2689         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2690         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2691         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2692         * sysdeps/unix/sysv/linux/nptl-signals.h
2693         (____nptl_is_internal_signal): New function.
2694         * sysdeps/unix/sysv/linux/spawni.c: New file.
2696         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
2697         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
2698         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
2699         * posix/tst-execvp2.c (do_test): Likewise.
2700         * posix/tst-execvp3.c (do_test): Likewise.
2701         * posix/tst-execvp4.c (do_test): Likewise.
2702         * posix/tst-execvpe1.c: New file.
2703         * posix/tst-execvpe2.c: Likewise.
2704         * posix/tst-execvpe3.c: Likewise.
2705         * posix/tst-execvpe4.c: Likewise.
2706         * posix/tst-execvpe5.c: Likewise.
2707         * posix/tst-execvpe6.c: Likewise.
2709         [BZ #19534]
2710         * posix/execl.c (execl): Remove dynamic memory allocation.
2711         * posix/execle.c (execle): Likewise.
2712         * posix/execlp.c (execlp): Likewise.
2714 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2716         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
2717         Replace .text with .text.avx512.
2718         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2719         Likewise.
2721 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
2723         * sysdeps/generic/libnsl.abilist: New file.
2724         * sysdeps/generic/libutil.abilist: New file.
2726 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2728         [BZ #19762]
2729         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
2730         HAS_ARCH_FEATURE with Fast_Rep_String.
2731         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
2732         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
2733         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
2734         Likewise.
2735         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
2736         Likewise.
2737         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
2738         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
2739         Likewise.
2740         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
2741         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
2742         Likewise.
2744 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2746         [BZ #19745]
2747         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
2748         with *%rax in call.
2750 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2752         [BZ #19745]
2753         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
2754         with *__libc_start_main@GOTPCREL(%rip) in call.
2756 2016-03-04  Roland McGrath  <roland@hack.frob.com>
2758         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
2759         inside conditional for nonempty $(CXX).
2761         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
2762         nonempty.
2764         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
2765         to test for empty $(CXX) rather than $(CXX) of "no".
2767 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2769         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
2771 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
2772             H.J. Lu  <hongjiu.lu@intel.com>
2774         [BZ #18880]
2775         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
2776         instead of Slow_BSF, and also check for Fast_Copy_Backward to
2777         enable __memcpy_ssse3_back.
2779 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2781         [BZ #19758]
2782         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2783         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
2785 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2787         [BZ #19490]
2788         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
2789         (__fentry__): Likewise.
2791 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2793         * gmon/Makefile (noprof): Add $(sysdep_noprof).
2794         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
2796 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2798         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
2799         __mcount_internal directly.
2800         (C_LABEL(__fentry__)): Likewise.
2801         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
2802         directly.
2804 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2806         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2807         (__start_context): Call __setcontext directly.
2809 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
2811         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2812         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2813         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
2814         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2815         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2816         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2817         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
2818         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2819         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2820         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
2821         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2822         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2823         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2824         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2825         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2826         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2827         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
2828         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2829         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2830         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2831         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
2832         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2833         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2834         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2835         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
2836         Remove conditional code.
2837         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2838         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
2839         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2840         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2841         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
2842         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2843         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2844         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2845         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2846         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2847         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2848         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2850 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
2852         * NEWS (2.23): Fix typo in bug 19048 text.
2854 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
2856         [BZ #14259]
2857         * Makeconfig: Rename msgcatdir to localedir.
2858         Rename inst_msgcatdir to inst_localedir.
2859         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
2860         * config.make.in: Add localedir.
2861         * elf/Makefile ($(objpfx)sotruss): Use localedir.
2862         (ldd-rewrite): Likewise.
2863         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
2864         (install-others): Use inst_localedir.
2865         (CPPFLAGS): Use localedir.
2866         * locale/Makefile (locale-CPPFLAGS): Likewise.
2867         * po/Makefile (mo-installed): Use inst_localedir.
2869         [BZ #19575]
2870         * localedata/charmaps/GB18030: Update comments regarding PAU to
2871         non-PUA mappings.
2873 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
2875         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
2876         test for header.
2877         * sysdeps/unix/sysv/linux/configure: Regenerated.
2878         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
2879         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
2880         Remove conditional code.
2881         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
2883         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2884         Define to 3.2.0.
2885         (arch_minimum_kernel): Likewise.
2886         * sysdeps/unix/sysv/linux/configure: Regenerated.
2887         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2888         Define to 2.6.32.
2889         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2890         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2891         (arch_minimum_kernel): Define to 2.6.32.
2892         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2893         * README: Document Linux 3.2 requirement.
2894         * manual/install.texi (Linux): Document Linux 3.2 headers
2895         requirement.
2896         * INSTALL: Regenerated.
2898 2016-02-24  Andreas Schwab  <schwab@suse.de>
2900         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
2901         if !NO_LONG_DOUBLE.
2903 2016-02-22  Roland McGrath  <roland@hack.frob.com>
2905         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
2906         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
2908 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
2910         [BZ #19512]
2911         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
2913 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2915         * posix/tst-dir.c: Include libc-internal.h.
2917 2016-02-20  Florian Weimer  <fweimer@redhat.com>
2919         [BZ #19056]
2920         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
2921         * manual/filesys.texi (Reading/Closing Directory): Mention
2922         deprecaion.
2923         * posix/tst-dir.c (main): Disable deprecation warning in test.
2925 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2927         [BZ #19679]
2928         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
2929         Renamed to ...
2930         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
2931         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2932         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
2933         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2934         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2935         * sysdeps/x86_64/dl-trampoline.h
2936         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2937         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2939 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2941         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
2943 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2945         * elf/elf.h (R_386_GOT32X): New.
2946         (R_386_NUM): Update.
2947         (R_X86_64_GOTPCRELX: New.
2948         (R_X86_64_REX_GOTPCRELX): New.
2949         (R_X86_64_NUM): Update.
2951 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
2953         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
2955 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
2957         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
2958         assign attr->stackaddr to it, and adjust it down when
2959         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
2960         [_STACK_GROWS_UP]: Delete assert.
2961         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
2962         Implement stack grows up logic.
2963         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
2964         stack grows up logic.
2966 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2968         * NEWS: Update with 2.24 template.
2970 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2972         [BZ #19678]
2973         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2974         Ensure +0.0 is returned when taking the next value below the least
2975         positive value.
2977 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2979         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
2980         available.  Do not define NO_THREADS.
2981         * malloc/malloc.c: Do not check NO_THREADS.
2982         * malloc/arena.c: Likewise.
2984 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2986         * malloc/malloc.c (__libc_mallinfo): Update comment.
2987         (struct malloc_par): Remove max_total_mem member, it was always 0.
2988         (int_mallinfo): Store 0 into usmblks (no functional change).
2989         * malloc/hooks.c (struct malloc_state): Document that
2990         max_total_mem is always 0.
2991         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
2992         always 0.
2993         * manual/memory.texi (Statistics of Malloc): Likewise.
2995 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2997         * malloc/malloc.c (sysmalloc): Do not update arena_max.
2998         * malloc/arena.c (arena_max): Remove.
2999         (heap_trim, _int_new_arena): Do not update arena_max.
3001 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3003         * resolv/res_init.c (res_ninit): Update comment.
3005 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3007         [BZ #19505]
3008         * posix/spawn_int.h: Add headers and include guard.
3009         (__spawn_valid_fd): New function.
3010         * posix/spawn_faction_addopen.c
3011         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
3012         * posix/spawn_faction_addclose.c
3013         (posix_spawn_file_actions_addclose): Likewise.
3014         * posix/spawn_faction_adddup2.c
3015         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
3016         second file descriptor.
3017         * posix/spawn_valid_fd.c: New file.
3018         * posix/tst-posix_spawn-fd.c: New file.
3019         * posix/Makefile (routines): Add spawn_valid_fd.
3020         (tests): Add tst-posix_spawn-fd.
3022 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3024         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
3025         (do_test): Limit the number of arenas, so that we can use fewer
3026         outer threads.  Limit timeout to 3 seconds, in preparation for a
3027         larger TIMEOUT value.
3029 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3031         [BZ #19674]
3032         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
3033         sign in overflowing and underflowing results when overflow or
3034         underflow is detected early.  Include sign in result before rather
3035         than after scaling.
3037         [BZ #19603]
3038         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3039         (__ieee754_remainderl): Adjust sign of integer version of low part
3040         when taking absolute value of high part.
3041         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3042         * math/libm-test.inc (remainder_test_data): Add another test.
3043         (remquo_test_data): Likewise.
3045 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
3047         [BZ #19602]
3048         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
3049         equal high parts and both low parts zero specially.
3050         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
3051         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3052         Add test-fmodl-ldbl-128ibm.
3054         [BZ #19595]
3055         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
3056         common logic for all cases of shifting subnormal results.  Do not
3057         insert sign bit in shifted mantissa.  Always pass -1023 as biased
3058         exponent to ldbl_insert_mantissa in subnormal case.
3060         [BZ #19594]
3061         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
3062         on high and low parts then adjust result and use
3063         ldbl_canonicalize_int if needed.
3065         [BZ #19593]
3066         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
3067         on high part and __floor or __ceil on low part then use
3068         ldbl_canonicalize_int if needed.
3070         [BZ #19592]
3071         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
3072         high and low parts then use ldbl_canonicalize_int if needed.
3074         [BZ #17899]
3075         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3076         New function.
3077         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
3078         on high and low parts then use ldbl_canonicalize_int if needed.
3080 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3082         * configure: Regenerated.
3084         * po/libc.pot: Regenerated.
3086         * po/be.po: Updated translation.
3087         * po/bg.po: Likewise.
3088         * po/ca.po: Likewise.
3089         * po/cs.po: Likewise.
3090         * po/da.po: Likewise.
3091         * po/el.po: Likewise.
3092         * po/eo.po: Likewise.
3093         * po/es.po: Likewise.
3094         * po/fi.po: Likewise.
3095         * po/fr.po: Likewise.
3096         * po/gl.po: Likewise.
3097         * po/hr.po: Likewise.
3098         * po/hu.po: Likewise.
3099         * po/ia.po: Likewise.
3100         * po/id.po: Likewise.
3101         * po/it.po: Likewise.
3102         * po/ja.po: Likewise.
3103         * po/lt.po: Likewise.
3104         * po/nb.po: Likewise.
3105         * po/nl.po: Likewise.
3106         * po/pt_BR.po: Likewise.
3107         * po/rw.po: Likewise.
3108         * po/sk.po: Likewise.
3109         * po/sl.po: Likewise.
3110         * po/sv.po: Likewise.
3111         * po/tr.po: Likewise.
3112         * po/zh_CN.po: Likewise.
3113         * po/zh_TW.po: Likewise.
3115         * version.h (RELEAES): Set to "development".
3116         (VERSION): Set to 2.23.90.
3118         * version.h (RELEASE): Set to "stable".
3119         (VERSION): Set to 2.23.
3120         * include/feature.h (__GLIBC_MINOR__): Set to 23.
3122         * NEWS: Updated fixed bugs.
3124 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3125             Wilco Dijkstra  <wdijkstr@arm.com>
3127         [BZ #19462]
3128         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3129         (_STRING_INLINE_unaligned): This.
3130         * include/string.h: Include <string_private.h>.
3131         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3132         _STRING_INLINE_unaligned.
3133         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3134         (_STRING_INLINE_unaligned): New.
3135         * sysdeps/aarch64/string_private.h: New file.
3136         * sysdeps/generic/string_private.h: Likewise.
3137         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3138         * sysdeps/s390/string_private.h: Likewise.
3139         * sysdeps/x86/string_private.h: Likewise.
3140         * sysdeps/m68k/m680x0/m68020/bits/string.h
3141         (_STRING_ARCH_unaligned): Renamed to ...
3142         (_STRING_INLINE_unaligned): This.
3143         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3144         to ...
3145         (_STRING_INLINE_unaligned): This.
3146         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3147         to ...
3148         (_STRING_INLINE_unaligned): This.
3149         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3150         to ...
3151         (_STRING_INLINE_unaligned): This.
3153 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3154             H.J. Lu  <hongjiu.lu@intel.com>
3156         [BZ #19590]
3157         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3158         relocation.
3160 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3162         [BZ #18665]
3163         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3164         *herrno_p.
3165         (gaih_getanswer): Document functional behviour. Return tryagain
3166         if any result is tryagain.
3167         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3168         when freed.
3169         * resolv/res_send.c: Add copyright text.
3170         (__libc_res_nsend): Document that MAXPACKET is expected.
3171         (send_vc): Document. Remove buffer reuse.
3172         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3173         size of the buffer. Add Dprint for truncated UDP buffer.
3175 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3177         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3178         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3179         * INSTALL: Regenerate.
3181 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3182             Jonathan Wakely  <jwakely@redhat.com>
3183             Carlos O'Donell  <carlos@redhat.com>
3185         [BZ 19439]
3186         * math/Makefile (tests): Add test-math-isinff.
3187         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3188         * math/bits/mathcalls.h [__USE_MISC]: Use
3189         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3190         functions not in C++11 and which don't conflict e.g. isinff,
3191         isinfl etc.
3192         * math/test-math-isinff.cc: New file.
3194 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3196         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3198 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3200         [BZ #19529]
3201         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3203 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3205         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3207 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3209         [BZ #19550]
3210         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3211         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3212         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3213         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3214         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3215         New syscall entry.
3216         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3217         New syscall entry.
3218         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3219         syscall entry.
3221 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3223         [BZ #18240]
3224         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3225         unsigned int wraparound.
3227 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3229         [BZ #18240]
3230         * misc/bug18240.c: New test.
3231         * misc/Makefile (tests): Add it.
3233 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3234             Joseph Myers  <joseph@codesourcery.com>
3236         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3237         load in branch delay slot when less than a word of input left.
3239 2016-01-27  Andreas Schwab  <schwab@suse.de>
3241         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3242         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3243         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3244         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3246 2016-01-26  David S. Miller  <davem@davemloft.net>
3248         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3250 2016-01-25  David S. Miller  <davem@davemloft.net>
3252         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3253         __sqrtl_finite.
3254         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3255         instead using versioned_symbol.
3256         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3257         of entries.
3259         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3260         __sqrtl_finite to GLIBC_2.23
3262 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3264         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3266 2016-01-25  Andreas Schwab  <schwab@suse.de>
3268         [BZ #17514]
3269         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3270         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3271         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3272         * nptl/tst-mutex-errorcheck.c: New file.
3274 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3276         [BZ #18560]
3277         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3278         (IPCOP_semop): Likewise.
3279         (IPCOP_semget): Likewise.
3280         (IPCOP_semctl): Likewise.
3281         (IPCOP_msgsnd): Likewise.
3282         (IPCOP_msgrcv): Likewise.
3283         (IPCOP_msgget): Likewise.
3284         (IPCOP_msgctl): Likewise.
3285         (IPCOP_shmat): Likewise.
3286         (IPCOP_shmdt): Likewise.
3287         (IPCOP_shmget): Likewise.
3288         (IPCOP_shmctl): Likewise.
3290 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3292         * string/tst-endian.c: Include <libc-internal.h>.
3293         (do_test): Ignore tautological-compare warnings around
3294         "htobeXX (beXXtoh (i)) != i" and
3295         "htoleXX (leXXtoh (i)) != i" if-statements.
3297 2016-01-24  David S. Miller  <davem@davemloft.net>
3299         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3300         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3301         alias.
3302         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3303         __sqrtl_finite.
3305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3307 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3309         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3310         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3311         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3313 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3315         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3316         (thread_func): Use new function to simplify barrier check.
3317         (do_test): Use new function to simplify checking barrier exit
3318         code, and actually join the child thread.
3320 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3322         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3323         semicolon.
3324         (__libc_tend): Likewise.
3325         (__libc_tabort): Likewise.
3327 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3329         * sysdeps/nios2/libm-test-ulps: Update.
3330         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3331         (__gtsf2): Likewise.
3332         (__unorddf2): Likewise.
3333         (__unordsf2): Likewise.
3334         (__ledf2): Likewise.
3336 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3338         * nis/nis_table.c (__follow_path): Disable diagnostic for
3339         uninitialized variable that is a false positive for gcc 4.7.
3340         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3342 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3344         * sysdeps/nacl/lowlevellock-futex.h
3345         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3346         Always evaluate PRIVATE argument.
3348 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3350         [BZ #19490]
3351         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3352         (pthread_cond_broadcast): Use ENTRY/END
3353         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3354         (pthread_cond_signal): Likewise.
3355         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3356         Likewise.
3357         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3358         Likewise.
3359         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3360         Likewise.
3362 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3364         * sysdeps/ieee754/dbl-64/s_finite.c
3365         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3366         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3367         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3368         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3369         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3372         (__gtsf2): Add as optional for libc.so.
3373         (__unordsf2): Likewise.
3374         (__signbit): Remove for libc.so.
3375         (__signbitl): Likewise.
3377 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3379         * iconvdata/bug-iconv11.c (test_ibm93x):
3380         Use %zu printf format specifier for size_t argument.
3382 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3384         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3385         already-recorded ulps.
3386         * sysdeps/arm/libm-test-ulps: Regenerated.
3387         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3388         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3389         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3391 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3392             Paul Pluzhnikov  <ppluzhnikov@google.com>
3394         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3395         assembler not supporting AVX-512.
3397 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3399         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3401 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3403         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3404         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3406         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3408         * sysdeps/arm/libm-test-ulps: Regenerated.
3410 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3412         [BZ #19451]
3413         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3415 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3417         [BZ #19486]
3418         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3419         * sysdeps/generic/fix-fp-int-convert-overflow.h
3420         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3421         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3422         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3423         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3424         Likewise.
3425         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3426         Avoid conversions to long int where inexact exceptions
3427         could be raised.
3428         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3429         Likewise.
3430         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3431         Avoid conversions to long long int where inexact exceptions
3432         could be raised.
3433         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3434         Likewise.
3436 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3438         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3439         * configure: Regenerated.
3441 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3443         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3445 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3447         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3448         outside of comment.
3450 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3452         * nptl/tst-barrier1.c: Add description on first line.
3453         * nptl/tst-barrier2.c: Likewise.
3454         * nptl/tst-barrier3.c: Likewise.
3455         * nptl/tst-barrier4.c: Likewise.
3456         * nptl/tst-barrier5.c: Likewise.
3458 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3460         [BZ #18868]
3461         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3463 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3466         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3467         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3468         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3469         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3470         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3471         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3472         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3473         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3474         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3475         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3477 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3479         [BZ #13065]
3480         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3481         new implementation.
3482         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3483         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3484         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3485         (BARRIER_IN_THRESHOLD): New macro.
3486         * nptl/pthread_barrierattr_setpshared.c
3487         (pthread_barrierattr_setpshared): Clean up.
3488         * nptl/tst-barrier4.c: Correct comment.
3489         * nptl/tst-barrier5.c: New file.
3490         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3491         (gen-as-const-headers): Remove lowlevelbarrier.sym.
3492         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
3493         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
3494         * nptl/lowlevelbarrier.sym: Remove.
3495         * nptl/DESIGN-barrier.txt: Remove.
3496         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
3497         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
3498         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
3499         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
3500         error.
3501         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
3502         implementation.
3504 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3506         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
3507         (do_child): Mask SIGRTMIN while thr is running.
3509 2016-01-15  Martin Sebor  <msebor@redhat.com>
3511         [BZ #19432]
3512         * iconvdata/Makefile: Add bug-iconv11.
3513         * iconvdata/bug-iconv11.c: New test.
3514         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3515         * iconvdata/ibm933.c: Same.
3516         * iconvdata/ibm935.c: Same.
3517         * iconvdata/ibm937.c: Same.
3518         * iconvdata/ibm939.c: Same.
3520 2016-01-15  Martin Sebor  <msebor@redhat.com>
3522         [BZ #19443]
3523         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3524         [DEBUG] (_ufc_set_bits): Declare used.
3525         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3526         [DEBUG] (print_all): Declare used.
3527         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
3528         operands of the ternary ?: expression to target type.
3529         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
3530         calling the undeclared abort.
3531         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
3533 2016-01-15  Martin Sebor  <msebor@redhat.com>
3535         [BZ #18755]
3536         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
3537         warnings.
3538         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
3539         (__gai_create_helper_thread): Same.
3540         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
3541         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
3542         to suppress -Wmaybe-uninitialized warnings.
3544 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
3546         [BZ #19465]
3547         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
3548         inside if.
3549         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3550         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3553 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
3555         [BZ #19466]
3556         * time/tst-mktime2.c (time_t_max): Removed.
3557         (time_t_min): Likewise.
3558         (TYPE_SIGNED): New.
3559         (TYPE_MINIMUM): Likewise.
3560         (TYPE_MAXIMUM): Likewise.
3561         (TIME_T_MIN): Likewise.
3562         (TIME_T_MAX): Likewise.
3563         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
3564         and TIME_T_MIN.
3565         (do_test): Likewise.
3567 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
3569         [BZ #19467]
3570         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3571         index_Fast_Unaligned_Load flag for Excavator family CPUs.
3573 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
3575         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
3577 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
3579         * benchtests/Makefile (PYTHON): Define.
3580         (bench-func): Use $(PYTHON) to run python scripts.
3581         ($(objpfx)bench-%.c): Likewise.
3583 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
3585         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
3586         leading slash when `file_name' is "/".
3588 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
3590         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
3591         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
3592         Likewise.
3593         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
3594         Likewise.
3595         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
3596         Likewise.
3597         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
3598         enum constant and macro.
3599         (PTRACE_SETSIGMASK): Likewise.
3600         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3601         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3602         (PTRACE_GETSIGMASK): Likewise.
3603         (PTRACE_SETSIGMASK): Likewise.
3604         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3605         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
3606         Likewise.
3607         (PTRACE_SETSIGMASK): Likewise.
3608         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3609         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3610         (PTRACE_GETSIGMASK): Likewise.
3611         (PTRACE_SETSIGMASK): Likewise.
3612         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3613         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
3614         Likewise.
3615         (PTRACE_SETSIGMASK): Likewise.
3616         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3617         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
3618         Likewise.
3619         (PTRACE_SETSIGMASK): Likewise.
3620         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3621         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
3622         Likewise.
3623         (PTRACE_SETSIGMASK): Likewise.
3624         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3626 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3627             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3629         [BZ #19439]
3630         * math/bits/mathcalls.h
3631         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
3632         prototype.
3633         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
3635 2016-01-11  Andreas Schwab  <schwab@suse.de>
3637         [BZ #19253]
3638         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
3639         cache when TZDEFRULES was used.
3640         * time/tst-tzname.c: New file.
3641         * time/Makefile (test): Add tst-tzname.
3642         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
3643         * timezone/Makefile (test-zones): Add $(posixrules-file).
3644         ($(testdata)/$(posixrules-file)): New rule.
3646 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
3648         Fix doc quoting problems with Texinfo 5
3649         Without this change, in the info file output, Texinfo 5 quotes code
3650         in text with undirected single quotes 'like this' and generates
3651         code examples that with many PDF readers cannot be cut out of PDFs
3652         and pasted into code.
3653         * manual/libc.texinfo: Configure the libc manual like the GNU
3654         Emacs manual, by using @documentencoding and setting
3655         txicodequoteundirected and txicodequotebacktick.  This way,
3656         Texinfo 5 quotes code in text with directed single quotes ‘like
3657         this’ and produces examples that can be cut out of PDFs.  This
3658         change causes Texinfo 5 to generate info files that contain UTF-8
3659         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
3660         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
3662 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3664         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
3665         __libc_tabort, __libc_tend): New wrappers that enforce compiler
3666         barriers to their respective compiler built-ins.
3667         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
3668         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
3669         * sysdeps/powerpc/sysdep.h: Likewise.
3670         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
3671         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
3672         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
3674 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
3676         * scripts/config.guess: Revert previous shebang change.
3677         * scripts/config.sub: Likewise.
3678         * scripts/mkinstalldirs: Likewise.
3680 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3682         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
3683         PPC_FEATURE2_HAS_IEEE128.
3684         * sysdeps/powerpc/dl-procinfo.c:
3685         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
3687 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
3689         [BZ #19415]
3690         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
3691         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
3692         (_dl_lookup_address): Rewrite using function resolver trampoline.
3693         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
3694         two bits in address.
3696 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3698         * longlong.h: Change !__SHMEDIA__ to
3699         (!defined (__SHMEDIA__) || !__SHMEDIA__).
3700         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
3702 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
3703             Joseph Myers  <joseph@codesourcery.com>
3704             Mark Shinwell  <shinwell@codesourcery.com>
3705             Andrew Stubbs  <ams@codesourcery.com>
3706             Rich Felker <dalias@libc.org>
3708         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
3710 2016-01-07  Richard Henderson  <rth@redhat.com>
3712         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
3714 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3716         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
3717         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
3718         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3719         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3720         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
3722 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3723             Joseph Myers  <joseph@codesourcery.com>
3725         * timezone/private.h: Update from tzcode 2015g.
3726         * timezone/tzfile.h: Likewise.
3727         * timezone/tzselect.ksh: Likewise.
3728         * timezone/zdump.c: Likewise.
3729         * timezone/zic.c: Likewise.
3730         * timezone/ialloc.c: Remove file.
3731         * timezone/scheck.c: Likewise.
3732         * timezone/Makefile (extra-objs): Remove variable.
3733         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
3734         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
3735         -Wno-maybe-uninitialized.
3736         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
3737         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
3738         (CFLAGS-ialloc.c): Remove variable.
3739         (CFLAGS-scheck.c): Likewise.
3740         * timezone/README: Update list of files from tzcode.
3742 2016-01-07  Khem Raj  <raj.khem@gmail.com>
3744         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
3745         instead of __fxprintf when _LIBC is undefined.
3747 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
3749         * catgets/test-gencat.sh: Remove space after shebang.
3750         * conform/GlibcConform.pm: Likewise.
3751         * conform/check-header-lists.sh: Likewise.
3752         * conform/conformtest.pl: Likewise.
3753         * conform/linknamespace.pl: Likewise.
3754         * conform/list-header-symbols.pl: Likewise.
3755         * debug/catchsegv.sh: Likewise.
3756         * elf/genrtldtbl.awk: Likewise.
3757         * elf/tst-pathopt.sh: Likewise.
3758         * elf/tst-rtld-load-self.sh: Likewise.
3759         * grp/tst_fgetgrent.sh: Likewise.
3760         * iconvdata/gen-8bit-gap-1.sh: Likewise.
3761         * iconvdata/gen-8bit-gap.sh: Likewise.
3762         * iconvdata/gen-8bit.sh: Likewise.
3763         * iconvdata/run-iconv-test.sh: Likewise.
3764         * intl/tst-gettext.sh: Likewise.
3765         * intl/tst-gettext2.sh: Likewise.
3766         * intl/tst-gettext4.sh: Likewise.
3767         * intl/tst-gettext6.sh: Likewise.
3768         * intl/tst-translit.sh: Likewise.
3769         * io/ftwtest-sh: Likewise.
3770         * libio/test-freopen.sh: Likewise.
3771         * locale/gen-translit.pl: Likewise.
3772         * malloc/tst-mtrace.sh: Likewise.
3773         * manual/check-safety.sh: Likewise.
3774         * manual/libc-texinfo.sh: Likewise.
3775         * manual/tsort.awk: Likewise.
3776         * manual/xtract-typefun.awk: Likewise.
3777         * nptl/tst-cancel-wrappers.sh: Likewise.
3778         * nptl/tst-tls6.sh: Likewise.
3779         * posix/globtest.sh: Likewise.
3780         * posix/tst-getconf.sh: Likewise.
3781         * posix/wordexp-tst.sh: Likewise.
3782         * scripts/check-c++-types.sh: Likewise.
3783         * scripts/check-local-headers.sh: Likewise.
3784         * scripts/config.guess: Likewise.
3785         * scripts/config.sub: Likewise.
3786         * scripts/cpp: Likewise.
3787         * scripts/cross-test-ssh.sh: Likewise.
3788         * scripts/documented.sh: Likewise.
3789         * scripts/evaluate-test.sh: Likewise.
3790         * scripts/gen-libc-abis: Likewise.
3791         * scripts/gen-sorted.awk: Likewise.
3792         * scripts/list-fixed-bugs.py: Likewise.
3793         * scripts/merge-test-results.sh: Likewise.
3794         * scripts/mkinstalldirs: Likewise.
3795         * scripts/rellns-sh: Likewise.
3796         * scripts/test-installation.pl: Likewise.
3797         * scripts/update-copyrights: Likewise.
3798         * stdio-common/tst-printf.sh: Likewise.
3799         * stdio-common/tst-unbputc.sh: Likewise.
3800         * stdlib/tst-fmtmsg.sh: Likewise.
3801         * stdlib/tst-setcontext3.sh: Likewise.
3802         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
3803         * sysdeps/unix/make-syscalls.sh: Likewise.
3805 2016-01-06  John David Anglin  <dave.anglin@bell.net>
3807         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
3808         asm stw with atomic_exchange_rel.  Add explanatory comment.
3809         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3810         Likewise.
3812 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3814         [BZ #19122]
3815         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
3816         * sysdeps/generic/dl-unistd.h: New file.
3817         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
3819 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3821          [BZ #19122]
3822          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
3823          * sysdeps/generic/dl-mman.h: New file.
3824          * sysdeps/mach/hurd/dl-mman.h: Likewise.
3826 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
3828         * manual/texinfo.tex: Update to version 2016-01-04.21 with
3829         trailing whitespace removed.
3830         * scripts/config.guess: Update to version 2016-01-01.
3831         * scripts/config.sub: Update to version 2016-01-01.
3832         * scripts/move-if-change: Update from gnulib.
3834 2016-01-04  Anton Blanchard  <anton@samba.org>
3836         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
3837         for array indices.
3838         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
3840 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
3842         * NEWS: Update copyright dates.
3843         * catgets/gencat.c (print_version): Likewise.
3844         * csu/version.c (banner): Likewise.
3845         * debug/catchsegv.sh: Likewise.
3846         * debug/pcprofiledump.c (print_version): Likewise.
3847         * debug/xtrace.sh (do_version): Likewise.
3848         * elf/ldconfig.c (print_version): Likewise.
3849         * elf/ldd.bash.in: Likewise.
3850         * elf/pldd.c (print_version): Likewise.
3851         * elf/sotruss.sh: Likewise.
3852         * elf/sprof.c (print_version): Likewise.
3853         * iconv/iconv_prog.c (print_version): Likewise.
3854         * iconv/iconvconfig.c (print_version): Likewise.
3855         * locale/programs/locale.c (print_version): Likewise.
3856         * locale/programs/localedef.c (print_version): Likewise.
3857         * login/programs/pt_chown.c (print_version): Likewise.
3858         * malloc/memusage.sh (do_version): Likewise.
3859         * malloc/memusagestat.c (print_version): Likewise.
3860         * malloc/mtrace.pl: Likewise.
3861         * manual/libc.texinfo: Likewise.
3862         * nptl/version.c (banner): Likewise.
3863         * nscd/nscd.c (print_version): Likewise.
3864         * nss/getent.c (print_version): Likewise.
3865         * nss/makedb.c (print_version): Likewise.
3866         * posix/getconf.c (main): Likewise.
3867         * scripts/test-installation.pl: Likewise.
3868         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3870         * All files with FSF copyright notices: Update copyright dates
3871         using scripts/update-copyrights.
3872         * intl/plural.c: Regenerated.
3873         * locale/programs/charmap-kw.h: Likewise.
3874         * locale/programs/locfile-kw.h: Likewise.
3876 2016-01-02  Helge Deller  <deller@gmx.de>
3878         [BZ #19285]
3879         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
3880         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
3881         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
3882         (MADV_xxK_PAGES): Remove.
3884 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
3886         [BZ #15421]
3887         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
3888         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
3889         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
3890         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
3892 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
3894         [BZ #19408]
3895         * sysdeps/unix/sysv/linux/personality.c: New file.
3896         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
3897         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
3898         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3899         (sysdep_routines): Add personality.
3900         (tests): Add tst-personality.
3901         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
3902         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
3903         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
3904         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
3905         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
3906         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
3907         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
3908         Likewise.
3909         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
3910         Likewise.
3911         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
3912         Likewise.
3913         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
3914         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
3915         Likewise.
3917 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
3919         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
3920         (PATH_ARM_SYSTYPE): Remove.
3921         (PATH_CPUINFO): Likewise.
3922         (IO_BASE_FOOTBRIDGE): Likewise.
3923         (IO_SHIFT_FOOTBRIDGE): Likewise.
3924         (struct platform): Likewise.
3925         (init_iosys): Remove compatibility code for 2.4 kernels.
3926         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
3928 2015-12-29  Florian Weimer  <fweimer@redhat.com>
3930         * malloc/tst-malloc-thread-fail.c: New file.
3931         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
3932         (tst-malloc-thread-fail): Link against libpthread.
3934 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
3936         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
3937         (get_parser): New function.
3938         (main): New function.
3940 2015-12-29  Rob Wu  <rob@robwu.nl>
3942         [BZ #19369]
3943         * resolv/res_init.c (__res_vinit): Reset defdname before use.
3945 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
3947         [BZ #19270]
3948         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3950 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
3952         [BZ #15421]
3953         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
3955 2015-12-23  Torvald Riegel  <triegel@redhat.com>
3957         [BZ #13690]
3958         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
3959         after releasing it.
3960         (__lll_robust_unlock): Likewise.
3961         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3962         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
3963         (lll_robust_unlock): Likewise.
3964         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
3965         Prevent warnings in callers.
3967 2015-12-23  Florian Weimer  <fweimer@redhat.com>
3969         * malloc/arena.c (list_lock): Update comment.
3971 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3973         * sysdeps/powerpc/hwcapinfo.c: Export symbol
3974         __parse_hwcap_and_convert_at_platform to libc.a.
3976 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3978         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
3979         platform and feature support for POWER9.
3980         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3981         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
3982         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
3983         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
3984         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
3985         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
3986         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
3987         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
3989 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3991         Harmonize generic stdio-lock support with nptl
3993         This fixes build when _IO_funlockfile is a macro, fixes build where
3994         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
3995         stack unwind.
3997         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
3998         _IO_release_lock ): Use cleanup attribute on new
3999         _IO_acquire_lock_file variable instead of assuming that
4000         _IO_release_lock will be called.
4001         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
4002         _IO_acquire_lock_needs_exceptions_enabled.
4003         (_IO_acquire_lock_clear_flags2): New macro.
4005 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4007         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4009 2015-12-21  Florian Weimer  <fweimer@redhat.com>
4011         [BZ #19182]
4012         * malloc/arena.c (list_lock): Document lock ordering requirements.
4013         (free_list_lock): New lock.
4014         (ptmalloc_lock_all): Comment on free_list_lock.
4015         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
4016         (detach_arena): Update comment.  free_list_lock is now needed.
4017         (_int_new_arena): Use free_list_lock around detach_arena call.
4018         Acquire arena lock after list_lock.  Add comment, including FIXME
4019         about incorrect synchronization.
4020         (get_free_list): Switch to free_list_lock.
4021         (reused_arena): Acquire free_list_lock around detach_arena call
4022         and attached threads counter update.  Add two FIXMEs about
4023         incorrect synchronization.
4024         (arena_thread_freeres): Switch to free_list_lock.
4025         * malloc/malloc.c (struct malloc_state): Update comments to
4026         mention free_list_lock.
4028 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4030         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
4031         Remove functions.
4032         (sloww, sloww1): Accept argument to offset quadrant.
4033         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
4034         quadrant.
4035         (__sin, __cos): Consolidate common code into new functions.
4036         (reduce_sincos_1, do_sincos_1): New functions.
4037         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4039         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
4040         code to new functions.
4041         (reduce_sincos_2, do_sincos_2): New functions.
4042         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4044         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
4045         common code for sincos.
4046         (__cos) [!IN_SINCOS]: Likewise.
4047         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
4048         New function.
4049         (__sincos): Use it.
4051 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
4053         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
4054         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
4055         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4057 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4059         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
4060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
4061         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4062         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
4063         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4064         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
4065         index_Prefer_No_VZEROUPPER): New feature.
4066         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
4067         Prefer_No_VZEROUPPER for Knights Landing.
4069 015-12-18  Torvald Riegel  <triegel@redhat.com>
4071         * math/atest-exp2.c (mp_exp_m1): Remove.
4073 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4075         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
4076         syscalls.
4077         (__SYSCALL0): New macro.
4078         (__SYSCALL1): Likewise.
4079         (__SYSCALL2): Likewise.
4080         (__SYSCALL3): Likewise.
4081         (__SYSCALL4): Likewise.
4082         (__SYSCALL5): Likewise.
4083         (__SYSCALL6): Likewise.
4084         (__SYSCALL_CONCAT_X): Likewise.
4085         (__SYSCALL_CONCAT): Likewise.
4086         (__SYSCALL_DIST): Likewise.
4087         (__SYSCALL_CALL): Likewise.
4089 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
4091         [BZ #19363]
4092         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
4094 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4096         [BZ #19375]
4097         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
4098         negative subnormals.
4100 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
4102         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4103         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
4104         (INTERNAL_SYSCALL_NCS): Use it.
4105         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4107 2015-12-16  Florian Weimer  <fweimer@redhat.com>
4109         [BZ #19243]
4110         * malloc/arena.c (get_free_list): Remove assert and adjust
4111         reference count handling.  Add comment about reused_arena
4112         interaction.
4113         (reused_arena): Add comments abount get_free_list interaction.
4114         * malloc/tst-malloc-thread-exit.c: New file.
4115         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
4116         (tst-malloc-thread-exit): Link against libpthread.
4118 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4120         [BZ #19367]
4121         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
4122         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
4123         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4124         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4125         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4127 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4129         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4130         Silvermont optimizations for Knights Landing.
4132 2015-12-15  Andreas Schwab  <schwab@suse.de>
4134         [BZ #17197]
4135         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4136         immediately after emitting SI.
4137         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4138         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4139         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4140         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4141         * iconvdata/bug-iconv10.c: New file.
4142         * iconvdata/Makefile (tests): Add bug-iconv10.
4143         ($(objpfx)bug-iconv10.out): New rule.
4145 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4147         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4148         aliasing violation.
4150 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4152         [BZ #18472]
4153         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4154         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4155         conditionals for them.
4156         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4157         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4158         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4159         sys/kdaemon.h.
4160         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4161         compat-only syscall, obsoleted in glibc 2.23.
4162         (create_module): Likewise.
4163         (get_kernel_syms): Likewise.
4164         (query_module): Likewise.
4165         (uselib): Likewise.
4166         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4168 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4170         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4171         <linux/version.h>.
4172         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4173         conditional code.
4174         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4175         and ioshift_name initialization.
4177 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4179         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4180         Fix indentation.
4182 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4184         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4186 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4188         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4190 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4191             Jakub Wilk  <jwilk@debian.org>
4193         [BZ #19347]
4194         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4195         to change the group of the device to the tty group.
4197 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4199         Split large string section; add truncation advice
4200         * manual/examples/strncat.c: Remove.
4201         This example was misleading, as the code would have undefined
4202         behavior if "hello" was longer than SIZE.  Anyway, the manual
4203         shouldn't encourage strncpy+strncat for this sort of thing.
4204         * manual/string.texi (Copying Strings and Arrays): Split into
4205         three sections Copying Strings and Arrays, Concatenating Strings,
4206         and Truncating Strings, as this section was way too long.  All
4207         cross-referenced changed.  Add advice about string-truncation
4208         functions.  Remove misleading strncat example.
4210 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4212         * manual/nss.texi (NSS Modules Interface): Document
4213         NSS_STATUS_NOTFOUND and SUCCESS.
4215 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4217         [BZ 18568]
4218         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4219         201505L, for Unicode 8.
4221 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4223         * locale/C-translit.h: Regenerate.
4225 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4227         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4228         and U+0153.
4230 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4232         [BZ #19351]
4233         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4234         expanding log(1+z), compare z rather than its square with epsilon
4235         to determine when to avoid evaluating the expansion.
4237         [BZ #19350]
4238         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4239         Increase overflow threshold.
4241         [BZ #19349]
4242         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4243         when small.
4245         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4246         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4247         New macro.
4248         [__LINUX_KERNEL_VERSION >= 0x040300]
4249         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4250         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4251         Likewise.
4252         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4253         Likewise.
4254         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4255         Likewise.
4256         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4257         Likewise.
4258         [__LINUX_KERNEL_VERSION >= 0x040300]
4259         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4260         [__LINUX_KERNEL_VERSION >= 0x040300]
4261         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4262         [__LINUX_KERNEL_VERSION >= 0x040300]
4263         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4264         [__LINUX_KERNEL_VERSION >= 0x040300]
4265         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4266         [__LINUX_KERNEL_VERSION >= 0x040300]
4267         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4268         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4269         Likewise.
4270         [__LINUX_KERNEL_VERSION >= 0x040300]
4271         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4272         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4273         Likewise.
4274         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4275         Likewise.
4276         [__LINUX_KERNEL_VERSION >= 0x040300]
4277         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4278         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4279         Likewise.
4280         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4281         Likewise.
4282         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4283         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4284         Likewise.
4285         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4286         Likewise.
4287         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4288         Likewise.
4289         [__LINUX_KERNEL_VERSION >= 0x040300]
4290         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4291         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4292         Likewise.
4293         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4294         Likewise.
4295         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4296         Likewise.
4297         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4298         Likewise.
4299         [__LINUX_KERNEL_VERSION >= 0x040300]
4300         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4301         [__LINUX_KERNEL_VERSION >= 0x040300]
4302         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4303         [__LINUX_KERNEL_VERSION >= 0x040300]
4304         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4305         [__LINUX_KERNEL_VERSION >= 0x040300]
4306         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4307         [__LINUX_KERNEL_VERSION >= 0x040300]
4308         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4309         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4310         Likewise.
4311         [__LINUX_KERNEL_VERSION >= 0x040300]
4312         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4313         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4314         Likewise.
4315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4316         Likewise.
4317         [__LINUX_KERNEL_VERSION >= 0x040300]
4318         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4319         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4320         Likewise.
4321         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4322         Likewise.
4323         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4324         (__ASSUME_SOCKET_SYSCALL): Likewise.
4325         (__ASSUME_BIND_SYSCALL): Likewise.
4326         (__ASSUME_CONNECT_SYSCALL): Likewise.
4327         (__ASSUME_LISTEN_SYSCALL): Likewise.
4328         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4329         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4330         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4331         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4332         (__ASSUME_SEND_SYSCALL): Likewise.
4333         (__ASSUME_SENDTO_SYSCALL): Likewise.
4334         (__ASSUME_RECV_SYSCALL): Likewise.
4335         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4336         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4337         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4338         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4339         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4340         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4341         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4342         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4343         Likewise.
4344         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4345         Likewise.
4346         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4347         Likewise.
4348         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4349         Likewise.
4350         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4351         Likewise.
4352         [__LINUX_KERNEL_VERSION >= 0x020625]
4353         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4354         [__LINUX_KERNEL_VERSION >= 0x020625]
4355         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4356         [__LINUX_KERNEL_VERSION >= 0x020625]
4357         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4358         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4359         Likewise.
4360         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4361         Likewise.
4362         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4363         Likewise.
4364         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4365         Likewise.
4366         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4367         Likewise.
4368         [__LINUX_KERNEL_VERSION >= 0x020625]
4369         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4370         [__LINUX_KERNEL_VERSION >= 0x020625]
4371         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4372         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4373         Likewise.
4374         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4375         Likewise.
4377 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4379         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4380         record the current if the current ABI and CPU support the FP64
4381         extension.
4382         (has-modd-spreg): Define to record the current if the current ABI and
4383         CPU support 32-bit floating point values in odd FPU registers.
4384         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4385         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4386         $(has-modd-spreg) equals yes.
4387         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4388         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4389         $(has-modd-spreg) equal yes.
4391 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4393         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4394         basename.
4396 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4398         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4399         (bench-string): ... here.
4400         (bench): Add bench-string.
4401         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4402         to *-benchset to reflect what they are.
4403         (benchset): Adjust.
4405         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4406         cos-inputs.
4408 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4410         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4411         __attribute__ ((__simd__)) for vector math function declarations.
4413 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4415         Fix typo in strncat, wcsncat manual entries
4416         * manual/string.texi (Copying and Concatenation): Fix typos in
4417         sample implementations of strncat and wcsncat, by having them use
4418         the old value of the destination length, not the new one.
4420 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4422         [BZ #16961]
4423         [BZ #16962]
4424         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4425         string on the stack for strtod.
4426         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4427         a string on the stack for strtof.
4428         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4429         constructing a string on the stack for strtold.
4430         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4431         __strtold_nan to GLIBC_PRIVATE.
4432         * math/test-nan-overflow.c: New file.
4433         * math/test-nan-payload.c: Likewise.
4434         * math/Makefile (tests): Add test-nan-overflow and
4435         test-nan-payload.
4437 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4439         Consistency about byte vs character in string.texi
4440         * manual/string.texi (String and Array Utilities):
4441         Distinguish more carefully among bytes, multibyte characters,
4442         and wide characters.  Use "byte" when talking about C 'char',
4443         to distinguish it more clearly from multibyte characters.
4444         Say "wide character" or "multibyte character" instead of
4445         "character", when a wide or multibyte character is intended.
4446         Similarly for "multibyte string" versus "string".
4447         Define these terms more carefully.
4449 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4451         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4452         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4453         Likewise.
4454         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4455         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4456         * sysdeps/sh/math_private.h: New file.
4457         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4458         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4459         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4460         long double function name.
4461         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4462         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4463         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4464         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4465         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4467         Remove __finitel, __isinfl, and __isnanl.
4468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4469         Likewise.
4470         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4472         Remove __finitel.
4473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4474         Likewise.
4475         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4477 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4479         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4480         installed libmvec_nonshared.a.
4482 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4484         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4485         (sysdep_routines): Likewise.
4486         (sysdep-rtld-routines): Likewise.
4487         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4488         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4489         * sysdeps/powerpc/Versions: Added new
4490         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4491         * sysdeps/powerpc/hwcapinfo.c: New file.
4492         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
4493         and parse hwcap, hwcap2 and platform number information.
4494         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
4495         to store HWCAP+HWCAP2 and platform number.
4496         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
4497         for HWCAP+HWCAP2 and platform number in the TCB.
4498         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
4499         the HWCAP, HWCAP2 and platform number in the TCB.
4500         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
4501         (TLS_INIT_TP): Included calls to add the hwcap and
4502         at_platform values in the TCB in TP initialization.
4503         (TLS_DEFINE_INIT_TP): Likewise.
4504         (THREAD_GET_HWCAP): New macro.
4505         (THREAD_SET_HWCAP): Likewise.
4506         (THREAD_GET_AT_PLATFORM): Likewise.
4507         (THREAD_SET_AT_PLATFORM): Likewise.
4508         * sysdeps/powerpc/powerpc32/dl-machine.h:
4509         (dl_platform_init): New function that calls
4510         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4511         powerpc32.
4512         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4513         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4514         this functionality, static linking case.
4515         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4516         linking case.
4517         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4518         __parse_hwcap_and_convert_at_platform for the static linking case.
4519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4520         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4521         ABI list for GLIBC 2.23.
4522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4523         Likewise.
4524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4525         Likewise.
4527 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
4529         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
4530         * configure: Regenerate.
4531         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
4532         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
4534 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
4536         * iconvdata/ibm930.c: Add comment explaining encoding uses.
4537         * iconvdata/ibm933.c: Likewise.
4538         * iconvdata/ibm935.c: Likewise.
4539         * iconvdata/ibm937.c: Likewise.
4540         * iconvdata/ibm939.c: Likewise.
4542 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4544         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
4545         pthread_join.
4546         * nptl/tst-cancel21.c (tf): Likewise.
4548 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
4550         [BZ #19313]
4551         * bits/typesizes.h (__CPU_MASK_TYPE): New.
4552         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4553         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4554         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
4555         Likewise.
4556         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
4557         Likewise.
4558         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
4559         Likewise.
4560         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
4561         Likewise.
4562         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
4563         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
4564         unsigned long int with __CPU_MASK_TYPE.
4566 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4568         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4570 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
4572         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
4573         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
4574         t512.x.
4575         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
4577 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
4579         [BZ #19214]
4580         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
4581         argument to return extended model.  Update family and model
4582         with extended family and model when family == 0x0f.
4583         (init_cpu_features): Updated.
4585 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4587         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
4588         signed off_t, so 32bit bigger than 2GiB values are fine actually.
4590         * sysdeps/mach/hurd/mmap64.c: New file.
4592 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
4594         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
4595         rights for its main user thread in NEWTASK.
4597 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
4599         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
4600         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
4602 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
4604         [BZ #14259]
4605         * Makeconfig: Rename localedir to complocaledir.
4606         Rename inst_localedir to inst_complocaledir.
4607         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
4608         * config.make.in: Use complocaledir and libc_cv_complocaledir.
4609         * configure.ac: Use libc_cv_complocaledir.
4610         * configure: Regenerate.
4611         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
4612         -DCOMPLOCALEDIR.
4613         * locale/findlocale.c: Use COMPLOCALEDIR.
4614         * locale/loadarchive.c: Likewise.
4615         * locale/programs/locale.c: Likewise.
4616         * locale/programs/localedef.c: Likewise.
4617         * locale/programs/locarchive.c: Likewise.
4618         * localedata/Makefile: Use inst_complocaledir.
4619         * sysdeps/gnu/configure: Regenerate.
4620         * sysdeps/hppa/configure: Regenerate.
4621         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
4622         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4624         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
4625         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
4626         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
4627         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
4629 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
4631         [BZ #19058]
4632         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
4633         AS_NEEDED.
4634         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
4635         workaround.
4636         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
4637         libmvec-static-only-routines): Added new file.
4638         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
4640 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4642         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
4643         of interrupted RPC instead of restoring it.
4645         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
4646         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
4647         libc_hidden_def.
4648         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
4649         into initialized data instead of common. Define rtld_hidden_data_def.
4650         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
4651         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
4652         libc_hidden_def.
4653         (if_freenameindex): Add libc_hidden_weak.
4654         (if_nameindex): Add libc_hidden_weak.
4655         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
4656         __open64.
4657         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
4658         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
4659         * sysdeps/mach/nanosleep.c: Include <time.h>
4660         (__nanosleep): Rename to __libc_nanosleep.
4661         (__nanosleep): Add weak_alias.
4662         (nanosleep): Update alias.
4664 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
4666         * stdlib/strtod_nan.c: New file.
4667         * stdlib/strtod_nan_double.h: Likewise.
4668         * stdlib/strtod_nan_float.h: Likewise.
4669         * stdlib/strtod_nan_main.c: Likewise.
4670         * stdlib/strtod_nan_narrow.h: Likewise.
4671         * stdlib/strtod_nan_wide.h: Likewise.
4672         * stdlib/strtof_nan.c: Likewise.
4673         * stdlib/strtold_nan.c: Likewise.
4674         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
4675         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
4676         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
4677         * wcsmbs/wcstod_nan.c: Likewise.
4678         * wcsmbs/wcstof_nan.c: Likewise.
4679         * wcsmbs/wcstold_nan.c: Likewise.
4680         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
4681         strtold_nan.
4682         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
4683         wcstof_nan.
4684         * include/stdlib.h (__strtof_nan): Declare and use
4685         libc_hidden_proto.
4686         (__strtod_nan): Likewise.
4687         (__strtold_nan): Likewise.
4688         (__wcstof_nan): Likewise.
4689         (__wcstod_nan): Likewise.
4690         (__wcstold_nan): Likewise.
4691         * include/wchar.h (____wcstoull_l_internal): Declare.
4692         * stdlib/strtod_l.c: Do not include <ieee754.h>.
4693         (____strtoull_l_internal): Remove declaration.
4694         (STRTOF_NAN): Define macro.
4695         (SET_MANTISSA): Remove macro.
4696         (STRTOULL): Likewise.
4697         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
4698         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
4699         (STRTOF_NAN): Define macro.
4700         (SET_MANTISSA): Remove macro.
4701         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
4702         (SET_MANTISSA): Remove macro.
4703         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
4704         macro.
4705         (SET_MANTISSA): Remove macro.
4706         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
4707         macro.
4708         (SET_MANTISSA): Remove macro.
4709         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
4710         (SET_MANTISSA): Remove macro.
4711         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
4712         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
4713         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
4715         [BZ #19266]
4716         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
4717         upper case and lower case letters inside NAN(), not using TOLOWER.
4718         * stdlib/tst-strtod-nan-locale-main.c: New file.
4719         * stdlib/tst-strtod-nan-locale.c: Likewise.
4720         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
4721         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
4722         Depend on $(gen-locales).
4723         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
4724         * wcsmbs/tst-wcstod-nan-locale.c: New file.
4725         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
4726         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
4727         Depend on $(gen-locales).
4728         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
4730 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
4732         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
4734         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
4736         __finitel, __isinfl, and __isnanl.
4737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4738         Likewise.
4739         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
4741         __finitel.
4742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4743         Likewise.
4744         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4746 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4748         * malloc/memusage.c (me): Remove redundant getenv call.
4750 2015-10-24  Florian Weimer  <fweimer@redhat.com>
4752         [BZ #19143]
4753         [BZ #19164]
4754         * nptl/check-cpuset.h: Remove.
4755         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4756         Remove CPU set size check.
4757         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4758         Likewise.
4759         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
4760         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4761         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
4762         (__pthread_setaffinity_new): Remove CPU set size check.
4763         * sysdeps/unix/sysv/linux/sched_setaffinity.c
4764         (__kernel_cpumask_size): Remove.
4765         (__sched_setaffinity_new): Remove CPU set size check.
4766         * manual/threads.texi (Default Thread Attributes): Remove stale
4767         reference to check_cpuset_attr, determine_cpumask_size in comment.
4768         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
4769         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
4770         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
4771         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
4772         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
4773         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
4774         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
4775         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
4776         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
4777         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
4778         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
4779         skeleton test file.
4780         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
4781         tst-affinity-pid.
4783 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4785         * scripts/update-abilist.sh: New file.
4786         * Makefile (+subdir_targets): Add subdir_update-all-abi.
4787         * Makerules (update-all-abi-%, update-all-abi)
4788         (subdir_update-all-abi): New targets.
4789         * elf/Makefile (update-all-abi): New target.
4791 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4793         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
4794         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
4795         (__libc_lock_define_initialized): Use it.
4796         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
4797         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
4798         * malloc/malloc.c (main_arena): Likewise.
4799         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4800         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4802 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
4804         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4805         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
4806         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4807         (PTRACE_O_MASK): Update value.
4808         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
4809         New value in enum __ptrace_setoptions.
4810         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4811         (PTRACE_O_MASK): Update value.
4812         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4813         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4814         (PTRACE_O_MASK): Update value.
4815         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
4816         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4817         (PTRACE_O_MASK): Update value.
4818         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
4819         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4820         (PTRACE_O_MASK): Update value.
4821         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
4822         New value in enum __ptrace_setoptions.
4823         (PTRACE_O_MASK): Update value.
4824         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
4825         New value in enum __ptrace_setoptions.
4826         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4827         (PTRACE_O_MASK): Update value.
4829         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
4830         New macro.
4831         (PACKET_AUXDATA): Likewise.
4832         (PACKET_ORIGDEV): Likewise.
4833         (PACKET_VERSION): Likewise.
4834         (PACKET_HDRLEN): Likewise.
4835         (PACKET_RESERVE): Likewise.
4836         (PACKET_TX_RING): Likewise.
4837         (PACKET_LOSS): Likewise.
4838         (PACKET_VNET_HDR): Likewise.
4839         (PACKET_TX_TIMESTAMP): Likewise.
4840         (PACKET_TIMESTAMP): Likewise.
4841         (PACKET_FANOUT): Likewise.
4842         (PACKET_TX_HAS_OFF): Likewise.
4843         (PACKET_QDISC_BYPASS): Likewise.
4844         (PACKET_ROLLOVER_STATS): Likewise.
4845         (PACKET_FANOUT_DATA): Likewise.
4846         (PACKET_MR_UNICAST): Likewise.
4848         [BZ #19242]
4849         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
4850         (TOUPPER): Likewise.
4851         * stdlib/tst-strtol-locale-main.c: New file.
4852         * stdlib/tst-strtol-locale.c: Likewise.
4853         * stdlib/Makefile (tests): Add tst-strtol-locale.
4854         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
4855         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
4856         Depend on $(gen-locales).
4857         * wcsmbs/tst-wcstol-locale.c: New file.
4858         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
4859         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
4860         tr_TR.ISO-8859-9.
4861         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
4862         Depend on $(gen-locales).
4864 2015-11-20  Roland McGrath  <roland@hack.frob.com>
4866         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
4867         __glibc_likely instead of __builtin_expect.  After falling back to
4868         dyncode_create in a non-ET_DYN case, use the allocate_code_data
4869         system interface to register the code pages as occupied.
4871 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
4873         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4874         [!ARM_MATH_PRIVATE_H].
4875         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
4876         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4877         [!HPPA_MATH_PRIVATE_H].
4878         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
4879         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
4880         to [!I386_MATH_PRIVATE_H].
4881         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
4882         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
4883         Change guard to [!M68K_MATH_PRIVATE_H].
4884         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
4885         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
4886         guard to [!MICROBLAZE_MATH_PRIVATE_H].
4887         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
4888         macro.
4889         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4890         [!MIPS_MATH_PRIVATE_H].
4891         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
4892         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4893         [!NIO2_MATH_PRIVATE_H].
4894         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
4895         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4896         [!TILE_MATH_PRIVATE_H].
4897         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
4899         [BZ #15421]
4900         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
4901         initialize with 0 and define as weak alias of __signgam.
4902         * include/math.h [!_ISOMAC] (__signgam): Declare.
4903         * math/Makefile (libm-calls): Add w_lgamma_compat.
4904         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
4905         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
4906         test-signgam-ullong-init.
4907         (tests-static): Add test-signgam-uchar-static,
4908         test-signgam-uchar-init-static, test-signgam-uint-static,
4909         test-signgam-uint-init-static, test-signgam-ullong-static and
4910         test-signgam-ullong-init-static.
4911         (CFLAGS-test-signgam-uchar.c): New variable.
4912         (CFLAGS-test-signgam-uchar-init.c): Likewise.
4913         (CFLAGS-test-signgam-uchar-static.c): Likewise.
4914         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4915         (CFLAGS-test-signgam-uint.c): Likewise.
4916         (CFLAGS-test-signgam-uint-init.c): Likewise.
4917         (CFLAGS-test-signgam-uint-static.c): Likewise.
4918         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4919         (CFLAGS-test-signgam-ullong.c): Likewise.
4920         (CFLAGS-test-signgam-ullong-init.c): Likewise.
4921         (CFLAGS-test-signgam-ullong-static.c): Likewise.
4922         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4923         * math/Versions (libm): Add GLIBC_2.23.
4924         * math/lgamma-compat.h: New file.
4925         * math/test-signgam-main.c: Likewise.
4926         * math/test-signgam-uchar-init-static.c: Likewise.
4927         * math/test-signgam-uchar-init.c: Likewise.
4928         * math/test-signgam-uchar-static.c: Likewise.
4929         * math/test-signgam-uchar.c: Likewise.
4930         * math/test-signgam-uint-init-static.c: Likewise.
4931         * math/test-signgam-uint-init.c: Likewise.
4932         * math/test-signgam-uint-static.c: Likewise.
4933         * math/test-signgam-uint.c: Likewise.
4934         * math/test-signgam-ullong-init-static.c: Likewise.
4935         * math/test-signgam-ullong-init.c: Likewise.
4936         * math/test-signgam-ullong-static.c: Likewise.
4937         * math/test-signgam-ullong.c: Likewise.
4938         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
4939         wrapper of w_lgamma_main.c.
4940         * math/w_lgamma_compat.c: New file.
4941         * math/w_lgamma_compatf.c: Likewise.
4942         * math/w_lgamma_compatl.c: Likewise.
4943         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
4944         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4945         defining compatibility symbols.
4946         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
4947         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
4948         wrapper of w_lgammaf_main.c.
4949         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
4950         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4951         defining compatibility symbols.
4952         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
4953         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
4954         wrapper of w_lgammal_main.c.
4955         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
4956         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4957         defining compatibility symbols.
4958         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
4959         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
4960         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
4961         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
4962         <lgamma-compat.h>.
4963         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
4964         (__ieee754_gamma): Define as alias.
4965         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
4966         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
4967         <lgamma-compat.h>.
4968         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
4969         (__ieee754_gammaf): Define as alias.
4970         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
4971         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
4972         <lgamma-compat.h>.
4973         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
4974         (__ieee754_gammal): Define as alias.
4975         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
4976         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
4977         <math/w_lgamma_compat.c>.
4978         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
4979         Define as alias of __lgamma_compat and use in defining lgammal.
4980         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
4981         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
4982         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
4983         (USE_AS_COMPAT): New macro.
4984         (LGAMMA_OLD_VER): Undefine and redefine.
4985         (lgammal): Do not define here.
4986         (gammal): Only define here if [GAMMA_ALIAS].
4987         * conform/linknamespace.pl (@whitelist): Remove signgam.
4988         * sysdeps/nacl/libm.abilist: Update.
4989         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4990         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4991         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4992         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4993         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4994         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4995         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4996         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4997         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4998         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4999         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5000         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5002         Likewise.
5003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5004         Likewise.
5005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5006         Likewise.
5007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5008         Likewise.
5009         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5010         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5011         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5012         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5013         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5015         Likewise.
5016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5017         Likewise.
5018         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5019         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5020         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5022 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5024         [BZ #16364]
5025         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
5026         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
5028 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5030         * sysdeps/s390/fpu/bits/mathinline.h:
5031         Use __asm__ [__volatile__] instead of asm [volatile].
5032         * sysdeps/s390/abort-instr.h: Likewise.
5033         * sysdeps/s390/atomic-machine.h: Likewise.
5034         * sysdeps/s390/bits/string.h: Likewise.
5035         * sysdeps/s390/dl-tls.h: Likewise.
5036         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5037         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5038         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5039         * sysdeps/s390/fpu/fesetround.c: Likewise.
5040         * sysdeps/s390/fpu/fpu_control.h: Likewise.
5041         * sysdeps/s390/fpu/s_fma.c: Likewise.
5042         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
5043         * sysdeps/s390/memusage.h: Likewise.
5044         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
5045         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
5046         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
5047         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
5048         * sysdeps/s390/nptl/tls.h: Likewise.
5049         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
5050         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5051         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5052         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5053         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5054         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5055         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
5056         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5057         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5058         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
5059         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5060         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5061         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5062         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
5063         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5064         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5065         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
5066         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5067         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
5068         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5069         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
5070         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5071         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
5073 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5074             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5076         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5077         Add lwarx hint, and use macro for acquire instruction.
5078         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5079         Likewise.
5080         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
5081         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
5082         update to use new atomic macros.
5084 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5086         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5087         (__lll_trylock_elision): Fix setting of adapt_count.
5088         * sysdeps/unix/sysv/linux/powerpc/htm.h
5089         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
5090         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
5091         (_ABORT_SYSCALL): Renumber, and clarify definition.
5092         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
5094 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5096         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
5097         after system headers to prevent MIN/MAX redefinition.  Define
5098         HAVE_ALLOCA to preserve builtin alloca usage.
5100 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5102         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
5103         static and don't set or restore rounding.
5104         (__cos)[IN_SINCOS]: Likewise.
5105         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
5106         (__sincos): Set and restore rounding mode.  Remove check for infinite
5107         or NaN input.
5109         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
5111         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
5112         as used.
5114 2015-11-16  Florian Weimer  <fweimer@redhat.com>
5116         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5118 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5120         * config.make.in (have-glob-dat-reloc): New.
5121         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
5122         target supports GLOB_DAT relocaton. AC_SUBST.
5123         * configure: Regenerated.
5124         * elf/Makefile (tests): Add tst-prelink.
5125         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5126         (tst-prelink-ENV): New.
5127         ($(objpfx)tst-prelink-conflict.out): Likewise.
5128         ($(objpfx)tst-prelink-cmp.out): Likewise.
5129         * sysdeps/x86/tst-prelink.c: Moved to ...
5130         * elf/tst-prelink.c: Here.
5131         * sysdeps/x86/tst-prelink.exp: Moved to ...
5132         * elf/tst-prelink.exp: Here.
5133         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5134         (tst-prelink-ENV): Removed.
5135         ($(objpfx)tst-prelink-conflict.out): Likewise.
5136         ($(objpfx)tst-prelink-cmp.out): Likewise.
5137         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5139 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5141         [BZ #14551]
5142         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5143         (__mpn_construct_long_double): If high part overflows to infinity,
5144         set errno and recompute overflowed result of the correct sign.
5145         * sysdeps/ieee754/ldbl-128ibm/Makefile
5146         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5147         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5148         $(libm).
5149         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5151 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5153         [BZ #15479]
5154         [BZ #19238]
5155         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5156         floating-point state after first operation on input.  Restore full
5157         state rather than just rounding mode.
5158         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5159         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5160         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5162         [BZ #19235]
5163         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5164         add 0.5 to integer arguments.
5165         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5166         Likewise.
5167         (.LC2): New object.
5169 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5171         * scripts/pylintrc (reports): Set to no.
5173 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5175         * elf/dl-load.c (open_verify): Take new argument FD.
5176         Skip __open call if passed FD is not -1.
5177         (_dl_map_object, open_path): Update callers.
5178         * elf/dl-sysdep-open.h: New file.
5179         * elf/dl-load.c: Include it.
5180         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5181         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5182         * sysdeps/nacl/dl-sysdep-open.h: New file.
5183         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5184         from libc to rtld.
5186 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5188         [BZ #19228]
5189         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5190         and restore full floating-point state.
5191         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5192         Likewise.
5193         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5194         Likewise.
5195         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5196         Likewise.
5197         * math/test-nearbyint-except-2.c: New file.
5198         * math/Makefile (tests): Add test-nearbyint-except-2.
5200 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5202         [BZ #19178]
5203         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5204         (tst-prelink-ENV): New.
5205         ($(objpfx)tst-prelink-conflict.out): Likewise.
5206         ($(objpfx)tst-prelink-cmp.out): Likewise.
5207         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5208         * sysdeps/x86/tst-prelink.c: New file.
5209         * sysdeps/x86/tst-prelink.exp: Likewise.
5211 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5213         * math/auto-libm-test-in: Add another test of pow.
5214         * math/auto-libm-test-out: Regenerated.
5215         * math/libm-test.inc (pow_test_data): Add another test.
5217 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5219         [BZ #19219]
5220         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5221         weak_alias to nearbyintl.
5223 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5225         * sysdeps/aarch64/bits/string.h: New file.
5226         (_STRING_ARCH_unaligned): Define.
5228 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5230         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5231         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5232         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5233         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5236 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5238         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5239         for original name of the DSO.  Add it to the name list of the DSO
5240         if it is actually given.
5241         (_dl_map_object): Keep track of whether an audit module rewrote
5242         the file name.  If yes, pass the original name to
5243         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5244         debugging is enabled, log the change of the file name.
5245         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5246         _dl_map_object_from_fd.
5247         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5248         * elf/tst-audit11.c: New file
5249         * elf/tst-auditmod11.c: New file.
5250         * elf/tst-audit11mod1.c: New file.
5251         * elf/tst-audit11mod2.c: New file.
5252         * elf/tst-audit11mod2.map: New file.
5253         * elf/tst-audit12.c: New file
5254         * elf/tst-auditmod12.c: New file.
5255         * elf/tst-audit12mod1.c: New file.
5256         * elf/tst-audit12mod2.c: New file.
5257         * elf/tst-audit12mod2.map: New file.
5258         * elf/tst-audit12mod3.c: New file.
5260 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5262         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5263         Don't create weak aliases,
5264         because versioned symbols are created later.
5265         * sysdeps/s390/s390-32/setjmp.S
5266         (setjmp, _setjmp): Remove weak and rename to an unique name
5267         in SHARED case due to existing versioned symbols.
5268         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5269         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5270         (getcontext): Create weak alias only in non SHARED case.
5271         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5273 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5275         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5276         (__ASSUME_*_SYSCALL) Define new macros.
5277         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5278         Remove socketcall syscalls.
5279         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5280         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5281         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5282         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5283         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5284         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5286 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5288         [BZ #12926]
5289         Terminate process on invalid netlink response.
5290         * sysdeps/unix/sysv/linux/netlinkaccess.h
5291         (__netlink_assert_response): Declare.
5292         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5293         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5294         (sysdep_routines): Add netlink_assert_response.
5295         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5296         __netlink_assert_response.
5297         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5298         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5299         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5300         __netlink_assert_response.
5302 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5304         [BZ #19178]
5305         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5306         (RTYPE_CLASS_PLT): Likewise.
5307         (RTYPE_CLASS_COPY): Likewise.
5308         (RTYPE_CLASS_TLS): Likewise.
5309         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5310         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5311         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5312         DL_DEBUG_PRELINK.
5314 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5316         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5317         calls with argument -0.5.
5318         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5320         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5321         (libc_cv_z_nodlopen): Likewise.
5322         (libc_cv_z_initfirst): Likewise.
5323         * configure: Regenerated.
5325 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5327         Simplify abilist format to be line-based.
5328         * scripts/abilist.awk: Collect descriptors in the descs variable.
5329         (emit): Write descs variable and sort it
5330         externally, with sort.
5331         * sysdeps/**/*.abilist: Convert to new format.
5333 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5335         [BZ #11460]
5336         * io/Makefile (routines): Add fts64.
5337         (tests): Add tst-fts and tst-fts-lfs.
5338         (CFLAGS-fts64.c): New.
5339         * io/Versions (GLIBC_2.23): New.
5340         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5341         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5342         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5343         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5344         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5345         (FTSENT64): Likewise.
5346         (fts64_children): Likewise.
5347         (fts64_close): Likewise.
5348         (fts64_open): Likewise.
5349         (fts64_read): Likewise.
5350         (fts64_set): Likewise.
5351         * io/fts64.c: New file.
5352         * io/tst-fts.c: New test.
5353         * io/tst-fts-lfs.c: Likewise.
5354         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5355         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5356         fts64_set.
5357         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5358         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5359         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5360         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5361         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5362         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5363         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5364         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5365         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5366         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5367         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5368         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5369         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5371         Likewise.
5372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5373         Likewise.
5374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5376         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5377         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5378         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5379         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5380         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5383         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5384         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5385         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5386         * sysdeps/wordsize-64/fts.c: New file.
5387         * sysdeps/wordsize-64/fts64.c: Likewise.
5388         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5389         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5390         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5391         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5393 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5395         * math/libm-test.inc (NON_FINITE): New macro.
5396         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5397         * math/gen-libm-test.pl (show_exceptions): Add argument
5398         $non_finite.
5399         (parse_args): Update call to show_exceptions.
5400         * math/test-math-finite.h: New file.
5401         * math/test-math-no-finite.h: Likewise.
5402         * math/test-double-finite.c: Likewise.
5403         * math/test-float-finite.c: Likewise.
5404         * math/test-ldouble-finite.c: Likewise.
5405         * math/test-double.c: Include "test-math-no-finite.h".
5406         * math/test-float.c: Include "test-math-no-finite.h".
5407         * math/test-ldouble.c: Include "test-math-no-finite.h".
5408         * math/test-math-inline.h (TEST_FINITE): New macro.
5409         * math/test-math-vector.h (TEST_FINITE): Likewise.
5410         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5411         (libm-tests): Add test-float-finite and test-double-finite.
5412         ($(objpfx)test-float-finite.o): New dependency on
5413         $(objpfx)libm-test.stmp.
5414         ($(objpfx)test-double-finite.o): Likewise.
5415         ($(objpfx)test-ldouble-finite.o): Likewise.
5416         (libm-test-no-inline-cflags): New variable.
5417         (libm-test-finite-cflags): Likewise.
5418         (CFLAGS-test-float-finite.c): Likewise.
5419         (CFLAGS-test-double-finite.c): Likewise.
5420         (CFLAGS-test-ldouble-finite.c): Likewise.
5421         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5422         (CFLAGS-test-double.c): Likewise.
5423         (CFLAGS-test-ldouble.c): Likewise.
5425 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5427         * io/fcntl.c (__fcntl): Add ... to prototype.
5428         * misc/ioctl.c (__ioctl): Likewise.
5429         * misc/syscall.c (syscall): Likewise.
5431 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5433         * scripts/list-fixed-bugs.py: New file.
5435         [BZ #19213]
5436         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5437         returned for argument 1.
5438         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5439         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5440         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5441         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5442         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5443         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5445         [BZ #19211]
5446         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5447         __USE_XOPEN], not if [!__USE_ISOC99].
5448         (lgammaf): Likewise.
5449         (lgammal): Likewise.
5450         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5451         (gammaf): Likewise.
5452         (gammal): Likewise.
5453         * math/test-signgam-finite-c11.c: New file.
5454         * math/test-signgam-finite-c99.c: Likewise.
5455         * math/test-signgam-finite.c: Likewise.
5456         * math/Makefile (tests): Add test-signgam-finite,
5457         test-signgam-finite-c99 and test-signgam-finite-c11.
5458         (CFLAGS-test-signgam-finite.c): New variable.
5459         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5460         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5462         [BZ #19212]
5463         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5464         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5465         500].
5466         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5467         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5468         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5469         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5470         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5471         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5472         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5473         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5474         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5475         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5477         [BZ #19209]
5478         * math/bits/math-finite.h (ldexp): Remove declaration.
5479         (ldexpf): Likewise.
5480         (ldexpl): Likewise.
5482         [BZ #19205]
5483         * math/bits/math-finite.h (acosf): Condition declaration on
5484         [__USE_ISOC99].
5485         (acosl): Likewise.
5486         (acoshf): Likewise.
5487         (acoshl): Likewise.
5488         (asinf): Likewise.
5489         (asinl): Likewise.
5490         (atan2f): Likewise.
5491         (atan2l): Likewise.
5492         (atanhf): Likewise.
5493         (atanhl): Likewise.
5494         (coshf): Likewise.
5495         (coshl): Likewise.
5496         (expf): Likewise.
5497         (expl): Likewise.
5498         (fmodf): Likewise.
5499         (fmodl): Likewise.
5500         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
5501         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
5502         (j0l): Likewise.
5503         (y0f): Likewise.
5504         (y0l): Likewise.
5505         (j1f): Likewise.
5506         (j1l): Likewise.
5507         (y1f): Likewise.
5508         (y1l): Likewise.
5509         (jnf): Likewise.
5510         (jnl): Likewise.
5511         (ynf): Likewise.
5512         (ynl): Likewise.
5513         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5514         (lgammal_r): Likewise.
5515         (__lgamma_r_finite): New declaration.
5516         (__lgammaf_r_finite): Likewise.
5517         (__lgammal_r_finite): Likewise.
5518         (lgamma): Use __lgamma_r_finite.
5519         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5520         __lgammaf_r_finite.
5521         (lgammal): Condition definition on [__USE_ISOC99].  Use
5522         __lgammal_r_finite.
5523         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5524         __lgamma_r_finite.
5525         (gammaf): Condition definition on [__USE_ISOC99].  Use
5526         __lgammaf_r_finite.
5527         (gammal): Condition definition on [__USE_ISOC99].  Use
5528         __lgammal_r_finite.
5529         (logf): Condition declaration on [__USE_ISOC99].
5530         (logl): Likewise.
5531         (log10f): Likewise.
5532         (log10l): Likewise.
5533         (ldexpf): Likewise.
5534         (ldexpl): Likewise.
5535         (powf): Likewise.
5536         (powl): Likewise.
5537         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
5538         __USE_ISOC99].
5539         (remainderf): Condition declaration on [__USE_ISOC99].
5540         (remainderl): Likewise.
5541         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
5542         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
5543         (scalbl): Likewise.
5544         (sinhf): Condition declaration on [__USE_ISOC99].
5545         (sinhl): Likewise.
5546         (sqrtf): Likewise.
5547         (sqrtl): Likewise.
5549 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5551         * sysdeps/arm/atomic-machine.h
5552         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5553         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5554         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
5555         Remove conditional code.
5556         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5557         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5558         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
5559         Change conditional to [__ASSEMBLER__].
5560         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5561         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
5562         [!__ASSEMBLER__].
5563         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
5564         code.
5565         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
5566         conditional macro definitions.
5567         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
5568         (__arch_compare_and_exchange_val_16_acq): Likewise.
5569         (__arch_compare_and_exchange_val_32_acq): Likewise.
5570         (atomic_exchange_and_add): Likewise.
5571         (atomic_add): Likewise.
5572         (atomic_add_negative): Likewise.
5573         (atomic_add_zero): Likewise.
5574         (atomic_bit_set): Likewise.
5575         (atomic_bit_test_set): Likewise.
5576         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
5577         code unconditional.
5578         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5580         * math/test-math-errno.h: New file.
5581         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
5582         empty.
5583         (TEST_ERRNO): New macro.
5584         (TEST_EXCEPTIONS): Likewise.
5585         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
5586         (TEST_EXCEPTIONS): Likewise.
5587         * math/test-math-vector.h (TEST_ERRNO): Likewise.
5588         * math/test-double.c: Include "test-math-errno.h".
5589         * math/test-float.c: Likewise.
5590         * math/test-ldouble.c: Likewise.
5591         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
5592         code unconditional.
5593         (test_exceptions): Only run code if TEST_EXCEPTIONS.
5594         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
5595         unconditional.
5596         (test_errno): Only run code if TEST_ERRNO.
5597         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
5599 2015-11-04  Florian Weimer  <fweimer@redhat.com>
5601         * nptl/tst-once5.cc: Remove attribution.
5603 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5605         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
5606         sqrt, tan, tanh, y0, y1 and yn.
5607         * math/auto-libm-test-out: Regenerated.
5608         * math/libm-test.inc (scalb_test_data): Add more tests.
5609         (scalbn_test_data): Likewise.
5610         (scalbln_test_data): Likewise.
5611         (signbit_test_data): Likewise.
5612         (sin_test_data): Likewise.
5613         (sincos_test_data): Likewise.
5614         (sinh_test_data): Likewise.
5615         (sqrt_test_data): Likewise.
5616         (tan_test_data): Likewise.
5617         (tanh_test_data): Likewise.
5618         (tgamma_test_data): Likewise.
5619         (y0_test_data): Likewise.
5620         (y1_test_data): Likewise.
5621         (yn_test_data): Likewise.
5622         (significand_test_data): Likewise.
5623         * sysdeps/i386/fpu/libm-test-ulps: Update.
5625 2015-11-03  David Kastrup  <dak@gnu.org>
5627         [BZ #18604]
5628         * assert/assert.h (assert): Don't macro-expand failed assertion
5629         expression in error message.
5630         * malloc/malloc.c (assert): Likewise.
5632 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
5634         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
5635         test.
5636         * configure: Regenerated.
5638 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
5640         * math/libm-test.inc (modf_test_data): Add more tests.
5641         (nearbyint_test_data): Likewise.
5642         (nextafter_test_data): Likewise.
5643         (nexttoward_test_data): Likewise.
5644         (pow_test_data): Likewise.
5645         (remainder_test_data): Likewise.
5646         (remquo_test_data): Likewise.
5647         (rint_test_data): Likewise.
5649         [BZ #19201]
5650         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5651         Check for zero remainder in case of large exponents and ensure
5652         correct sign of result in that case.
5653         * math/libm-test.inc (remainder_test_data): Add more tests.
5655         [BZ #6799]
5656         * math/s_nextafter.c: Include <errno.h>.
5657         (__nextafter): Set errno on overflow and underflow.
5658         * math/s_nexttowardf.c: Include <errno.h>.
5659         (__nexttowardf): Set errno on overflow and underflow.
5660         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
5661         (__nextafterl): Set errno on overflow and underflow.
5662         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
5663         (__nexttoward): Set errno on overflow and underflow.
5664         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
5665         (__nexttowardf): Set errno on overflow and underflow.
5666         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
5667         (__nextafterf): Set errno on overflow and underflow.
5668         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
5669         (__nextafterl): Set errno on overflow and underflow.
5670         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
5671         (__nexttoward): Set errno on overflow and underflow.
5672         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
5673         (__nexttowardf): Set errno on overflow and underflow.
5674         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
5675         (__nextafterl): Set errno on overflow and underflow.
5676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
5677         (__nexttoward): Set errno on overflow and underflow.
5678         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
5679         (__nexttowardf): Set errno on overflow and underflow.
5680         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
5681         (__nexttoward): Set errno on overflow and underflow.
5682         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
5683         (__nexttowardf): Set errno on overflow and underflow.
5684         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
5685         (__nldbl_nexttowardf): Set errno on overflow and underflow.
5686         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
5687         (__nextafterl): Set errno on overflow and underflow.
5688         * math/libm-test.inc (nextafter_test_data): Do not allow errno
5689         setting to be missing on overflow.  Add more tests.
5690         (nexttoward_test_data): Likewise.
5692         * configure.ac (libc_cv_initfini_array): Remove configure test.
5693         * configure: Regenerated.
5695 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
5697         [BZ #19189]
5698         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
5699         non-finite argument handle arguments with negative sign.
5701         * math/libm-test.inc (j0_test_data): Do not test sign of zero
5702         result from infinite argument.
5703         (j1_test_data): Likewise.
5704         (jn_test_data): Likewise.
5705         (y0_test_data): Likewise.
5706         (y1_test_data): Likewise.
5707         (yn_test_data): Likewise.
5709         [BZ #16171]
5710         * math/w_remainder.c (drem): Define as weak alias of __remainder.
5711         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
5712         * math/w_remainderf.c (dremf): Define as weak alias of
5713         __remainderf.
5714         * math/w_remainderl.c (dreml): Define as weak alias of
5715         __remainderl.
5716         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
5717         __remainder.
5718         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
5719         __remainderf.
5720         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
5721         __remainderl.
5722         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
5723         weak alias of remainderl.
5724         * sysdeps/ieee754/ldbl-opt/w_remainder.c
5725         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
5726         alias of __remainder.
5727         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
5728         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
5729         strong alias of __remainderl.
5730         (dreml): Use long_double_symbol.
5731         * math/Makefile (libm-calls): Remove w_drem.
5732         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
5733         (CFLAGS-nldbl-drem.c): Remove variable.
5734         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
5735         * math/w_drem.c: Remove file.
5736         * math/w_dremf.c: Likewise.
5737         * math/w_dreml.c: Likewise.
5738         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
5739         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
5740         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
5742         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
5743         * sysdeps/i386/configure: Regenerated.
5744         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
5745         * sysdeps/x86_64/configure: Regenerated.
5747         * configure.ac (libc_cv_asm_protected_directive): Remove configure
5748         test.
5749         (libc_cv_visibility_attribute): Likewise.
5750         (libc_cv_protected_data): Test unconditionally.
5751         (libc_cv_broken_visibility_attribute): Remove configure test.
5752         (libc_cv_have_sdata_section): Test unconditionally.
5753         * configure: Regenerated.
5755         * include/libc-internal.h (libc_max_align_t): Remove typedef.
5756         * include/scratch_buffer.h: Include <stddef.h> instead of
5757         <libc-internal.h>.
5758         (struct scratch_buffer): Use max_align_t instead of
5759         libc_max_align_t.
5761 2015-10-29  Florian Weimer  <fweimer@redhat.com>
5763         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
5764         instead of extend_alloca.  Change control flow to avoid a goto.
5765         Remove assert which is trivially always true.
5767 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5769         [BZ #16068]
5770         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
5771         (FE_ALL_EXCEPT_X86): New macro.
5772         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5773         FE_ALL_EXCEPT.  Ensure precision control is included in
5774         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5775         handle "denormal operand exception" and clear FZ and DAZ bits.
5776         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
5777         (FE_ALL_EXCEPT_X86): New macro.
5778         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5779         FE_ALL_EXCEPT.  Ensure precision control is included in
5780         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5781         handle "denormal operand exception" and clear FZ and DAZ bits.
5782         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
5783         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
5784         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5785         test-fenv-x87 and test-fenv-sse-2.
5786         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
5788         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
5789         * math/test-double.h (BUILD_COMPLEX): New macro.
5790         * math/test-float.h (BUILD_COMPLEX): Likewise.
5791         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
5793         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
5794         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
5795         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
5796         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
5797         instead of DBL_DENORM_MIN in comment.
5798         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
5799         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5800         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
5801         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
5802         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
5803         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5805 2015-10-28  Florian Weimer  <fweimer@redhat.com>
5807         [BZ# 19048]
5808         * malloc/malloc.c (struct malloc_state): Update comment.  Add
5809         attached_threads member.
5810         (main_arena): Initialize attached_threads.
5811         * malloc/arena.c (list_lock): Update comment.
5812         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
5813         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
5814         (deattach_arena): New function.
5815         (_int_new_arena): Initialize arena reference count and deattach
5816         replaced arena.
5817         (get_free_list, reused_arena): Update reference count and deattach
5818         replaced arena.
5819         (arena_thread_freeres): Update arena reference count and only put
5820         unreferenced arenas on the free list.
5822 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5824         [BZ #19181]
5825         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
5826         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
5827         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
5828         * math/test-fenv-clear-main.c: New file.
5829         * math/test-fenv-clear.c: Likewise.
5830         * math/Makefile (tests): Add test-fenv-clear.
5831         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
5832         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5833         test-fenv-clear-sse.
5834         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
5836         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
5837         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
5838         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
5840 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5842         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
5843         static libc.
5845 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5847         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
5848         test.
5849         * sysdeps/i386/configure: Regenerated.
5850         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
5851         test.
5852         * sysdeps/x86_64/configure: Regenerated.
5853         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
5854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5855         memset-avx2 unconditionally instead of conditionally on
5856         [$(config-cflags-avx2) = yes].
5857         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5858         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
5859         unconditional.
5860         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
5861         * sysdeps/x86_64/multiarch/memset_chk.S
5862         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
5863         to [IS_IN (libc) && SHARED].
5865 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5867         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
5868         configure test.
5869         * sysdeps/arm/configure: Regenerated.
5870         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
5871         Define variable if not already defined.
5873         [BZ #17404]
5874         * sysdeps/mips/atomic-machine.h
5875         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
5876         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
5877         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5879         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
5880         unconditional.
5881         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
5882         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5883         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
5884         unconditional.
5885         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5886         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
5887         unconditional.
5888         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5889         * stdlib/setenv.c
5890         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
5891         code unconditional.
5892         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
5893         Remove conditional code.
5894         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5895         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
5896         unconditional.
5897         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5898         code.
5899         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5900         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
5901         unconditional.
5902         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5903         code.
5904         * sysdeps/ieee754/ldbl-128/k_tanl.c
5905         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5906         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5907         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5908         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5909         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5910         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5911         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
5912         unconditional.
5913         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5914         code.
5915         * sysdeps/ieee754/ldbl-96/k_tanl.c
5916         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5917         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5919         * nptl/tst-initializers1-c11.c: New file.
5920         * nptl/tst-initializers1-gnu11.c: Likewise.
5921         * nptl/Makefile (tests): Add these new tests.
5922         (CFLAGS-tst-initializers1-c11.c): New variable.
5923         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5925         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
5926         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
5927         instead of -std=gnu99.
5928         * configure.ac (systemtap): Test with -std=gnu11 instead of
5929         -std=gnu99.
5930         * configure: Regenerated.
5931         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
5932         in compilation command in comment.
5934         * sysdeps/nptl/configure.ac: Remove file.
5935         * sysdeps/nptl/configure: Remove generated file.
5936         * configure.ac (libc_cv_forced_unwind): Do not substitute.
5937         * configure: Regenerated.
5938         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
5939         * config.make.in (have-forced-unwind): Remove variable.
5940         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5941         unconditional.
5942         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
5943         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
5944         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
5945         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
5946         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5947         unconditional.
5949 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5951         [BZ #19174]
5952         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
5953         .skip_lock_out_of_tbegin_retries.
5954         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5955         (__lll_lock_elision): Likewise, and respect a value of
5956         try_tbegin <= 0.
5958 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5960         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
5961         statement.
5963 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5965         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
5966         variable.
5967         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5968         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5970         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
5971         of -std=c1x -D_ISOC11_SOURCE.
5973         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
5974         * configure: Regenerated.
5975         * manual/install.texi (Tools for Compilation): Document
5976         requirement for GCC 4.7 or later.
5977         * INSTALL: Regenerated.
5979 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
5981         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
5982         on CNT to a conditional jump to 'puntdata'.
5984 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5986         * configure.ac (libc_cv_gcc___thread): Remove configure test.
5987         (libc_cv_gcc_tls_model_attr): Likewise.
5988         * configure: Regenerated.
5990         * configure.ac (libc_cv_need_minus_P): Remove configure test.
5991         * configure: Regenerated.
5992         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
5994 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
5996         * configure.ac (old_glibc_headers): Remove configure test.
5997         * configure: Regenerated.
5998         * config.make.in (old-glibc-headers): Remove variable.
5999         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
6000         (install): Remove dependency on remove-old-headers.
6001         (headers2_0): Remove variable.
6002         (remove-old-headers): Remove rule.
6004         * configure.ac (libc_cv_dot_text): Remove configure test.
6005         (libc_cv_asm_set_directive): Use .text instead of
6006         ${libc_cv_dot_text} in configure test.
6007         * configure: Regenerated.
6009 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6011         [BZ #19168]
6012         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6014 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6016         * configure.ac (CXX): Clear the variable if the C++ toolchain does
6017         not support static linking.
6018         * configure: Regenerate.
6020 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
6022         * math/libm-test.inc (check_float_internal): Do not special-case
6023         errors up to 0.5 ulp.
6025         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6026         log2.
6027         * math/auto-libm-test-out: Regenerated.
6028         * math/libm-test.inc (MAX_EXP): New macro.
6029         (ilogb_test_data): Add more tests.
6030         (isfinite_test_data): Likewise.
6031         (isgreater_test_data): Likewise.
6032         (isgreaterequal_test_data): Likewise.
6033         (isinf_test_data): Likewise.
6034         (isless_test_data): Likewise.
6035         (islessequal_test_data): Likewise.
6036         (islessgreater_test_data): Likewise.
6037         (isnan_test_data): Likewise.
6038         (isnormal_test_data): Likewise.
6039         (issignaling_test_data): Likewise.
6040         (isunordered_test_data): Likewise.
6041         (j0_test_data): Likewise.
6042         (j1_test_data): Likewise.
6043         (jn_test_data): Likewise.
6044         (lgamma_test_data): Likewise.
6045         (log_test_data): Likewise.
6046         (log10_test_data): Likewise.
6047         (log1p_test_data): Likewise.
6048         (log2_test_data): Likewise.
6049         (logb_test_data): Likewise.
6050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6052         [BZ #18611]
6053         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
6054         avoid excess range and precision on underflow.
6055         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6056         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
6057         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6058         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
6059         underflow.
6060         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6061         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6062         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6063         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6064         * math/auto-libm-test-in: Do not allow missing errno setting for
6065         tests of j1 and jn.
6066         * math/auto-libm-test-out: Regenerated.
6068 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
6070         [BZ #15491]
6071         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
6072         floating-point environment instead of clearing all exceptions.
6073         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6074         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
6075         merging in "invalid" exceptions from frndint.
6076         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6077         * math/test-nearbyint-except.c: New file.
6078         * math/Makefile (tests): Add test-nearbyint-except.
6080 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
6082         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
6084         * sysdeps/tile/libm-test-ulps: Regenerated.
6086 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
6089         (__NR_sync_file_range2): Assume it is always defined.
6090         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6091         (__NR_sync_file_range): Assume it is always defined.
6093 2015-10-22  Andreas Schwab  <schwab@suse.de>
6095         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6096         INTERNAL_SYSCALL_ERRNO.
6097         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6098         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6099         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6100         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6101         Likewise.
6102         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6104 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6106         * io/tst-fcntl.c (fd): New static variable.
6107         (do_prepare): Open temporary file here....
6108         (do_test): ...not here.
6110         * io/ftwtest-sh: Also trap on exit to remove temporary files.
6112 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6114         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
6115         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6116         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6117         Moved before "#ifdef __ASSEMBLER__".
6119 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6121         [BZ #19156]
6122         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
6123         arguments very close to 0.
6125 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6127         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6128         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6130 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6132         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6133         New.  Defined for GCC 5 and above when not compiling for
6134         profiling.
6135         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6137         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6138         Renamed to ...
6139         (CFLAGS-epoll_pwait.o): This.
6140         (CFLAGS-mmap.c): Renamed to ...
6141         (CFLAGS-mmap.o): This.
6142         (CFLAGS-mmap64.c): Renamed to ...
6143         (CFLAGS-mmap64.o): This.
6144         (CFLAGS-epoll_pwait.os): New.
6145         (CFLAGS-mmap.os): Likewise.
6146         (CFLAGS-mmap64.os): Likewise.
6147         (CFLAGS-semtimedop.os): Likewise.
6148         (CFLAGS-semtimedop.c): Renamed to ...
6149         (CFLAGS-semtimedop.o): This.
6151 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6153         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6154         warning message.
6156 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6158         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6159         * Makefile ($(objpfx)c++-types-check.out): Filter out
6160         $(+gccwarn-c) instead of -Wstrict-prototypes.
6162         * io/fts.c (fts_open): Convert to prototype-style function
6163         definition.
6164         * malloc/mcheck.c (mcheck): Likewise.
6165         (mcheck_pedantic): Likewise.
6166         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6167         internal_function.
6168         (re_search_internal): Likewise.
6169         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6170         prototype-style function definition.
6171         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6172         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6173         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6174         (xdr_utmpptr): Likewise.
6175         (xdr_utmparr): Likewise.
6176         (xdr_utmpidle): Likewise.
6177         (xdr_utmpidleptr): Likewise.
6178         (xdr_utmpidlearr): Likewise.
6180         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6181         log, log10 and log2.
6182         * math/auto-libm-test-out: Regenerated.
6183         * math/libm-test.inc (fmod_test_data): Add more tests.
6184         (fpclassify_test_data): Likewise.
6185         (frexp_test_data): Likewise.
6186         (hypot_test_data): Likewise.
6187         (ilogb_test_data): Likewise.
6189 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6191         * debug/fortify_fail.c (__fortify_fail): Convert to
6192         prototype-style function definition.  Use internal_function.
6193         * libio/genops.c (save_for_backup): Convert to prototype-style
6194         function definition.
6195         * libio/wgenops.c (save_for_wbackup): Likewise.
6196         * login/grantpt.c (grantpt): Likewise.
6197         * login/ptsname.c (ptsname): Likewise.
6198         (__ptsname_r): Likewise.
6199         * login/unlockpt.c (unlockpt): Likewise.
6200         * mach/msgserver.c (__mach_msg_server): Likewise.
6201         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6202         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6203         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6204         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6205         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6206         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6207         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6208         Likewise.
6209         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6210         internal_function.
6211         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6212         prototype-style function definition.
6213         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6214         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6215         (__pthread_create_2_0): Likewise.
6216         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6217         * nptl/register-atfork.c (__register_atfork): Likewise.
6218         * posix/glob.c (glob): Likewise.
6219         * posix/regcomp.c (re_comp): Likewise.
6220         * posix/regexec.c (re_exec): Likewise.
6221         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6222         [!__STDC__]: Remove conditional code.
6223         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6224         [!__STDC__]: Remove conditional code.
6225         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6226         [!__STDC__]: Remove conditional code.
6227         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6228         [!__STDC__]: Remove conditional code.
6229         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6230         [!__STDC__]: Remove conditional code.
6231         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6232         [!__STDC__]: Remove conditional code.
6233         * stdlib/mul.c [__STDC__]: Make code unconditional.
6234         [!__STDC__]: Remove conditional code.
6235         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6236         [!__STDC__]: Remove conditional code.
6237         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6238         [!__STDC__]: Remove conditional code.
6239         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6240         function definition.
6241         (STRTOF): Likewise.
6242         * stdlib/strtod_l.c (__STRTOF): Likewise.
6243         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6244         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6245         (__strtol_l): Likewise.
6246         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6247         [!__STDC__]: Remove conditional code.
6248         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6249         definition.
6250         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6251         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6252         type.
6253         (__strcasecmp): Convert to prototype-style function definition.
6254         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6255         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6256         type.
6257         (__strncasecmp): Convert to prototype-style function definition.
6258         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6259         * sunrpc/xdr.c (xdr_union): Likewise.
6260         * sunrpc/xdr_array.c (xdr_array): Likewise.
6261         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6262         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6263         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6264         Likewise.
6265         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6266         Likewise.
6267         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6268         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6269         Likewise.
6270         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6271         (LOCALE_PARAM_PROTO): Likewise.
6272         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6273         argument type.
6274         (ut_argument_spec): Remove macro.
6275         (ut_argument_spec_iso): Rename to ut_argument_spec.
6276         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6277         prototype-style function definition.
6278         (memcpy_uppcase): Likewise.
6279         (__strftime_internal): Likewise.
6280         (my_strftime): Likewise.
6281         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6282         (LOCALE_PARAM_DECL): Likewise.
6283         [_LIBC] (LOCALE_PARAM): Include argument type.
6284         (__strptime_internal): Convert to prototype-style function
6285         definition.
6286         (strptime): Likewise.
6287         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6288         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6289         type.
6290         (__wcscasecmp): Convert to prototype-style function definition.
6291         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6292         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6293         type.
6294         (__wcsncasecmp): Convert to prototype-style function definition.
6296         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6297         function definition.
6298         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6299         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6300         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6301         * elf/dl-minimal.c (_itoa): Likewise.
6302         * hurd/hurdmalloc.c (malloc): Likewise.
6303         (free): Likewise.
6304         (realloc): Likewise.
6305         * inet/inet6_option.c (inet6_option_space): Likewise.
6306         (inet6_option_init): Likewise.
6307         (inet6_option_append): Likewise.
6308         (inet6_option_alloc): Likewise.
6309         (inet6_option_next): Likewise.
6310         (inet6_option_find): Likewise.
6311         * io/ftw.c (FTW_NAME): Likewise.
6312         (NFTW_NAME): Likewise.
6313         (NFTW_NEW_NAME): Likewise.
6314         (NFTW_OLD_NAME): Likewise.
6315         * libio/iofwide.c (_IO_fwide): Likewise.
6316         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6317         (_IO_str_init_static): Likewise.
6318         (_IO_str_init_readonly): Likewise.
6319         (_IO_str_overflow): Likewise.
6320         (_IO_str_underflow): Likewise.
6321         (_IO_str_count): Likewise.
6322         (_IO_str_seekoff): Likewise.
6323         (_IO_str_pbackfail): Likewise.
6324         (_IO_str_finish): Likewise.
6325         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6326         (_IO_wstr_overflow): Likewise.
6327         (_IO_wstr_underflow): Likewise.
6328         (_IO_wstr_count): Likewise.
6329         (_IO_wstr_seekoff): Likewise.
6330         (_IO_wstr_pbackfail): Likewise.
6331         (_IO_wstr_finish): Likewise.
6332         * locale/programs/localedef.c (normalize_codeset): Likewise.
6333         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6334         (add_locales_to_archive): Likewise.
6335         (delete_locales_from_archive): Likewise.
6336         * malloc/malloc.c (__libc_mallinfo): Likewise.
6337         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6338         * misc/tsearch.c (__tfind): Likewise.
6339         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6340         * nptl/pthread_attr_getdetachstate.c
6341         (__pthread_attr_getdetachstate): Likewise.
6342         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6343         Likewise.
6344         * nptl/pthread_attr_getinheritsched.c
6345         (__pthread_attr_getinheritsched): Likewise.
6346         * nptl/pthread_attr_getschedparam.c
6347         (__pthread_attr_getschedparam): Likewise.
6348         * nptl/pthread_attr_getschedpolicy.c
6349         (__pthread_attr_getschedpolicy): Likewise.
6350         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6351         Likewise.
6352         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6353         Likewise.
6354         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6355         Likewise.
6356         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6357         Likewise.
6358         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6359         (__pthread_attr_init_2_0): Likewise.
6360         * nptl/pthread_attr_setdetachstate.c
6361         (__pthread_attr_setdetachstate): Likewise.
6362         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6363         Likewise.
6364         * nptl/pthread_attr_setinheritsched.c
6365         (__pthread_attr_setinheritsched): Likewise.
6366         * nptl/pthread_attr_setschedparam.c
6367         (__pthread_attr_setschedparam): Likewise.
6368         * nptl/pthread_attr_setschedpolicy.c
6369         (__pthread_attr_setschedpolicy): Likewise.
6370         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6371         Likewise.
6372         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6373         Likewise.
6374         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6375         Likewise.
6376         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6377         Likewise.
6378         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6379         Likewise.
6380         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6381         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6382         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6383         use internal_function.
6384         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6385         prototype-style function definition.
6386         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6387         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6388         internal_function.
6389         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6390         Convert to prototype-style function definition.
6391         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6392         Likewise.
6393         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6394         Likewise.
6395         (__pthread_mutex_unlock): Likewise.
6396         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6397         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6398         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6399         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6400         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6401         * nss/makedb.c (process_input): Likewise.
6402         * posix/fnmatch.c (__strchrnul): Likewise.
6403         (__wcschrnul): Likewise.
6404         (fnmatch): Likewise.
6405         * posix/fnmatch_loop.c (FCT): Likewise.
6406         * posix/glob.c (globfree): Likewise.
6407         (__glob_pattern_type): Likewise.
6408         (__glob_pattern_p): Likewise.
6409         * posix/regcomp.c (re_compile_pattern): Likewise.
6410         (re_set_syntax): Likewise.
6411         (re_compile_fastmap): Likewise.
6412         (regcomp): Likewise.
6413         (regerror): Likewise.
6414         (regfree): Likewise.
6415         * posix/regexec.c (regexec): Likewise.
6416         (re_match): Likewise.
6417         (re_search): Likewise.
6418         (re_match_2): Likewise.
6419         (re_search_2): Likewise.
6420         (re_search_stub): Likewise.  Use internal_function
6421         (re_copy_regs): Likewise.
6422         (re_set_registers): Convert to prototype-style function
6423         definition.
6424         (prune_impossible_nodes): Likewise.  Use internal_function.
6425         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6426         prototype-style function definition.
6427         (inet_net_pton_ipv4): Likewise.
6428         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6429         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6430         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6431         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6432         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6433         Make variadic.
6434         * time/strptime_l.c (localtime_r): Convert to prototype-style
6435         function definition.
6436         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6437         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6438         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6439         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6441         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6442         definition.
6443         (_ufc_doit_r): Likewise.
6444         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6445         (_ufc_output_conversion_r): Likewise.
6446         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6447         * inet/rcmd.c (rcmd_af): Likewise.
6448         (rcmd): Likewise.
6449         (ruserok_af): Likewise.
6450         (ruserok): Likewise.
6451         (ruserok2_sa): Likewise.
6452         (ruserok_sa): Likewise.
6453         (iruserok_af): Likewise.
6454         (iruserok): Likewise.
6455         (__ivaliduser): Likewise.
6456         (__validuser2_sa): Likewise.
6457         * inet/rexec.c (rexec_af): Likewise.
6458         (rexec): Likewise.
6459         * inet/ruserpass.c (ruserpass): Likewise.
6460         * locale/programs/xmalloc.c (xcalloc): Likewise.
6461         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6462         * math/w_drem.c (__drem): Likewise.
6463         * math/w_dremf.c (__dremf): Likewise.
6464         * math/w_dreml.c (__dreml): Likewise.
6465         * misc/daemon.c (daemon): Likewise.
6466         * resolv/res_debug.c (p_fqnname): Likewise.
6467         * stdlib/div.c (div): Likewise.
6468         * string/memcmp.c (memcmp_bytes): Likewise.
6469         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6470         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6472         * crypt/cert.c (main): Convert to prototype-style function
6473         definition.
6474         * io/pipe.c (__pipe): Likewise.
6475         * io/pipe2.c (__pipe2): Likewise.
6476         * misc/futimesat.c (futimesat): Likewise.
6477         * misc/utimes.c (__utimes): Likewise.
6478         * posix/execve.c (__execve): Likewise.
6479         * posix/execvp.c (execvp): Likewise.
6480         * posix/execvpe.c (__execvpe): Likewise.
6481         * posix/fexecve.c (fexecve): Likewise.
6482         * socket/socketpair.c (socketpair): Likewise.
6483         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6484         * stdlib/erand48.c (erand48): Likewise.
6485         * stdlib/erand48_r.c (__erand48_r): Likewise.
6486         * stdlib/jrand48.c (jrand48): Likewise.
6487         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6488         * stdlib/lcong48.c (lcong48): Likewise.
6489         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6490         * stdlib/nrand48.c (nrand48): Likewise.
6491         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
6492         * stdlib/seed48.c (seed48): Likewise.
6493         * stdlib/seed48_r.c (__seed48_r): Likewise.
6494         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
6495         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
6496         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
6498 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6500         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
6501         * configure: Regenerated.
6502         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
6503         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
6504         unconditional.
6505         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6506         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6507         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6508         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6509         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6510         unconditional.
6511         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6513         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6514         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6516         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6517         function definition.
6518         * crypt/crypt_util.c (__encrypt_r): Likewise.
6519         * libio/genops.c (_IO_no_init): Likewise.
6520         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6521         (_IO_old_fopencookie): Likewise.
6522         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6523         * libio/iogetline.c (_IO_getline): Likewise.
6524         (_IO_getline_info): Likewise.
6525         * libio/iogetwline.c (_IO_getwline): Likewise.
6526         (_IO_getwline_info): Likewise.
6527         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6528         * libio/vswprintf.c (_IO_vswprintf): Likewise.
6529         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
6530         (find_entry): Likewise.
6531         (iterate_table): Likewise.
6532         (lookup): Likewise.
6533         * login/forkpty.c (forkpty): Likewise.
6534         * misc/hsearch_r.c (__hsearch_r): Likewise.
6535         * misc/select.c (__select): Likewise.
6536         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
6537         Likewise.
6538         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
6539         Likewise.
6540         * nptl/old_pthread_cond_timedwait.c
6541         (__pthread_cond_timedwait_2_0): Likewise.
6542         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6543         * nptl/pthread_barrierattr_getpshared.c
6544         (pthread_barrierattr_getpshared): Likewise.
6545         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6546         Likewise.
6547         * nptl/pthread_mutex_setprioceiling.c
6548         (pthread_mutex_setprioceiling): Likewise.
6549         * nptl/pthread_mutexattr_getprioceiling.c
6550         (pthread_mutexattr_getprioceiling): Likewise.
6551         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6552         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6553         Likewise.
6554         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6555         Likewise.
6556         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
6557         Likewise.
6558         * socket/recvfrom.c (__recvfrom): Likewise.
6559         * socket/sendto.c (__sendto): Likewise.
6560         * socket/setsockopt.c (__setsockopt): Likewise.
6561         * stdio-common/_itoa.c (_itoa): Likewise.
6562         * stdio-common/_itowa.c (_itowa): Likewise.
6563         * stdio-common/reg-printf.c (__register_printf_specifier):
6564         Likewise.
6565         (__register_printf_function): Likewise.
6566         * stdio-common/tempname.c (__path_search): Likewise.
6567         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
6568         * stdlib/mul_1.c (mpn_mul_1): Likewise.
6569         * stdlib/random_r.c (__initstate_r): Likewise.
6570         * stdlib/setenv.c (__add_to_environ): Likewise.
6571         * stdlib/submul_1.c (mpn_submul_1): Likewise.
6572         * streams/getpmsg.c (getpmsg): Likewise.
6573         * streams/putmsg.c (putmsg): Likewise.
6574         * streams/putpmsg.c (putpmsg): Likewise.
6575         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
6576         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6577         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
6578         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
6579         * sunrpc/pm_getport.c (pmap_getport): Likewise.
6580         * sunrpc/svc_udp.c (cache_get): Likewise.
6581         * sunrpc/xdr_array.c (xdr_vector): Likewise.
6582         * sysdeps/mach/hurd/getcwd.c
6583         (__canonicalize_directory_name_internal): Likewise.
6584         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
6585         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
6586         * sysdeps/mach/hurd/select.c (__select): Likewise.
6587         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6588         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
6589         * sysdeps/sparc/nptl/pthread_barrier_init.c
6590         (__pthread_barrier_init): Likewise.
6591         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
6592         (__pthread_cond_timedwait): Likewise.
6593         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
6594         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
6595         Likewise.
6596         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
6597         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
6598         Likewise.
6599         * sysvipc/semtimedop.c (semtimedop): Likewise.
6600         * time/setitimer.c (__setitimer): Likewise.
6601         * time/strftime_l.c (emacs_strftime): Likewise.
6603 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6605         * config.make.in (have-ssp): Delete.
6606         (stack-protector): New variable.
6607         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
6608         cache test for -fstack-protector-strong.  Export stack_protector to
6609         the best ssp flag.
6610         * configure: Regenerated.
6611         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
6612         * nscd/Makefile (CFLAGS-nscd): Likewise.
6613         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6615 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
6617         [BZ #19122]
6618         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
6619         attribute_hidden.
6621 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6623         [BZ #18743]
6624         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
6625         code to...
6626         (ELIDE_LOCK): ...here.
6627         (__get_new_count): New function with part of the code from
6628         __elide_lock that updates the value of adapt_count after a
6629         transaction abort.
6630         (__elided_trylock): Moved this code to...
6631         (ELIDE_TRYLOCK): ...here.
6633 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6635         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
6636         * configure: Regenerate.
6637         * INSTALL: Regenerate.
6638         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
6639         and tweak grammar.
6641 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
6643         * login/programs/pt_chown.c: Include signal.h
6644         (main): Clear any signal mask from the parent process.
6646 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6648         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
6649         * configure: Regenerated.
6650         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
6651         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
6652         $(gnu89-inline-CFLAGS).
6654         * configure.ac (libc_cv_asm_weak_directive): Remove configure
6655         test.
6656         (libc_cv_asm_weakext_directive): Likewise.
6657         * configure: Regenerated.
6658         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
6659         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
6660         * include/libc-symbols.h
6661         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
6662         #error.
6663         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
6664         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
6666         * sysdeps/arm/backtrace.c (__backtrace): Convert to
6667         prototype-style function definition.
6668         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6669         * sysdeps/i386/ffs.c (__ffs): Likewise.
6670         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6671         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
6672         Likewise.
6673         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6674         Likewise.
6675         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6676         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6677         Likewise.
6678         * sysdeps/m68k/ffs.c (__ffs): Likewise.
6679         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
6680         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
6681         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
6682         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
6683         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
6684         * sysdeps/mach/hurd/access.c (__access): Likewise.
6685         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
6686         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
6687         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6688         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
6689         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
6690         (cthread_getspecific): Likewise.
6691         (cthread_setspecific): Likewise.
6692         (__libc_getspecific): Likewise.
6693         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
6694         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
6695         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
6696         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
6697         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
6698         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
6699         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
6700         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
6701         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
6702         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
6703         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
6704         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6705         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
6706         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
6707         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
6708         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
6709         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
6710         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
6711         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
6712         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
6713         * sysdeps/mach/hurd/link.c (__link): Likewise.
6714         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
6715         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
6716         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6717         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
6718         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6719         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
6720         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
6721         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
6722         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6723         * sysdeps/mach/hurd/rename.c (rename): Likewise.
6724         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
6725         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
6726         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
6727         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
6728         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
6729         * sysdeps/mach/hurd/send.c (__send): Likewise.
6730         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
6731         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
6732         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
6733         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
6734         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
6735         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
6736         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
6737         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
6738         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
6739         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
6740         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
6741         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
6742         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
6743         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
6744         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6745         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6746         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
6747         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
6748         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
6749         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6750         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
6751         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
6752         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
6753         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
6754         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
6755         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
6756         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
6757         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6758         * sysdeps/posix/alarm.c (alarm): Likewise.
6759         * sysdeps/posix/cuserid.c (cuserid): Likewise.
6760         * sysdeps/posix/dirfd.c (dirfd): Likewise.
6761         * sysdeps/posix/dup.c (__dup): Likewise.
6762         * sysdeps/posix/dup2.c (__dup2): Likewise.
6763         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
6764         (main): Likewise.
6765         * sysdeps/posix/flock.c (__flock): Likewise.
6766         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6767         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6768         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
6769         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
6770         * sysdeps/posix/isatty.c (__isatty): Likewise.
6771         * sysdeps/posix/killpg.c (killpg): Likewise.
6772         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6773         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
6774         * sysdeps/posix/raise.c (raise): Likewise.
6775         * sysdeps/posix/remove.c (remove): Likewise.
6776         * sysdeps/posix/rename.c (rename): Likewise.
6777         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
6778         * sysdeps/posix/seekdir.c (seekdir): Likewise.
6779         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6780         * sysdeps/posix/sigignore.c (sigignore): Likewise.
6781         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
6782         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
6783         * sysdeps/posix/sigset.c (sigset): Likewise.
6784         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
6785         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6786         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
6787         * sysdeps/posix/time.c (time): Likewise.
6788         * sysdeps/posix/ttyname.c (getttyname): Likewise.
6789         (ttyname): Likewise.
6790         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
6791         * sysdeps/posix/utime.c (utime): Likewise.
6792         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
6793         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6794         Likewise.
6795         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
6796         (pthread_spin_trylock): Likewise.
6797         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
6798         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
6799         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
6800         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
6801         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
6802         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
6803         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
6804         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
6805         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
6806         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
6807         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
6808         * sysdeps/s390/ffs.c (__ffs): Likewise.
6809         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
6810         Likewise.
6811         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6812         Likewise.
6813         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
6814         Likewise.
6815         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
6816         (pthread_barrier_destroy): Likewise.
6817         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6818         (__pthread_barrier_wait): Likewise.
6819         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
6820         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6821         (__pthread_barrier_wait): Likewise.
6822         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
6823         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
6824         (memcmp_not_common_alignment): Likewise.
6825         (MEMCMP): Likewise.
6826         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
6827         (_wordcopy_fwd_dest_aligned): Likewise.
6828         (_wordcopy_bwd_aligned): Likewise.
6829         (_wordcopy_bwd_dest_aligned): Likewise.
6830         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
6831         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
6832         * sysdeps/unix/bsd/stty.c (stty): Likewise.
6833         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
6834         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
6835         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
6836         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
6837         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
6838         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
6839         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
6840         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
6841         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6842         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
6843         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
6844         * sysdeps/unix/stime.c (stime): Likewise.
6845         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
6846         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
6847         Likewise.  Use internal_function.
6848         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
6849         Convert to prototype-style function definition.
6850         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6851         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6852         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
6853         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6854         Likewise.  Use internal_function.
6855         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
6856         prototype-style function definition
6857         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6858         Likewise.
6859         (__getlogin_r): Likewise.
6860         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
6861         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
6862         (__pthread_cond_broadcast): Likewise.
6863         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
6864         (__pthread_cond_destroy): Likewise.
6865         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
6866         (__pthread_cond_init): Likewise.
6867         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
6868         (__pthread_cond_signal): Likewise.
6869         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6870         (__pthread_cond_wait): Likewise.
6871         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
6872         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6873         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
6874         Likewise.
6875         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
6876         Likewise.
6877         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6878         Likewise.
6879         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
6880         Likewise.
6881         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
6882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
6883         (__ftruncate64): Likewise.
6884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
6885         (truncate64): Likewise.
6886         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
6887         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
6888         (pthread_getcpuclockid): Likewise.
6889         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6890         Likewise.
6891         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6892         Likewise.
6893         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
6894         Likewise.
6895         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6896         Likewise.
6897         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
6898         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
6899         (__libc_sigaction): Likewise.
6900         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
6901         Likewise.
6902         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6903         (__sigprocmask): Likewise.
6904         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
6905         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
6906         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
6907         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6908         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6909         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
6910         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6911         Likewise.
6912         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6913         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6914         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6915         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
6916         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
6917         Likewise.
6918         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6919         (__sigprocmask): Likewise.
6920         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
6921         (cfgetispeed): Likewise.
6922         (cfsetospeed): Likewise.
6923         (cfsetispeed): Likewise.
6924         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
6925         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
6926         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6927         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6928         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
6929         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
6930         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
6931         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
6932         Likewise.
6933         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
6934         Likewise.
6935         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
6936         Likewise.
6937         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6938         Likewise.
6939         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6941 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6943         sunrpc: Rewrite with explicit TLS access using __thread.
6944         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
6945         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
6946         directly.
6947         (__rpc_thread_variables): Access thread_rpc_vars directly.
6948         Eliminate redundant assignment of the tvp variable.
6950 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6952         malloc: Rewrite with explicit TLS access using __thread.
6953         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
6954         (tsd_setspecific, tsd_getspecific): Remove.
6955         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
6956         (tsd_setspecific, tsd_getspecific): Likewise.
6957         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
6958         (tsd_setspecific, tsd_getspecific): Likewise.
6959         * malloc/arena.c (thread_arena): New TLS variable.
6960         (arena_key): Remove variable.
6961         (arena_get): Use thread_arena.
6962         (arena_lookup): Remove macro.
6963         (malloc_atfork, free_atfork, ptmalloc_lock_all)
6964         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
6965         (_int_new_arena, get_free_list, reused_arena)
6966         (arena_thread_freeres): Use thread_arena.
6967         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
6968         tsd_getspecific, tsd_setspecific from safety annotations.
6969         (Allocating Cleared Space): Remove arena_lookup from safety
6970         annotations.
6972 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6974         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
6975         struct scratch_buffer instead of extend_alloca.
6977 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6979         * sysdeps/unix/sysv/linux/kernel-features.h
6980         (__ASSUME_SOCK_CLOEXEC): Remove.
6981         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
6982         (__have_paccept): Remove unused macro.
6983         * include/unistd.h (__have_sock_cloexec): Remove declaration.
6984         * misc/syslog.c (openlog_internal): Remove fallback code for
6985         !__ASSUME_SOCK_CLOEXEC.
6986         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
6987         missing SOCK_CLOEXEC.
6988         * nscd/connections.c (have_sock_cloexec): Remove definition.
6989         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6990         * nscd/nscd_helper.c (open_socket): Remove fallback code for
6991         !__ASSUME_SOCK_CLOEXEC.
6992         * resolv/res_send.c (__have_o_nonblock): Remove definition.
6993         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6994         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
6995         definition.
6996         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
6997         code for !__ASSUME_SOCK_CLOEXEC.
6999 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7001         [BZ #18982]
7002         * manual/stdio.texi (Variable Arguments Output): Add portability
7003         note, explaining that vfprintf clobbers the va_list pointer.
7005 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7007         * math/libm-test.inc (fabs_test_data): Add more tests.
7008         (fdim_test_data): Likewise.
7009         (fma_test_data): Likewise.
7010         (fmax_test_data): Likewise.
7011         (fmin_test_data): Likewise.
7012         (fmod_test_data): Likewise.
7014 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
7016         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
7017         data.
7019 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7021         * math/libm-test.inc (ceil_test_data): Add more tests and more
7022         expectations for "inexact".
7023         (floor_test_data): Add more tests.
7024         (round_test_data): Likewise.
7025         (trunc_test_data): Likewise.
7027         * crypt/cert.c (good_bye): Convert to prototype-style function
7028         definition.
7029         (get8): Likewise.
7030         (put8): Likewise.
7031         * crypt/crypt-entry.c (crypt): Likewise.
7032         (__fcrypt): Likewise.
7033         * crypt/crypt_util.c (_ufc_prbits): Likewise.
7034         (_ufc_set_bits): Likewise.
7035         (_ufc_clearmem): Likewise.
7036         (__init_des_r): Likewise.
7037         (shuffle_sb): Likewise.
7038         (shuffle_sb): Likewise.
7039         (_ufc_setup_salt_r): Likewise.
7040         (_ufc_mk_keytab_r): Likewise.
7041         (_ufc_dofinalperm_r): Likewise.
7042         (encrypt): Likewise.
7043         (__setkey_r): Likewise.
7044         (setkey): Likewise.
7045         * crypt/md5.c (md5_init_ctx): Likewise.
7046         (md5_read_ctx): Likewise.
7047         (md5_finish_ctx): Likewise.
7048         (md5_stream): Likewise.
7049         (md5_buffer): Likewise.
7050         (md5_process_bytes): Likewise.
7051         * crypt/sha256.c (__sha256_init_ctx): Likewise.
7052         (__sha256_finish_ctx): Likewise.
7053         (__sha256_process_bytes): Likewise.
7054         * crypt/sha512.c (__sha512_init_ctx): Likewise.
7055         (__sha512_finish_ctx): Likewise.
7056         (__sha512_process_bytes): Likewise.
7057         * ctype/isctype.c (__isctype): Likewise.
7058         * debug/backtrace.c (__backtrace): Likewise.
7059         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
7060         * debug/fgets_chk.c (__fgets_chk): Likewise.
7061         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
7062         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
7063         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7064         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7065         * debug/memset_chk.c (__memset_chk): Likewise.
7066         * debug/strcat_chk.c (__strcat_chk): Likewise.
7067         * debug/strncat_chk.c (__strncat_chk): Likewise.
7068         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
7069         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
7070         * dirent/dirfd.c (dirfd): Likewise.
7071         * dirent/getdents.c (__getdirentries): Likewise.
7072         * dirent/getdents64.c (getdirentries64): Likewise.
7073         * dirent/rewinddir.c (__rewinddir): Likewise.
7074         * dirent/seekdir.c (seekdir): Likewise.
7075         * dirent/telldir.c (telldir): Likewise.
7076         * elf/sln.c (makesymlinks): Likewise.
7077         (makesymlink): Likewise.
7078         * gmon/gmon.c (__moncontrol): Likewise.
7079         (__monstartup): Likewise.
7080         (write_hist): Likewise.
7081         (write_call_graph): Likewise.
7082         (write_bb_counts): Likewise.
7083         * grp/setgroups.c (setgroups): Likewise.
7084         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7085         * inet/inet_net.c (inet_network): Likewise.
7086         * inet/inet_netof.c (inet_netof): Likewise.
7087         * inet/rcmd.c (rresvport_af): Likewise.
7088         (rresvport): Likewise.
7089         * io/access.c (__access): Likewise.
7090         * io/chdir.c (__chdir): Likewise.
7091         * io/chmod.c (__chmod): Likewise.
7092         * io/chown.c (__chown): Likewise.
7093         * io/close.c (__close): Likewise.
7094         * io/creat.c (creat): Likewise.
7095         * io/creat64.c (creat64): Likewise.
7096         * io/dup.c (__dup): Likewise.
7097         * io/dup2.c (__dup2): Likewise.
7098         * io/dup3.c (__dup3): Likewise.
7099         * io/euidaccess.c (__euidaccess): Likewise.
7100         * io/faccessat.c (faccessat): Likewise.
7101         * io/fchmod.c (__fchmod): Likewise.
7102         * io/fchmodat.c (fchmodat): Likewise.
7103         * io/fchown.c (__fchown): Likewise.
7104         * io/fchownat.c (fchownat): Likewise.
7105         * io/fcntl.c (__fcntl): Likewise.
7106         * io/flock.c (__flock): Likewise.
7107         * io/fts.c (fts_load): Likewise.
7108         (fts_close): Likewise.
7109         (fts_read): Likewise.
7110         (fts_set): Likewise.
7111         (fts_children): Likewise.
7112         (fts_build): Likewise.
7113         (fts_stat): Likewise.
7114         (fts_sort): Likewise.
7115         (fts_alloc): Likewise.
7116         (fts_lfree): Likewise.
7117         (fts_palloc): Likewise.
7118         (fts_padjust): Likewise.
7119         (fts_maxarglen): Likewise.
7120         (fts_safe_changedir): Likewise.
7121         * io/getwd.c (getwd): Likewise.
7122         * io/isatty.c (__isatty): Likewise.
7123         * io/lchown.c (__lchown): Likewise.
7124         * io/link.c (__link): Likewise.
7125         * io/linkat.c (linkat): Likewise.
7126         * io/lseek.c (__libc_lseek): Likewise.
7127         * io/mkdir.c (__mkdir): Likewise.
7128         * io/mkdirat.c (mkdirat): Likewise.
7129         * io/mkfifo.c (mkfifo): Likewise.
7130         * io/mkfifoat.c (mkfifoat): Likewise.
7131         * io/open.c (__libc_open): Likewise.
7132         * io/open64.c (__libc_open64): Likewise.
7133         * io/readlink.c (__readlink): Likewise.
7134         * io/readlinkat.c (readlinkat): Likewise.
7135         * io/rmdir.c (__rmdir): Likewise.
7136         * io/symlink.c (__symlink): Likewise.
7137         * io/symlinkat.c (symlinkat): Likewise.
7138         * io/ttyname.c (ttyname): Likewise.
7139         * io/ttyname_r.c (__ttyname_r): Likewise.
7140         * io/umask.c (__umask): Likewise.
7141         * io/unlink.c (__unlink): Likewise.
7142         * io/unlinkat.c (unlinkat): Likewise.
7143         * io/utime.c (utime): Likewise.
7144         * libio/clearerr.c (clearerr): Likewise.
7145         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7146         * libio/feof.c (_IO_feof): Likewise.
7147         * libio/feof_u.c (feof_unlocked): Likewise.
7148         * libio/ferror.c (_IO_ferror): Likewise.
7149         * libio/ferror_u.c (ferror_unlocked): Likewise.
7150         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7151         * libio/fileno.c (__fileno): Likewise.
7152         * libio/fputc.c (fputc): Likewise.
7153         * libio/fputc_u.c (fputc_unlocked): Likewise.
7154         * libio/fputwc.c (fputwc): Likewise.
7155         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7156         * libio/freopen.c (freopen): Likewise.
7157         * libio/freopen64.c (freopen64): Likewise.
7158         * libio/fseek.c (fseek): Likewise.
7159         * libio/fseeko.c (fseeko): Likewise.
7160         * libio/fseeko64.c (fseeko64): Likewise.
7161         * libio/ftello.c (__ftello): Likewise.
7162         * libio/ftello64.c (ftello64): Likewise.
7163         * libio/fwide.c (fwide): Likewise.
7164         * libio/genops.c (_IO_un_link): Likewise.
7165         (_IO_link_in): Likewise.
7166         (_IO_least_marker): Likewise.
7167         (_IO_switch_to_main_get_area): Likewise.
7168         (_IO_switch_to_backup_area): Likewise.
7169         (_IO_switch_to_get_mode): Likewise.
7170         (_IO_free_backup_area): Likewise.
7171         (_IO_switch_to_put_mode): Likewise.
7172         (__overflow): Likewise.
7173         (__underflow): Likewise.
7174         (__uflow): Likewise.
7175         (_IO_setb): Likewise.
7176         (_IO_doallocbuf): Likewise.
7177         (_IO_default_underflow): Likewise.
7178         (_IO_default_uflow): Likewise.
7179         (_IO_default_xsputn): Likewise.
7180         (_IO_sgetn): Likewise.
7181         (_IO_default_xsgetn): Likewise.
7182         (_IO_sync): Likewise.
7183         (_IO_default_setbuf): Likewise.
7184         (_IO_default_seekpos): Likewise.
7185         (_IO_default_doallocate): Likewise.
7186         (_IO_init): Likewise.
7187         (_IO_old_init): Likewise.
7188         (_IO_default_sync): Likewise.
7189         (_IO_default_finish): Likewise.
7190         (_IO_default_seekoff): Likewise.
7191         (_IO_sputbackc): Likewise.
7192         (_IO_sungetc): Likewise.
7193         (_IO_set_column): Likewise.
7194         (_IO_set_column): Likewise.
7195         (_IO_adjust_column): Likewise.
7196         (_IO_get_column): Likewise.
7197         (_IO_init_marker): Likewise.
7198         (_IO_remove_marker): Likewise.
7199         (_IO_marker_difference): Likewise.
7200         (_IO_marker_delta): Likewise.
7201         (_IO_seekmark): Likewise.
7202         (_IO_unsave_markers): Likewise.
7203         (_IO_nobackup_pbackfail): Likewise.
7204         (_IO_default_pbackfail): Likewise.
7205         (_IO_default_seek): Likewise.
7206         (_IO_default_stat): Likewise.
7207         (_IO_default_read): Likewise.
7208         (_IO_default_write): Likewise.
7209         (_IO_default_showmanyc): Likewise.
7210         (_IO_default_imbue): Likewise.
7211         (_IO_iter_next): Likewise.
7212         (_IO_iter_file): Likewise.
7213         * libio/getc.c (_IO_getc): Likewise.
7214         * libio/getwc.c (_IO_getwc): Likewise.
7215         * libio/iofclose.c (_IO_new_fclose): Likewise.
7216         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7217         * libio/iofflush.c (_IO_fflush): Likewise.
7218         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7219         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7220         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7221         * libio/iofgets.c (_IO_fgets): Likewise.
7222         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7223         * libio/iofgetws.c (fgetws): Likewise.
7224         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7225         * libio/iofopen64.c (_IO_fopen64): Likewise.
7226         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7227         (_IO_cookie_write): Likewise.
7228         (_IO_cookie_seek): Likewise.
7229         (_IO_cookie_close): Likewise.
7230         (_IO_cookie_seekoff): Likewise.
7231         (_IO_old_cookie_seek): Likewise.
7232         * libio/iofputs.c (_IO_fputs): Likewise.
7233         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7234         * libio/iofputws.c (fputws): Likewise.
7235         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7236         * libio/iofread.c (_IO_fread): Likewise.
7237         * libio/iofread_u.c (__fread_unlocked): Likewise.
7238         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7239         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7240         * libio/ioftell.c (_IO_ftell): Likewise.
7241         * libio/iofwrite.c (_IO_fwrite): Likewise.
7242         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7243         * libio/iogets.c (_IO_gets): Likewise.
7244         * libio/iopadn.c (_IO_padn): Likewise.
7245         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7246         (_IO_new_popen): Likewise.
7247         (_IO_new_proc_close): Likewise.
7248         * libio/ioputs.c (_IO_puts): Likewise.
7249         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7250         (_IO_seekoff): Likewise.
7251         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7252         (_IO_seekpos): Likewise.
7253         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7254         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7255         * libio/ioungetc.c (_IO_ungetc): Likewise.
7256         * libio/ioungetwc.c (ungetwc): Likewise.
7257         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7258         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7259         * libio/iowpadn.c (_IO_wpadn): Likewise.
7260         * libio/libc_fatal.c (__libc_fatal): Likewise.
7261         * libio/memstream.c (__open_memstream): Likewise.
7262         (_IO_mem_sync): Likewise.
7263         (_IO_mem_finish): Likewise.
7264         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7265         (_IO_old_file_close_it): Likewise.
7266         (_IO_old_file_finish): Likewise.
7267         (_IO_old_file_fopen): Likewise.
7268         (_IO_old_file_attach): Likewise.
7269         (_IO_old_file_setbuf): Likewise.
7270         (_IO_old_do_write): Likewise.
7271         (old_do_write): Likewise.
7272         (_IO_old_file_underflow): Likewise.
7273         (_IO_old_file_overflow): Likewise.
7274         (_IO_old_file_sync): Likewise.
7275         (_IO_old_file_seekoff): Likewise.
7276         (_IO_old_file_write): Likewise.
7277         (_IO_old_file_xsputn): Likewise.
7278         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7279         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7280         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7281         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7282         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7283         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7284         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7285         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7286         (_IO_old_popen): Likewise.
7287         (_IO_old_proc_close): Likewise.
7288         * libio/oldpclose.c (__old_pclose): Likewise.
7289         * libio/pclose.c (__new_pclose): Likewise.
7290         * libio/peekc.c (_IO_peekc_locked): Likewise.
7291         * libio/putc.c (_IO_putc): Likewise.
7292         * libio/putc_u.c (putc_unlocked): Likewise.
7293         * libio/putchar.c (putchar): Likewise.
7294         * libio/putchar_u.c (putchar_unlocked): Likewise.
7295         * libio/putwc.c (putwc): Likewise.
7296         * libio/putwc_u.c (putwc_unlocked): Likewise.
7297         * libio/putwchar.c (putwchar): Likewise.
7298         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7299         * libio/rewind.c (rewind): Likewise.
7300         * libio/setbuf.c (setbuf): Likewise.
7301         * libio/setlinebuf.c (setlinebuf): Likewise.
7302         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7303         * libio/vscanf.c (_IO_vscanf): Likewise.
7304         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7305         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7306         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7307         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7308         (_IO_switch_to_main_wget_area): Likewise.
7309         (_IO_switch_to_wbackup_area): Likewise.
7310         (_IO_wsetb): Likewise.
7311         (_IO_wdefault_pbackfail): Likewise.
7312         (_IO_wdefault_finish): Likewise.
7313         (_IO_wdefault_uflow): Likewise.
7314         (__woverflow): Likewise.
7315         (__wuflow): Likewise.
7316         (__wunderflow): Likewise.
7317         (_IO_wdefault_xsputn): Likewise.
7318         (_IO_wdefault_xsgetn): Likewise.
7319         (_IO_wdoallocbuf): Likewise.
7320         (_IO_wdefault_doallocate): Likewise.
7321         (_IO_switch_to_wget_mode): Likewise.
7322         (_IO_free_wbackup_area): Likewise.
7323         (_IO_switch_to_wput_mode): Likewise.
7324         (_IO_sputbackwc): Likewise.
7325         (_IO_sungetwc): Likewise.
7326         (_IO_adjust_wcolumn): Likewise.
7327         (_IO_init_wmarker): Likewise.
7328         (_IO_wmarker_delta): Likewise.
7329         (_IO_seekwmark): Likewise.
7330         (_IO_unsave_wmarkers): Likewise.
7331         * libio/wmemstream.c (open_wmemstream): Likewise.
7332         (_IO_wmem_sync): Likewise.
7333         (_IO_wmem_finish): Likewise.
7334         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7335         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7336         * locale/programs/simple-hash.c (init_hash): Likewise.
7337         (delete_hash): Likewise.
7338         (insert_entry): Likewise.
7339         (set_entry): Likewise.
7340         (next_prime): Likewise.
7341         (is_prime): Likewise.
7342         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7343         (xmalloc): Likewise.
7344         (xrealloc): Likewise.
7345         * locale/programs/xstrdup.c (xstrdup): Likewise.
7346         * localedata/collate-test.c (xstrcoll): Likewise.
7347         * localedata/xfrm-test.c (xstrcmp): Likewise.
7348         * login/getlogin_r.c (__getlogin_r): Likewise.
7349         * login/getpt.c (__posix_openpt): Likewise.
7350         * login/login_tty.c (login_tty): Likewise.
7351         * login/setlogin.c (setlogin): Likewise.
7352         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7353         (mach_msg_destroy_port): Likewise.
7354         (mach_msg_destroy_memory): Likewise.
7355         * malloc/mcheck.c (flood): Likewise.
7356         * misc/acct.c (acct): Likewise.
7357         * misc/brk.c (__brk): Likewise.
7358         * misc/chflags.c (chflags): Likewise.
7359         * misc/chroot.c (chroot): Likewise.
7360         * misc/fchflags.c (fchflags): Likewise.
7361         * misc/fstab.c (getfsspec): Likewise.
7362         (getfsfile): Likewise.
7363         * misc/fsync.c (fsync): Likewise.
7364         * misc/ftruncate.c (__ftruncate): Likewise.
7365         * misc/ftruncate64.c (__ftruncate64): Likewise.
7366         * misc/getdomain.c (getdomainname): Likewise.
7367         (getdomainname): Likewise.
7368         * misc/gethostname.c (__gethostname): Likewise.
7369         * misc/getpass.c (getpass): Likewise.
7370         * misc/getttyent.c (skip): Likewise.
7371         (value): Likewise.
7372         * misc/gtty.c (gtty): Likewise.
7373         * misc/hsearch.c (hsearch): Likewise.
7374         (hcreate): Likewise.
7375         * misc/hsearch_r.c (__hcreate_r): Likewise.
7376         (__hdestroy_r): Likewise.
7377         * misc/ioctl.c (__ioctl): Likewise.
7378         * misc/mkdtemp.c (mkdtemp): Likewise.
7379         * misc/mkostemp.c (mkostemp): Likewise.
7380         * misc/mkostemp64.c (mkostemp64): Likewise.
7381         * misc/mkostemps.c (mkostemps): Likewise.
7382         * misc/mkostemps64.c (mkostemps64): Likewise.
7383         * misc/mkstemp.c (mkstemp): Likewise.
7384         * misc/mkstemp64.c (mkstemp64): Likewise.
7385         * misc/mkstemps.c (mkstemps): Likewise.
7386         * misc/mkstemps64.c (mkstemps64): Likewise.
7387         * misc/mktemp.c (__mktemp): Likewise.
7388         * misc/preadv.c (preadv): Likewise.
7389         * misc/preadv64.c (preadv64): Likewise.
7390         * misc/pwritev.c (pwritev): Likewise.
7391         * misc/pwritev64.c (pwritev64): Likewise.
7392         * misc/readv.c (__readv): Likewise.
7393         * misc/revoke.c (revoke): Likewise.
7394         * misc/setdomain.c (setdomainname): Likewise.
7395         * misc/setegid.c (setegid): Likewise.
7396         * misc/seteuid.c (seteuid): Likewise.
7397         * misc/sethostid.c (sethostid): Likewise.
7398         * misc/sethostname.c (sethostname): Likewise.
7399         * misc/setregid.c (__setregid): Likewise.
7400         * misc/setreuid.c (__setreuid): Likewise.
7401         * misc/sstk.c (sstk): Likewise.
7402         * misc/stty.c (stty): Likewise.
7403         * misc/syscall.c (syscall): Likewise.
7404         * misc/syslog.c (setlogmask): Likewise.
7405         * misc/truncate.c (__truncate): Likewise.
7406         * misc/truncate64.c (truncate64): Likewise.
7407         * misc/ualarm.c (ualarm): Likewise.
7408         * misc/usleep.c (usleep): Likewise.
7409         * misc/ustat.c (ustat): Likewise.
7410         * misc/writev.c (__writev): Likewise.
7411         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7412         * nptl/old_pthread_cond_broadcast.c
7413         (__pthread_cond_broadcast_2_0): Likewise.
7414         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7415         Likewise.
7416         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7417         Likewise.
7418         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7419         Likewise.
7420         * nptl/pt-raise.c (raise): Likewise.
7421         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7422         Likewise.
7423         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7424         * nptl/pthread_barrierattr_destroy.c
7425         (pthread_barrierattr_destroy): Likewise.
7426         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7427         Likewise.
7428         * nptl/pthread_barrierattr_setpshared.c
7429         (pthread_barrierattr_setpshared): Likewise.
7430         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7431         Likewise.
7432         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7433         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7434         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7435         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7436         Likewise.
7437         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7438         Likewise.
7439         * nptl/pthread_condattr_getpshared.c
7440         (pthread_condattr_getpshared): Likewise.
7441         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7442         Likewise.
7443         * nptl/pthread_condattr_setpshared.c
7444         (pthread_condattr_setpshared): Likewise.
7445         * nptl/pthread_detach.c (pthread_detach): Likewise.
7446         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7447         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7448         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7449         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7450         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7451         Likewise.
7452         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7453         Likewise.
7454         * nptl/pthread_mutex_getprioceiling.c
7455         (pthread_mutex_getprioceiling): Likewise.
7456         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7457         Likewise.
7458         * nptl/pthread_mutexattr_getprotocol.c
7459         (pthread_mutexattr_getprotocol): Likewise.
7460         * nptl/pthread_mutexattr_getpshared.c
7461         (pthread_mutexattr_getpshared): Likewise.
7462         * nptl/pthread_mutexattr_getrobust.c
7463         (pthread_mutexattr_getrobust): Likewise.
7464         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7465         Likewise.
7466         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7467         Likewise.
7468         * nptl/pthread_mutexattr_setprioceiling.c
7469         (pthread_mutexattr_setprioceiling): Likewise.
7470         * nptl/pthread_mutexattr_setprotocol.c
7471         (pthread_mutexattr_setprotocol): Likewise.
7472         * nptl/pthread_mutexattr_setpshared.c
7473         (pthread_mutexattr_setpshared): Likewise.
7474         * nptl/pthread_mutexattr_setrobust.c
7475         (pthread_mutexattr_setrobust): Likewise.
7476         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7477         Likewise.
7478         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7479         Likewise.
7480         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7481         Likewise.
7482         * nptl/pthread_rwlockattr_getkind_np.c
7483         (pthread_rwlockattr_getkind_np): Likewise.
7484         * nptl/pthread_rwlockattr_getpshared.c
7485         (pthread_rwlockattr_getpshared): Likewise.
7486         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7487         Likewise.
7488         * nptl/pthread_rwlockattr_setkind_np.c
7489         (pthread_rwlockattr_setkind_np): Likewise.
7490         * nptl/pthread_rwlockattr_setpshared.c
7491         (pthread_rwlockattr_setpshared): Likewise.
7492         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
7493         Likewise.
7494         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
7495         Likewise.
7496         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
7497         Likewise.
7498         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7499         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
7500         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
7501         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
7502         * nptl/sem_close.c (sem_close): Likewise.
7503         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
7504         * nptl/sem_init.c (__old_sem_init): Likewise.
7505         * nptl/sigaction.c (__sigaction): Likewise.
7506         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7507         * posix/_exit.c (_exit): Likewise.
7508         * posix/alarm.c (alarm): Likewise.
7509         * posix/confstr.c (confstr): Likewise.
7510         * posix/fpathconf.c (__fpathconf): Likewise.
7511         * posix/getgroups.c (__getgroups): Likewise.
7512         * posix/getpgid.c (__getpgid): Likewise.
7513         * posix/group_member.c (__group_member): Likewise.
7514         * posix/pathconf.c (__pathconf): Likewise.
7515         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7516         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7517         * posix/setgid.c (__setgid): Likewise.
7518         * posix/setpgid.c (__setpgid): Likewise.
7519         * posix/setuid.c (__setuid): Likewise.
7520         * posix/sleep.c (__sleep): Likewise.
7521         * posix/sysconf.c (__sysconf): Likewise.
7522         * posix/times.c (__times): Likewise.
7523         * posix/uname.c (__uname): Likewise.
7524         * posix/waitid.c (__waitid): Likewise.
7525         * pwd/getpw.c (__getpw): Likewise.
7526         * resolv/base64.c (b64_pton): Likewise.
7527         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7528         * resolv/gethnamaddr.c (Dprintf): Likewise.
7529         (gethostbyname): Likewise.
7530         (gethostbyname2): Likewise.
7531         (gethostbyaddr): Likewise.
7532         (_sethtent): Likewise.
7533         (_gethtbyname): Likewise.
7534         (_gethtbyname2): Likewise.
7535         (_gethtbyaddr): Likewise.
7536         (map_v4v6_address): Likewise.
7537         (map_v4v6_hostent): Likewise.
7538         (addrsort): Likewise.
7539         (ht_sethostent): Likewise.
7540         (ht_gethostbyname): Likewise.
7541         (ht_gethostbyaddr): Likewise.
7542         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
7543         (inet_net_ntop_ipv4): Likewise.
7544         * resolv/inet_neta.c (inet_neta): Likewise.
7545         * resolv/inet_ntop.c (inet_ntop): Likewise.
7546         (inet_ntop4): Likewise.
7547         (inet_ntop6): Likewise.
7548         * resolv/inet_pton.c (__inet_pton): Likewise.
7549         (inet_pton4): Likewise.
7550         (inet_pton6): Likewise.
7551         * resolv/res_debug.c (loc_aton): Likewise.
7552         (loc_ntoa): Likewise.
7553         * resource/getpriority.c (__getpriority): Likewise.
7554         * resource/getrusage.c (__getrusage): Likewise.
7555         * resource/nice.c (nice): Likewise.
7556         * resource/setpriority.c (__setpriority): Likewise.
7557         * resource/setrlimit64.c (setrlimit64): Likewise.
7558         * resource/vlimit.c (vlimit): Likewise.
7559         * resource/vtimes.c (vtimes): Likewise.
7560         * rt/aio_error.c (aio_error): Likewise.
7561         * rt/aio_return.c (aio_return): Likewise.
7562         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
7563         * signal/kill.c (__kill): Likewise.
7564         * signal/killpg.c (killpg): Likewise.
7565         * signal/raise.c (raise): Likewise.
7566         * signal/sigaction.c (__sigaction): Likewise.
7567         * signal/sigaddset.c (sigaddset): Likewise.
7568         * signal/sigaltstack.c (sigaltstack): Likewise.
7569         * signal/sigandset.c (sigandset): Likewise.
7570         * signal/sigblock.c (__sigblock): Likewise.
7571         * signal/sigdelset.c (sigdelset): Likewise.
7572         * signal/sigempty.c (sigemptyset): Likewise.
7573         * signal/sigfillset.c (sigfillset): Likewise.
7574         * signal/sighold.c (sighold): Likewise.
7575         * signal/sigignore.c (sigignore): Likewise.
7576         * signal/sigintr.c (siginterrupt): Likewise.
7577         * signal/sigisempty.c (sigisemptyset): Likewise.
7578         * signal/sigismem.c (sigismember): Likewise.
7579         * signal/signal.c (signal): Likewise.
7580         * signal/sigorset.c (sigorset): Likewise.
7581         * signal/sigpause.c (__sigpause): Likewise.
7582         * signal/sigpending.c (sigpending): Likewise.
7583         * signal/sigprocmask.c (__sigprocmask): Likewise.
7584         * signal/sigrelse.c (sigrelse): Likewise.
7585         * signal/sigreturn.c (__sigreturn): Likewise.
7586         * signal/sigset.c (sigset): Likewise.
7587         * signal/sigsetmask.c (__sigsetmask): Likewise.
7588         * signal/sigstack.c (sigstack): Likewise.
7589         * signal/sigsuspend.c (__sigsuspend): Likewise.
7590         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
7591         * signal/sysv_signal.c (__sysv_signal): Likewise.
7592         * socket/accept.c (accept): Likewise.
7593         * socket/accept4.c (__libc_accept4): Likewise.
7594         * socket/bind.c (__bind): Likewise.
7595         * socket/connect.c (__connect): Likewise.
7596         * socket/getpeername.c (getpeername): Likewise.
7597         * socket/getsockname.c (__getsockname): Likewise.
7598         * socket/getsockopt.c (getsockopt): Likewise.
7599         * socket/listen.c (__listen): Likewise.
7600         * socket/recv.c (__recv): Likewise.
7601         * socket/recvmsg.c (__recvmsg): Likewise.
7602         * socket/send.c (__send): Likewise.
7603         * socket/sendmsg.c (__sendmsg): Likewise.
7604         * socket/shutdown.c (shutdown): Likewise.
7605         * socket/sockatmark.c (sockatmark): Likewise.
7606         * socket/socket.c (__socket): Likewise.
7607         * stdio-common/ctermid.c (ctermid): Likewise.
7608         * stdio-common/cuserid.c (cuserid): Likewise.
7609         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
7610         * stdio-common/remove.c (remove): Likewise.
7611         * stdio-common/rename.c (rename): Likewise.
7612         * stdio-common/renameat.c (renameat): Likewise.
7613         * stdio-common/tempname.c (__gen_tempname): Likewise.
7614         * stdio-common/xbug.c (InitBuffer): Likewise.
7615         (AppendToBuffer): Likewise.
7616         (ReadFile): Likewise.
7617         * stdlib/a64l.c (a64l): Likewise.
7618         * stdlib/drand48_r.c (drand48_r): Likewise.
7619         * stdlib/getcontext.c (getcontext): Likewise.
7620         * stdlib/getenv.c (getenv): Likewise.
7621         * stdlib/l64a.c (l64a): Likewise.
7622         * stdlib/llabs.c (llabs): Likewise.
7623         * stdlib/lldiv.c (lldiv): Likewise.
7624         * stdlib/lrand48_r.c (lrand48_r): Likewise.
7625         * stdlib/mrand48_r.c (mrand48_r): Likewise.
7626         * stdlib/putenv.c (putenv): Likewise.
7627         * stdlib/random.c (__srandom): Likewise.
7628         (__initstate): Likewise.
7629         (__setstate): Likewise.
7630         * stdlib/random_r.c (__srandom_r): Likewise.
7631         (__setstate_r): Likewise.
7632         (__random_r): Likewise.
7633         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
7634         * stdlib/setcontext.c (setcontext): Likewise.
7635         * stdlib/setenv.c (setenv): Likewise.
7636         (unsetenv): Likewise.
7637         * stdlib/srand48.c (srand48): Likewise.
7638         * stdlib/srand48_r.c (__srand48_r): Likewise.
7639         * stdlib/swapcontext.c (swapcontext): Likewise.
7640         * stdlib/system.c (__libc_system): Likewise.
7641         * stdlib/tst-strtod.c (expand): Likewise.
7642         * stdlib/tst-strtol.c (expand): Likewise.
7643         * stdlib/tst-strtoll.c (expand): Likewise.
7644         * streams/fattach.c (fattach): Likewise.
7645         * streams/fdetach.c (fdetach): Likewise.
7646         * streams/getmsg.c (getmsg): Likewise.
7647         * streams/isastream.c (isastream): Likewise.
7648         * string/ffs.c (__ffs): Likewise.
7649         * string/ffsll.c (ffsll): Likewise.
7650         * string/memcmp.c (memcmp_common_alignment): Likewise.
7651         (memcmp_not_common_alignment): Likewise.
7652         (MEMCMP): Likewise.
7653         * string/memcpy.c (memcpy): Likewise.
7654         * string/memmove.c (MEMMOVE): Likewise.
7655         * string/memset.c (memset): Likewise.
7656         * string/rawmemchr.c (RAWMEMCHR): Likewise.
7657         * string/strchrnul.c (STRCHRNUL): Likewise.
7658         * string/strerror.c (strerror): Likewise.
7659         * string/strndup.c (__strndup): Likewise.
7660         * string/strverscmp.c (__strverscmp): Likewise.
7661         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
7662         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
7663         (clnttcp_freeres): Likewise.
7664         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
7665         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
7666         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
7667         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
7668         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
7669         (xdr_callhdr): Likewise.
7670         * sunrpc/rpcinfo.c (udpping): Likewise.
7671         (tcpping): Likewise.
7672         (pstatus): Likewise.
7673         (pmapdump): Likewise.
7674         (brdcst): Likewise.
7675         (deletereg): Likewise.
7676         (getprognum): Likewise.
7677         (getvers): Likewise.
7678         (get_inet_address): Likewise.
7679         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
7680         * sunrpc/svc_udp.c (svcudp_create): Likewise.
7681         (svcudp_stat): Likewise.
7682         (svcudp_recv): Likewise.
7683         (svcudp_reply): Likewise.
7684         (svcudp_getargs): Likewise.
7685         (svcudp_freeargs): Likewise.
7686         (svcudp_destroy): Likewise.
7687         * sunrpc/xdr.c (xdr_bytes): Likewise.
7688         (xdr_netobj): Likewise.
7689         (xdr_string): Likewise.
7690         (xdr_wrapstring): Likewise.
7691         * sunrpc/xdr_float.c (xdr_float): Likewise.
7692         (xdr_double): Likewise.
7693         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
7694         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
7695         * sysvipc/ftok.c (ftok): Likewise.
7696         * sysvipc/msgctl.c (msgctl): Likewise.
7697         * sysvipc/msgget.c (msgget): Likewise.
7698         * sysvipc/msgrcv.c (msgrcv): Likewise.
7699         * sysvipc/msgsnd.c (msgsnd): Likewise.
7700         * sysvipc/semget.c (semget): Likewise.
7701         * sysvipc/semop.c (semop): Likewise.
7702         * sysvipc/shmat.c (shmat): Likewise.
7703         * sysvipc/shmctl.c (shmctl): Likewise.
7704         * sysvipc/shmdt.c (shmdt): Likewise.
7705         * sysvipc/shmget.c (shmget): Likewise.
7706         * termios/cfmakeraw.c (cfmakeraw): Likewise.
7707         * termios/speed.c (cfgetospeed): Likewise.
7708         (cfgetispeed): Likewise.
7709         (cfsetospeed): Likewise.
7710         (cfsetispeed): Likewise.
7711         * termios/tcflow.c (tcflow): Likewise.
7712         * termios/tcflush.c (tcflush): Likewise.
7713         * termios/tcgetattr.c (__tcgetattr): Likewise.
7714         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
7715         * termios/tcgetsid.c (tcgetsid): Likewise.
7716         * termios/tcsendbrk.c (tcsendbreak): Likewise.
7717         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
7718         * time/adjtime.c (__adjtime): Likewise.
7719         * time/dysize.c (dysize): Likewise.
7720         * time/ftime.c (ftime): Likewise.
7721         * time/getitimer.c (__getitimer): Likewise.
7722         * time/gettimeofday.c (__gettimeofday): Likewise.
7723         * time/gmtime.c (__gmtime_r): Likewise.
7724         (gmtime): Likewise.
7725         * time/localtime.c (__localtime_r): Likewise.
7726         (localtime): Likewise.
7727         * time/offtime.c (__offtime): Likewise.
7728         * time/settimeofday.c (__settimeofday): Likewise.
7729         * time/stime.c (stime): Likewise.
7730         * time/strftime_l.c (tm_diff): Likewise.
7731         (iso_week_days): Likewise.
7732         * time/strptime.c (strptime): Likewise.
7733         * time/time.c (time): Likewise.
7734         * time/timespec_get.c (timespec_get): Likewise.
7735         * time/tzset.c (tzset_internal): Likewise.
7736         (compute_change): Likewise.
7737         (__tz_compute): Likewise.
7738         * wcsmbs/btowc.c (__btowc): Likewise.
7739         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
7740         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
7741         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
7742         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
7743         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
7744         * wcsmbs/wcscat.c (__wcscat): Likewise.
7745         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7746         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
7747         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
7748         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7749         * wcsmbs/wcsdup.c (wcsdup): Likewise.
7750         * wcsmbs/wcslen.c (__wcslen): Likewise.
7751         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
7752         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
7753         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
7754         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
7755         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7756         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
7757         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7758         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7759         * wcsmbs/wcstok.c (wcstok): Likewise.
7760         * wcsmbs/wctob.c (wctob): Likewise.
7761         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
7762         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7763         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
7764         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
7765         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
7766         * wcsmbs/wmemset.c (__wmemset): Likewise.
7767         * wctype/wcfuncs.c (__towlower): Likewise.
7768         (__towupper): Likewise.
7770         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
7771         (lll_unlock_elision): Add adapt_count parameter.
7773 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7775         * sysdeps/nptl/configure.ac: Do not give errors based on the
7776         results of top-level configure tests.
7777         * sysdeps/nptl/configure: Regenerated.
7779         * configure.ac (libc_cv_Bgroup): Remove configure test.
7780         * configure: Regenerated.
7781         * config.make.in (have-Bgroup): Remove variable.
7783         * configure.ac (sizeof_long_double): Remove configure test.
7784         * configure: Regenerated.
7785         * config.make.in (sizeof-long-double): Remove variable.
7787         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
7788         * configure: Regenerated.
7789         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
7790         variable.
7791         (exceptions): Likewise.
7792         * sysdeps/arm/configure: Regenerated.
7793         * config.make.in (exceptions): Remove variable.
7794         * Makeconfig (uses-callbacks): Use -fexceptions instead of
7795         $(exceptions).
7796         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
7797         (CFLAGS-vdprintf_chk.c): Likewise.
7798         (CFLAGS-printf_chk.c): Likewise.
7799         (CFLAGS-fprintf_chk.c): Likewise.
7800         (CFLAGS-vprintf_chk.c): Likewise.
7801         (CFLAGS-vfprintf_chk.c): Likewise.
7802         (CFLAGS-gets_chk.c): Likewise.
7803         (CFLAGS-fgets_chk.c): Likewise.
7804         (CFLAGS-fgets_u_chk.c): Likewise.
7805         (CFLAGS-fread_chk.c): Likewise.
7806         (CFLAGS-fread_u_chk.c): Likewise.
7807         (CFLAGS-wprintf_chk.c): Likewise.
7808         (CFLAGS-fwprintf_chk.c): Likewise.
7809         (CFLAGS-vwprintf_chk.c): Likewise.
7810         (CFLAGS-vfwprintf_chk.c): Likewise.
7811         (CFLAGS-fgetws_chk.c): Likewise.
7812         (CFLAGS-fgetws_u_chk.c): Likewise.
7813         * libio/Makefile (CFLAGS-fileops.c): Likewise.
7814         (CFLAGS-fputc.c): Likewise.
7815         (CFLAGS-fputwc.c): Likewise.
7816         (CFLAGS-freopen64.c): Likewise.
7817         (CFLAGS-freopen.c): Likewise.
7818         (CFLAGS-fseek.c): Likewise.
7819         (CFLAGS-fseeko64.c): Likewise.
7820         (CFLAGS-fseeko.c): Likewise.
7821         (CFLAGS-ftello64.c): Likewise.
7822         (CFLAGS-ftello.c): Likewise.
7823         (CFLAGS-fwide.c): Likewise.
7824         (CFLAGS-genops.c): Likewise.
7825         (CFLAGS-getc.c): Likewise.
7826         (CFLAGS-getchar.c): Likewise.
7827         (CFLAGS-getwc.c): Likewise.
7828         (CFLAGS-getwchar.c): Likewise.
7829         (CFLAGS-iofclose.c): Likewise.
7830         (CFLAGS-iofflush.c): Likewise.
7831         (CFLAGS-iofgetpos64.c): Likewise.
7832         (CFLAGS-iofgetpos.c): Likewise.
7833         (CFLAGS-iofgets.c): Likewise.
7834         (CFLAGS-iofgetws.c): Likewise.
7835         (CFLAGS-iofputs.c): Likewise.
7836         (CFLAGS-iofputws.c): Likewise.
7837         (CFLAGS-iofread.c): Likewise.
7838         (CFLAGS-iofsetpos64.c): Likewise.
7839         (CFLAGS-iofsetpos.c): Likewise.
7840         (CFLAGS-ioftell.c): Likewise.
7841         (CFLAGS-iofwrite.c): Likewise.
7842         (CFLAGS-iogetdelim.c): Likewise.
7843         (CFLAGS-iogetline.c): Likewise.
7844         (CFLAGS-iogets.c): Likewise.
7845         (CFLAGS-iogetwline.c): Likewise.
7846         (CFLAGS-ioputs.c): Likewise.
7847         (CFLAGS-ioseekoff.c): Likewise.
7848         (CFLAGS-ioseekpos.c): Likewise.
7849         (CFLAGS-iosetbuffer.c): Likewise.
7850         (CFLAGS-iosetvbuf.c): Likewise.
7851         (CFLAGS-ioungetc.c): Likewise.
7852         (CFLAGS-ioungetwc.c): Likewise.
7853         (CFLAGS-oldfileops.c): Likewise.
7854         (CFLAGS-oldiofclose.c): Likewise.
7855         (CFLAGS-oldiofgetpos64.c): Likewise.
7856         (CFLAGS-oldiofgetpos.c): Likewise.
7857         (CFLAGS-oldiofsetpos64.c): Likewise.
7858         (CFLAGS-oldiofsetpos.c): Likewise.
7859         (CFLAGS-peekc.c): Likewise.
7860         (CFLAGS-putc.c): Likewise.
7861         (CFLAGS-putchar.c): Likewise.
7862         (CFLAGS-putwc.c): Likewise.
7863         (CFLAGS-putwchar.c): Likewise.
7864         (CFLAGS-rewind.c): Likewise.
7865         (CFLAGS-wfileops.c): Likewise.
7866         (CFLAGS-wgenops.c): Likewise.
7867         (CFLAGS-oldiofopen.c): Likewise.
7868         (CFLAGS-iofopen.c): Likewise.
7869         (CFLAGS-iofopen64.c): Likewise.
7870         (CFLAGS-oldtmpfile.c): Likewise.
7871         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
7872         (CFLAGS-fprintf.c): Likewise.
7873         (CFLAGS-printf.c): Likewise.
7874         (CFLAGS-vfwprintf.c): Likewise.
7875         (CFLAGS-vfscanf.c): Likewise.
7876         (CFLAGS-vfwscanf.c): Likewise.
7877         (CFLAGS-fscanf.c): Likewise.
7878         (CFLAGS-scanf.c): Likewise.
7879         (CFLAGS-isoc99_vfscanf.c): Likewise.
7880         (CFLAGS-isoc99_vscanf.c): Likewise.
7881         (CFLAGS-isoc99_fscanf.c): Likewise.
7882         (CFLAGS-isoc99_scanf.c): Likewise.
7883         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
7884         (CFLAGS-isoc99_fwscanf.c): Likewise.
7885         (CFLAGS-isoc99_vwscanf.c): Likewise.
7886         (CFLAGS-isoc99_vfwscanf.c): Likewise.
7888         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
7889         after mkstemp64.
7890         * login/tst-utmp.c (do_prepare): Likewise.
7891         * rt/tst-aio.c (do_prepare): Likewise.
7892         * rt/tst-aio64.c (do_prepare): Likewise.
7894 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7896         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7897         (__lll_lock_elision): Remove adapt_count decrement...
7898         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7899         (__lll_trylock_elision): Likewise.
7900         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7901         (__lll_unlock_elision): ... to here. And utilize
7902         new adapt_count parameter.
7903         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7904         (__lll_unlock_elision): Update to include adapt_count
7905         parameter.
7906         (lll_unlock_elision): Pass pointer to adapt_count
7907         variable.
7909 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7911         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
7912         Add elision adapt_count parameter to list of arguments.
7913         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7914         (lll_unlock_elision): Update with new parameter list
7915         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7916         (lll_unlock_elision): Likewise.
7917         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
7918         (lll_unlock_elision): Likewise.
7920 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7922         [BZ #19122]
7923         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
7924         attribute_hidden.
7926         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
7927         attribute_hidden.
7928         [IS_IN (rtld)] (__strdup): Likewise.
7929         [IS_IN (rtld)] (__strerror_r): Likewise.
7930         [IS_IN (rtld)] (__strsep_g): Likewise.
7931         [IS_IN (rtld)] (memchr): Likewise.
7932         [IS_IN (rtld)] (memcmp): Likewise.
7933         [IS_IN (rtld)] (memcpy): Likewise.
7934         [IS_IN (rtld)] (memmove): Likewise.
7935         [IS_IN (rtld)] (memset): Likewise.
7936         [IS_IN (rtld)] (rawmemchr): Likewise.
7937         [IS_IN (rtld)] (stpcpy): Likewise.
7938         [IS_IN (rtld)] (strchr): Likewise.
7939         [IS_IN (rtld)] (strcmp): Likewise.
7940         [IS_IN (rtld)] (strlen): Likewise.
7941         [IS_IN (rtld)] (strnlen): Likewise.
7942         [IS_IN (rtld)] (strsep): Likewise.
7944         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
7945         attribute_hidden.
7946         [IS_IN (rtld)] (__strtoul_internal): Likewise.
7948         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
7949         attribute_hidden.
7950         [IS_IN (rtld)] (__libc_sigaction): Likewise.
7952         * include/setjmp.h (__longjmp): Add attribute_hidden.
7953         [IS_IN (rtld)] (__sigsetjmp): Likewise.
7955         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
7956         Add attribute_hidden.
7958         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
7959         [IS_IN (rtld)] (__open): Likewise.
7960         [IS_IN (rtld)] (__fcntl): Likewise.
7962         * include/dirent.h (__opendirat): Add attribute_hidden.
7963         (__getdents): Likewise.
7964         (__getdents64): Likewise.
7965         (__alloc_dir): Likewise.
7966         [IS_IN (rtld)] (__closedir): Likewise.
7967         [IS_IN (rtld)] (__fdopendir): Likewise.
7968         [IS_IN (rtld)] (__readdir): Likewise.
7969         [IS_IN (rtld)] (__readdir64): Likewise.
7970         [IS_IN (rtld)] (__rewinddir): Likewise.
7972         * include/dlfcn.h (_dl_catch_error): Moved to ...
7973         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
7974         attribute_hidden.
7976         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
7977         (_itoa_word): Likewise.
7979         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
7980         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7981         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7982         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
7983         (_dl_higher_prime_number): Likewise.
7984         (_dl_debug_printf_c): Likewise.
7985         (_dl_signal_cerror): Likewise.
7986         (_dl_receive_error): Likewise.
7987         (_dl_reloc_bad_type): Likewise.
7988         (_dl_resolve_conflicts): Likewise.
7989         (_dl_check_all_versions): Likewise.
7990         (_dl_check_map_versions): Likewise.
7991         (_dl_sort_fini): Likewise.
7992         (_dl_debug_initialize): Likewise.
7993         (_dl_init_paths): Likewise.
7994         (_dl_show_auxv): Likewise.
7995         (_dl_next_ld_env_entry): Likewise.
7996         (_dl_important_hwcaps): Likewise.
7997         (_dl_load_cache_lookup): Likewise.
7998         (_dl_update_slotinfo): Likewise.
7999         (_dl_show_scope): Likewise.
8001         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
8002         attribute_hidden.
8003         (_wordcopy_fwd_dest_aligned): Likewise.
8004         (_wordcopy_bwd_aligned): Likewise.
8005         (_wordcopy_bwd_dest_aligned): Likewise.
8007         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8008         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8009         Likewise.
8010         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8011         Likewise.
8012         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
8014 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8016         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
8017         GCC 5 requirement.
8019 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8021         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
8022         test.
8023         * sysdeps/i386/configure: Regenerated.
8024         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
8025         code unconditional.
8027         * configure.ac (libc_cv_asm_previous_directive): Remove configure
8028         test.
8029         (libc_cv_asm_popsection_directive): Likewise.
8030         * configure: Regenerated.
8031         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
8032         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
8033         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
8034         (__make_section_unallocated): Make definition unconditional.
8035         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
8036         Remove conditional definition.
8037         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
8038         (__make_section_unallocated): Likewise.
8040         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
8041         * configure: Regenerated.
8042         * config.make.in (static-libgcc): Remove variable.
8043         * Makerules (build-shlib-helper): Use -static-libgcc instead of
8044         $(static-libgcc).
8045         (build-module-helper): Likewise.
8047         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
8048         * configure: Regenerated.
8050 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8052         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
8053         (struct char_buffer): New type.
8054         (char_buffer_start, char_buffer_size, char_buffer_error)
8055         (char_buffer_rewind, char_buffer_add): New functions.
8056         (ADDW): Remove macro, replaced by the char_buffer_add function.
8057         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
8058         of extend_alloca.  Make control flow more explicit.
8060 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8062         [BZ #19137]
8063         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8064         Add -fomit-frame-pointer.
8065         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
8067 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8069         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
8070         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
8071         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
8072         only if !__GNUC_PREREQ (5,0).
8073         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
8074         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8075         (INTERNAL_SYSCALL_NCS): Likewise.
8076         (LOADREGS_0): New macro for GCC 5.
8077         (ASMARGS_0): Likewise.
8078         (LOADREGS_1): Likewise.
8079         (ASMARGS_1): Likewise.
8080         (LOADREGS_2): Likewise.
8081         (ASMARGS_2): Likewise.
8082         (LOADREGS_3): Likewise.
8083         (ASMARGS_3): Likewise.
8084         (LOADREGS_4): Likewise.
8085         (ASMARGS_4): Likewise.
8086         (LOADREGS_5): Likewise.
8087         (ASMARGS_5): Likewise.
8088         (LOADREGS_6): Likewise.
8089         (ASMARGS_6): Likewise.
8091 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8093         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
8094         -fomit-frame-pointer.
8095         (CFLAGS-mmap64.c): Likewise.
8096         (CFLAGS-semtimedop.c): Likewise.
8097         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
8098         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
8099         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8100         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8102 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8104         [BZ #18928]
8105         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
8106         _dl_pointer_guard member.
8107         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
8108         initializer.
8109         (security_init): Always set up pointer guard.
8110         (process_envvars): Do not process LD_POINTER_GUARD.
8112 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
8114         [BZ #19134]
8115         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
8116         (.LC2): Likewise.
8117         (.LC3): Likewise.
8118         (__lround): Do not add 0.5 to integer or out-of-range arguments.
8120 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8122         [BZ #19129]
8123         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8124         r0 and r1.
8126 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8128         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8130 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8132         * include/stap-probe.h: Fix macro definition formatting.
8134 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8136         [BZ #19074]
8137         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8138         load and store num_ifs.
8140 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8142         [BZ #18822]
8143         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8144         (__sched_getaffinity_new): Add libc_hidden_proto and
8145         libc_hidden_def.
8147 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8149         [BZ #19007]
8150         * scripts/localplt.awk: Also allow GOT references.
8151         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8152         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8153         with "+ REL R_386_GLOB_DAT".
8154         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8155         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8157 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8159         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8160         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8161         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8162         Likewise.
8163         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8164         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8165         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8166         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8167         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8168         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8169         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8170         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8171         Likewise.
8172         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8174 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8176         [BZ #19125]
8177         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8178         <math_private.h> and <stdint.h>.
8179         (__llround): Avoid conversions to and from long long int, and
8180         subtractions, where those might raise spurious exceptions.
8181         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8182         <math_private.h> and <stdint.h>.
8183         (__llroundf): Avoid conversions to and from long long int, and
8184         subtractions, where those might raise spurious exceptions.
8186 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8188         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8189         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8190         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8191         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8192         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8193         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8194         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8195         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8196         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8197         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8198         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8199         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8200         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8201         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8202         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8203         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8204         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8205         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8206         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8207         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8208         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8209         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8210         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8211         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8212         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8213         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8214         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8215         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8216         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8217         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8218         (__xstat64_conv): Likewise.
8219         (__xstat32_conv): Likewise.
8221 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8223         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8224         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8225         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8226         <sysdeps/unix/sysv/linux/sysdep.h>.
8227         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8228         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8229         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8230         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8231         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8232         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8233         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8234         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8235         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8238         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8239         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8240         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8241         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8242         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8243         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8244         (sysdep-dl-routines): Add sysdep.
8245         [$(subdir) == nptl] (libpthread-routines): Likewise.
8246         [$(subdir) == rt] (librt-routines): Likewise.
8247         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8248         PIC when branching to SYSCALL_ERROR_LABEL.
8249         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8250         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8251         <sysdeps/unix/sysv/linux/sysdep.h>.
8252         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8253         (SYSCALL_ERROR_ERRNO): Removed.
8254         (SYSCALL_ERROR_HANDLER): Changed to empty.
8255         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8256         (__syscall_error): New prototype.
8257         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8258         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8260 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8262         [BZ #19124]
8263         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8264         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8265         _dl_runtime_resolve_avx.
8266         (_dl_runtime_profile_avx512): Make it a hidden alias of
8267         _dl_runtime_profile_avx.
8269 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8271         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8272         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8273         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8274         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8276         [BZ #16422]
8277         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8278         New configure test.
8279         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8280         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8281         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8282         <math_private.h> and <stdint.h>.
8283         (__llrint): Avoid conversions to long long int where those might
8284         raise spurious exceptions.
8285         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8286         <math_private.h> and <stdint.h>.
8287         (__llrintf): Avoid conversions to long long int where those might
8288         raise spurious exceptions.
8290 2015-10-12  Andreas Schwab  <schwab@suse.de>
8292         [BZ #18969]
8293         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8294         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8295         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8296         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8297         $(gen-locales).
8298         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8299         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8300         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8301         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8302         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8303         $(gen-locales).
8304         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8305         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8306         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8307         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8308         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8309         ($(objpfx)tst-ftell-active-handler.out)
8310         ($(objpfx)tst-ftell-append.out)
8311         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8312         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8313         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8314         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8315         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8316         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8317         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8318         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8319         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8320         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8321         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8322         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8323         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8324         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8325         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8326         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8327         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8328         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8329         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8330         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8331         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8332         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8333         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8334         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8335         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8336         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8337         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8338         $(gen-locales).
8339         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8340         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8341         $(gen-locales).
8342         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8343         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8344         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8345         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8346         $(gen-locales).
8347         * libio/tst_wprintf2.c (main): Use explicit locale.
8348         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8350 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8352         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8353         __msg_sig_post.
8354         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8356 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8358         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8359         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8361         * sysdeps/arm/libm-test-ulps: Regenerated.
8363         [BZ #15470]
8364         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8366         [BZ #16399]
8367         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8368         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8369         and <fix-fp-int-convert-overflow.h>.
8370         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8371         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8372         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8373         and <fix-fp-int-convert-overflow.h>.
8374         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8375         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8376         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8377         <fix-fp-int-convert-overflow.h>.
8378         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8379         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8380         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8381         <fix-fp-int-convert-overflow.h>.
8382         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8383         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8384         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8385         and <fix-fp-int-convert-overflow.h>.
8386         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8387         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8388         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8389         <limits.h> and <fix-fp-int-convert-overflow.h>.
8390         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8391         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8392         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8393         and <fix-fp-int-convert-overflow.h>.
8394         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8395         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8396         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8397         and <fix-fp-int-convert-overflow.h>.
8398         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8399         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8400         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8402 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8404         [BZ #18589]
8405         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8406         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8407         $(gen-locales).
8409 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8410             Phil Blundell <pb@pbcl.net>
8412         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8413         * nptl/tst-cancel26.c: New file.
8414         * nptl/tst-cancel27.c: Likewise.
8416 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8418         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8419         __ILP32__ isn't defined.
8420         (lrint): Likewise.
8421         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8422         (lrintf): Likewise.
8423         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8424         (lrintl): Likewise.
8425         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8426         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8427         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8429 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8431         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8432         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8434         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8435         file.
8436         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8437         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8439 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8441         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8442         configure test.
8443         * sysdeps/i386/configure: Regenerated.
8444         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8445         configure test.
8446         * sysdeps/x86_64/configure: Regenerated.
8447         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8448         Make code unconditional.
8450         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8451         test.
8452         * sysdeps/i386/configure: Regenerated.
8453         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8454         test.
8455         * sysdeps/x86_64/configure: Regenerated.
8456         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8457         Make code unconditional.
8458         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8459         Likewise.
8460         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8461         Likewise.
8462         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8463         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8464         code unconditional.
8465         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8466         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8467         code unconditional.
8468         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8469         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8470         code unconditional.
8471         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8472         code unconditional.
8473         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8474         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8475         code unconditional.
8476         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8477         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8478         code unconditional.
8479         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8480         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8481         code unconditional.
8482         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8483         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8484         code unconditional.
8485         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8486         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8488         [BZ #19095]
8489         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8490         mantissa to long int before shifting left.
8492 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8494         [BZ #19094]
8495         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
8496         <limits.h>.
8497         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8498         when result overflows but exception would not result from cast.
8499         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
8500         <limits.h>.
8501         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8502         when result overflows but exception would not result from cast.
8503         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
8504         <limits.h>.
8505         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8506         when result overflows but exception would not result from cast.
8507         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8508         <limits.h>.
8509         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8510         when result overflows but exception would not result from cast.
8511         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8512         <limits.h>.
8513         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8514         when result overflows but exception would not result from cast.
8515         * math/libm-test.inc (lrint_test_data): Add more tests.
8516         (llrint_test_data): Likewise.
8518 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8520         [BZ #18872]
8521         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8522         Move out from under [$(run-built-tests) = yes] conditional.
8523         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8524         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8526 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
8528         [BZ #18589]
8529         * string/Makefile (tests): Add bug-strcoll2.
8530         (LOCALES): Add cs_CZ.UTF-8.
8531         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
8533         [BZ #18589]
8534         * string/bug-strcoll2.c: New file.
8535         * locale/categories.def: Revert commit
8536         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
8537         * locale/langinfo.h: Likewise.
8538         * locale/localeinfo.h: Likewise.
8539         * locale/C-collate.c: Likewise.
8540         * locale/programs/ld-collate.c (collate_output): Likewise.
8541         * string/strcoll_l.c (STRDIFF): Likewise.
8542         (STRCOLL): Likewise.
8543         * wcsmbs/wcscoll_l.c: Likewise.
8545 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8547         * math/libm-test.inc (lround_test_data): Do not expect the absence
8548         of "inexact" for some tests with non-integer arguments.
8549         (llround_test_data): Likewise.
8551         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
8552         test.
8553         (libc_cv_cc_sse2avx): Likewise.
8554         * sysdeps/i386/configure: Regenerated.
8555         * sysdeps/i386/i686/multiarch/Makefile
8556         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
8557         [$(subdir) = math].
8558         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
8559         code unconditional.
8560         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8561         Likewise.
8562         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
8563         Likewise.
8564         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8565         Likewise.
8566         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
8567         test.
8568         (libc_cv_cc_sse2avx): Likewise.
8569         * sysdeps/x86_64/configure: Regenerated.
8570         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
8571         unconditional.
8572         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
8573         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
8574         unconditional.
8575         (_dl_runtime_profile)
8576         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
8577         conditional code.
8578         * sysdeps/x86_64/fpu/multiarch/Makefile
8579         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
8580         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8581         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8582         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8583         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8584         * sysdeps/x86_64/fpu/multiarch/e_log.c
8585         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8586         * sysdeps/x86_64/fpu/multiarch/s_atan.c
8587         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8588         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8589         Likewise.
8590         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8591         Likewise.
8592         * sysdeps/x86_64/fpu/multiarch/s_sin.c
8593         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8594         * sysdeps/x86_64/fpu/multiarch/s_tan.c
8595         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8596         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
8597         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
8598         (HAVE_SSE2AVX_SUPPORT): Likewise.
8600 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
8602         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
8603         instead of #pragma optimize.
8605 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8607         [BZ #17195]
8608         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
8609         as is similarly done in systrim and _int_free already.
8611 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8613         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
8615 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8617         [BZ #19088]
8618         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
8619         <limits.h>.
8620         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8621         overflows but exception would not result from cast.
8622         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
8623         and <limits.h>.
8624         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8625         overflows but exception would not result from cast.
8626         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
8627         <limits.h>.
8628         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8629         overflows but exception would not result from cast.
8630         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
8631         <limits.h>.
8632         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8633         overflows but exception would not result from cast.
8634         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
8635         <limits.h>.
8636         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8637         overflows but exception would not result from cast.
8638         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
8639         <limits.h>.
8640         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8641         overflows but exception would not result from cast.
8642         * math/libm-test.inc (lround_test_data): Add more tests.
8643         (llround_test_data): Likewise.
8645 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
8647         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
8648         (CFLAGS-ialloc.c): Ditto.
8649         (CFLAGS-scheck.c): Ditto.
8651 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8653         [BZ #19086]
8654         * manual/filesys.texi (Storage Allocation): Fix argument order for
8655         posix_fallocate64.
8657 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8659         [BZ #19085]
8660         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
8661         exponent below 48 inside case for non-overflowing exponent.
8662         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8664 2015-10-07  Florian Weimer  <fweimer@redhat.com>
8666         * iconvdata/cp737.h (from_idx): Add const.
8667         * iconvdata/cp775.h (from_idx): Likewise.
8669 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8671         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
8672         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8673         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
8675         [BZ #19079]
8676         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
8677         file, conditioned on [!_LP64].
8678         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
8679         [!_LP64] (__lround): Do not define as function or alias.
8680         [!_LP64] (lround): Likewise.
8681         [!_LP64] (__lroundl): Likewise.
8682         [!_LP64] (lroundl): Likewise.
8683         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
8684         macro.
8685         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8686         Likewise.
8688 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8690         * math/libm-test.inc (lrint_test_data): Add more tests.
8691         (llrint_test_data): Likewise.
8692         (lround_test_data): Likewise.
8693         (llround_test_data): Likewise.
8695         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
8696         (llrint_test_data): Add tests used for lrint.
8698         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
8699         test.
8700         * sysdeps/i386/configure: Regenerated.
8701         * sysdeps/i386/i686/multiarch/Makefile
8702         [$(config-cflags-sse4) = yes]: Make code unconditional.
8703         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8704         Likewise.
8705         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
8706         Likewise.
8707         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
8708         test.
8709         * sysdeps/x86_64/configure: Regenerated.
8710         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
8711         Make code unconditional.
8712         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8713         Likewise.
8714         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
8715         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
8717         * scripts/rpm2dynsym.sh: Remove file.
8719 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8721         * configure.ac (libc_cv_cxx_thread_local): Define.
8722         * configure: Regenerate.
8723         * config.make.in (have-cxx-thread_local): Define.
8724         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
8725         (LDLIBS-tst-thread_local1): Define.
8726         (tests): Add tst-thread_local1.
8727         [have-cxx-thread_local != yes] (tests-unsupported): Add
8728         tst-thread_local1.
8729         * nptl/tst-thread_local1.cc: New file.
8731 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8733         [BZ #19078]
8734         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
8735         (u_thres): Likewise.
8736         (__expl): Determine whether to call __kernel_standard_l based on
8737         value of result, not argument.
8739         * math/libm-test.inc (scalb_test_data): Add more expectations for
8740         the "inexact" exception.
8742         [BZ #19077]
8743         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
8744         0.0L for argument 1.0L.
8746         [BZ #19076]
8747         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
8748         constant 0.0L when computing infinite result.
8750 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8752         [BZ #10432]
8753         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
8754         malloc_usable_size.
8756 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8758         [BZ #19018]
8759         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8760         Mangle function pointer before storing it.
8761         (__call_tls_dtors): Demangle function pointer before calling it.
8763 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8765         [BZ #19012]
8766         * iconv/gconv_db.c (gen_steps): Check for additional errors.
8767         Clean up on failure.
8769 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
8771         [BZ #19071]
8772         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
8773         long int variable to store possibly incremented high part of
8774         mantissa.
8775         * math/libm-test.inc (lround_test_data): Add tests used for
8776         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
8777         for tests requiring 64-bit long.  Do not condition tests on
8778         [TEST_FLOAT] unnecessarily.
8779         (llround_test_data): Add tests used for lround.  Add another
8780         expectation for the "inexact" exception.  Do not condition tests
8781         on [TEST_FLOAT] unnecessarily.
8783         [BZ #887]
8784         [BZ #19049]
8785         [BZ #19050]
8786         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
8787         * sysdeps/ieee754/dbl-64/e_log10.c: Include
8788         <fix-int-fp-convert-zero.h>.
8789         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8790         * sysdeps/ieee754/dbl-64/e_log2.c: Include
8791         <fix-int-fp-convert-zero.h>.
8792         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8793         * sysdeps/ieee754/dbl-64/s_erf.c: Include
8794         <fix-int-fp-convert-zero.h>.
8795         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8796         * sysdeps/ieee754/dbl-64/s_logb.c: Include
8797         <fix-int-fp-convert-zero.h>.
8798         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8799         * sysdeps/ieee754/flt-32/e_log10f.c: Include
8800         <fix-int-fp-convert-zero.h>.
8801         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8802         * sysdeps/ieee754/flt-32/e_log2f.c: Include
8803         <fix-int-fp-convert-zero.h>.
8804         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8805         * sysdeps/ieee754/flt-32/s_erff.c: Include
8806         <fix-int-fp-convert-zero.h>.
8807         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8808         * sysdeps/ieee754/flt-32/s_logbf.c: Include
8809         <fix-int-fp-convert-zero.h>.
8810         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8811         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
8812         <fix-int-fp-convert-zero.h>.
8813         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
8815         <fix-int-fp-convert-zero.h>.
8816         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8817         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
8818         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
8819         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
8820         file.
8821         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
8823 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8825         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8827 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
8829         [BZ #19059]
8830         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
8831         overflowing computation.
8832         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8833         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8834         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8835         Likewise.
8836         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8837         Likewise.
8838         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8839         Likewise.
8840         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8841         Likewise.
8842         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8843         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8844         Likewise.
8845         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8846         Likewise.
8847         * math/libm-test.inc (nexttoward_test_data): Add more tests.
8849         * nss/rewrite_field.c (__nss_rewrite_field): Use
8850         internal_function.
8851         * nss/valid_field.c (__nss_valid_field): Likewise.
8852         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
8854 2015-10-02  Florian Weimer  <fweimer@redhat.com>
8856         [BZ #18724]
8857         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
8858         (__nss_invalid_field_characters, __nss_valid_field)
8859         (__nss_valid_list_field, __nss_rewrite_field): Declare.
8860         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
8861         tst-field.c: New file.
8862         * nss/Makefile (routines): Add valid_field, rewrite_field.
8863         (tests-static): Define unconditionally.
8864         (tests): Include tests-static.
8865         [build-static-nss] (tests-static): Use append.
8866         [build-static-nss] (tests): Remove modification.
8867         * nss/getent.c (print_group): Call putgrent.  Report error.
8868         (print_gshadow): Call putsgent.  Report error.
8869         (print_passwd): Call putpwent.  Report error.
8870         (print_shadow): Call putspent.  Report error.
8871         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
8872         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
8873         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
8874         name, password, directory, shell fields for valid syntax.  Rewrite
8875         GECOS field to match syntax.
8876         * pwd/Makefile (tests): Add tst-putpwent.
8877         * pwd/tst-putpwent.c: New file.
8878         * grp/putgrent.c (putgrent): Convert to ISO function definition.
8879         Check grName, grpasswd, gr_mem fields for valid syntax.
8880         Change loop variable i to size_t.
8881         * grp/Makefile (tests): Add tst-putgrent.
8882         * grp/tst-putgrent.c: New file.
8883         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
8884         valid syntax.
8885         * shadow/Makefile (tests): Add tst-putspent.
8886         * shadow/tst-putspent.c: New file.
8887         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
8888         sg_mem fields for valid syntax.
8889         * gshadow/Makefile (tests): Add tst-putsgent.
8890         * gshadow/tst-putsgent.c: New file.
8892 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8894         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
8895         assembly instructions.
8897 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8899         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
8900         prefix from operands.
8902 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
8904         [BZ #16347]
8905         [BZ #19046]
8906         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
8907         <libc-internal.h>.
8908         (MAXLGM): Do not use diagnostic control macros.
8909         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
8910         threshold for ldbl-128ibm.
8911         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
8912         instead of multiplying by log then subtracting.
8913         * math/auto-libm-test-in: Add more tests of lgamma.
8914         * math/auto-libm-test-out: Regenerated.
8916         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
8917         (TYPE_HEX_DIG): Likewise.
8918         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
8919         precisions when printing floating-point numbers.
8920         (check_float_internal): Likewise.
8922 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8924         [BZ #16620]
8925         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
8926         of log (10) rounded downward to 48 bits.
8927         (log10_low): Use corresponding low part of log (10).
8929         [BZ #19032]
8930         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
8931         compute result as (x - x) / (x - x) not as 0 / 0.
8932         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8933         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
8935         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8936         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
8937         and expm1.
8938         * math/auto-libm-test-out: Regenerated.
8939         * math/libm-test.inc (acos_test_data): Add more tests.
8940         (asin_test_data): Likewise.
8941         (asinh_test_data): Likewise.
8942         (atan_test_data): Likewise.
8943         (atanh_test_data): Likewise.
8944         (atan2_test_data): Likewise.
8945         (cbrt_test_data): Likewise.
8946         (ceil_test_data): Likewise.
8947         (copysign_test_data): Likewise.
8948         (cos_test_data): Likewise.
8949         (cosh_test_data): Likewise.
8950         (erf_test_data): Likewise.
8951         (erfc_test_data): Likewise.
8952         (exp_test_data): Likewise.
8953         (exp10_test_data): Likewise.
8954         (exp2_test_data): Likewise.
8955         (expm1_test_data): Likewise.
8956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8958 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
8960         [BZ #19006]
8961         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
8962         to ...
8963         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
8964         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
8965         to ...
8966         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
8967         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
8968         to ...
8969         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
8970         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
8971         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
8972         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
8973         to ...
8974         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
8975         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8976         Moved to ...
8977         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
8978         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8979         Moved to ...
8980         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
8981         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
8982         to ...
8983         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
8984         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8985         Moved to ...
8986         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
8987         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
8988         to ...
8989         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
8990         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
8991         Removed.
8992         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
8993         Likewise.
8994         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
8995         Likewise.
8996         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
8997         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
8998         Likewise.
8999         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9000         Likewise.
9001         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9002         Likewise.
9003         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9004         Likewise.
9005         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9006         Likewise.
9007         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
9008         Likewise.
9009         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
9010         Likewise.
9011         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
9012         Likewise.
9013         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
9014         Likewise.
9015         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
9016         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
9017         Likewise.
9018         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9019         Likewise.
9020         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9021         Likewise.
9022         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9023         Likewise.
9024         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
9025         Likewise.
9026         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9027         Replace ../i486/pthread_cond_timedwait.S with
9028         ../pthread_cond_timedwait.S.
9030 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9032         * math/libm-test.inc (acos_test_data): Refine expectations for
9033         errno and "inexact" exceptions.
9034         (acosh_test_data): Likewise.
9035         (asin_test_data): Likewise.
9036         (asinh_test_data): Likewise.
9037         (atan_test_data): Likewise.
9038         (atanh_test_data): Likewise.
9039         (atan2_test_data): Likewise.
9040         (cbrt_test_data): Likewise.
9041         (ceil_test_data): Likewise.
9042         (copysign_test_data): Likewise.
9043         (cosh_test_data): Likewise.
9044         (erf_test_data): Likewise.
9045         (erfc_test_data): Likewise.
9046         (exp_test_data): Likewise.
9047         (exp10_test_data): Likewise.
9048         (exp2_test_data): Likewise.
9049         (expm1_test_data): Likewise.
9050         (fabs_test_data): Likewise.
9051         (floor_test_data): Likewise.
9052         (fma_test_data): Likewise.
9053         (fmax_test_data): Likewise.
9054         (fmin_test_data): Likewise.
9055         (fmod_test_data): Likewise.
9056         (fpclassify_test_data): Likewise.
9057         (frexp_test_data): Likewise.
9058         (hypot_test_data): Likewise.
9059         (ilogb_test_data): Likewise.
9060         (isgreater_test_data): Likewise.
9061         (isgreaterequal_test_data): Likewise.
9062         (isinf_test_data): Likewise.
9063         (isless_test_data): Likewise.
9064         (islessequal_test_data): Likewise.
9065         (islessgreater_test_data): Likewise.
9066         (isnan_test_data): Likewise.
9067         (isnormal_test_data): Likewise.
9068         (issignaling_test_data): Likewise.
9069         (isunordered_test_data): Likewise.
9070         (j0_test_data): Likewise.
9071         (j1_test_data): Likewise.
9072         (jn_test_data): Likewise.
9073         (lgamma_test_data): Likewise.
9074         (lrint_test_data): Likewise.
9075         (llrint_test_data): Likewise.
9076         (log_test_data): Likewise.
9077         (log10_test_data): Likewise.
9078         (log1p_test_data): Likewise.
9079         (log2_test_data): Likewise.
9080         (logb_test_data): Likewise.
9081         (lround_test_data): Likewise.
9082         (llround_test_data): Likewise.
9083         (modf_test_data): Likewise.
9084         (nearbyint_test_data): Likewise.
9085         (nextafter_test_data): Likewise.
9086         (nexttoward_test_data): Likewise.
9087         (pow_test_data): Likewise.
9088         (remainder_test_data): Likewise.
9089         (remquo_test_data): Likewise.
9090         (rint_test_data): Likewise.
9091         (round_test_data): Likewise.
9092         (signbit_test_data): Likewise.
9093         (sinh_test_data): Likewise.
9094         (sqrt_test_data): Likewise.
9095         (tanh_test_data): Likewise.
9096         (tgamma_test_data): Likewise.
9097         (trunc_test_data): Likewise.
9098         (y0_test_data): Likewise.
9099         (y1_test_data): Likewise.
9100         (yn_test_data): Likewise.
9101         (significand_test_data): Likewise.
9103 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
9105         * manual/filesys.texi (Storage Allocation): Document that
9106         posix_fallocate emulation fails when fd is open with O_WRONLY.
9108 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
9110         [BZ #19016]
9111         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
9112         allow more cases with X^2 + Y^2 >= 0.5.
9113         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
9114         normal element in sum instead of special-casing based on values of
9115         arguments.
9116         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
9117         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
9118         -1 as normal element in sum instead of special-casing based on
9119         values of arguments.
9120         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
9121         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
9122         (__x2y2m1): Update comment.
9123         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9124         as normal element in sum instead of special-casing based on values
9125         of arguments.
9126         * math/s_clog.c (__clog): Handle more cases using log1p without
9127         hypot.
9128         * math/s_clog10.c (__clog10): Likewise.
9129         * math/s_clog10f.c (__clog10f): Likewise.
9130         * math/s_clog10l.c (__clog10l): Likewise.
9131         * math/s_clogf.c (__clogf): Likewise.
9132         * math/s_clogl.c (__clogl): Likewise.
9133         * math/auto-libm-test-in: Add more tests of clog and clog10.
9134         * math/auto-libm-test-out: Regenerated.
9135         * sysdeps/i386/fpu/libm-test-ulps: Update.
9136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9138 2015-09-28  Martin Sebor  <msebor@redhat.com>
9140         [BZ #18969]
9141         * string/Makefile (LOCALES): Define.
9142         (gen-locales.mk): Include.
9143         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9144         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9145         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9146         on setlocale failure.
9148 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9150         [BZ #18985]
9151         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9152         (__strftime_internal): Likewise.
9153         * time/tst-strftime.c (do_bz18985): New test.
9154         (do_test): Call it.
9156 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9158         [BZ #18956]
9159         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9160         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9161         extracting high part.
9162         * math/auto-libm-test-in: Add another test of pow.
9163         * math/auto-libm-test-out: Regenerated.
9164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9166 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9168         [BZ #18825]
9169         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9170         New macro.
9171         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9172         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9173         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9174         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9175         DBL_NARROW_EVAL, reloading the PIC register as needed.
9176         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9177         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9178         FLT_NARROW_EVAL.  Use separate return path for case when first
9179         argument is NaN.
9180         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9181         DEFINE_LDBL_MIN.
9182         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9183         PIC register.
9184         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9185         math_check_force_underflow_nonneg.
9186         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9187         underflow for subnormal result.
9188         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9189         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9190         math_check_force_underflow_nonneg.
9191         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9192         math_check_force_underflow.
9193         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9194         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9195         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9196         DEFINE_LDBL_MIN.
9197         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9198         * math/auto-libm-test-in: Add more tests of pow.
9199         * math/auto-libm-test-out: Regenerated.
9201 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9203         * nss/bug17079.c (init_test_items): Add diagnostic for
9204         inconsistent entries.
9205         (test_buffer_size): Skip inconsistent entries.
9207 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9209         [BZ #13304]
9210         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9211         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9212         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9214         [BZ #13304]
9215         * sysdeps/microblaze/s_fma.c: New file.
9216         * sysdeps/microblaze/s_fmaf.c: Likewise.
9217         * sysdeps/microblaze/sfp-machine.h: Likewise.
9219 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9221         [BZ #17250]
9222         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9223         member.
9225 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9227         [BZ #18803]
9228         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9229         (MO): New macro.
9230         (__ieee754_hypot) [PIC]: Load PIC register.
9231         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9232         DBL_NARROW_EVAL.
9233         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9234         math_check_force_underflow_nonneg in case where result might be
9235         tiny.
9236         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9237         Likewise.
9238         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9239         Likewise.
9240         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9241         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9242         * math/auto-libm-test-in: Add more tests of hypot.
9243         * math/auto-libm-test-out: Regenerated.
9245 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9247         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9249 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9251         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9252         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9253         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9254         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9255         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9256         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9257         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9259         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9260         LOAD_PIC_REG.
9262         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9263         (FLT_CHECK_FORCE_UFLOW): Likewise.
9264         (DBL_CHECK_FORCE_UFLOW): Likewise.
9265         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9266         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9267         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9268         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9269         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9270         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9271         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9272         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9273         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9274         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9275         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9276         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9277         (flt_min): Replace with use of DEFINE_FLT_MIN.
9278         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9279         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9280         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9281         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9282         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9283         (flt_min): Replace with use of DEFINE_FLT_MIN.
9284         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9285         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9286         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9287         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9288         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9289         (flt_min): Replace with use of DEFINE_FLT_MIN.
9290         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9291         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9292         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9293         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9294         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9295         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9296         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9297         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9298         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9299         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9300         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9301         (flt_min): Replace with use of DEFINE_FLT_MIN.
9302         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9303         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9304         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9305         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9306         main computation.
9307         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9308         (flt_min): Replace with use of DEFINE_FLT_MIN.
9309         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9310         main computation.
9311         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9312         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9313         (MO): New macro.
9314         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9315         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9316         (flt_min): Replace with use of DEFINE_FLT_MIN.
9317         (MO): New macro.
9318         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9319         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9320         (__log1pl): Use MO.
9322         [BZ #19003]
9323         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9324         $(config-cflags-nofma).
9326 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9328         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9330 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9332         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9333         (TWO127): Likewise.
9335         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9336         (min_of_type): Likewise.
9337         (math_check_force_underflow): Likewise.
9338         (math_check_force_underflow_nonneg): Likewise.
9339         (math_check_force_underflow_complex): Likewise.
9340         * math/e_exp2l.c (__ieee754_exp2l): Use
9341         math_check_force_underflow_nonneg.
9342         * math/k_casinh.c (__kernel_casinh): Likewise.
9343         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9344         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9345         * math/s_catan.c (__catan): Use
9346         math_check_force_underflow_complex.
9347         * math/s_catanf.c (__catanf): Likewise.
9348         * math/s_catanh.c (__catanh): Likewise.
9349         * math/s_catanhf.c (__catanhf): Likewise.
9350         * math/s_catanhl.c (__catanhl): Likewise.
9351         * math/s_catanl.c (__catanl): Likewise.
9352         * math/s_ccosh.c (__ccosh): Likewise.
9353         * math/s_ccoshf.c (__ccoshf): Likewise.
9354         * math/s_ccoshl.c (__ccoshl): Likewise.
9355         * math/s_cexp.c (__cexp): Likewise.
9356         * math/s_cexpf.c (__cexpf): Likewise.
9357         * math/s_cexpl.c (__cexpl): Likewise.
9358         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9359         * math/s_clog10.c (__clog10): Likewise.
9360         * math/s_clog10f.c (__clog10f): Likewise.
9361         * math/s_clog10l.c (__clog10l): Likewise.
9362         * math/s_clogf.c (__clogf): Likewise.
9363         * math/s_clogl.c (__clogl): Likewise.
9364         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9365         * math/s_csinf.c (__csinf): Likewise.
9366         * math/s_csinh.c (__csinh): Likewise.
9367         * math/s_csinhf.c (__csinhf): Likewise.
9368         * math/s_csinhl.c (__csinhl): Likewise.
9369         * math/s_csinl.c (__csinl): Likewise.
9370         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9371         * math/s_csqrtf.c (__csqrtf): Likewise.
9372         * math/s_csqrtl.c (__csqrtl): Likewise.
9373         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9374         * math/s_ctanf.c (__ctanf): Likewise.
9375         * math/s_ctanh.c (__ctanh): Likewise.
9376         * math/s_ctanhf.c (__ctanhf): Likewise.
9377         * math/s_ctanhl.c (__ctanhl): Likewise.
9378         * math/s_ctanl.c (__ctanl): Likewise.
9379         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9380         instead of volatile.
9381         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9382         math_check_force_underflow.
9383         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9384         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9385         volatile when forcing underflow.
9386         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9387         math_check_force_underflow_nonneg.
9388         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9389         Likewise.
9390         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9391         math_check_force_underflow.
9392         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9393         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9394         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9395         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9396         math_check_force_underflow_nonneg.
9397         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9398         math_check_force_underflow.
9399         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9401         instead of volatile.
9402         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9403         math_check_force_underflow.
9404         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9405         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9406         math_check_force_underflow_nonneg.
9407         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9408         math_check_force_underflow.
9409         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9410         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9411         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9412         math_check_force_underflow_nonneg.
9413         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9414         Likewise.
9415         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9416         math_check_force_underflow.
9417         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9418         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9419         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9420         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9421         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9422         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9423         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9424         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9425         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9426         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9427         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9428         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9429         Likewise.
9430         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9431         math_check_force_underflow_nonneg.
9432         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9433         Likewise.
9434         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9435         math_check_force_underflow.
9436         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9437         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9438         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9439         Likewise.
9440         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9441         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9442         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9443         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9444         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9445         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9446         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9447         instead of volatile.
9448         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9449         math_check_force_underflow.
9450         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9451         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9452         math_check_force_underflow.
9453         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9454         Likewise.
9455         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9456         Use math_check_force_underflow_nonneg.
9457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9458         math_check_force_underflow.
9459         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9460         Likewise.
9461         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9462         Likewise.
9463         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9464         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9465         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9466         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9467         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9468         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9469         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9470         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9471         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9472         math_check_force_underflow_nonneg.
9473         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9474         math_check_force_underflow.
9475         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9476         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9477         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9478         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9479         math_check_force_underflow_nonneg.
9480         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9481         math_check_force_underflow.
9482         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9483         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9484         instead of volatile.
9485         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9486         math_check_force_underflow.
9488         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9489         * stdlib/strtod_l.c: Include <math_private.h>.
9490         (overflow_value): Use math_narrow_eval.
9491         (underflow_value): Likewise.
9492         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9493         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9494         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
9495         (__ieee754_gamma_r): Likewise.
9496         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
9497         Likewise.
9498         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9499         Likewise.
9500         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9501         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
9502         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9503         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9504         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9505         (__ieee754_gammaf_r): Likewise.
9506         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9507         Likewise.
9508         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9509         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9510         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9511         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9512         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9513         volatile.
9514         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9515         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9516         math_narrow_eval.
9517         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9518         Likewise.
9519         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9520         Likewise.
9521         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9522         Likewise.
9523         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9524         volatile.
9525         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9526         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9527         math_narrow_eval.
9528         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9529         Likewise.
9530         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9531         Likewise.
9533 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
9535         * nptl/Versions: Remove ignored symbols.
9537 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9539         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
9540         * nss/Makefile (tests): Update.
9542 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9544         * nss/bug18287.c: New file.
9545         * nss/Makefile (tests): Add bug18287.
9547 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9549         * mach/Versions (__mach_host_self_): Add symbol.
9551 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9553         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
9554         vm_page_size.
9556 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9558         Really fix sysdeps/i386/fpu/s_scalbn.S build
9560         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
9561         (libc: GLIBC_2_22): Remove unused version set.
9563 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9565         * config.make.in (enable-timezone-tools): New variable.
9566         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
9567         (enable_timezone_tools): Export to generated files.
9568         * configure: Regenerate.
9569         * INSTALL: Regenerate.
9570         * manual/install.texi (--disable-timezone-tools): Document new flag.
9571         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
9572         ifeq ($(enable-timezone-tools),yes) check.
9574 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9576         * timezone/Makefile: Revert previous change.
9578         [BZ #18980]
9579         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
9580         (DEFINE_DBL_MIN): Likewise.
9581         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9582         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9583         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9584         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9585         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
9586         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9587         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9588         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
9589         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
9590         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9591         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9592         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
9593         (flt_min): Replace with use of DEFINE_FLT_MIN.
9594         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9595         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
9596         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9597         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9598         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
9599         (flt_min): Replace with use of DEFINE_FLT_MIN.
9600         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9601         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
9602         (flt_min): Replace with use of DEFINE_FLT_MIN.
9603         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9604         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
9605         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
9606         (__ieee754_hypot): Use DBL_NARROW_EVAL.
9607         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
9608         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
9609         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
9610         (__ieee754_pow): Use DBL_NARROW_EVAL.
9611         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
9612         (__ieee754_powf): Use FLT_NARROW_EVAL.
9613         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
9614         (__ieee754_expf_sse2): Convert double-precision result to single
9615         precision.
9616         * sysdeps/i386/fpu/libm-test-ulps: Update.
9618 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9620         * timezone/Makefile: Ignore unused variable errors due to private.h
9621         (time_t_min) and (time_t_max).
9622         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
9623         Likewise.
9625 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9627         [BZ #18981]
9628         * sysdeps/i386/fpu/i386-math-asm.h: New file.
9629         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
9630         (__ieee754_scalb): Use DBL_NARROW_EVAL.
9631         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
9632         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
9633         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
9634         (__scalbn): Use DBL_NARROW_EVAL.
9635         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
9636         (__scalbnf): Use FLT_NARROW_EVAL.
9638 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9640         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
9641         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
9642         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
9643         * stdio-common/printf_fp.c (___printf_fp):
9644         Use signbit to get the sign. Use isinf macro to allow inlining.
9645         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
9646         * stdio-common/printf_size.c (__printf_size): Likewise.
9648 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9650         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
9652 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9654         [BZ #18980]
9655         * sysdeps/generic/math_private.h: Include <float.h>.
9656         (math_narrow_eval): New macro.
9657         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9658         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
9659         math_narrow_eval on overflowing return value.
9660         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
9661         Likewise.
9662         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9663         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
9664         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
9665         Likewise.
9666         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9668 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9670         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
9671         * math/Makefile: Remove isinf_ns.c.
9672         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
9673         * math/multc3.c (__multc3): Likewise.
9674         * math/s_casin.c (__casin): Likewise.
9675         * math/s_casinf.c (__casinf): Likewise.
9676         * math/s_casinl.c (__casinl): Likewise.
9677         * math/s_cproj.c (__cproj): Likewise.
9678         * math/s_cprojf.c (__cprojf): Likewise.
9679         * math/s_cprojl.c (__cprofl): Likewise.
9680         * math/s_ctan.c (__ctan): Likewise.
9681         * math/s_ctanf.c (__ctanf): Likewise.
9682         * math/s_ctanh.c (__ctanh): Likewise.
9683         * math/s_ctanhf.c (__ctanhf): Likewise.
9684         * math/s_ctanhl.c (__ctanhl): Likewise.
9685         * math/s_ctanl.c (__ctanl): Likewise.
9686         * math/w_fmod.c (__fmod): Likewise.
9687         * math/w_fmodf.c (__fmodf): Likewise.
9688         * math/w_fmodl.c (_fmodl): Likewise.
9689         * math/w_remainder.c (__remainder): Likewise.
9690         * math/w_remainderf.c (__remainderf): Likewise.
9691         * math/w_remainderl.c (__remainderl): Likewise.
9692         * math/w_scalb.c (__scalb): Likewise.
9693         * math/w_scalbf.c (__scalbf): Likewise.
9694         * math/w_scalbl.c (__scalbl): Likewise.
9695         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
9696         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
9697         with isinf.
9698         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
9699         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
9700         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
9701         __isinf_nsf with isinf.
9702         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
9703         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
9704         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
9705         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
9706         with isinf.
9707         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
9708         __isinf_nsl with isinf.
9709         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
9710         with isinf.
9711         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
9712         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
9713         __isinf_nsl with isinf.
9714         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
9715         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
9716         with isinf.
9718 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9720         * resolv/base64.c (rcsid): Remove unused static.
9721         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
9722         static.  (tqpi1): Likewise.
9723         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
9724         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
9725         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
9726         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
9727         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
9728         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
9729         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
9730         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
9731         Likewise.
9733 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
9735         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
9736         <nptl/pthreadP.h>.
9737         (_longjmp_unwind): Use __libc_ptf_call.
9738         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
9740 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
9742         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
9743         * sysdeps/arm/__longjmp.S: Likewise.
9745 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9747         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
9748         Use __builtin_signbit.
9749         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
9750         Use __builtin_signbitf.
9751         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
9752         Use __builtin_signbitl.
9753         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9754         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
9756 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9758         [BZ #15367]
9759         [BZ #17441]
9761         * math/Makefile: Build test-snan.c with -fsignaling-nans.
9762         * math/math.h (fpclassify): Use __builtin_fpclassify when
9763         available.  (signbit): Use __builtin_signbit(f/l).
9764         (isfinite): Use__builtin_isfinite.  (isnormal): Use
9765         __builtin_isnormal.  (isnan): Use __builtin_isnan.
9766         (isinf): Use __builtin_isinf_sign.
9768 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9770         * benchtests/Makefile: Add bench-math-inlines, link with libm.
9771         * benchtests/bench-math-inlines.c: New benchmark.
9772         * benchtests/bench-util.h: New file.
9773         * benchtests/bench-util.c: New file.
9774         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
9776 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
9778         * elf/tst-dlmopen1.c: Define TEST_SO.
9779         (do_test): Use TEST_SO.
9781         * elf/dl-load.c: Include libc-internal.h.
9782         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
9784 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9786         [BZ #17887]
9787         * time/strptime_l.c (__strptime_internal): Make %z accept
9788         [+-]HH:MM time zones.
9790 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9792         [BZ #17886]
9793         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
9794         valid time zone.
9796 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
9798         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
9799         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
9800         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9801         (__ASSUME_FDATASYNC): Delete.
9803 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9805         * conform/linknamespace.pl: Require weak undefined symbols to be
9806         in the standard namespace.
9807         (%strong_syms): Rename to %seen_syms.
9808         (%strong_seen): Rename to %seen_where.
9810 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
9812         [BZ #18970]
9813         * misc/error.c (error): Replace pthread_setcancelstate with
9814         __pthread_setcancelstate.
9815         (error_at_line): Likewise.
9816         * posix/wordexp.c (parse_comm): Likewise.
9817         * stdlib/fmtmsg.c (fmtmsg): Likewise.
9818         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
9819         (__pthread_setcancelstate): This.
9820         (pthread_setcancelstate): Add an alias.
9821         * nptl/nptl-init.c (pthread_functions): Replace
9822         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
9823         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
9824         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
9825         hidden_proto.
9826         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
9827         it with hidden_def.
9828         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
9829         (pthread_setcancelstate): Renamed to ...
9830         (__pthread_setcancelstate): This.
9831         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
9832         __libc_ptf_call with __pthread_setcancelstate.
9834 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9835             Andreas Schwab  <schwab@suse.de>
9837         [BZ #17118]
9838         * math/s_ctan.c (__ctan): Determine sign of zero real part of
9839         result when imaginary part of argument is infinite using sine and
9840         cosine.
9841         * math/s_ctanf.c (__ctanf): Likewise.
9842         * math/s_ctanl.c (__ctanl): Likewise.
9843         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
9844         of result when real part of argument is infinite using sine and
9845         cosine.
9846         * math/s_ctanhf.c (__ctanhf): Likewise.
9847         * math/s_ctanhl.c (__ctanhl): Likewise.
9848         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
9849         (ctanh_test_data): Add more tests of ctanh.
9851 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9853         [BZ #15384]
9854         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
9855         bit-mask as in subtraction.
9856         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
9857         Likewise.
9858         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
9859         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
9860         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
9862         [BZ #18951]
9863         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
9864         underflow exception for small results.
9865         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9866         Likewise.
9867         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9868         Likewise.
9869         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9870         Likewise.
9871         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9872         Likewise.
9873         * math/auto-libm-test-in: Add more tests of tgamma.
9874         * math/auto-libm-test-out: Regenerated.
9876 2015-09-17  Andreas Schwab  <schwab@suse.de>
9878         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
9880 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9882         [BZ #18977]
9883         * math/bits/mathcalls.h
9884         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
9885         not declare.
9886         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
9887         Likewise.
9888         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
9889         Likewise.
9890         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
9891         Likewise.
9892         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
9893         Likewise.
9894         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
9895         Likewise.
9896         * conform/data/math.h-data
9897         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
9898         function.
9899         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
9900         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
9901         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
9902         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
9903         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
9904         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
9905         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
9906         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
9907         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
9908         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
9909         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
9911         [BZ #6803]
9912         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
9913         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
9914         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
9915         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
9916         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
9917         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
9918         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
9919         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
9920         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9921         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
9922         Likewise.
9923         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9924         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
9925         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
9926         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
9927         long_double_symbol calls.
9928         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
9929         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
9930         strong alias of __ldexpl.
9931         (scalbnl): Define using long_double_symbol.
9932         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
9933         Remove alias.
9934         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
9935         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
9936         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
9937         (scalbln_test_data): Add more errno expectations.
9939 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
9941         Cache the host port like we cache the task port.  This way we do not
9942         need to call the kernel just to get the port.  Furthermore, we no
9943         longer increase the reference count on every invocation of
9944         `mach_host_self'.
9946         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9947         Protect declarations against the macro expansion.
9948         * mach/mach_init.c (__mach_host_self_): New variable.
9949         (mach_init): Initialize `__mach_host_self_'.
9950         * mach/mach_init.h (__mach_host_self_): New declaration.
9951         (__mach_host_self, mach_host_self): New macros.
9952         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
9953         Release reference.
9955 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9957         [BZ #4404]
9958         * po/de.po: Update from Translation Project.
9960         [BZ #16415]
9961         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
9962         (__expm1l): Remove code to handle positive infinity and overflow.
9963         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
9964         variable.
9965         (__expm1l): Remove code to handle positive infinity and overflow.
9967 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
9968             Paul Pluzhnikov  <ppluzhnikov@google.com>
9970         [BZ #18872]
9971         * stdio-common/Makefile (tst-printf-bz18872): New test.
9972         (tst-printf-bz18872-mem.out): Likewise.
9973         * stdio-common/tst-printf-bz18872.sh: Generate new test.
9974         * stdio-common/vfprintf.c: Fix memory leaks.
9976 2015-09-16  Andreas Schwab  <schwab@suse.de>
9978         [BZ #17244]
9979         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
9980         Remove extra va_start/va_end calls.
9982         [BZ #17243]
9983         * posix/execl.c (execl): Add missing va_end.
9984         * posix/execle.c (execle): Likewise.
9985         * posix/execlp.c (execlp): Likewise.
9987 2015-09-15  Roland McGrath  <roland@hack.frob.com>
9989         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
9990         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
9992 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
9994         [BZ #18967]
9995         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
9996         undefine around includes of <bits/mathcalls.h>.
9997         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
9998         not declare function.
9999         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
10000         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
10001         (scalb): Likewise.
10002         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
10003         not define macro.
10004         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
10005         variable.
10006         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10007         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10008         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10010         [BZ #18857]
10011         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
10012         return non-finite argument without doing ordered comparisons on
10013         it.
10015         [BZ #16296]
10016         * math/fenv.h (fegetround): Use __attribute_pure__.
10017         * include/fenv.h (__fegetround): Likewise.
10019         [BZ #18595]
10020         * math/s_ctan.c (__ctan): Force underflow exception for results
10021         whose real or imaginary part has small absolute value.
10022         * math/s_ctanf.c (__ctanf): Likewise.
10023         * math/s_ctanh.c (__ctanh): Likewise.
10024         * math/s_ctanhf.c (__ctanhf): Likewise.
10025         * math/s_ctanhl.c (__ctanhl): Likewise.
10026         * math/s_ctanl.c (__ctanl): Likewise.
10027         * math/auto-libm-test-in: Do not allow missing underflow for ctan
10028         and ctanh.  Add more tests of ctan and ctanh.
10030         [BZ #15918]
10031         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
10032         handling of cases where one argument is an infinity.
10034         [BZ #18875]
10035         [BZ #18966]
10036         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
10037         (MO): New macro.
10038         (__ieee754_exp10): For small results, force underflow exception
10039         and remove excess range and precision from return value.
10040         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
10041         (MO): New macro.
10042         (__ieee754_exp10f): For small results, force underflow exception
10043         and remove excess range and precision from return value.
10044         * math/auto-libm-test-in: Add more tests of exp10.
10045         * math/auto-libm-test-out: Regenerated.
10047 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
10049         [BZ #18875]
10050         [BZ #18961]
10051         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
10052         (MO): New macro.
10053         (__ieee754_exp): For small results, force underflow exception and
10054         remove excess range and precision from return value.
10055         (__exp_finite): Likewise.
10056         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
10057         (MO): New macro.
10058         (__ieee754_expf): For small results, force underflow exception and
10059         remove excess range and precision from return value.
10060         (__expf_finite): Likewise.
10061         * math/auto-libm-test-in: Add more tests of exp.
10062         * math/auto-libm-test-out: Regenerated.
10064         [BZ #16521]
10065         [BZ #18875]
10066         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
10067         small results.
10068         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
10069         (MO): New macro.
10070         (__ieee754_exp2): For small results, force underflow exception and
10071         remove excess range and precision from return value.
10072         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
10073         (MO): New macro.
10074         (__ieee754_exp2f): For small results, force underflow exception
10075         and remove excess range and precision from return value.
10076         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
10077         (MO): New macro.
10078         (__ieee754_exp2l): Force underflow exception for small results.
10079         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10080         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10081         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
10082         (MO): New macro.
10083         (__ieee754_exp2l): Force underflow exception for small results.
10084         * math/auto-libm-test-in: Add more tests or exp2.
10085         * math/auto-libm-test-out: Regenerated.
10087 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
10089         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
10091         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
10092         /dev/null.
10094 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10096         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10097         io fs process)): Drop spurious backslash.
10099 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10101         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
10102         Use sysinfo system call instead of parsing /proc/meminfo.
10103         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
10104         Likewise.
10106 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
10108         [BZ #16985]
10109         * programs/localedef.c (main): Display argv[remaining] when
10110         output_path is NULL.
10112 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10114         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10115         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
10116         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
10117         tanh.
10118         * math/auto-libm-test-out: Regenerated.
10119         * sysdeps/i386/fpu/libm-test-ulps: Update.
10120         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10121         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10124 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10126         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10127         Use 'override' keyword to freeze the value here, preventing
10128         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10130 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10132         [BZ #14912]
10133         * sysdeps/aarch64/bits/atomic.h: Move to ...
10134         * sysdeps/aarch64/atomic-machine.h: ...here.
10135         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10136         _AARCH64_ATOMIC_MACHINE_H.
10137         * sysdeps/alpha/bits/atomic.h: Move to ...
10138         * sysdeps/alpha/atomic-machine.h: ...here.
10139         * sysdeps/arm/bits/atomic.h: Move to ...
10140         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10141         * bits/atomic.h: Move to ...
10142         * sysdeps/generic/atomic-machine.h: ...here.
10143         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10144         * sysdeps/i386/bits/atomic.h: Move to ...
10145         * sysdeps/i386/atomic-machine.h: ...here.
10146         * sysdeps/ia64/bits/atomic.h: Move to ...
10147         * sysdeps/ia64/atomic-machine.h: ...here.
10148         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10149         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10150         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10151         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10152         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10153         * sysdeps/microblaze/bits/atomic.h: Move to ...
10154         * sysdeps/microblaze/atomic-machine.h: ...here.
10155         * sysdeps/mips/bits/atomic.h: Move to ...
10156         * sysdeps/mips/atomic-machine.h: ...here.
10157         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10158         * sysdeps/powerpc/bits/atomic.h: Move to ...
10159         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10160         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10161         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10162         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10163         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10164         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10165         <atomic-machine.h> instead of <bits/atomic.h>.
10166         * sysdeps/s390/bits/atomic.h: Move to ...
10167         * sysdeps/s390/atomic-machine.h: ...here.
10168         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10169         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10170         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10171         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10172         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10173         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10174         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10175         * sysdeps/tile/bits/atomic.h: Move to ...
10176         * sysdeps/tile/atomic-machine.h: ...here.
10177         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10178         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10179         <sysdeps/tile/atomic-machine.h> instead of
10180         <sysdeps/tile/bits/atomic.h>.
10181         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10182         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10183         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10184         <sysdeps/tile/atomic-machine.h> instead of
10185         <sysdeps/tile/bits/atomic.h>.
10186         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10187         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10188         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10189         <sysdeps/arm/atomic-machine.h> instead of
10190         <sysdeps/arm/bits/atomic.h>.
10191         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10192         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10193         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10194         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10195         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10196         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10197         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10198         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10199         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10200         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10201         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10202         * sysdeps/x86_64/bits/atomic.h: Move to ...
10203         * sysdeps/x86_64/atomic-machine.h: ...here.
10204         * include/atomic.h: Include <atomic-machine.h> instead of
10205         <bits/atomic.h>.
10207         * sysdeps/mips/mips32/libm-test-ulps: Update.
10208         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10210         [BZ #18952]
10211         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10212         not convert non-integer negative arguments to int to determine the
10213         value of signgam.
10214         * math/auto-libm-test-in: Add more tests of lgamma.
10215         * math/auto-libm-test-out: Regenerated.
10217         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10218         cosh, csqrt, erfc, expm1 and lgamma.
10219         * math/auto-libm-test-out: Regenerated.
10220         * sysdeps/i386/fpu/libm-test-ulps: Update.
10221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10223 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10225         [BZ #2542]
10226         [BZ #2543]
10227         [BZ #2558]
10228         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10229         __lgamma_neg for arguments from -28.0 to -2.0.
10230         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10231         __lgamma_negf for arguments from -15.0 to -2.0.
10232         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10233         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10234         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10235         Call __lgamma_negl for arguments from -33.0 to -2.0.
10236         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10237         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10238         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10239         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10240         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10241         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10242         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10243         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10244         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10245         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10246         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10247         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10248         (__lgamma_neg): Likewise.
10249         (__lgamma_negl): Likewise.
10250         (__lgamma_product): Likewise.
10251         (__lgamma_productl): Likewise.
10252         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10253         * math/auto-libm-test-in: Add more tests of 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-09  Justin Maggard  <jmaggard@netgear.com>
10260         [BZ #18675]
10261         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10263 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10265         [BZ #14912]
10266         * bits/libc-lock.h: Move to ...
10267         * sysdeps/generic/libc-lock.h: ...here.
10268         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10269         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10270         * sysdeps/mach/hurd/libc-lock.h: ...here.
10271         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10272         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10273         * sysdeps/mach/bits/libc-lock.h: Move to ...
10274         * sysdeps/mach/libc-lock.h: ...here.
10275         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10276         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10277         * sysdeps/nptl/libc-lock.h: ...here.
10278         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10279         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10280         * sysdeps/nptl/libc-lockP.h: ...here.
10281         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10282         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10283         <bits/libc-lock.h>.
10284         * dirent/scandir-tail.c: Likewise.
10285         * dlfcn/dlerror.c: Likewise.
10286         * elf/dl-close.c: Likewise.
10287         * elf/dl-iteratephdr.c: Likewise.
10288         * elf/dl-lookup.c: Likewise.
10289         * elf/dl-open.c: Likewise.
10290         * elf/dl-support.c: Likewise.
10291         * elf/dl-writev.h: Likewise.
10292         * elf/rtld.c: Likewise.
10293         * grp/fgetgrent.c: Likewise.
10294         * gshadow/fgetsgent.c: Likewise.
10295         * gshadow/sgetsgent.c: Likewise.
10296         * iconv/gconv_conf.c: Likewise.
10297         * iconv/gconv_db.c: Likewise.
10298         * iconv/gconv_dl.c: Likewise.
10299         * iconv/gconv_int.h: Likewise.
10300         * iconv/gconv_trans.c: Likewise.
10301         * include/link.h: Likewise.
10302         * inet/getnameinfo.c: Likewise.
10303         * inet/getnetgrent.c: Likewise.
10304         * inet/getnetgrent_r.c: Likewise.
10305         * intl/bindtextdom.c: Likewise.
10306         * intl/dcigettext.c: Likewise.
10307         * intl/finddomain.c: Likewise.
10308         * intl/gettextP.h: Likewise.
10309         * intl/loadmsgcat.c: Likewise.
10310         * intl/localealias.c: Likewise.
10311         * intl/textdomain.c: Likewise.
10312         * libidn/idn-stub.c: Likewise.
10313         * libio/libioP.h: Likewise.
10314         * locale/duplocale.c: Likewise.
10315         * locale/freelocale.c: Likewise.
10316         * locale/newlocale.c: Likewise.
10317         * locale/setlocale.c: Likewise.
10318         * login/getutent_r.c: Likewise.
10319         * login/getutid_r.c: Likewise.
10320         * login/getutline_r.c: Likewise.
10321         * login/utmp-private.h: Likewise.
10322         * login/utmpname.c: Likewise.
10323         * malloc/mtrace.c: Likewise.
10324         * misc/efgcvt.c: Likewise.
10325         * misc/error.c: Likewise.
10326         * misc/fstab.c: Likewise.
10327         * misc/getpass.c: Likewise.
10328         * misc/mntent.c: Likewise.
10329         * misc/syslog.c: Likewise.
10330         * nis/nis_call.c: Likewise.
10331         * nis/nis_callback.c: Likewise.
10332         * nis/nss-default.c: Likewise.
10333         * nis/nss_compat/compat-grp.c: Likewise.
10334         * nis/nss_compat/compat-initgroups.c: Likewise.
10335         * nis/nss_compat/compat-pwd.c: Likewise.
10336         * nis/nss_compat/compat-spwd.c: Likewise.
10337         * nis/nss_nis/nis-alias.c: Likewise.
10338         * nis/nss_nis/nis-ethers.c: Likewise.
10339         * nis/nss_nis/nis-grp.c: Likewise.
10340         * nis/nss_nis/nis-hosts.c: Likewise.
10341         * nis/nss_nis/nis-network.c: Likewise.
10342         * nis/nss_nis/nis-proto.c: Likewise.
10343         * nis/nss_nis/nis-pwd.c: Likewise.
10344         * nis/nss_nis/nis-rpc.c: Likewise.
10345         * nis/nss_nis/nis-service.c: Likewise.
10346         * nis/nss_nis/nis-spwd.c: Likewise.
10347         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10348         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10349         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10350         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10351         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10352         * nis/nss_nisplus/nisplus-network.c: Likewise.
10353         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10354         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10355         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10356         * nis/nss_nisplus/nisplus-service.c: Likewise.
10357         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10358         * nis/ypclnt.c: Likewise.
10359         * nptl/libc_pthread_init.c: Likewise.
10360         * nss/getXXbyYY.c: Likewise.
10361         * nss/getXXent.c: Likewise.
10362         * nss/getXXent_r.c: Likewise.
10363         * nss/nss_db/db-XXX.c: Likewise.
10364         * nss/nss_db/db-netgrp.c: Likewise.
10365         * nss/nss_db/nss_db.h: Likewise.
10366         * nss/nss_files/files-XXX.c: Likewise.
10367         * nss/nss_files/files-alias.c: Likewise.
10368         * nss/nsswitch.c: Likewise.
10369         * posix/regex_internal.h: Likewise.
10370         * posix/wordexp.c: Likewise.
10371         * pwd/fgetpwent.c: Likewise.
10372         * resolv/res_hconf.c: Likewise.
10373         * resolv/res_libc.c: Likewise.
10374         * shadow/fgetspent.c: Likewise.
10375         * shadow/lckpwdf.c: Likewise.
10376         * shadow/sgetspent.c: Likewise.
10377         * socket/opensock.c: Likewise.
10378         * stdio-common/reg-modifier.c: Likewise.
10379         * stdio-common/reg-printf.c: Likewise.
10380         * stdio-common/reg-type.c: Likewise.
10381         * stdio-common/vfprintf.c: Likewise.
10382         * stdio-common/vfscanf.c: Likewise.
10383         * stdlib/abort.c: Likewise.
10384         * stdlib/cxa_atexit.c: Likewise.
10385         * stdlib/fmtmsg.c: Likewise.
10386         * stdlib/random.c: Likewise.
10387         * stdlib/setenv.c: Likewise.
10388         * string/strsignal.c: Likewise.
10389         * sunrpc/auth_none.c: Likewise.
10390         * sunrpc/bindrsvprt.c: Likewise.
10391         * sunrpc/create_xid.c: Likewise.
10392         * sunrpc/key_call.c: Likewise.
10393         * sunrpc/rpc_thread.c: Likewise.
10394         * sysdeps/arm/backtrace.c: Likewise.
10395         * sysdeps/generic/ldsodefs.h: Likewise.
10396         * sysdeps/generic/stdio-lock.h: Likewise.
10397         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10398         * sysdeps/i386/backtrace.c: Likewise.
10399         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10400         * sysdeps/m68k/backtrace.c: Likewise.
10401         * sysdeps/mach/hurd/cthreads.c: Likewise.
10402         * sysdeps/mach/hurd/dirstream.h: Likewise.
10403         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10404         * sysdeps/nptl/malloc-machine.h: Likewise.
10405         * sysdeps/nptl/stdio-lock.h: Likewise.
10406         * sysdeps/posix/dirstream.h: Likewise.
10407         * sysdeps/posix/getaddrinfo.c: Likewise.
10408         * sysdeps/posix/system.c: Likewise.
10409         * sysdeps/pthread/aio_suspend.c: Likewise.
10410         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10411         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10412         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10413         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10414         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10415         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10416         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10417         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10418         * sysdeps/unix/sysv/linux/system.c: Likewise.
10419         * sysdeps/x86_64/backtrace.c: Likewise.
10420         * time/alt_digit.c: Likewise.
10421         * time/era.c: Likewise.
10422         * time/tzset.c: Likewise.
10423         * wcsmbs/wcsmbsload.c: Likewise.
10424         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10425         instead of <bits/libc-lock.h> in comment.
10427 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10429         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10430         Only use .set mips2 if the current ISA is below mips2.
10431         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10432         Likewise.
10433         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10434         mips32r2 if the current ISA is below mips32r2.
10435         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10436         (TLS_IE): Updated to use the TLD_RDHWR macro.
10437         (TLS_LE): Likewise.
10438         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10439         __ASSEMBLER__ condition.
10441 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10443         Fix parallel build of before-compile targets.
10445         * sysdeps/mach/Makefile ($(patsubst
10446         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10447         mach-before-compile target.
10448         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10449         io fs process)): Move rule to dedicated hurd-before-compile target.
10451 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10453         Fix rules generating headers in hurd/ and mach/ when initial make call
10454         has subdir= explicitly set.
10456         * sysdeps/mach/Makefile ($(patsubst
10457         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10458         calling $(MAKE).
10459         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10460         io fs process)): Force subdir to hurd when calling $(MAKE).
10461         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10462         subdir to mach when calling $(MAKE).
10464 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10466         Check sysheaders when looking for Mach and Hurd headers
10468         * sysdeps/mach/configure.ac: Add sysheaders check.
10469         * sysdeps/mach/configure: Regenerate.
10470         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10471         * sysdeps/mach/hurd/configure: Regenerate.
10473 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10475         [BZ #18921]
10476         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10477         Fix inverted sense of test of 'o_directory_works' value.
10478         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10479         Bernhard Voelker <mail@bernhard-voelker.de>.
10481 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10483         [BZ #14912]
10484         * bits/linkmap.h: Move to ...
10485         * sysdeps/generic/linkmap.h: ...here.
10486         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10487         * sysdeps/aarch64/linkmap.h: ...here.
10488         * sysdeps/arm/bits/linkmap.h: Move to ...
10489         * sysdeps/arm/linkmap.h: ...here.
10490         * sysdeps/hppa/bits/linkmap.h: Move to ...
10491         * sysdeps/hppa/linkmap.h: ...here.
10492         * sysdeps/ia64/bits/linkmap.h: Move to ...
10493         * sysdeps/ia64/linkmap.h: ...here.
10494         * sysdeps/mips/bits/linkmap.h: Move to ...
10495         * sysdeps/mips/linkmap.h: ...here.
10496         * sysdeps/s390/bits/linkmap.h: Move to ...
10497         * sysdeps/s390/linkmap.h: ...here.
10498         * sysdeps/sh/bits/linkmap.h: Move to ...
10499         * sysdeps/sh/linkmap.h: ...here.
10500         * sysdeps/x86/bits/linkmap.h: Move to ...
10501         * sysdeps/x86/linkmap.h: ...here.
10502         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
10504 2015-09-04  Andreas Schwab  <schwab@suse.de>
10506         [BZ #18635]
10507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10508         (__makecontext): Terminate FDE before return label.
10509         (__novec_makecontext): Likewise.
10511 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10513         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10514         first member of struct sv in syscall macro.
10516 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10518         [BZ #14912]
10519         * bits/stdio-lock.h: Move to ...
10520         * sysdeps/generic/stdio-lock.h: ...here.
10521         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10522         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10523         * sysdeps/nptl/stdio-lock.h: ...here.
10524         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10525         * include/libio.h: Include <stdio-lock.h> instead of
10526         <bits/stdio-lock.h>.
10527         * sysdeps/nptl/fork.c: Likewise.
10528         * sysdeps/pthread/flockfile.c: Likewise.
10529         * sysdeps/pthread/ftrylockfile.c: Likewise.
10530         * sysdeps/pthread/funlockfile.c: Likewise.
10532         [BZ #14912]
10533         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
10534         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
10535         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
10536         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
10537         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
10538         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10539         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
10541 2015-09-03  Roland McGrath  <roland@hack.frob.com>
10543         * elf/Makefile (test-xfail-tst-protected1a): New variable.
10544         (test-xfail-tst-protected1b): New variable.
10546 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
10548         [BZ #14912]
10549         * bits/libc-tsd.h: Move to ...
10550         * sysdeps/generic/libc-tsd.h: ...here.
10551         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
10552         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
10553         * sysdeps/mach/hurd/libc-tsd.h: ...here.
10554         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
10555         * include/ctype.h: Include <libc-tsd.h> instead of
10556         <bits/libc-tsd.h>.
10557         * include/rpc/rpc.h: Likewise.
10558         * locale/localeinfo.h: Likewise.
10559         * sunrpc/rpc_thread.c: Likewise.
10560         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10561         * sysdeps/nptl/malloc-machine.h: Likewise.
10563         * Makefile (headers): Remove bits/libc-lock.h.
10564         * libio/Makefile (headers): Remove bits/stdio-lock.h.
10566         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
10567         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
10568         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
10569         <bits/stdio-lock.h>.
10570         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
10571         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
10573 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10575         [BZ #18757]
10576         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
10577         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
10578         BZ #18757.
10580 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10582         * malloc/mtrace.pl: Filter out NULL entries.
10584 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
10586         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
10587         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
10588         macro.
10590         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
10591         (TCP_CC_INFO): Likewise.
10592         (TCP_SAVE_SYN): Likewise.
10593         (TCP_SAVED_SYN): Likewise.
10595 2015-08-31  Brett Neumeier <brett@neumeier.us>
10597         [BZ #18870]
10598         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
10600 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
10602         [BZ #18873]
10603         Fix broken overflow check in posix_fallocate
10604         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
10605         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10606         Fix parenthesization typo.
10608 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
10610         [BZ #18887]
10611         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
10612         tst-mntent-blank-passno.
10613         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
10614         * misc/tst-mntent-blank-corrupt.c: New test.
10615         * misc/tst-mntent-blank-passno.c: New test ripped from ...
10616         * misc/tst-mntent.c (do_test): ... here.
10618 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
10620         [BZ #4404]
10621         * po/de.po: Fix SIGALRM typo.
10623 2015-08-28  James Perkins  <james@loowit.net>
10625         * time/tst-strptime2.c (tests): Replace short list of test
10626         strings for strptime %z specifier with code which exhaustively
10627         tests every combination of sign and 0 to 5 digits. Tests for
10628         rejection of invalid strings.
10630 2015-08-28  James Perkins  <james@loowit.net>
10632         [BZ #16141]
10633         * time/strptime_l.c (__strptime_internal): Fix %z minutes
10634         calculation, removing incorrect decimal time rounding, so that
10635         all minute values result in a valid seconds value.
10636         * time/strptime_l.c (__strptime_internal): Extend %z time zone
10637         offset range limits to UTC-99:59 through UTC+99:59 to parse
10638         current and historical use cases.
10639         * time/tst-strptime2.c (tests): Modify and add tests for the
10640         strptime %z input field descriptor, specifically conversion of
10641         minutes to seconds and validating an offset range of -9959 to
10642         +9959.
10644 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10645             Dmitry V. Levin  <ldv@altlinux.org>
10647         [BZ #18877]
10648         * posix/Makefile (tests): Add tst-mmap-offset.
10649         * posix/tst-mmap.c: New file.
10650         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
10651         offset calculation for negative values.
10653 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10655         * sysdeps/i386/init-arch.h: New file.
10656         * sysdeps/i386/i586/init-arch.h: Likewise.
10657         * sysdeps/i386/i686/init-arch.h: Likewise.
10658         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
10659         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
10660         * sysdeps/x86/cpu-features.h (bit_I586): New.
10661         (bit_I686): Likewise.
10662         (bit_CX8): Likewise.
10663         (bit_CMOV): Likewise.
10664         (index_CX8): Likewise.
10665         (index_CMOV): Likewise.
10666         (index_I586): Likewise.
10667         (index_I686): Likewise.
10668         (reg_CX8): Likewise.
10669         (reg_CMOV): Likewise.
10670         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
10671         available at compile-time.
10672         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
10673         available at compile-time.
10674         * sysdeps/x86/init-arch.h (USE_I586): New macro.
10675         (USE_I686): Likewise.
10677 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10679         * sysdeps/i386/bcopy.S: New file.
10680         * sysdeps/i386/bzero.S: Likewise.
10681         * sysdeps/i386/memcpy.S: Likewise.
10682         * sysdeps/i386/memmove.S: Likewise.
10683         * sysdeps/i386/mempcpy.S: Likewise.
10684         * sysdeps/i386/memset.S: Likewise.
10685         * sysdeps/i386/bzero.c: Removed.
10686         * sysdeps/i386/memset.c: Likewise.
10687         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
10688         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
10689         * sysdeps/i386/i586/memset_chk.S: Likewise.
10690         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
10691         * sysdeps/i386/memcpy_chk.S: Here.
10692         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
10693         * sysdeps/i386/memmove_chk.S: Here.
10694         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
10695         * sysdeps/i386/mempcpy_chk.S: Likewise.
10696         * sysdeps/i386/i686/memset_chk.S: Moved to ...
10697         * sysdeps/i386/memset_chk.S: Likewise.
10699 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
10701         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
10702         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
10703         file, move DIAG_POP_NEEDS_COMMENT to end of file.
10704         * soft-fp/fmadf4.c: Ditto.
10705         * soft-fp/fmatf4.c: Ditto.
10707 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10709         * sysdeps/i386/i586/Implies: Removed.
10710         * sysdeps/i386/i686/Implies: Likewise.
10712 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10714         * sysdeps/i386/i486/strlen.S: Moved to ...
10715         * sysdeps/i386/strlen.S: Here.
10717 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10719         * sysdeps/i386/i486/strcat.S: Moved to ...
10720         * sysdeps/i386/strcat.S: Here.
10722 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10724         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
10725         * sysdeps/i386/pthread_spin_trylock.S: Here.
10726         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
10727         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
10729 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10731         * sysdeps/i386/i486/string-inlines.c: Moved to ...
10732         * sysdeps/i386/string-inlines.c: Here.
10734 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10736         * sysdeps/i386/i486/htonl.S: Moved ...
10737         * sysdeps/i386/htonl.S: here.
10739 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10741         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
10742         * sysdeps/i386/bits/atomic.h: Here.
10744 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10746         * sysdeps/i386/i486/Versions: Removed.
10748 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10750         [BZ #2898]
10751         * misc/mktemp.c: Add mkdtemp to the link_warning message.
10752         Based on patch by Aurelien Jarno.
10754 2015-08-26  Stan Shebs  <stanshebs@google.com>
10756         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
10757         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10759 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10761         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
10762         * sysdeps/powerpc/dl-procinfo.c:
10763         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
10764         feature so it shows when LD_SHOW_AUXV=1.
10766 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10768         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10769         (__arch_compare_and_exchange_val_32_acq): Remove and use common
10770         definition.  ISA 2.07B no longer requires full sync.
10772 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
10774         [BZ #18863]
10775         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
10776         (si_call_addr): Define.
10777         (si_syscall): Define.
10778         (si_arch): Define.
10780 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10782         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
10783         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
10784         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
10785         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10786         (__memset_zero_constant_len_parameter): New.
10787         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
10788         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10789         (__memset_zero_constant_len_parameter): Don't define if
10790         __memset_chk or USE_AS_BZERO are defined.
10792         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
10793         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
10794         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
10796         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
10797         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
10798         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
10799         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
10800         comments.
10801         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
10802         -mno-mmx for $(all-rtld-routines).
10803         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
10804         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
10805         i386.
10807 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10809         * sysdeps/generic/unwind.h
10810         (_Unwind_Word): Use __mode__(__unwind_word__)
10811         instead of __mode__(__word__).
10812         (_Unwind_Sword): Likewise.
10814         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10815         (MAX_NEEDED_INPUT): New define.
10816         (MAX_NEEDED_OUTPUT): New define.
10818         * NEWS: New item for IBM z13 string optimizations.
10820         * sysdeps/s390/multiarch/memrchr-c.c: New File.
10821         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
10822         * sysdeps/s390/multiarch/memrchr.c: Likewise.
10823         * sysdeps/s390/multiarch/Makefile
10824         (sysdep_routines): Add memrchr functions.
10825         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10826         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
10828         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
10829         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
10830         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
10831         * sysdeps/s390/multiarch/Makefile
10832         (sysdep_routines): Add wmemcmp functions.
10833         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10834         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
10835         * benchtests/bench-wmemcmp.c: New File.
10836         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
10838         * sysdeps/s390/multiarch/wmemset-c.c: New File.
10839         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
10840         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10841         * sysdeps/s390/multiarch/Makefile
10842         (sysdep_routines): Add wmemset functions.
10843         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10844         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
10845         * wcsmbs/wmemset.c: Use WMEMSET if defined.
10846         * string/test-memset.c: Add wmemset support.
10847         * wcsmbs/test-wmemset.c: New File.
10848         * wcsmbs/Makefile (strop-tests): Add wmemset.
10849         * benchtests/bench-memset.c: Add wmemset support.
10850         * benchtests/bench-wmemset.c: New File.
10851         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
10853         * sysdeps/s390/multiarch/memccpy-c.c: New File.
10854         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
10855         * sysdeps/s390/multiarch/memccpy.c: Likewise.
10856         * sysdeps/s390/multiarch/Makefile
10857         (sysdep_routines): Add memccpy functions.
10858         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10859         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
10860         * string/memccpy.c: Use MEMCCPY if defined.
10862         * sysdeps/s390/multiarch/memchr-vx.S: New File.
10863         * sysdeps/s390/multiarch/memchr.c: Likewise.
10864         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
10865         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
10866         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10867         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
10868         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
10869         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10870         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
10871         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
10872         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
10873         and rawmemchr functions.
10874         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10875         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
10876         and wmemchr.
10877         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
10878         * string/test-memchr.c: Add wmemchr support.
10879         * wcsmbs/test-wmemchr.c: New File.
10880         * wcsmbs/Makefile (strop-tests): Add wmemchr.
10881         * benchtests/bench-memchr.c: Add wmemchr support.
10882         * benchtests/bench-wmemchr.c: New File.
10883         * benchtests/Makefile (wcsmbs-bench): wmemchr.
10885         * sysdeps/s390/multiarch/strcspn-c.c: New File.
10886         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
10887         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10888         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
10889         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
10890         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
10891         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
10892         wcscspn functions.
10893         * sysdeps/s390/multiarch/ifunc-impl-list.c
10894         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
10895         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
10896         * string/test-strcspn.c: Add wcscspn support.
10897         * wcsmbs/test-wcscspn.c: New File.
10898         * wcsmbs/Makefile (strop-tests): Add wcscspn.
10899         * benchtests/bench-strcspn.c: Add wcscspn support.
10900         * benchtests/bench-wcscspn.c: New File.
10901         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
10903         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
10904         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
10905         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10906         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
10907         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
10908         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10909         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
10910         wcspbrk functions.
10911         * sysdeps/s390/multiarch/ifunc-impl-list.c
10912         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
10913         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
10914         * string/test-strpbrk.c: Add wcspbrk support.
10915         * wcsmbs/test-wcspbrk.c: New File.
10916         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
10917         * benchtests/bench-strpbrk.c: Add wcspbrk support.
10918         * benchtests/bench-wcspbrk.c: New File.
10919         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
10921         * sysdeps/s390/multiarch/strspn-c.c: New File.
10922         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
10923         * sysdeps/s390/multiarch/strspn.c: Likewise.
10924         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
10925         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
10926         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10927         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
10928         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
10929         wcsspn functions.
10930         * sysdeps/s390/multiarch/ifunc-impl-list.c
10931         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
10932         * string/test-strspn.c: Add wcsspn support.
10933         * wcsmbs/test-wcsspn.c: New File.
10934         * wcsmbs/Makefile (strop-tests): Add wcsspn.
10935         * benchtests/bench-strspn.c: Add wcsspn support.
10936         * benchtests/bench-wcsspn.c: New File.
10937         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
10939         * sysdeps/s390/multiarch/strrchr-c.c: New File.
10940         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
10941         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10942         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
10943         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
10944         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
10945         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
10946         wcsrchr functions.
10947         * sysdeps/s390/multiarch/ifunc-impl-list.c
10948         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
10949         * benchtests/bench-wcsrchr.c: New File.
10950         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
10952         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
10953         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
10954         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
10955         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
10956         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
10957         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
10958         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10959         wcschrnul functions.
10960         * sysdeps/s390/multiarch/ifunc-impl-list.c
10961         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
10962         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
10963         * string/test-strchr.c: Add wcschrnul support.
10964         * wcsmbs/test-wcschrnul.c: New File.
10965         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
10966         * benchtests/bench-strchr.c: Add wcschrnul support.
10967         * benchtests/bench-wcschrnul.c: New File.
10968         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
10970         * sysdeps/s390/multiarch/strchr-c.c: New File.
10971         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
10972         * sysdeps/s390/multiarch/strchr.c: Likewise.
10973         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
10974         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
10975         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10976         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
10977         wcschr functions.
10978         * sysdeps/s390/multiarch/ifunc-impl-list.c
10979         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
10980         * string/strchr.c (STRCHR): Define and use macro.
10981         * benchtests/bench-wcschr.c: New File.
10982         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
10984         * sysdeps/s390/multiarch/strncmp-c.c: New File.
10985         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
10986         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10987         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
10988         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
10989         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
10990         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
10991         wcsncmp functions.
10992         * sysdeps/s390/multiarch/ifunc-impl-list.c
10993         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
10994         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
10995         * benchtests/bench-strncmp.c: Add wcsncmp support.
10996         * benchtests/bench-wcsncmp.c: New File.
10997         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
10999         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
11000         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11001         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
11002         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
11003         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11004         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
11005         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
11006         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
11007         wcscmp functions.
11008         * sysdeps/s390/multiarch/ifunc-impl-list.c
11009         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
11010         * string/strcmp.c (STRCMP): Define and use macro.
11011         * benchtests/bench-wcscmp.c: New File.
11012         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
11013         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
11014         instead of _HAVE_STRING_ARCH_memchr.
11016         * sysdeps/s390/multiarch/strncat-c.c: New File.
11017         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
11018         * sysdeps/s390/multiarch/strncat.c: Likewise.
11019         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
11020         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
11021         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
11022         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
11023         wcsncat functions.
11024         * sysdeps/s390/multiarch/ifunc-impl-list.c
11025         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
11026         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
11027         * string/test-strncat.c: Add wcsncat support.
11028         * wcsmbs/test-wcsncat.c: New File.
11029         * wcsmbs/Makefile (strop-tests): Add wcsncat.
11030         * benchtests/bench-strncat.c: Add wcsncat support.
11031         * benchtests/bench-wcsncat.c: New File.
11032         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
11034         * sysdeps/s390/multiarch/strcat-c.c: New File.
11035         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
11036         * sysdeps/s390/multiarch/strcat.c: Likewise.
11037         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
11038         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
11039         * sysdeps/s390/multiarch/wcscat.c: Likewise.
11040         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
11041         wcscat functions.
11042         * sysdeps/s390/multiarch/ifunc-impl-list.c
11043         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
11044         * string/strcat.c (STRCAT): Define and use macro.
11045         * wcsmbs/wcscat.c: Use WCSCAT if defined.
11046         * string/test-strcat.c: Add wcscat support.
11047         * wcsmbs/test-wcscat.c: New File.
11048         * wcsmbs/Makefile (strop-tests): Add wcscat.
11049         * benchtests/bench-strcat.c: Add wcscat support.
11050         * benchtests/bench-wcscat.c: New File.
11051         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
11053         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
11054         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
11055         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11056         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
11057         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
11058         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
11059         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
11060         wcpncpy functions.
11061         * sysdeps/s390/multiarch/ifunc-impl-list.c
11062         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
11063         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
11064         * string/test-stpncpy.c: Add wcpncpy support.
11065         * wcsmbs/test-wcpncpy.c: New File.
11066         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
11067         * benchtests/bench-stpncpy.c: Add wcpncpy support.
11068         * benchtests/bench-wcpncpy.c: New File.
11069         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
11071         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
11072         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11073         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
11074         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
11075         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
11076         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
11077         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
11078         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11079         wcsncpy functions.
11080         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
11081         * sysdeps/s390/multiarch/ifunc-impl-list.c
11082         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
11083         * string/test-strncpy.c: Add wcsncpy support.
11084         * wcsmbs/test-wcsncpy.c: New File.
11085         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
11086         * benchtests/bench-strncpy.c: Add wcsncpy support.
11087         * benchtests/bench-wcsncpy.c: New File.
11088         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
11090         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
11091         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
11092         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11093         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
11094         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
11095         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
11096         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
11097         wcpcpy functions.
11098         * string/stpcpy.c: Use STPCPY if defined.
11099         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
11100         * sysdeps/s390/multiarch/ifunc-impl-list.c
11101         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
11102         * string/test-stpcpy.c: Add wcpcpy support.
11103         * wcsmbs/test-wcpcpy.c: New File.
11104         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
11105         * benchtests/bench-stpcpy.c: Add wcpcpy support.
11106         * benchtests/bench-wcpcpy.c: New File.
11107         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
11109         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
11110         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11111         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
11112         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
11113         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
11114         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
11115         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
11116         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
11117         wcscpy functions.
11118         * sysdeps/s390/multiarch/ifunc-impl-list.c
11119         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
11120         * benchtests/bench-wcscpy.c: New File.
11121         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
11123         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11124         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11125         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11126         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11127         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11128         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11129         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11130         wcsnlen functions.
11131         * sysdeps/s390/multiarch/ifunc-impl-list.c
11132         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11133         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11134         * string/test-strnlen.c: Add wcsnlen support.
11135         * wcsmbs/test-wcsnlen.c: New File.
11136         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11137         * benchtests/bench-strnlen.c: Add wcsnlen support.
11138         * benchtests/bench-wcsnlen.c: New File.
11139         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11141         * sysdeps/s390/multiarch/Makefile: New File.
11142         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11143         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11144         * sysdeps/s390/multiarch/strlen.c: Likewise.
11145         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11146         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11147         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11148         * string/strlen.c (STRLEN): Define and use macro.
11149         * sysdeps/s390/multiarch/ifunc-impl-list.c
11150         (IFUNC_VX_IMPL): New macro function.
11151         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11152         * benchtests/Makefile (wcsmbs-bench): New variable.
11153         (string-bench-all): Added wcsmbs-bench.
11154         * benchtests/bench-wcslen.c: New File.
11156         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11157         s390_vx_libc_ifunc2): New macro function.
11159         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11160         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11161         assembler support.
11162         * sysdeps/s390/configure: Regenerated.
11164         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11165         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11167         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11168         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11169         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11171         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11172         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11173         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11174         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11175         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11176         (memcmp, bcmp): Use __memcmp_default as alias source.
11177         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11178         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11179         Rename to __memcmp_default.
11180         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11181         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11182         (memcpy): Use __memcpy_default as alias source.
11183         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11184         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11185         Rename to __memcpy_default.
11186         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11187         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11188         (memset): Use __memset_default as alias source.
11189         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11190         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11191         Rename to __memset_default.
11192         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11193         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11194         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11195         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11196         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11197         (memcmp, bcmp): Use __memcmp_default as alias source.
11198         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11199         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11200         Rename to __memcmp_default.
11201         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11202         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11203         (memcpy): Use __memcpy_default as alias source.
11204         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11205         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11206         Rename to __memcpy_default.
11207         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11208         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11209         (memset): Use __memset_default as alias source.
11210         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11211         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11212         Rename to __memset_default.
11213         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11214         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11216         [BZ #18610]
11217         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11218         __ieee_instruction_pointer to __unused.
11219         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11220         __ieee_instruction_pointer.
11221         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11222         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11223         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11224         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11225         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11226         Mark dxc-field as reserved.
11228 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11230         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11231         if the weak reference is not null.
11233 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11235         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11237         [BZ #11214]
11238         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11240 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11242         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11243         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11244         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11245         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11246         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11247         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11248         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11249         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11250         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11251         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11252         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11253         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11254         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11255         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11256         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11257         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11258         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11259         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11261 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11263         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11264         register other than r0 for tabort, it has special meaning.
11265         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11266         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11267         transaction before starting syscall.
11269 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11271         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11273 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11275         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11277         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11278         * sysdeps/x86_64/rtld-memset.S: Likewise.
11279         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11280         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11281         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11282         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11284         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11286 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11288         * debug/strcpy_chk.c: Improve performance.
11289         * debug/stpcpy_chk.c: Likewise.
11290         * sysdeps/x86_64/strcpy_chk.S: Remove.
11291         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11293         [BZ #18240]
11294         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11296 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11298         [BZ #15128]
11299         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11300         ifuncmain8.
11301         (modules-names): Add ifuncmod8.
11302         ($(objpfx)ifuncmain8): New rule.
11303         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11304         <cpuid.h>.
11305         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11306         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11307         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11308         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11309         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11310         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11311         * sysdeps/x86_64/ifuncmain8.c: New file.
11312         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11313         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11314         Removed.
11315         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11316         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11317         Change rtld_savespace_sse to __glibc_unused2.
11318         (RTLD_CHECK_FOREIGN_CALL): Removed.
11319         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11320         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11321         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11323 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11325         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11327 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11329         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11330         Unconditionally set __fpcr to avoid uninialized warning.
11331         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11333 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11335         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11336         is corrupt.
11338         * malloc/arena.c (arena_get2): Drop unused argument.
11339         (arena_lock): Adjust.
11340         (arena_get_retry): Likewise.
11342 2015-08-24  Andreas Schwab  <schwab@suse.de>
11344         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11345         Don't define.
11346         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11347         (__ASSUME_IPC64): Don't undef.
11348         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11349         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11350         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11351         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11352         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11353         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11354         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11355         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11356         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11357         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11358         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11359         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11360         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11361         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11362         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11363         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11364         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11365         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11366         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11367         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11368         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11370 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11372         * manual/Makefile (install): Only build manual when perl is available.
11374 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11376         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11377         '#undef memcpy' by '#undef memchr'.
11379 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11381         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11382         memchr not point to the internal __GI_memchr implementation.
11384 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11386         * timezone/Makefile (CFLAGS-zdump.c): Remove
11387         -Wno-strict-prototypes.
11388         (CFLAGS-zic.c): Likewise.
11389         (CFLAGS-ialloc.c): Likewise.
11390         (CFLAGS-scheck.c): Likewise.
11392         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11393         -Wno-error=undef.
11395 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11397         * i386/i686/multiarch/strcasestr-c.c: Removed.
11398         * x86_64/multiarch/strcasestr.c: Likewise.
11399         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11400         Remove strcasestr.
11402 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11404         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11406         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11407         variables for high and low parts before possibly modifying them.
11409 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11411         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11412         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11413         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11414         of "multiarch/init-arch.h".
11415         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11416         * sysdeps/x86/init-arch.h: This.
11418 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11420         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11421         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11423 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11425         [BZ #17787]
11426         * manual/macros.texi: Add twoexp macro.
11427         * manual/filesys.texi: Fix exponents.
11428         * manual/llio.texi: Likewise.
11429         * manual/stdio.texi: Likewise.
11431 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11433         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11434         incorrect use.
11436 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11438         [BZ #18370]
11439         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11440         whose real or imaginary part has small absolute value.
11441         * math/s_csqrtf.c (__csqrtf): Likewise.
11442         * math/s_csqrtl.c (__csqrtl): Likewise.
11443         * math/auto-libm-test-in: Add more tests of csqrt.
11444         * math/auto-libm-test-out: Regenerated.
11445         * sysdeps/i386/fpu/libm-test-ulps: Update.
11447 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11449         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11450         __ppc_set_ppr_very_low): New functions.
11451         * manual/platform.texi: Add documentation about
11452         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11454 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11456         * string/stpncpy.c (stpncpy): Improve performance using
11457         __strnlen/memcpy/memset.
11459 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11461         [BZ #18796]
11462         * scripts/test-installation.pl: Don't add -lmvec to build options if
11463         libmvec wasn't built.
11465 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11467         [BZ #14341]
11468         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11469         case when there is a gap between DT_REL and DT_JMPREL sections.
11470         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11471         (LDFLAGS-tst-split-dynreloc): New.
11472         (tst-split-dynreloc-ENV): Likewise.
11473         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11474         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11476 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11478         [BZ #18822]
11479         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11480         attribute_hidden.
11481         (__xstat64_conv): Likewise.
11482         (__xstat32_conv): Likewise.
11484 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11486         [BZ #18822]
11487         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11488         Don't load %ebx when calling __setcontext.  Call __setcontext
11489         with HIDDEN_JUMPTARGET.
11490         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11491         libc_hidden_def.
11493 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11495         * sysdeps/i386/i686/Makefile
11496         [$(subdir) == string] (sysdep_routines): Moved to ...
11497         * sysdeps/i386/Makefile: Here.
11498         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
11499         * sysdeps/i386/cacheinfo.c: Here.
11500         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
11501         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
11502         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
11503         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
11505 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11507         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11508         __i586__ is defined.
11509         (HAS_I686): Defined to 1 if __i686__ is defined.
11511 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11513         * elf/Makefile [$(have-z-execstack) = yes]
11514         (CPPFLAGS-tst-execstack.c): New variable.
11516         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11517         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11518         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11519         UTMPX || _HAVE_UT_TV].
11520         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11521         UTMPX || _HAVE_UT_TV - 0].
11523 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11525         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11526         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11527         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
11529 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11531         * sysdeps/powerpc/dl-procinfo.c:
11532         (_dl_powerpc_cap_flags): Added missing strings for some
11533         hwcap features.
11534         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
11536 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
11538         Port the 0x7efe...feff pattern to GCC 6.
11539         See Steve Ellcey's bug report in:
11540         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
11541         * string/memrchr.c (MEMRCHR):
11542         * string/rawmemchr.c (RAWMEMCHR):
11543         * string/strchr.c (strchr):
11544         * string/strchrnul.c (STRCHRNUL):
11545         Rewrite code to avoid issues with signed shift overflow.
11547 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11549         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
11550         whether cpuid is available only if HAS_CPUID is 0.
11551         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
11552         (HAS_I586): Likewise.
11553         (HAS_I686): Likewise.
11555 2015-08-18  Zack Weinberg  <zackw@panix.com>
11557         * misc/Versions (libc): Add GLIBC_2.23.
11559 2015-08-18  Alan Modra  <amodra@gmail.com>
11561         [BZ #18421]
11562         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
11563         .Lp__global.
11564         (_start): Load %dp via .Lp__global.
11565         [!SHARED]: Use .section .rodata.
11567 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11569         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
11570         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
11572 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11574         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
11575         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
11577 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11579         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
11580         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
11582 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11584         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
11585         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
11587 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11589         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
11590         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
11592 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11594         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
11595         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
11597 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11599         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
11601 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11603         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
11604         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
11605         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11606         (__ASSUME_LWS_CAS): Delete.
11608 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11610         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
11611         * sysdeps/hppa/configure: Regenerated.
11612         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
11613         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
11614         * sysdeps/hppa/nptl/tls.h: Likewise.
11616 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
11618         [BZ #18823]
11619         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
11620         for scaling up small arguments.
11621         * math/s_csqrtf.c (__csqrtf): Likewise.
11622         * math/s_csqrtl.c (__csqrtl): Likewise.
11623         * math/auto-libm-test-in: Add more tests of csqrt.
11624         * math/auto-libm-test-out: Regenerated.
11626 2015-08-17  Andreas Schwab  <schwab@suse.de>
11628         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
11629         version set GLIBC_2.19.
11631 2015-08-16  Zack Weinberg  <zackw@panix.com>
11633         [BZ #18681]
11634         * misc/regexp.h: This interface is no longer supported.
11635         Remove all contents, leaving only an #error directive.
11636         * misc/regexp.c (loc1, loc2, locs, step, advance):
11637         Demote to compatibility symbols.
11639 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
11641         [BZ #18084]
11642         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
11643         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
11644         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11645         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
11646         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
11647         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
11648         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
11649         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
11650         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11652 2015-08-15  Zack Weinberg  <zackw@panix.com>
11654         [BZ #18795]
11655         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
11656         buffer length is known to be too large, not if it's known to be
11657         small enough.
11658         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
11659         overflow at runtime, involving a length parameter, twice: once
11660         with a compile-time constant length parameter, once without.
11662 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
11664         [BZ #18824]
11665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
11666         scaling x * y up instead of down.
11667         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11668         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11669         * math/auto-libm-test-in: Add more tests of fma.
11670         * math/auto-libm-test-out: Regenerated.
11672 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11674         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11676 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11678         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
11679         unnecessary movq.
11680         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
11681         Likewise.
11683 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
11685         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11686         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
11687         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
11688         and tgamma.
11689         * math/auto-libm-test-out: Regenerated.
11690         * sysdeps/i386/fpu/libm-test-ulps: Update.
11691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11693         [BZ #16520]
11694         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
11695         (__tanh): Force underflow exception for arguments with small
11696         absolute value.
11697         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
11698         (__tanhf): Force underflow exception for arguments with small
11699         absolute value.
11700         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
11701         (__tanhl): Force underflow exception for arguments with small
11702         absolute value.
11703         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
11704         (__tanhl): Force underflow exception for arguments with small
11705         absolute value.
11706         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
11707         (__tanhl): Force underflow exception for arguments with small
11708         absolute value.
11709         * math/auto-libm-test-in: Add more tests of tanh.
11710         * math/auto-libm-test-out: Regenerated.
11711         * sysdeps/i386/fpu/libm-test-ulps: Update.
11713 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11715         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
11716         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
11718 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11720         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
11721         <cpuid.h>.
11723 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11725         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
11726         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
11728 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11730         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
11731         Remove $(objpfx)init-arch.o.
11732         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
11733         init-arch.
11734         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
11735         (INIT_ARCH_EXT): Defined as empty.
11736         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
11737         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
11738         __init_cpu_features call.  Replace HAS_XXX with
11739         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11740         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
11741         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
11742         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
11743         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
11744         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11745         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
11746         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
11747         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11748         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
11749         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
11750         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11751         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
11752         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
11753         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11754         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
11755         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
11756         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11757         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11758         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
11759         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
11760         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11761         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
11762         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
11763         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11764         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
11765         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
11766         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11767         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
11768         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
11769         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11770         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
11771         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
11772         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11773         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
11774         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
11776 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11778         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
11779         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11780         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11781         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11782         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
11783         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
11784         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
11785         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
11786         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
11787         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
11788         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
11789         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
11790         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11791         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11792         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11793         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11794         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11795         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11796         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11797         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11798         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11799         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11800         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11801         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11802         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11803         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11804         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11805         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11806         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11807         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11808         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11809         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11810         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11811         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11812         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11813         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11814         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11815         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11816         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11817         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11818         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11819         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11820         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11822 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11824         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
11825         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11826         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11827         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11828         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11829         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
11830         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11831         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
11832         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11833         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11834         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11835         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
11836         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
11837         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
11838         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
11839         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
11840         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
11841         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
11842         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
11843         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
11844         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11845         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
11846         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
11847         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11848         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11849         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
11850         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
11851         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
11852         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11853         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11854         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11855         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11856         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11857         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11858         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11859         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11860         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11861         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11862         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11863         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11864         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11865         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11866         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11868 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11870         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
11871         (dl_platform_init): Call init_cpu_features.
11872         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
11873         * sysdeps/i386/i686/cacheinfo.c
11874         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
11875         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
11876         * sysdeps/i386/i686/multiarch/Versions: Removed.
11877         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
11878         Removed.
11879         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
11880         * sysdeps/unix/sysv/linux/x86/Makefile
11881         (libpthread-sysdep_routines): Remove init-arch.
11882         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
11883         <sysdeps/x86_64/dl-procinfo.c> instead of
11884         sysdeps/generic/dl-procinfo.c>.
11885         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
11886         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
11887         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
11888         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
11889         [$(subdir) == elf] (tests-static): Add
11890         tst-get-cpu-features-static.
11891         * sysdeps/x86/Versions: New file.
11892         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
11893         * sysdeps/x86/cpu-features.c: Likewise.
11894         * sysdeps/x86/cpu-features.h: Likewise.
11895         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
11896         * sysdeps/x86/libc-start.c: Likewise.
11897         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11898         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
11899         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
11900         * sysdeps/x86_64/dl-procinfo.c: Likewise.
11901         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
11902         Assume USE_MULTIARCH is defined and don't check it.
11903         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
11904         (is_amd): Likewise.
11905         (max_cpuid): Likewise.
11906         (intel_check_word): Likewise.
11907         (__cache_sysconf): Don't call __init_cpu_features.
11908         (__x86_preferred_memory_instruction): Removed.
11909         (init_cacheinfo): Don't call __init_cpu_features. Replace
11910         __cpu_features with GLRO(dl_x86_cpu_features).
11911         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
11912         (dl_platform_init): Call init_cpu_features.
11913         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
11914         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
11915         * sysdeps/x86_64/multiarch/Versions: Removed.
11916         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
11917         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
11918         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
11919         Removed.
11920         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
11922 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11924         [BZ #18820]
11925         * libio/Makefile (test-fmemopen-mem): New test.
11926         * libio/test-fmemopen.c (do_bz18820): New test.
11927         * libio/fmemopen.c (__fmemopen): Fix memory leak.
11928         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
11930 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11932         [BZ #16734]
11933         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
11934         (FREE_BUF): Delete.
11935         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
11936         * libio/genops.c (_IO_setb): Use malloc and free directly.
11937         (_IO_default_doallocate, _IO_default_finish): Likewise.
11938         ( _IO_unbuffer_all): Likewise.
11939         ( libc_freeres_fn): Likewise.
11940         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11941         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11942         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
11943         (_IO_wdefault_doallocate): Likewise.
11945 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11947         [BZ #18086]
11948         * sysdeps/posix/nice.c (nice): Restore old errno.
11949         * posix/tst-nice.c (do_test): Add test for BZ #18086.
11951 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
11953         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
11955 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11957         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
11958         __bcopy and add a weak_alias to bcopy.
11959         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
11960         for static build.
11962         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
11963         cleanup macro usage.
11964         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
11965         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
11966         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11967         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
11968         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11969         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
11970         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
11971         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11972         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11973         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
11974         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11975         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
11976         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11977         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
11978         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11979         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
11980         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
11981         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
11982         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11984         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
11985         libc_hidden_def.
11986         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
11988         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
11989         (sysdep_routines): Add strstr-ppc64.
11990         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
11992 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
11994         [BZ #18778]
11995         * elf/Makefile (tests): Add Add tst-nodelete2.
11996         (modules-names): Add tst-nodelete2mod.
11997         (tst-nodelete2mod.so-no-z-defs): New.
11998         ($(objpfx)tst-nodelete2): Likewise.
11999         ($(objpfx)tst-nodelete2.out): Likewise.
12000         (LDFLAGS-tst-nodelete2): Likewise.
12001         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
12002         out of loop through all loaded libraries.
12003         * elf/tst-nodelete2.c: New file.
12004         * elf/tst-nodelete2mod.c: Likewise.
12005         * elf/tst-znodelete-zlib.cc: Delete.
12007 2015-08-11  Andreas Schwab  <schwab@suse.de>
12009         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
12010         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
12011         (__openat64_nocancel): Likewise.
12013 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
12015         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
12016         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
12017         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
12018         * math/auto-libm-test-out: Regenerated.
12019         * sysdeps/i386/fpu/libm-test-ulps: Update.
12020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12022 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12024         [BZ #18790]
12025         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
12026         threshold for returning +/- 1.
12027         * math/auto-libm-test-in: Add more tests of tanh.
12028         * math/auto-libm-test-out: Regenerated.
12029         * sysdeps/i386/fpu/libm-test-ulps: Update.
12031 2015-08-10  Andreas Schwab  <schwab@suse.de>
12033         [BZ #18781]
12034         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
12035         MORE_OFLAGS to oflag.
12036         * io/test-lfs.c (do_test): Test openat64.
12038 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12040         [BZ #18789]
12041         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
12042         smaller threshold for returning the argument.
12043         * math/auto-libm-test-in: Add more tests of sinh.
12044         * math/auto-libm-test-out: Regenerated.
12045         * sysdeps/i386/fpu/libm-test-ulps: Update.
12047 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12049         [BZ #18674]
12050         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
12051         break.
12053 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12055         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
12056         (generated): Don't add $(addprefix z.,$(tzfiles)).
12058 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12060         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
12061         * scripts/sysd-rules.awk: Likewise.
12063 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12065         * iconvdata/tst-tables.sh: Change echo -n to printf.
12066         * nss/db-Makefile: Likewise.
12067         * posix/tst-getconf.sh: Likewise.
12068         * stdio-common/tst-unbputc.sh: Likewise.
12070 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12072         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
12073         MADV_*_PAGES defines behind this feature check.
12075 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
12077         [BZ #18480]
12078         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
12079         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
12080         Define.
12081         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
12082         LOAD_REGS_5, LOAD_REGS_6): Update.
12083         (INTERNAL_SYSCALL): Update using new LOAD defines.
12084         (INTERNAL_SYSCALL_NCS): Likewise.
12085         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
12087 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12089         [BZ #16734]
12090         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
12092 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12094         [BZ #17905]
12095         * catgets/Makefile (tst-catgets-mem): New test.
12096         * catgets/catgets.c (catopen): Don't use unbounded alloca.
12097         * catgets/open_catalog.c (__open_catalog): Likewise.
12098         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
12100 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
12102         [BZ #18787]
12103         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
12104         clobber registers.
12105         (atomic_compare_and_exchange_val_acq): Use register asms to assign
12106         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
12107         Cast return to __typeof (oldval).
12109 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
12111         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
12112         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
12113         and delete sys/syscall.h include.
12115 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
12117         [BZ #16517]
12118         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
12119         (tan): Force underflow exception for arguments with small absolute
12120         value.
12121         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
12122         (__kernel_tanf): Force underflow exception for arguments with
12123         small absolute value.
12124         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12125         (__kernel_tanl): Force underflow exception for arguments with
12126         small absolute value.
12127         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12128         (__kernel_tanl): Force underflow exception for arguments with
12129         small absolute value.
12130         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12131         (__kernel_tanl): Force underflow exception for arguments with
12132         small absolute value.
12133         * math/auto-libm-test-in: Add more tests of tan.
12134         * math/auto-libm-test-out: Regenerated.
12136 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12138         Fix sysdeps/i386/fpu/s_scalbn.S build
12140         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12142 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12144         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12146 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12148         Fix gcrt0.o compilation
12150         When static-start-installed-name is different from
12151         start-installed-name, we must not use the shared objects.
12153         * csu/Makefile
12154         (extra-objs): Add gmon-start.o when building shared library and
12155         $(static-start-installed-name) is different from
12156         $(start-installed-name).
12157         $(objpfx)g$(static-start-installed-name): When building shared
12158         library and $(static-start-installed-name) is different from
12159         $(static-start-installed-name), revert to non-shared rule,
12160         i.e. using $(objpfx)% and gmon-start.o.
12162 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12164         [BZ #16519]
12165         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12166         (__ieee754_sinh): Force underflow exception for arguments with
12167         small absolute value.
12168         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12169         (__ieee754_sinhf): Force underflow exception for arguments with
12170         small absolute value.
12171         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12172         (__ieee754_sinhl): Force underflow exception for arguments with
12173         small absolute value.
12174         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12175         (__ieee754_sinhl): Force underflow exception for arguments with
12176         small absolute value.
12177         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12178         (__ieee754_sinhl): Force underflow exception for arguments with
12179         small absolute value.
12180         * math/auto-libm-test-in: Add more tests of sinh.
12181         * math/auto-libm-test-out: Regenerated.
12182         * sysdeps/i386/fpu/libm-test-ulps: Update.
12184 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12186         * libio/oldfileops.c: Include unistd.h.
12188 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12190         * stdlib/isomac.c: Include ctype.h.
12192 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12194         * dirent/tst-seekdir.c (main): Converted to ...
12195         (do_test): ... this.
12196         (TEST_FUNCTION): New macro.
12197         Include test-skeleton.c.
12198         * elf/tst-dlmodcount.c (main): Converted to ...
12199         (do_test): ... this.
12200         (TEST_FUNCTION): New macro.
12201         Include test-skeleton.c.
12202         * elf/tst-order-main.c (main): Converted to ...
12203         (do_test): ... this.
12204         (TEST_FUNCTION): New macro.
12205         Include test-skeleton.c.
12206         * elf/tst-pie2.c (main): Converted to ...
12207         (do_test): ... this.
12208         (TEST_FUNCTION): New macro.
12209         Include test-skeleton.c.
12210         * inet/tst-ether_aton.c (main): Converted to ...
12211         (do_test): ... this.
12212         (TEST_FUNCTION): New macro.
12213         Include test-skeleton.c.
12214         * misc/tst-mntent.c (main): Converted to ...
12215         (do_test): ... this.
12216         (TEST_FUNCTION): New macro.
12217         Include test-skeleton.c.
12218         * misc/tst-tsearch.c (main): Converted to ...
12219         (do_test): ... this.
12220         (TEST_FUNCTION): New macro.
12221         Include test-skeleton.c.
12222         * posix/tst-regexloc.c (main): Converted to ...
12223         (do_test): ... this.
12224         (TEST_FUNCTION): New macro.
12225         Include test-skeleton.c.
12226         * resolv/tst-aton.c (main): Converted to ...
12227         (do_test): ... this.
12228         (TEST_FUNCTION): New macro.
12229         Include test-skeleton.c.
12230         * stdio-common/test-fwrite.c (main): Converted to ...
12231         (do_test): ... this.
12232         (TEST_FUNCTION): New macro.
12233         Include test-skeleton.c.
12234         * stdio-common/tst-ferror.c (main): Converted to ...
12235         (do_test): ... this.
12236         (TEST_FUNCTION): New macro.
12237         Include test-skeleton.c.
12238         * stdio-common/tst-printf.c (main): Converted to ...
12239         (do_test): ... this.
12240         (TEST_FUNCTION): New macro.
12241         Include test-skeleton.c.
12242         * stdio-common/tst-printfsz.c (main): Converted to ...
12243         (do_test): ... this.
12244         (TEST_FUNCTION): New macro.
12245         Include test-skeleton.c.
12246         * stdlib/tst-strtod.c (main): Converted to ...
12247         (do_test): ... this.
12248         (TEST_FUNCTION): New macro.
12249         Include test-skeleton.c.
12250         * string/tst-strlen.c (main): Converted to ...
12251         (do_test): ... this.
12252         (TEST_FUNCTION): New macro.
12253         Include test-skeleton.c.
12254         * string/tst-svc.c (main): Converted to ...
12255         (do_test): ... this.
12256         (TEST_FUNCTION): New macro.
12257         Include test-skeleton.c.
12258         * time/tst-strptime.c (main): Converted to ...
12259         (do_test): ... this.
12260         (TEST_FUNCTION): New macro.
12261         Include test-skeleton.c.
12262         * timezone/tst-timezone.c (main): Converted to ...
12263         (do_test): ... this.
12264         (TEST_FUNCTION): New macro.
12265         Include test-skeleton.c.
12267 2015-08-05  Zack Weinberg  <zackw@panix.com>
12269         * misc/regexp.h: Update comments.
12271 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12273         [BZ #18635]
12274         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12275         before return label.
12277 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12279         [BZ #18661]
12280         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12281         when calling __errno_location.
12282         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12283         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12285 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12287         [BZ #18661]
12288         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12289         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12290         __gettimeofday.
12292 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12294         [BZ #18661]
12295         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12296         (__start_context): Don't use pop to restore %rdi so that stack
12297         is aligned to 16 bytes when calling __setcontext.
12299 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12301         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12302         only for libc.
12303         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12305 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12307         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12308         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12309         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12311 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12313         * string/memccpy.c (memccpy):
12314         Improve performance by using memchr/memcpy/__mempcpy.
12316 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12318         * string/strncpy.c (strncpy):
12319         Improve performance by using __strnlen/memcpy.
12321 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12323         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12324         Optimize to avoid an unnecessary FPCR read.
12326 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12328         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12329         Optimize to reduce FPCR/FPSR accesses.
12331 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12333         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12334         dead->data[category] != NULL.
12336 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12338         [BZ #18647]
12339         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12340         and |x| close to 1, use absolute value of x when computing log.
12341         * math/auto-libm-test-in: Add more tests of pow.
12342         * math/auto-libm-test-out: Regenerated.
12344 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12346         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12347         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12348         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12350 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12352         [BZ #18525]
12353         * locales/km_KH: Remove timezone definition.
12354         * locales/lo_LA: Likewise.
12355         * locales/my_MM: Likewise.
12356         * locales/nan_TW@latin: Likewise.
12357         * locales/th_TH: Likewise.
12358         * locales/uk_UA: Likewise.
12360 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12362         [BZ #18265]
12363         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12364         (wcsncat): Likewise.
12365         (wcscmp): Likewise.
12366         (wcsncmp): Likewise.
12368 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12370         * test-skeleton.c (usage): New function.
12371         (main): Call usage when opt is '?'.
12373 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12375         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12376         before first use.
12378 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12380         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12381         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12382         in there too.
12384 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12386         * version.h (RELEASE): Set to "development".
12387         (VERSION): Set to "2.22.90"
12389         * version.h (RELEASE): Set to "stable".
12390         (VERSION): Set to "2.22"
12391         * include/features.h (__GLIBC_MINOR__): Set to 22.
12393 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12395         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12396         Restructure macro to avoid "value computed is not used" warning.
12397         (atomic_compare_and_exchange_val_acq): Likewise.
12399 2015-08-04  Andreas Schwab  <schwab@suse.de>
12401         [BZ #18635]
12402         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12403         ret.
12404         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12406 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12408         * po/pl.po: Updated translation.
12409         * po/uk.po: Likewise.
12410         * po/fi.po: Likewise.
12411         * po/ko.po: Likewise.
12412         * po/ru.po: Likewise.
12413         * po/vi.po: Likewise.
12415 2015-07-31  Zack Weinberg  <zackw@panix.com>
12417         [BZ #18681]
12418         * regexp.h: Add unconditional #warning stating that this header
12419         will be removed soon.  Revise banner comment to match.
12420         (compile): Consistently use ERROR instead of RETURN to report
12421         errors (partial fix for bz#18681).
12422         * regexp.c: Don't include regexp.h. Remove some unnecessary
12423         declarations.
12425 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12427         * po/libc.pot: Regenerated.
12429 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12431         [BZ #18740]
12432         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12433         float-vlen4-arch-ext-cflags): Removed.
12434         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12435         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12437 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12439         [BZ #14113]
12440         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12441         aligned to __aligned__.
12442         (pthread_cond_t, pthread_rwlock_t): Likewise.
12444 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12446         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12448 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12450         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12451         (struct sigaction): Change sa_flags from a long to an int, and add
12452         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12454 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12456         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12457         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12458         sysdeps/generic/sysdep.h include.
12459         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12460         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12461         sysdeps/hppa/sysdep.h.
12462         (ENTRY, PSEUDO): Undefine before defining.
12464 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12466         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12467         from scratch to use INTERNAL_SYSCALL.
12469 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12471         [BZ #18078]
12472         * scripts/check-localplt.awk: Support alternate relocations.
12473         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12474         sections.
12475         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12476         malloc entries with + REL R_386_GLOB_DAT.
12477         * sysdeps/x86_64/localplt.data: New file.
12479 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12481         [BZ #18731]
12482         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12483         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12484         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12486 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12488         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12490 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12492         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
12493         directly in terms of __sync_fetch_and_add and delete (int) cast.
12495 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12497         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
12498         the -D_ASM_IA64_CURRENT_H flag.
12500 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12502         [BZ #18641]
12503         * pwd/pwd.h (putpwent): Delete __nonnull markings.
12505 2015-07-27  Andreas Schwab  <schwab@suse.de>
12507         * conform/conformtest.pl (checknamespace): Filter out string
12508         literals while tokenizing.
12510 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12512         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12513         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12514         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12516 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12518         * nptl/tst-join7mod.c: Add #include <string.h>.
12520 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12522         * sysdeps/nios2/libm-test-ulps: Update.
12524 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12526         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12527         Fix order of arguments to the rt_sigprocmask syscall.
12528         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
12529         Likewise.
12531 2015-07-24  Roland McGrath  <roland@hack.frob.com>
12533         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
12535 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12537         [BZ #18457]
12538         * nptl/Makefile (tests): New test case tst-join7.
12539         (modules-names): New test case module tst-join7mod.
12540         * nptl/tst-join7.c: New file.
12541         * nptl/tst-join7mod.c: New file.
12542         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
12543         all translation units in libc.so, libpthread.so and rtld.
12545 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12549 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12551         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
12552         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12553         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12554         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12555         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12556         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12557         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12558         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12559         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12560         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12561         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12562         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12563         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
12564         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
12565         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
12566         implementation.
12568 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12570         [BZ #17711]
12571         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12572         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
12573         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12574         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12575         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
12576         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12578 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12580         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
12581         instead of just saying load lock in the comments.
12583 2015-07-23  Roland McGrath  <roland@hack.frob.com>
12585         * sysdeps/unix/Subdirs: Moved ...
12586         * sysdeps/posix/Subdirs: ... here.
12587         * login/pty.h (struct termios, struct winsize): Add forward decls.
12588         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
12589         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
12590         * sysdeps/arm/nacl/libc.abilist: Updated.
12591         * sysdeps/nacl/libutil.abilist: New file.
12593         * bits/signum.h: Update comments to mention 1003.1-2013 too.
12594         (SIGWINCH): New macro.
12596         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
12597         * sysdeps/arm/nacl/libc.abilist: Add it.
12599 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12601         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
12603 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12605         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12606         Swap __glibc_reserved0 and sa_flags order.
12608 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12610         [BZ #18657]
12611         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
12612         are pending TLS destructor calls.
12613         * include/link.h (struct link_map): Add concurrency note for
12614         L_TLS_DTOR_COUNT.
12615         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12616         Don't touch the link map flag.  Atomically increment
12617         l_tls_dtor_count.
12618         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
12619         Avoid taking the load lock and don't touch the link map flag.
12620         * stdlib/tst-tls-atexit-nodelete.c: New test case.
12621         * stdlib/Makefile (tests): Use it.
12622         * stdlib/tst-tls-atexit.c (do_test): dlopen
12623         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
12624         to allow tst-tls-atexit-nodelete test case to use it.
12626 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12628         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
12629         to bits/types.h.
12630         (msgqnum_t): New typedef.
12631         (msglen_t): Likewise.
12632         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
12633         and msg_qbytes type to msglen_t.
12635 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12637         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
12638         pad0 to __glibc_reserved0.
12639         (struct stat64): Likewise.
12641 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12643         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12644         Change sa_flags from a long to an int and add __glibc_reserved0 before
12645         it for padding.
12647 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12649         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
12650         anonymous by deleting "siginfo" name.
12652 2015-07-21  Roland McGrath  <roland@hack.frob.com>
12654         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
12655         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
12656         rather than __nacl_irt_filename.
12657         * sysdeps/nacl/xstat.c (__xstat): Likewise.
12659         * NEWS: New item for arm-nacl port.
12660         * sysdeps/arm/nacl/libc.abilist: New file.
12661         * sysdeps/nacl/ld.abilist: New file.
12662         * sysdeps/nacl/libBrokenLocale.abilist: New file.
12663         * sysdeps/nacl/libanl.abilist: New file.
12664         * sysdeps/nacl/libcrypt.abilist: New file.
12665         * sysdeps/nacl/libdl.abilist: New file.
12666         * sysdeps/nacl/libm.abilist: New file.
12667         * sysdeps/nacl/libpthread.abilist: New file.
12668         * sysdeps/nacl/libresolv.abilist: New file.
12669         * sysdeps/nacl/librt.abilist: New file.
12671 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
12673         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
12674         __startcontext to initialize the new context.
12675         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
12676         up CFI directive to forbid further backtracing.
12678 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
12680         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
12681         reference.
12682         * charmaps/ANSI_X3.4-1968: Likewise.
12683         * charmaps/BS_4730: Likewise.
12684         * charmaps/BS_VIEWDATA: Likewise.
12685         * charmaps/CP1250: Likewise.
12686         * charmaps/CP1251: Likewise.
12687         * charmaps/CP1252: Likewise.
12688         * charmaps/CP1253: Likewise.
12689         * charmaps/CP1254: Likewise.
12690         * charmaps/CP1255: Likewise.
12691         * charmaps/CP1256: Likewise.
12692         * charmaps/CSN_369103: Likewise.
12693         * charmaps/EBCDIC-DK-NO: Likewise.
12694         * charmaps/GB_1988-80: Likewise.
12695         * charmaps/GREEK-CCITT: Likewise.
12696         * charmaps/GREEK7: Likewise.
12697         * charmaps/INIS-8: Likewise.
12698         * charmaps/ISIRI-3342: Likewise.
12699         * charmaps/ISO_2033-1983: Likewise.
12700         * charmaps/ISO_5427-EXT: Likewise.
12701         * locales/POSIX: Likewise.
12702         * locales/ar_SA: Likewise.
12703         * locales/be_BY: Likewise.
12704         * locales/be_BY@latin: Likewise.
12705         * locales/ca_ES: Likewise.
12706         * locales/cs_CZ: Likewise.
12707         * locales/da_DK: Likewise.
12708         * locales/de_BE: Likewise.
12709         * locales/de_CH: Likewise.
12710         * locales/de_LU: Likewise.
12711         * locales/en_AU: Likewise.
12712         * locales/en_BW: Likewise.
12713         * locales/en_CA: Likewise.
12714         * locales/en_DK: Likewise.
12715         * locales/en_GB: Likewise.
12716         * locales/en_IE: Likewise.
12717         * locales/en_NZ: Likewise.
12718         * locales/en_ZA: Likewise.
12719         * locales/en_ZW: Likewise.
12720         * locales/es_AR: Likewise.
12721         * locales/es_BO: Likewise.
12722         * locales/es_CL: Likewise.
12723         * locales/es_CO: Likewise.
12724         * locales/es_DO: Likewise.
12725         * locales/es_EC: Likewise.
12726         * locales/es_ES: Likewise.
12727         * locales/es_HN: Likewise.
12728         * locales/es_MX: Likewise.
12729         * locales/es_PA: Likewise.
12730         * locales/es_PE: Likewise.
12731         * locales/es_PY: Likewise.
12732         * locales/es_SV: Likewise.
12733         * locales/es_US: Likewise.
12734         * locales/es_UY: Likewise.
12735         * locales/es_VE: Likewise.
12736         * locales/et_EE: Likewise.
12737         * locales/fa_IR: Likewise.
12738         * locales/fo_FO: Likewise.
12739         * locales/fr_CA: Likewise.
12740         * locales/fr_CH: Likewise.
12741         * locales/gv_GB: Likewise.
12742         * locales/he_IL: Likewise.
12743         * locales/hr_HR: Likewise.
12744         * locales/id_ID: Likewise.
12745         * locales/is_IS: Likewise.
12746         * locales/it_CH: Likewise.
12747         * locales/iw_IL: Likewise.
12748         * locales/kl_GL: Likewise.
12749         * locales/ko_KR: Likewise.
12750         * locales/kw_GB: Likewise.
12751         * locales/lg_UG: Likewise.
12752         * locales/lt_LT: Likewise.
12753         * locales/lv_LV: Likewise.
12754         * locales/mi_NZ: Likewise.
12755         * locales/nhn_MX: Likewise.
12756         * locales/nl_BE: Likewise.
12757         * locales/pl_PL: Likewise.
12758         * locales/sk_SK: Likewise.
12759         * locales/sl_SI: Likewise.
12760         * locales/sv_FI: Likewise.
12761         * locales/tl_PH: Likewise.
12762         * locales/tr_TR: Likewise.
12763         * locales/vi_VN: Likewise.
12765 2015-07-21  Khem Raj  <raj.khem@gmail.com>
12767         [BZ #17475]
12768         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
12769         of tu_IN and bh_IN.
12771 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
12773         [BZ #18694]
12774         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
12775         bits/wordsize.h.
12776         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
12778 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12780         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
12781         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
12782         (spawn_thread): New function.
12783         (load): Rename to reg_dtor_and_close.  Move dlopen to...
12784         (do_test): ... here.  Use IS_LOADED to test for its
12785         availability.
12787 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
12789         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12791 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
12793         [BZ #18696]
12794         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
12795         si_addr_bnd.
12796         (si_lower): New.
12797         (si_upper): Likewise.
12799 2015-07-16  David S. Miller  <davem@davemloft.net>
12801         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12803 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12805         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
12806         buffer.
12807         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
12808         fail output information.
12810 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
12813         and strstr-ppc64..
12814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12815         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
12816         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
12817         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
12818         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
12820 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12822         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12823         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12824         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12825         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12827 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12829         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12830         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
12831         rtld_hidden_proto.
12832         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
12834 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12836         * tst-nodelete-opened.c (do_test): Add comment to clarify how
12837         the test can fail.
12839         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
12841         [BZ #18676]
12842         * elf/tst-nodelete-opened.c: New test case.
12843         * elf/tst-nodelete-opened-lib.c: New test case module.
12844         * elf/Makefile (tests, modules-names): Use them.
12845         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
12846         early.
12848 2015-07-15  David S. Miller  <davem@davemloft.net>
12850         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
12851         futex-intenal.h
12852         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
12853         * sysdeps/sparc/sparc64/Makefile: Likewise.
12854         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12855         Remove space from macro define.
12856         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
12858 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
12860         [BZ #17475]
12861         * locale/iso-639.def: Update Bhili and Tulu language codes as
12862         per iso639-3.
12864 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
12866         * elf/tst-leaks1.c (main): Converted to ...
12867         (do_test): ... this.
12868         (TEST_FUNCTION): New macro.
12869         Include test-skeleton.c.
12870         * localedata/tst-langinfo.c (main): Converted to ...
12871         (do_test): ... this.
12872         (TEST_FUNCTION): New macro.
12873         Include test-skeleton.c.
12874         * math/test-fpucw.c (main): Converted to ...
12875         (do_test): ... this.
12876         (TEST_FUNCTION): New macro.
12877         Include test-skeleton.c.
12878         * math/test-tgmath.c (main): Converted to ...
12879         (do_test): ... this.
12880         (TEST_FUNCTION): New macro.
12881         Include test-skeleton.c.
12882         * math/test-tgmath2.c (main): Converted to ...
12883         (do_test): ... this.
12884         (TEST_FUNCTION): New macro.
12885         Include test-skeleton.c.
12886         * setjmp/tst-setjmp.c (main): Converted to ...
12887         (do_test): ... this.
12888         (TEST_FUNCTION): New macro.
12889         Include test-skeleton.c.
12890         * stdio-common/tst-sscanf.c (main): Converted to ...
12891         (do_test): ... this.
12892         (TEST_FUNCTION): New macro.
12893         Include test-skeleton.c.
12894         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
12895         (do_test): ... this.
12896         (TEST_FUNCTION): New macro.
12897         Include test-skeleton.c.
12899         * elf/tst-audit9.c (main): Converted to ...
12900         (do_test): ... this.
12901         (TEST_FUNCTION): New macro.
12902         Include test-skeleton.c.
12904 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
12906         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
12908 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12910         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
12911         New variable.
12913 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12915         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12917 2015-07-14  Roland McGrath  <roland@hack.frob.com>
12919         * sysdeps/generic/dl-fileid.h: New file.
12920         * sysdeps/posix/dl-fileid.h: New file.
12921         * sysdeps/nacl/dl-fileid.h: New file.
12922         * include/link.h: Include <dl-fileid.h>.
12923         (struct link_map): Replace l_dev and l_ino with l_file_id.
12924         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
12925         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
12926         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
12928 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12930         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
12932 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12934         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
12935         Add iff $CXX is set.
12936         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
12937         Likewise.
12938         (tst-nodelete-zmodiff): Likewise.
12939         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
12941 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12943         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
12945 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12947         * sysdeps/aarch64/fpu/math_private.h
12948         (define math_opt_barrier): Add AArch64 version.
12949         (math_force_eval): Likewise.
12951 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12953         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
12955 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12957         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
12958         %ld with %jd and cast to intmax_t.
12959         (do_test_length_zero): Likewise.
12961 2015-07-10  Roland McGrath  <roland@hack.frob.com>
12963         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
12965 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
12967         * sysdeps/tile/libm-test-ulps: Regenerated.
12969         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
12970         Comment out the whole function, not just its body.
12972 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12974         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
12975         locks.
12977         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
12979 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12981         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
12982         (sem_assume_only_signals_cause_futex_EINTR): Remove.
12984 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12986         * sysdeps/nptl/futex-internal.h: New file.
12987         * sysdeps/nacl/futex-internal.h: New file.
12988         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
12989         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
12990         error checking.
12991         (setxid_unmark_thread): Likewise.
12992         (__nptl_setxid): Likewise.
12993         (__wait_lookup_done): Likewise.
12994         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12995         * nptl/nptl-init.c (sighandler_setxid): Likewise.
12996         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
12997         * nptl/pthread_once.c (clear_once_control): Likewise.
12998         (__pthread_once_slow): Likewise.
12999         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13000         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
13001         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
13002         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13003         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
13004         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
13005         Likewise.
13006         (__pthread_rwlock_rdlock): Likewise.
13007         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13008         Likewise.
13009         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13010         Likewise.
13011         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13012         Likewise.
13013         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
13014         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
13015         Likewise.
13016         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
13017         __ASSUME_PRIVATE_FUTEX check.
13018         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
13019         Check that shared futexes are supported.
13020         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
13021         wrappers with error checking.
13022         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
13023         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
13024         * nptl/pthread_barrierattr_setpshared.c
13025         (pthread_barrierattr_setpshared): Check that shared futexes are
13026         supported.
13027         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
13028         Likewise.
13029         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
13030         Likewise.
13031         * nptl/sem_init.c (futex_private_if_supported): Remove.
13032         (__new_sem_init): Adapt and check that shared futexes are supported.
13033         * nptl/sem_open.c (sem_open): Likewise.
13034         * nptl/sem_post.c (futex_wake): Remove.
13035         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
13036         (do_futex_wait): Use futex wrappers with error checking.
13037         * nptl/sem_wait.c: Include lowlevellock.h.
13038         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
13039         Use futex_supports_pshared.
13040         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
13041         Use futex wrappers with error checking.
13042         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
13043         Likewise.
13044         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
13045         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
13046         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
13047         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
13048         (futex_wake): Likewise.
13049         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
13050         (do_futex_wait): Use futex wrappers with error checking.
13051         (__new_sem_wait_slow): Update EINTR handling.
13052         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
13054 2015-07-09  Martin Sebor  <msebor@redhat.com>
13056         [BZ #18435]
13057         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13058         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
13059         * nptl/Makefile (test-xfail-tst-once5): Define.
13061 2015-07-09  Roland McGrath  <roland@hack.frob.com>
13063         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
13064         * elf/dl-minimal.c: For readability, reorder some definitions and
13065         introduce more page breaks.  Include <stdio.h>.
13066         (__libc_fatal): New function.
13068         * include/unistd.h: Add rtld_hidden_proto for _exit.
13069         * posix/_exit.c: Add rtld_hidden_def.
13070         * sysdeps/mach/hurd/_exit.c: Likewise.
13071         * sysdeps/nacl/_exit.c: Likewise.
13072         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
13073         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
13075 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
13077         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13078         bndmov encoding with zero displacement.
13080 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13081             H.J. Lu  <hongjiu.lu@intel.com>
13083         [BZ #18134]
13084         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
13085         * sysdeps/i386/configure: Regenerated.
13086         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13087         (_dl_runtime_profile): Save and restore Intel MPX return bound
13088         registers when calling _dl_call_pltexit.  Add
13089         PRESERVE_BND_REGS_PREFIX before return.
13090         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
13091         (LRV_BND1_OFFSET): Likewise.
13092         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
13093         lrv_bnd1.
13094         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
13095         typo in bndmov encoding.
13096         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
13097         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
13098         branch instructions to preserve bounds.
13100 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13103         [GLIBC_2.22]: Add fmemopen.
13105 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13107         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
13108         returns an error, also try to use host port from __mach_host_self for
13109         the __vm_wire call.
13110         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
13112 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13114         [BZ #18400]
13115         [BZ #18648]
13116         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
13117         Fix pr_uid and pr_gid members.
13118         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
13119         definition to elf_greg_t.
13121 2015-07-08  Roland McGrath  <roland@hack.frob.com>
13123         [BZ #18383]
13124         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13125         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13126         * sysdeps/arm/configure: Regenerated.
13127         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13128         (test-xfail-tst-tlsalign-static): Variable removed.
13130         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13131         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13132         rather than explicit 'ln -s'.
13134         * resolv/rpc/netdb.h: New file.
13135         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13137 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13139         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13140         length buffers.
13141         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13142         test-skeleton.c.
13144         [BZ #6544]
13145         [BZ #11216]
13146         [BZ #12836]
13147         [BZ #13151]
13148         [BZ #13152]
13149         [BZ #14292]
13150         * include/stdio.h (fmemopen): Remove hidden prototype.
13151         (__fmemopen): Add new hidden prototype.
13152         * libio/Makefile: Add oldfmemopen object.
13153         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13154         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13155         compliance.
13156         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13157         symbol compatibility.
13158         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13159         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13160         fmemopen.
13161         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13162         on append and read mode.
13163         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13164         fmemopen.
13165         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13166         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13167         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13168         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13169         Likewise.
13170         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13171         [GLIBC_2.22]: Likewise.
13172         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13175         Likewise.
13176         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13177         [GLIBC_2.22]: Likewise.
13178         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13179         [GLIBC_2.22]: Likewise.
13180         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13181         [GLIBC_2.22]: Likewise.
13182         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13183         [GLIBC_2.22]: Likewise.
13184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13185         [GLIBC_2.22]: Likewise.
13186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13187         [GLIBC_2.22]: Likewise.
13188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13189         [GLIBC_2.22]: Likewise.
13190         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13191         Likewise.
13192         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13193         Likewise.
13194         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13195         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13196         [GLIBC_2.22]: Likewise.
13197         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13198         [GLIBC_2.22]: Likewise.
13199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13200         [GLIBC_2.22]: Likewise.
13201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13202         [GLIBC_2.22]: Likewise.
13203         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13204         Likewise.
13205         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13206         Likewise.
13207         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13208         Likewise.
13209         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13210         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13212 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13214         [BZ #18643]
13215         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13216         IPV6_PATHMTU, and IPV6_DONTFRAG.
13218 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13220         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13221         and _IO_UNBUFFERED.
13222         * libio/oldfileops.c: Likewise.
13223         * libio/wfileops.c: Likewise.
13225 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13227         * nscd/selinux.c: Delete selinux/flask.h include.
13229 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13231         [BZ #18641]
13232         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13233         (putpwent): Likewise.
13234         (getpwnam): Likewise.
13235         (getpwent_r): Likewise.
13236         (getpwuid_r): Likewise.
13237         (getpwnam_r): Likewise.
13238         (fgetpwent_r): Likewise.
13240 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13242         [BZ #18557]
13243         * inet/rcmd.c (__validuser2_sa): Check user first to
13244         short-circuit host check.
13246 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13247             Mikhail Ilin  <m.ilin@samsung.com>
13249         [BZ #17833]
13250         * elf/Makefile (tests): Add tst-nodelete.
13251         (modules-names): Add tst-nodelete-uniquemod.
13252         (tst-nodelete-uniquemod.so-no-z-defs): New.
13253         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13254         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13255         ($(objpfx)tst-nodelete): Likewise.
13256         ($(objpfx)tst-nodelete.out): Likewise.
13257         (LDFLAGS-tst-nodelete): Likewise.
13258         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13259         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13260         implement forced object deletion.
13261         (_dl_close): Pass false to _dl_close_worker.
13262         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13263         * elf/tst-nodelete.cc: New file.
13264         * elf/tst-nodeletelib.cc: Likewise.
13265         * elf/tst-znodeletelib.cc: Likewise.
13266         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13268 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13270         [BZ #18508]
13271         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13272         Depend on $(libdl).
13273         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13274         is not called infinitely times.
13275         (backtrace_helper): New function.
13276         (trace_arg): New struct.
13277         (st1): Enlarge stack size.
13278         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13279         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13280         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13281         Likewise.
13283 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13285         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13287 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13289         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13290         Include sys/types.h instead of bits/types.h.
13291         Remove inclusion of bits/wordsize.h.
13293 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13295         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13296         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13297         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13298         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13299         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13300         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13302 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13304         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13305         link-defines.sym.
13306         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13307         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13308         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13309         and LR_SIZE.
13310         * sysdeps/i386/link-defines.sym: New file.
13312 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13314         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13315         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13316         ($(objpfx)tst-audit3): New rule.
13317         ($(objpfx)tst-audit3.out): Likewise.
13318         * sysdeps/i386/tst-audit3.c: New file.
13319         * sysdeps/i386/tst-audit3.h: Likewise.
13320         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13321         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13323 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13325         [BZ #18633]
13326         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13327         pointer in C code.
13328         (__strcat_c): Likewise.
13329         (__strcat_g): Likewise.
13331 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13333         [BZ #18592]
13334         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13336 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13338         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13339         New function.  (__ieee754_sqrtf): New function.
13340         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13341         New function.
13342         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13343         New function.
13345 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13347         * sysdeps/ieee754/support.c: Remove unused file.
13349 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13351         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13352         registers instead of d ones so the layout is kernel abi compatible.
13353         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13354         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13355         Likewise.
13357 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13359         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13361 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13363         [BZ #18619]
13364         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13365         and return argument in case of subnormal argument.
13367 2015-07-01  Martin Sebor  <msebor@redhat.com>
13369         [BZ #18435]
13370         * nptl/Makefile: Add tst-once5.cc.
13371         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13372         Remove macro redefinitions.
13373         * nptl/tst-once5.cc: New test.
13375 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13377         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13379         * sysdeps/arm/libm-test-ulps: Regenerated.
13381         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13382         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13384 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13386         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13387         lll_lock_wait_private and lll_futex_wake probes.
13389         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13390         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13391         Likewise.
13392         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13393         atomic_spin_nop.
13394         * sysdeps/x86_64/bits/atomic.h: Likewise.
13395         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13396         to atomic_spin_nop and move ...
13397         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13398         ... here and ...
13399         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13400         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13401         atomic_spin_nop instead of BUSY_WAIT_NOP.
13402         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13403         Likewise.
13404         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13405         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13406         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13407         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13408         instead of atomic_delay.
13410 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13412         [BZ #18613]
13413         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13414         X_ADJ not X when adjusting exponent.
13415         (__ieee754_gamma_r): Do intermediate computations in
13416         round-to-nearest then adjust overflowing and underflowing results
13417         as needed.
13418         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13419         of X_ADJ not X when adjusting exponent.
13420         (__ieee754_gammaf_r): Do intermediate computations in
13421         round-to-nearest then adjust overflowing and underflowing results
13422         as needed.
13423         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13424         log of X_ADJ not X when adjusting exponent.
13425         (__ieee754_gammal_r): Do intermediate computations in
13426         round-to-nearest then adjust overflowing and underflowing results
13427         as needed.  Use 1.0L not 1.0f as numerator of division.
13428         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13429         log of X_ADJ not X when adjusting exponent.
13430         (__ieee754_gammal_r): Do intermediate computations in
13431         round-to-nearest then adjust overflowing and underflowing results
13432         as needed.  Use 1.0L not 1.0f as numerator of division.
13433         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13434         of X_ADJ not X when adjusting exponent.
13435         (__ieee754_gammal_r): Do intermediate computations in
13436         round-to-nearest then adjust overflowing and underflowing results
13437         as needed.  Use 1.0L not 1.0f as numerator of division.
13438         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13439         to auto-libm-test-in.
13440         (tgamma_test): Use ALL_RM_TEST.
13441         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13442         tests of tgamma with spurious-overflow.
13443         * math/auto-libm-test-out: Regenerated.
13444         * math/gen-libm-have-vector-test.sh: Do not check for START.
13445         * sysdeps/i386/fpu/libm-test-ulps: Update.
13446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13448         [BZ #18612]
13449         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13450         arguments, just return 0.5 times the argument, with underflow
13451         forced as needed.
13452         * math/auto-libm-test-in: Add more tests of j1.
13453         * math/auto-libm-test-out: Regenerated.
13455         [BZ #16559]
13456         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13457         (__ieee754_j1): Force underflow exception for small results.
13458         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13459         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13460         (__ieee754_j1f): Force underflow exception for small results.
13461         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13462         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13463         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13464         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13465         (__ieee754_j1l): Force underflow exception for small results.
13466         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13467         * math/auto-libm-test-in: Add more tests of j1 and jn.
13468         * math/auto-libm-test-out: Regenerated.
13470         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13471         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13472         (PF_MPLS): Likewise.
13473         (AF_IB): Likewise.
13474         (AF_MPLS): Likewise.
13475         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13476         value and macro.
13477         (MS_RMT_MASK): Include MS_LAZYTIME.
13479 2015-06-26  Mel Gorman  <mgorman@suse.de>
13481         [BZ #18502]
13482         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13483         already minimal.
13485 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13487         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13488         (DT_MIPS_NUM): Update.
13489         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13490         DT_MIPS_RLD_MAP_REL.
13492 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
13494         [BZ #16559]
13495         [BZ #18602]
13496         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13497         round-to-nearest internally then recompute results that
13498         underflowed to zero in the original rounding mode.
13499         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13500         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13501         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13502         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13503         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13504         * sysdeps/i386/fpu/libm-test-ulps: Update.
13505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13507 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13509         * NEWS: Fixed description of link with vector math library.
13511 2015-06-25  Andreas Schwab  <schwab@suse.de>
13513         [BZ #18549]
13514         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13515         * libio/test-fmemopen.c (do_test): Add test for it.
13517 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13519         [BZ #17841]
13520         * Makeconfig (no-pie-ldflag): New.
13521         (+link): Set to $(+link-pie) if default to PIE.
13522         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13523         * config.make.in (build-pie-default): New.
13524         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13525         is default.  AC_SUBST.
13526         * configure: Regenerated.
13527         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13529 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13531         * nptl/descr.h (struct pthread): Change type of field setxid_futex
13532         to 'unsigned int'.
13534         * resolv/gai_misc.h (struct waitlist): Change type of field
13535         counterp to 'volatile unsigned int *'.
13536         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
13537         FUTEXADDR and OLDVAL.
13538         * resolv/getaddrinfo_a.c (getaddrinfo_a):
13539         Give local variable TOTAL type 'volatile unsigned int'.
13540         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13541         * resolv/gai_suspend.c (gai_suspend):
13542         Give local variable CNTR type 'unsigned int'.
13544         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
13545         counterp to 'volatile unsigned int *'.
13546         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
13547         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
13548         (aio_suspend): Give local variable CNTR type 'unsigned int'.
13549         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
13550         Give local variable TOTAL type 'volatile unsigned int'.
13551         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13553 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13555         [BZ #18383]
13556         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
13557         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
13558         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
13559         comment for i386/x86-64.
13560         (test-xfail-tst-tlsalign-extern-static): Removed.
13562 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13564         * math/test-double.h: New file.
13565         * math/test-float.h: Likewise.
13566         * math/test-ldouble.h: Likewise.
13567         * math/test-math-inline.h: Likewise.
13568         * math/test-math-no-inline.h: Likewise.
13569         * math/test-math-scalar.h: Likewise.
13570         * math/test-math-vector.h: Likewise.
13571         * math/test-vec-loop.h: Remove file.  Contents moved into
13572         test-math-vector.h.
13573         * math/libm-test.inc (MATHCONST): Do not document macro.
13574         * math/test-double.c: Include test-double.h, test-math-no-inline.h
13575         and test-math-scalar.h.
13576         (FUNC): Remove macro.
13577         (FUNC_TEST): Likewise.
13578         (FLOAT): Likewise.
13579         (MATHCONST): Likewise.
13580         (PRINTF_EXPR): Likewise.
13581         (PRINTF_XEXPR): Likewise.
13582         (PRINTF_NEXPR): Likewise.
13583         (TEST_DOUBLE): Likewise.
13584         (TEST_MATHVEC): Likewise.
13585         (__NO_MATH_INLINES): Likewise.
13586         * math/test-float.c: Include test-float.h, test-math-no-inline.h
13587         and test-math-scalar.h.
13588         (FUNC): Remove macro.
13589         (FUNC_TEST): Likewise.
13590         (FLOAT): Likewise.
13591         (MATHCONST): Likewise.
13592         (PRINTF_EXPR): Likewise.
13593         (PRINTF_XEXPR): Likewise.
13594         (PRINTF_NEXPR): Likewise.
13595         (TEST_FLOAT): Likewise.
13596         (TEST_MATHVEC): Likewise.
13597         (__NO_MATH_INLINES): Likewise.
13598         * math/test-idouble.c: Include test-double.h, test-math-inline.h
13599         and test-math-scalar.h.
13600         (FUNC): Remove macro.
13601         (FUNC_TEST): Likewise.
13602         (FLOAT): Likewise.
13603         (MATHCONST): Likewise.
13604         (PRINTF_EXPR): Likewise.
13605         (PRINTF_XEXPR): Likewise.
13606         (PRINTF_NEXPR): Likewise.
13607         (TEST_DOUBLE): Likewise.
13608         (TEST_MATHVEC): Likewise.
13609         (TEST_INLINE): Likewise.
13610         (__NO_MATH_INLINES): Likewise.
13611         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
13612         test-math-scalar.h.
13613         (FUNC): Remove macro.
13614         (FUNC_TEST): Likewise.
13615         (FLOAT): Likewise.
13616         (MATHCONST): Likewise.
13617         (PRINTF_EXPR): Likewise.
13618         (PRINTF_XEXPR): Likewise.
13619         (PRINTF_NEXPR): Likewise.
13620         (TEST_FLOAT): Likewise.
13621         (TEST_MATHVEC): Likewise.
13622         (TEST_INLINE): Likewise.
13623         (__NO_MATH_INLINES): Likewise.
13624         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
13625         and test-math-scalar.h.
13626         (FUNC): Remove macro.
13627         (FUNC_TEST): Likewise.
13628         (FLOAT): Likewise.
13629         (MATHCONST): Likewise.
13630         (PRINTF_EXPR): Likewise.
13631         (PRINTF_XEXPR): Likewise.
13632         (PRINTF_NEXPR): Likewise.
13633         (TEST_LDOUBLE): Likewise.
13634         (TEST_MATHVEC): Likewise.
13635         (TEST_INLINE): Likewise.
13636         (__NO_MATH_INLINES): Likewise.
13637         * math/test-ldouble.c: Include test-ldouble.h,
13638         test-math-no-inline.h and test-math-scalar.h.
13639         (FUNC): Remove macro.
13640         (FUNC_TEST): Likewise.
13641         (FLOAT): Likewise.
13642         (MATHCONST): Likewise.
13643         (PRINTF_EXPR): Likewise.
13644         (PRINTF_XEXPR): Likewise.
13645         (PRINTF_NEXPR): Likewise.
13646         (TEST_LDOUBLE): Likewise.
13647         (TEST_MATHVEC): Likewise.
13648         (__NO_MATH_INLINES): Likewise.
13649         * math/test-double-vlen2.h: Include test-double.h,
13650         test-math-no-inline.h and test-math-vector.h.
13651         (FLOAT): Remove macro.
13652         (FUNC): Likewise.
13653         (MATHCONST): Likewise.
13654         (PRINTF_EXPR): Likewise.
13655         (PRINTF_XEXPR): Likewise.
13656         (PRINTF_NEXPR): Likewise.
13657         (TEST_DOUBLE): Likewise.
13658         (TEST_MATHVEC): Likewise.
13659         (__NO_MATH_INLINES): Likewise.
13660         (CNCT): Likewise.
13661         (CONCAT): Likewise.
13662         (WRAPPER_NAME): Likewise.
13663         (WRAPPER_DECL): Likewise.
13664         (WRAPPER_DECL_ff): Likewise.
13665         (WRAPPER_DECL_fFF): Likewise.
13666         (VECTOR_WRAPPER): Likewise.
13667         (VECTOR_WRAPPER_ff): Likewise.
13668         (VECTOR_WRAPPER_fFF): Likewise.
13669         (VEC_LEN): New macro.
13670         * math/test-double-vlen4.h: Include test-double.h,
13671         test-math-no-inline.h and test-math-vector.h.
13672         (FLOAT): Remove macro.
13673         (FUNC): Likewise.
13674         (MATHCONST): Likewise.
13675         (PRINTF_EXPR): Likewise.
13676         (PRINTF_XEXPR): Likewise.
13677         (PRINTF_NEXPR): Likewise.
13678         (TEST_DOUBLE): Likewise.
13679         (TEST_MATHVEC): Likewise.
13680         (__NO_MATH_INLINES): Likewise.
13681         (CNCT): Likewise.
13682         (CONCAT): Likewise.
13683         (WRAPPER_NAME): Likewise.
13684         (WRAPPER_DECL): Likewise.
13685         (WRAPPER_DECL_ff): Likewise.
13686         (WRAPPER_DECL_fFF): Likewise.
13687         (VECTOR_WRAPPER): Likewise.
13688         (VECTOR_WRAPPER_ff): Likewise.
13689         (VECTOR_WRAPPER_fFF): Likewise.
13690         (VEC_LEN): New macro.
13691         * math/test-double-vlen8.h: Include test-double.h,
13692         test-math-no-inline.h and test-math-vector.h.
13693         (FLOAT): Remove macro.
13694         (FUNC): Likewise.
13695         (MATHCONST): Likewise.
13696         (PRINTF_EXPR): Likewise.
13697         (PRINTF_XEXPR): Likewise.
13698         (PRINTF_NEXPR): Likewise.
13699         (TEST_DOUBLE): Likewise.
13700         (TEST_MATHVEC): Likewise.
13701         (__NO_MATH_INLINES): Likewise.
13702         (CNCT): Likewise.
13703         (CONCAT): Likewise.
13704         (WRAPPER_NAME): Likewise.
13705         (WRAPPER_DECL): Likewise.
13706         (WRAPPER_DECL_ff): Likewise.
13707         (WRAPPER_DECL_fFF): Likewise.
13708         (VECTOR_WRAPPER): Likewise.
13709         (VECTOR_WRAPPER_ff): Likewise.
13710         (VECTOR_WRAPPER_fFF): Likewise.
13711         (VEC_LEN): New macro.
13712         * math/test-float-vlen4.h: Include test-float.h,
13713         test-math-no-inline.h and test-math-vector.h.
13714         (FLOAT): Remove macro.
13715         (FUNC): Likewise.
13716         (MATHCONST): Likewise.
13717         (PRINTF_EXPR): Likewise.
13718         (PRINTF_XEXPR): Likewise.
13719         (PRINTF_NEXPR): Likewise.
13720         (TEST_FLOAT): Likewise.
13721         (TEST_MATHVEC): Likewise.
13722         (__NO_MATH_INLINES): Likewise.
13723         (CNCT): Likewise.
13724         (CONCAT): Likewise.
13725         (WRAPPER_NAME): Likewise.
13726         (WRAPPER_DECL): Likewise.
13727         (WRAPPER_DECL_ff): Likewise.
13728         (WRAPPER_DECL_fFF): Likewise.
13729         (VECTOR_WRAPPER): Likewise.
13730         (VECTOR_WRAPPER_ff): Likewise.
13731         (VECTOR_WRAPPER_fFF): Likewise.
13732         (VEC_LEN): New macro.
13733         * math/test-float-vlen8.h: Include test-float.h,
13734         test-math-no-inline.h and test-math-vector.h.
13735         (FLOAT): Remove macro.
13736         (FUNC): Likewise.
13737         (MATHCONST): Likewise.
13738         (PRINTF_EXPR): Likewise.
13739         (PRINTF_XEXPR): Likewise.
13740         (PRINTF_NEXPR): Likewise.
13741         (TEST_FLOAT): Likewise.
13742         (TEST_MATHVEC): Likewise.
13743         (__NO_MATH_INLINES): Likewise.
13744         (CNCT): Likewise.
13745         (CONCAT): Likewise.
13746         (WRAPPER_NAME): Likewise.
13747         (WRAPPER_DECL): Likewise.
13748         (WRAPPER_DECL_ff): Likewise.
13749         (WRAPPER_DECL_fFF): Likewise.
13750         (VECTOR_WRAPPER): Likewise.
13751         (VECTOR_WRAPPER_ff): Likewise.
13752         (VECTOR_WRAPPER_fFF): Likewise.
13753         (VEC_LEN): New macro.
13754         * math/test-float-vlen16.h: Include test-float.h,
13755         test-math-no-inline.h and test-math-vector.h.
13756         (FLOAT): Remove macro.
13757         (FUNC): Likewise.
13758         (MATHCONST): Likewise.
13759         (PRINTF_EXPR): Likewise.
13760         (PRINTF_XEXPR): Likewise.
13761         (PRINTF_NEXPR): Likewise.
13762         (TEST_FLOAT): Likewise.
13763         (TEST_MATHVEC): Likewise.
13764         (__NO_MATH_INLINES): Likewise.
13765         (CNCT): Likewise.
13766         (CONCAT): Likewise.
13767         (WRAPPER_NAME): Likewise.
13768         (WRAPPER_DECL): Likewise.
13769         (WRAPPER_DECL_ff): Likewise.
13770         (WRAPPER_DECL_fFF): Likewise.
13771         (VECTOR_WRAPPER): Likewise.
13772         (VECTOR_WRAPPER_ff): Likewise.
13773         (VECTOR_WRAPPER_fFF): Likewise.
13774         (VEC_LEN): New macro.
13775         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
13776         test-vec-loop.h.
13777         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13778         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13779         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13780         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13781         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13782         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13783         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13785 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13787         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
13788         (__getlogin_r): ... this.
13790 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13792         [BZ #18594]
13793         * math/s_ccosh.c (__ccosh): Compare with least normal value
13794         instead of comparing class with FP_SUBNORMAL.
13795         * math/s_ccoshf.c (__ccoshf): Likewise.
13796         * math/s_ccoshl.c (__ccoshl): Likewise.
13797         * math/s_cexp.c (__cexp): Likewise.
13798         * math/s_cexpf.c (__cexpf): Likewise.
13799         * math/s_cexpl.c (__cexpl): Likewise.
13800         * math/s_csin.c (__csin): Likewise.
13801         * math/s_csinf.c (__csinf): Likewise.
13802         * math/s_csinh.c (__csinh): Likewise.
13803         * math/s_csinhf.c (__csinhf): Likewise.
13804         * math/s_csinhl.c (__csinhl): Likewise.
13805         * math/s_csinl.c (__csinl): Likewise.
13806         * math/s_ctan.c (__ctan): Likewise.
13807         * math/s_ctanf.c (__ctanf): Likewise.
13808         * math/s_ctanh.c (__ctanh): Likewise.
13809         * math/s_ctanhf.c (__ctanhf): Likewise.
13810         * math/s_ctanhl.c (__ctanhl): Likewise.
13811         * math/s_ctanl.c (__ctanl): Likewise.
13812         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
13813         csin, csinh, ctan and ctanh.
13814         * math/auto-libm-test-out: Regenerated.
13815         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
13816         * sysdeps/i386/fpu/libm-test-ulps: Update.
13817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13819 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13821         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
13822         return value is wrong, print the expected value too.
13824 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13826         [BZ #18585]
13827         * elf/readlib.c (is_gdb_python_file): New.
13828         (process_file): Don't issue errors on filenames with -gdb.py
13829         suffix.
13831 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13833         * math/auto-libm-test-in: Add more tests of csin and csinh.
13834         * math/auto-libm-test-out: Regenerated.
13835         * math/libm-test.inc (csin_test_data): Remove tests moved to
13836         auto-libm-test-in.
13837         (csinh_test_data): Likewise.
13839         [BZ #18593]
13840         * math/s_csin.c (__csin): Negate before rather than after possibly
13841         overflowing multiplication.
13842         * math/s_csinf.c (__csinf): Likewise.
13843         * math/s_csinh.c (__csinh): Likewise.
13844         * math/s_csinhf.c (__csinhf): Likewise.
13845         * math/s_csinhl.c (__csinhl): Likewise.
13846         * math/s_csinl.c (__csinl): Likewise.
13847         * math/auto-libm-test-in: Add some tests of csin and csinh.
13848         * math/auto-libm-test-out: Regenerated.
13849         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
13850         (csinh_test_data): Likewise.
13851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13853         [BZ #18586]
13854         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
13855         underflow exception for small results.
13857 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13859         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13860         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
13861         variable and included header.
13862         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
13863         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
13864         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
13865         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
13866         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
13867         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13868         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13869         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
13870         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
13871         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
13872         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
13873         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
13874         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
13875         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
13876         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
13877         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
13879 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13881         [BZ #16526]
13882         [BZ #16538]
13883         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
13884         (__sin): Force underflow exception for arguments with small
13885         absolute value.
13886         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
13887         (__kernel_sinf): Force underflow exception for arguments with
13888         small absolute value.
13889         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
13890         (__kernel_sincosl): Force underflow exception for arguments with
13891         small absolute value.
13892         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
13893         (__kernel_sinl): Force underflow exception for arguments with
13894         small absolute value.
13895         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
13896         (__kernel_sincosl): Force underflow exception for arguments with
13897         small absolute value.
13898         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
13899         (__kernel_sinl): Force underflow exception for arguments with
13900         small absolute value.
13901         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
13902         (__kernel_sinl): Force underflow exception for arguments with
13903         small absolute value.
13904         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
13905         (__kernel_sinf): Force underflow exception for arguments with
13906         small absolute value.
13907         * math/auto-libm-test-in: Add more tests of sin and sincos.
13908         * math/auto-libm-test-out: Regenerated.
13910         [BZ #18245]
13911         [BZ #18583]
13912         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
13913         (__kernel_standard_l): Use feholdexcept and fesetenv around
13914         conversion to double instead of special-casing overflow and
13915         underflow.
13916         * math/libm-test.inc (fmod_test_data): Add more tests.
13917         (remainder_test_data): Likewise.
13918         (sqrt_test_data): Likewise.
13920 2015-06-23  Torvald Riegel  <triegel@redhat.com>
13922         [BZ #17403]
13923         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
13924         atomic_read_barrier, atomic_write_barrier): Define.
13925         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
13926         atomic_read_barrier, atomic_write_barrier): Define.
13928 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13930         * math/Makefile [$(PERL) != no]
13931         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
13932         dependency on libm-test.stmp below the inclusion of Rules.
13934 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
13936         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13937         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
13938         and included header.
13939         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
13940         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
13941         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
13942         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
13943         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
13944         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
13945         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13946         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13947         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
13948         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
13949         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
13950         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
13951         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
13952         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
13953         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
13954         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
13955         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
13956         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
13957         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
13959 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13961         [BZ #18371]
13962         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
13963         intermediate but not final result might underflow.
13964         * math/s_csqrtf.c (__csqrtf): Likewise.
13965         * math/s_csqrtl.c (__csqrtl): Likewise.
13966         * math/auto-libm-test-in: Add more tests of csqrt.
13967         * math/auto-libm-test-out: Regenerated.
13968         * sysdeps/i386/fpu/libm-test-ulps: Update.
13970         [BZ #18219]
13971         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
13972         threshold on absolute value of exponent for which scaling is used.
13973         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13974         * math/auto-libm-test-in: Add more tests of exp2.
13975         * math/auto-libm-test-out: Regenerated.
13977 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
13979         [BZ #17977]
13980         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
13981         when initializing interface list, based on the bug analysis
13982         and the patch proposed by Eric Newton.
13983         * resolv/tst-res_hconf_reorder.c: New test.
13984         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
13985         tst-res_hconf_reorder.
13986         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
13987         and $(shared-thread-library).
13988         (tst-res_hconf_reorder-ENV): New variable.
13990         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
13991         in comment.
13993 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
13995         [BZ #16353]
13996         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
13997         (__expm1): Force underflow exception for arguments with small
13998         absolute value.
13999         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
14000         (__expm1f): Force underflow exception for arguments with small
14001         absolute value.
14002         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
14003         (__expm1): Force underflow exception for arguments with small
14004         absolute value.
14005         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
14006         (__expm1f): Force underflow exception for arguments with small
14007         absolute value.
14008         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14009         Check for small arguments before calling __expm1.
14010         * math/auto-libm-test-in: Do not mark underflow exceptions as
14011         possibly missing for bug 16353.
14012         * math/auto-libm-test-out: Regenerated.
14014 2015-06-22  Andreas Schwab  <schwab@suse.de>
14016         [BZ #18513]
14017         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
14018         PTR queries.
14020 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
14022         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
14024         * string/strcoll_l.c: Remove unused struct element idxnow.
14026 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
14028         [BZ #18569]
14029         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
14030         underflow and return argument in case of subnormal argument.
14031         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14032         Likewise.
14033         * math/auto-libm-test-in: Add more tests of expm1.
14034         * math/auto-libm-test-out: Regenerated.
14036         [BZ #16361]
14037         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14038         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14039         tiny results.
14040         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14041         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14042         tiny results.
14043         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
14044         mark underflow exceptions as possibly missing for bug 16361.
14045         * math/auto-libm-test-out: Regenerated.
14047 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
14049         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
14050         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
14051         Remove variable.
14052         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14053         (test-xfail-XOPEN2K8/utmpx.h/conform).
14055         * conform/conformtest.pl ($xerrors): New variable.
14056         (note_error): New function.
14057         (compiletest): New argument $xfail.  Use not_error.
14058         (runtest): Likewise.
14059         (top level): Handle xfail- lines.  Update calls to compiletest and
14060         runtest.  Handle xfail- and optional- in headers listed with
14061         allow-header.
14062         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
14063         (O_EXEC): Likewise.
14064         (O_SEARCH): Likewise.
14065         * conform/data/stropts.h-data (ioctl): Likewise.
14066         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
14067         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
14068         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
14069         (msghdr.msg_controllen): Likewise.
14070         (cmsghdr.cmsg_len): Likewise.
14071         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
14072         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
14073         variable.
14074         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14075         (test-xfail-XPG4/stropts.h/conform): Likewise.
14076         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14077         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14078         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14079         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14080         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14081         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14082         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14083         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14084         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14085         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14086         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14087         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14088         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14089         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14090         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14091         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14092         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14093         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14094         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14096 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14098         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
14099         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
14100         definitions for proper unfolding of __MATHDECL_VEC.
14102 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14104         * benchtests/bench-strcoll.c:
14105         Include string.h.
14106         (main): Remove unused variable res.
14108 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14110         * timezone/Makefile (%/UTC %/Universal):
14111         Generate test-result files for UTC and Universal.
14113 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14115         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14117 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
14119         [BZ #16350]
14120         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
14121         for arguments with small absolute value.
14122         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
14123         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14124         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14125         (__asinh): Force underflow exception for arguments with small
14126         absolute value.
14127         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14128         (__asinhf): Force underflow exception for arguments with small
14129         absolute value.
14130         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14131         (__asinhl): Force underflow exception for arguments with small
14132         absolute value.
14133         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14134         (__asinhl): Force underflow exception for arguments with small
14135         absolute value.
14136         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14137         (__asinhl): Force underflow exception for arguments with small
14138         absolute value.
14139         * math/auto-libm-test-in: Do not mark underflow exceptions as
14140         possibly missing for bug 16350.
14141         * math/auto-libm-test-out: Regenerated.
14143         * include/bits/ipc.h: Remove file.
14144         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14145         variable.
14146         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14147         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14148         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14149         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14150         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14151         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14152         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14153         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14154         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14156         * math/auto-libm-test-in: Remove spurious underflow allowance for
14157         tests of cexp.
14158         * math/auto-libm-test-out: Regenerated.
14160         [BZ #18558]
14161         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14162         unconditional definition.
14163         (MCAST_BLOCK_SOURCE): Likewise.
14164         (MCAST_UNBLOCK_SOURCE): Likewise.
14165         (MCAST_LEAVE_GROUP): Likewise.
14166         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14167         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14168         (MCAST_MSFILTER): Likewise.
14169         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14170         Remove variable.
14171         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14172         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14173         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14174         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14175         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14177 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14179         * NEWS: Mention addition of x86_64 vector sincosf.
14180         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14181         * math/test-float-vlen4.h: Likewise.
14182         * math/test-float-vlen8.h: Likewise.
14183         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14184         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14185         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14186         * sysdeps/x86_64/fpu/Versions: New versions added.
14187         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14188         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14189         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14190         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14191         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14192         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14193         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14194         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14195         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14196         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14197         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14198         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14199         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14200         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14201         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14202         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14203         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14204         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14205         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14206         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14207         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14208         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14209         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14210         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14212         * NEWS: Mention addition of x86_64 vector sincos.
14213         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14214         * math/math.h (__MATHDECL_VEC): New macro.
14215         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14216         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14217         declaration under condition.
14218         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14219         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14220         TEST_VEC_LOOP change.
14221         * math/test-double-vlen4.h: Likewise.
14222         * math/test-double-vlen8.h: Likewise.
14223         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14224         * math/test-float-vlen4.h: Likewise.
14225         * math/test-float-vlen8.h: Likewise.
14226         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14227         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14228         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14229         * sysdeps/x86_64/fpu/Versions: New versions added.
14230         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14231         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14232         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14233         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14234         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14235         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14236         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14237         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14238         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14239         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14240         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14241         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14242         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14243         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14244         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14245         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14246         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14247         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14248         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14249         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14250         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14251         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14252         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14253         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14255         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14256         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14257         redirections for powf.
14258         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14259         * sysdeps/x86_64/fpu/Versions: New versions added.
14260         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14261         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14262         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14263         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14264         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14265         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14266         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14267         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14268         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14269         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14270         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14271         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14272         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14273         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14274         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14275         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14276         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14277         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14278         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14279         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14280         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14281         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14282         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14283         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14284         * math/test-float-vlen16.h: Fixed 2 argument macro.
14285         * math/test-float-vlen4.h: Likewise.
14286         * math/test-float-vlen8.h: Likewise.
14287         * NEWS: Mention addition of x86_64 vector powf.
14289 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14291         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14292         and redefine.
14293         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14294         and redefine.
14295         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14296         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14297         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14299         [BZ #18553]
14300         * resource/getpriority.c (getpriority): Rename to __getpriority
14301         and define as weak alias of __getpriority.
14302         * resource/setpriority.c (setpriority): Rename to __setpriority
14303         and define as weak alias of __setpriority.
14304         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14305         __getpriority and define as weak alias of __getpriority.
14306         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14307         __setpriority and define as weak alias of __setpriority.
14308         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14309         strong name.
14310         (setpriority): Use __setpriority as strong name.
14311         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14312         __getpriority and define as weak alias of __getpriority.
14313         * include/sys/resource.h (__getpriority): Declare.  Use
14314         libc_hidden_proto.
14315         (__setpriority): Likewise.
14316         (getpriority): Don't use libc_hidden_proto.
14317         (setpriority): Likewise.
14318         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14319         getpriority.  Call __setpriority instead of setpriority.
14320         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14321         Remove variable.
14323         [BZ #18547]
14324         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14325         as weak alias of __getttynam.  Use prototype function definition.
14326         Call __setttyent, __getttyent and __endttyent instead of
14327         setttyent, getttyent and endttyent.
14328         (getttyent): Rename to __getttyent and define as weak alias of
14329         __getttyent.  Call __setttyent instead of setttyent.  Call
14330         __fgets_unlocked instead of fgets_unlocked.
14331         (setttyent): Rename to __setttyent and define as weak alias of
14332         __setttyent.
14333         (endttyent): Rename to __endttyent and define as weak alias of
14334         __endttyent.
14335         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14336         (__setttyent): Likewise.
14337         (__endttyent): Likewise.
14338         (getttyent): Don't use libc_hidden_proto.
14339         (setttyent): Likewise.
14340         (endttyent): Likewise.
14341         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14342         __endttyent instead of setttyent, getttyent and endttyent.
14343         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14344         Remove variable.
14346         [BZ #18546]
14347         * socket/recv.c (__recv): Use libc_hidden_def.
14348         * socket/socket.c (__socket): Likewise.
14349         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14350         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14351         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14352         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14353         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14354         libc_hidden_def.
14355         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14356         libc_hidden_weak.
14357         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14358         Use libc_hidden_proto.
14359         (__recv): Likewise.
14360         * socket/Versions (libc): Export __recv and __socket at version
14361         GLIBC_PRIVATE.
14362         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14363         instead of recv.
14364         (init_mq_netlink): Call __socket instead of socket.
14365         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14366         Remove variable.
14368         [BZ #18545]
14369         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14370         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14371         hidden_weak.
14372         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14373         define as alias of __mq_timedsend.  Use hidden_weak.
14374         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14375         __mq_timedsend as strong name.
14376         (mq_timedreceive): Use __mq_timedreceive as strong name.
14377         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14378         (__mq_timedreceive): Likewise.
14379         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14380         __mq_timedreceive instead of mq_timedreceive.
14381         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14382         instead of mq_timedsend.
14383         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14384         Remove variable.
14386         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14387         hidden_def and hidden_weak instead of libc_hidden_def and
14388         libc_hidden_weak.
14389         (top level): Refer to hidden_def in comment.
14390         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14391         macro.  Use it instead of libc_hidden_def.
14392         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14393         specify __GI_* name explicitly.
14394         (mq_timedreceive): Likewise.
14395         (mq_setattr): Likewise.
14397         [BZ #18544]
14398         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14399         __pthread_barrier_init and define as weak alias of
14400         __pthread_barrier_init.
14401         * sysdeps/sparc/nptl/pthread_barrier_init.c
14402         (pthread_barrier_init): Likewise.
14403         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14404         __pthread_barrier_wait and define as weak alias of
14405         __pthread_barrier_wait.
14406         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14407         (pthread_barrier_wait): Likewise.
14408         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14409         (pthread_barrier_wait): Likewise.
14410         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14411         (pthread_barrier_wait): Likewise.
14412         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14413         (pthread_barrier_wait): Likewise.
14414         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14415         __pthread_barrier_wait at version GLIBC_PRIVATE.
14416         * include/pthread.h (__pthread_barrier_init): Declare.
14417         (__pthread_barrier_wait): Likewise.
14418         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14419         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14420         (helper_thread): Likewise.
14421         (init_mq_netlink): Call __pthread_barrier_init instead of
14422         pthread_barrier_init.
14424         [BZ #18542]
14425         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14426         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14427         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14428         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14429         vswscanf.
14430         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14431         Remove variable.
14433         [BZ #18540]
14434         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14435         strong alias of _IO_fflush.  Use libc_hidden_def.
14436         * libio/iofflush_u.c (fflush_unlocked): Rename to
14437         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14438         Use libc_hidden_weak.
14439         * include/stdio.h (__fflush_unlocked): Declare.  Use
14440         libc_hidden_proto.
14441         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14442         fflush_unlocked.
14443         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14444         Remove variable.
14446         [BZ #18539]
14447         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14448         define as weak alias of __addseverity.
14449         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14450         Remove variable.
14451         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14452         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14453         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14455         [BZ #18536]
14456         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14457         (__tfind): Likewise.
14458         (__tdelete): Likewise.
14459         (__twalk): Likewise.
14460         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14461         __twalk to GLIBC_PRIVATE.
14462         * include/search.h (__tsearch): Use libc_hidden_proto.
14463         (__tfind): Likewise.
14464         (__tdelete): Likewise.
14465         (__twalk): Likewise.
14466         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14467         Call __tdelete instead of tdelete.
14468         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14469         tfind.  Call __tsearch instead of tsearch.
14470         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14471         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14472         Remove variable.
14473         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14475         [BZ #18534]
14476         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14477         (dprintf): Define as a weak alias of __dprintf, not a strong
14478         alias.
14479         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14480         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14481         dprintf.
14482         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14483         Remove variable.
14484         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14485         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14487         [BZ #18533]
14488         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14489         not a strong alias.
14490         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14491         Remove variable.
14493         [BZ #18532]
14494         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
14495         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
14496         (in6addr_loopback): Rename to __in6addr_loopback and define as
14497         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
14498         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
14499         libc_hidden_proto.
14500         (__in6addr_any): Likewise.
14501         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
14502         in6addr_any.
14503         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
14504         variable.
14505         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14507 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14509         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14510         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14511         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14512         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14513         redirections for pow.
14514         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14515         * sysdeps/x86_64/fpu/Versions: New versions added.
14516         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14517         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14518         build of SSE, AVX2 and AVX512 IFUNC versions.
14519         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14520         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14521         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14522         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14523         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14524         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14525         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14526         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14527         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
14528         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
14529         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
14530         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
14531         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
14532         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
14533         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14534         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14535         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14536         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14537         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14538         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14539         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14540         * NEWS: Mention addition of x86_64 vector pow.
14542         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14543         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14544         redirections for expf.
14545         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14546         * sysdeps/x86_64/fpu/Versions: New versions added.
14547         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14548         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14549         build of SSE, AVX2 and AVX512 IFUNC versions.
14550         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
14551         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
14552         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
14553         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
14554         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
14555         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
14556         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
14557         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
14558         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
14559         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
14560         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
14561         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
14562         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
14563         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14564         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14565         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14566         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14567         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14568         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14569         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14570         * NEWS: Mention addition of x86_64 vector expf.
14572         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
14573         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
14574         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14575         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14576         redirections for exp.
14577         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14578         * sysdeps/x86_64/fpu/Versions: New versions added.
14579         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14580         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14581         build of SSE, AVX2 and AVX512 IFUNC versions.
14582         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
14583         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
14584         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
14585         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
14586         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
14587         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
14588         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
14589         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
14590         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
14591         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
14592         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
14593         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
14594         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
14595         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14596         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14597         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14598         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14599         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14600         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14601         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14602         * NEWS: Mention addition of x86_64 vector exp.
14604         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14605         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14606         redirections for logf.
14607         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14608         * sysdeps/x86_64/fpu/Versions: New versions added.
14609         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14610         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14611         build of SSE, AVX2 and AVX512 IFUNC versions.
14612         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
14613         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
14614         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
14615         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
14616         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
14617         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
14618         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
14619         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
14620         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
14621         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
14622         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
14623         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
14624         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
14625         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14626         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14627         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14628         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14629         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14630         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14631         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14632         * NEWS: Mention addition of x86_64 vector logf.
14634         * bits/libm-simd-decl-stubs.h: Added stubs for log.
14635         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
14636         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14637         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14638         redirections for log.
14639         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14640         * sysdeps/x86_64/fpu/Versions: New versions added.
14641         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14642         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14643         build of SSE, AVX2 and AVX512 IFUNC versions.
14644         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
14645         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
14646         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
14647         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
14648         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
14649         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
14650         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
14651         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
14652         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
14653         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
14654         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
14655         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
14656         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
14657         test.
14658         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14659         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14660         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14661         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14662         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14663         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14664         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14665         * NEWS: Mention addition of x86_64 vector log.
14667 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14669         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
14670         cfi_adjust_cfa_offset argument.
14671         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
14672         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
14674         [BZ #18034]
14675         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
14676         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
14677         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
14678         ordering using ldar.
14679         (_dl_tlsdesc_dynamic): Likewise.
14680         (_dl_tlsdesc_return_lazy): Likewise.
14681         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
14682         relaxed atomics instead of volatile and synchronize with release store.
14683         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
14684         volatile.
14685         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14687 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
14689         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14690         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
14691         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14692         * sysdeps/x86_64/fpu/Versions: New versions added.
14693         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14694         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14695         build of SSE, AVX2 and AVX512 IFUNC versions.
14696         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
14697         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
14698         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
14699         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
14700         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
14701         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
14702         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
14703         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
14704         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
14705         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
14706         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
14707         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
14708         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
14709         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14710         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14711         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14712         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14713         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14714         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14715         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14716         * NEWS: Mention addition of x86_64 vector sinf.
14718 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
14720         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
14721         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
14722         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
14723         Remove variable.
14724         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14725         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14727 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14729         [BZ #18530]
14730         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
14731         strong alias of _IO_fputs.  Use libc_hidden_def.
14732         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
14733         and define as weak alias of __fputs_unlocked.  Use
14734         libc_hidden_weak.
14735         * include/stdio.h (__fputs_unlocked): Declare.  Use
14736         libc_hidden_proto.
14737         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
14738         fputs_unlocked.
14740         [BZ #18529]
14741         * resolv/netdb.h [__USE_POSIX]: Change condition to
14742         [__USE_XOPEN2K].
14743         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
14744         not expect.
14745         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
14746         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
14747         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
14748         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
14749         [XPG4 || UNIX98] (AI_ALL): Likewise.
14750         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
14751         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
14752         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
14753         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
14754         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
14755         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
14756         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
14757         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
14758         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
14759         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
14760         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
14761         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
14762         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
14763         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
14764         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
14765         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14766         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14767         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
14768         [XPG4 || UNIX98] (gai_strerror): Likewise.
14769         [XPG4 || UNIX98] (getaddrinfo): Likewise.
14770         [XPG4 || UNIX98] (getnameinfo): Likewise.
14772         [BZ #18528]
14773         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
14774         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
14775         __USE_XOPEN2K8].
14776         (getgrent): Likewise.
14777         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
14778         expect.
14779         [XPG3 || POSIX2008] (endgrent): Likewise.
14780         [XPG3] (setgrent): Likewise.
14781         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
14782         variable.
14783         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14785         [BZ #18527]
14786         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
14787         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
14788         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
14789         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
14790         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
14791         * include/unistd.h (__getlogin_r): Declare.  Use
14792         libc_hidden_proto.
14793         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
14794         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
14795         variable.
14796         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14797         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14798         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14800 2015-06-12  Martin Sebor  <msebor@redhat.com>
14802         [BZ #18512]
14803         * Makerules (check-install-supported): New target.
14804         (install): Add check-install-supported as a dependency.
14805         * manual/install.texi (Installing the C Library): Document
14806         that overriding prefix and exec_prefix is not supported.
14807         Mention DESTDIR.
14808         * INSTALL: Regenerate from the above.
14810 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14812         [BZ #18519]
14813         * posix/Versions (libc): Export __libc_pread at version
14814         GLIBC_PRIVATE.
14815         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
14816         instead of pread.
14817         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
14818         variable.
14820         [BZ #18522]
14821         * misc/efgcvt_r.c
14822         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
14823         (cvt_symbol): Use weak_alias instead of strong_alias.
14824         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
14825         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
14826         Remove variable.
14827         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14828         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14830         [BZ #18520]
14831         * inet/herrno.c (h_errno): Rename to __h_errno.
14832         (__libc_h_errno): Define as alias of __h_errno not h_errno.
14833         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
14834         to __h_errno instead of h_errno.
14835         * nptl/herrno.c (h_errno): Rename to __h_errno.
14836         (__h_errno_location): Refer to __h_errno not h_errno.
14837         * resolv/Versions (h_errno): Rename to __h_errno.
14838         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
14839         Remove variable.
14840         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14842 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
14844         * configure.ac: More strict check for AVX512 assembler support.
14845         * configure: Regenerated.
14847         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
14848         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
14849         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14850         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
14851         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14852         * sysdeps/x86_64/fpu/Versions: New versions added.
14853         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14854         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14855         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14856         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
14857         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
14858         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
14859         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
14860         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
14861         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
14862         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
14863         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
14864         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
14865         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
14866         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
14867         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
14868         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
14869         test.
14870         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14871         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14872         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14873         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14874         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14875         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14876         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14877         * NEWS: Mention addition of x86_64 vector sin.
14879 2015-06-11  Florian Weimer  <fweimer@redhat.com>
14881         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
14882         comment.
14884 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14886         [BZ #18479]
14887         * nptl/pt-interp.c: New file.
14888         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
14889         Add pt-interp.
14890         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
14891         $(common-objpfx)runtime-linker.h.
14893 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
14895         * Makeconfig (+interp): Remove unused variable.
14896         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
14897         only.  Depend on $(common-objpfx)runtime-linker.h instead of
14898         $(elf-objpfx)runtime-linker.h.
14899         ($(elf-objpfx)runtime-linker.h): Rename to
14900         $(common-objpfx)runtime-linker.h and move ...
14901         * Makerules [$(build-shared) = yes]: ... here.
14902         * elf/interp.c: Include <runtime-linker.h> instead of
14903         <elf/runtime-linker.h>.
14905 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14907         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
14908         (__gettimeofday_syscall): Remove vsyscall fallback.
14909         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
14910         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
14911         Add syscall fallback function.
14912         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
14913         if vDSO is not present.
14914         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
14915         fallback function.
14916         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14917         present.
14918         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
14919         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14921 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
14923         [BZ #18497]
14924         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
14925         of wcscmp.
14926         (wcscmp): Define as weak alias of WCSCMP.
14927         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
14928         wcscoll.
14929         (USE_HIDDEN_DEF): Define.
14930         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
14931         __wcscoll.  Don't use libc_hidden_weak.
14932         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
14933         wcscmp.
14934         * sysdeps/i386/i686/multiarch/wcscmp-c.c
14935         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
14936         __GI_wcscmp.
14937         (weak_alias): Undefine and redefine.
14938         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
14939         __wcscmp and define as weak alias of __wcscmp.
14940         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
14941         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
14942         (__wcscoll): Likewise.
14943         (wcscmp): Don't use libc_hidden_proto.
14944         (wcscoll): Likewise.
14945         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
14946         wcscoll.
14947         * posix/regexec.c (check_node_accept_bytes): Likewise.
14948         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
14949         variable.
14950         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14951         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14953         [BZ #18507]
14954         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
14955         __fstatvfs and define as weak alias of __fstatvfs.  Use
14956         libc_hidden_weak.
14957         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
14958         and define as weak alias of __statvfs.  Use libc_hidden_weak.
14959         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
14960         Define as alias of __fstatvfs, not fstatvfs.
14961         (fstatvfs64): Likewise.
14962         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
14963         Define as alias of __statvfs, not statvfs.
14964         (statvfs64): Likewise.
14965         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
14966         Remove variable.
14968 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14971         (HAVE_GETCPU_VSYSCALL): Define.
14972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14973         (HAVE_GETCPU_VSYSCALL): Likewise.
14974         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
14975         * sysdeps/unix/sysv/linux/sched_getcpu.c
14976         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
14977         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
14978         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
14979         prototype.
14980         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14981         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
14982         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
14983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
14984         Define.
14985         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
14986         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14987         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
14988         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14990 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
14992         * sysdeps/x86_64/fpu/Makefile: New file.
14993         * sysdeps/x86_64/fpu/Versions: New file.
14994         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
14995         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
14996         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
14997         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
14998         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
14999         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
15000         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
15001         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
15002         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
15003         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
15004         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
15005         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
15006         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
15007         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15008         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15009         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
15010         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
15011         * sysdeps/x86_64/configure.ac: Options for libmvec build.
15012         * sysdeps/x86_64/configure: Regenerated.
15013         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
15014         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
15015         * manual/install.texi (Configuring and compiling): Document
15016         --disable-mathvec.
15017         * INSTALL: Regenerated.
15018         * NEWS: Mention addition of libmvec and x86_64 vector cos.
15020         * math/Makefile: Added rules for vector tests.
15021         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
15022         declaration under condition.
15023         * math/test-double-vlen2.h: New file.
15024         * math/test-double-vlen4.h: New file.
15025         * math/test-double-vlen8.h: New file.
15026         * math/test-vec-loop.h: Added initialization macro.
15027         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
15028         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
15029         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
15030         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
15031         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
15032         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
15033         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
15034         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
15035         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
15036         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
15037         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
15039         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15040         * sysdeps/x86_64/fpu/Versions: New versions added.
15041         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
15042         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
15043         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
15044         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
15045         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
15046         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
15047         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
15048         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
15049         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
15050         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
15051         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
15052         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
15053         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
15054         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15055         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15056         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15057         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
15058         * NEWS: Mention addition of x86_64 vector cosf.
15060         * math/Makefile: Added CFLAGS for new tests.
15061         * math/test-float-vlen16.h: New file.
15062         * math/test-float-vlen4.h: New file.
15063         * math/test-float-vlen8.h: New file.
15064         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
15065         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
15066         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15067         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
15068         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
15069         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
15070         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
15071         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
15072         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
15073         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
15074         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
15076 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
15078         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
15079         * locale/programs/ld-ctype.c: Likewise.
15081 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
15083         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
15084         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
15085         bit_ZMM16_31_state): New macro.
15086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15087         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
15089 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
15091         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
15093 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
15095         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
15097 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
15099         [BZ #18498]
15100         * libio/memstream.c (open_memstream): Rename to __open_memstream
15101         and define as weak alias of __open_memstream.
15102         * include/stdio.h (__open_memstream): Declare.  Use
15103         libc_hidden_proto.
15104         (open_memstream): Don't use libc_hidden_proto.
15105         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
15106         open_memstream.
15107         * posix/getopt.c (_getopt_internal_r): Likewise.
15108         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
15109         variable.
15110         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15111         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15112         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15114         [BZ #18496]
15115         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
15116         instead of wcrtomb.
15118         [BZ #18483]
15119         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
15120         [__USE_XOPEN2K8].  Remove redundant #endif.
15121         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
15122         Remove redundant #if.
15123         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15124         Remove variable.
15125         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15126         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15128         [BZ #18495]
15129         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15130         (__iswlower): Likewise.
15131         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15132         (__iswlower): Likewise.
15133         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15134         instead of towlower.
15135         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15136         instead of iswlower.  Call __towupper instead of towupper.
15137         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15138         instead of iswalnum.
15140 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15142         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15143         errors to stderr.
15145 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15147         [BZ #15661]
15148         [BZ #17322]
15149         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15150         Check for overflow properly.  Check for O_APPEND.  Ignore large
15151         file system block sizes.  Add comments about problems.
15152         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15153         * manual/filesys.texi (Storage Allocation): New node.
15155 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15157         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15158         cancellable syscalls.
15159         (SYS_ify): Add guard to no redefine it.
15160         (INLINE_SYSCALL): Likewise.
15161         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15162         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15163         SYSCALL_CANCEL instead.
15164         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15165         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15166         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15167         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15168         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15169         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15170         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15171         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15172         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15173         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15174         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15175         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15176         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15177         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15178         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15180         Likewise.
15181         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15182         (__libc_pread64): Likewise.
15183         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15184         (__libc_preadv): Likewise.
15185         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15186         (__libc_readv64): Likewise.
15187         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15188         (__libc_pwrite): Likewise.
15189         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15190         (__libc_pwrite64): Likewise.
15191         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15192         (__libc_pwritev): Likewise.
15193         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15194         (__libc_pwritev64): Likewise.
15195         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15196         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15197         (sync_file_range): Likewise.
15198         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15199         Likewise.
15200         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15201         Likewise.
15202         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15203         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15204         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15205         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15206         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15207         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15208         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15209         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15211         Likewise.
15212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15213         (__libc_read64): Likewise.
15214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15215         Likewise.
15216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15217         Likewise.
15218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15219         Likewise.
15220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15221         Likewise.
15222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15223         (__libc_pread64): Likewise.
15224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15225         Likewise.
15226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15227         (__libc_pwrite64): Likewise.
15228         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15229         (sync_file_range): Likewise.
15230         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15231         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15232         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15233         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15234         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15235         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15236         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15237         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15238         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15239         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15240         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15241         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15242         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15243         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15244         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15245         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15246         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15247         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15248         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15249         Likewise.
15250         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15251         Likewise.
15252         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15253         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15254         Likewise.
15255         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15256         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15257         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15258         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15259         Likewise.
15260         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15261         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15262         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15263         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15264         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15266 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15268         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15269         Include dl-vdso.
15270         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15271         Use VDSO routines for gettimeofday, clock_gettime if
15272         available.
15273         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15274         Declare VDSO symbols.
15275         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15276         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15277         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15278         * sysdeps/unix/sysv/linux/arm/Versions: Add
15279         __vdso_clock_gettime.
15281 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15283         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15284         be an inline implementation regardless of library is built within.
15285         (open_not_cancel_2): Likewise.
15286         (__read_nocancel): Likewise.
15287         (__write_nocancel): Likewise.
15288         (openat_not_cancel): Likewise.
15289         (openat_not_cancel_3): Likewise.
15290         (openat64_not_cancel): Likewise.
15291         (openat64_not_cancel_3): Likewise.
15292         (__close_nocancel): Likewise.
15293         (pause_not_cancel): Likewise.
15294         (nanosleep_not_cancel): Likewise.
15295         (sigsuspend_not_cancel): Likewise.
15297 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15299         [BZ #14958]
15300         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15301         wake-up.
15302         (__pthread_rwlock_rdlock_slow): Likewise.
15303         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15304         Likewise.
15305         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15306         Likewise.
15307         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15308         * nptl/tst-rwlock16.c: New file.
15309         * nptl/Makefile (tests): Add new test.
15311 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15313         [BZ #18324]
15314         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15315         missing wake-up of readers.
15316         * nptl/tst-rwlock15.c: New file.
15317         * nptl/Makefile (tests): Add new test.
15319 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15321         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15322         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15323         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15324         and __nacl_supply_interface_rtld.
15325         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15326         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15327         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15328         Add __nacl_supply_interface_rtld.
15329         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15331 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15333         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15334         isfinite.
15335         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15336         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15338 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15340         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15341         __signbit* with standard C99 macros.
15342         * math/e_exp10l.c: Likewise.
15343         * math/e_exp2l.c: Likewise.
15344         * math/e_scalb.c: Likewise.
15345         * math/e_scalbf.c: Likewise.
15346         * math/e_scalbl.c: Likewise.
15347         * math/s_ldexp.c: Likewise.
15348         * math/s_ldexpf.c: Likewise.
15349         * math/s_ldexpl.c: Likewise.
15350         * math/w_atan2.c: Likewise.
15351         * math/w_atan2f.c: Likewise.
15352         * math/w_atan2l.c: Likewise.
15353         * math/w_cosh.c: Likewise.
15354         * math/w_coshf.c: Likewise.
15355         * math/w_coshl.c: Likewise.
15356         * math/w_exp10.c: Likewise.
15357         * math/w_exp10f.c: Likewise.
15358         * math/w_exp10l.c: Likewise.
15359         * math/w_exp2.c: Likewise.
15360         * math/w_exp2f.c: Likewise.
15361         * math/w_exp2l.c: Likewise.
15362         * math/w_fmod.c: Likewise.
15363         * math/w_fmodf.c: Likewise.
15364         * math/w_fmodl.c: Likewise.
15365         * math/w_hypot.c: Likewise.
15366         * math/w_hypotf.c: Likewise.
15367         * math/w_hypotl.c: Likewise.
15368         * math/w_jnl.c: Likewise.
15369         * math/w_lgamma.c: Likewise.
15370         * math/w_lgamma_r.c: Likewise.
15371         * math/w_lgammaf.c: Likewise.
15372         * math/w_lgammaf_r.c: Likewise.
15373         * math/w_lgammal.c: Likewise.
15374         * math/w_lgammal_r.c: Likewise.
15375         * math/w_pow.c: Likewise.
15376         * math/w_powf.c: Likewise.
15377         * math/w_powl.c: Likewise.
15378         * math/w_remainder.c: Likewise.
15379         * math/w_remainderf.c: Likewise.
15380         * math/w_remainderl.c: Likewise.
15381         * math/w_scalb.c: Likewise.
15382         * math/w_scalbf.c: Likewise.
15383         * math/w_scalbl.c: Likewise.
15384         * math/w_scalbln.c: Likewise.
15385         * math/w_scalblnf.c: Likewise.
15386         * math/w_scalblnl.c: Likewise.
15387         * math/w_sinh.c: Likewise.
15388         * math/w_sinhf.c: Likewise.
15389         * math/w_sinhl.c: Likewise.
15390         * math/w_tgamma.c: Likewise.
15391         * math/w_tgammaf.c: Likewise.
15392         * math/w_tgammal.c: Likewise.
15393         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15394         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15395         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15396         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15397         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15398         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15399         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15400         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15401         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15402         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15403         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15404         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15405         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15406         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15407         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15408         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15409         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15410         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15411         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15412         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15413         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15414         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15415         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15416         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15417         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15418         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15419         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15420         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15421         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15422         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15423         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15424         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15425         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15426         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15427         * stdio-common/printf_fp.c: Likewise.
15428         * stdio-common/printf_fphex.c: Likewise.
15429         * stdio-common/printf_size.c: Likewise.
15431 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15433         [BZ #18470]
15434         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15435         strnlen.
15436         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15437         Remove variable.
15438         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15439         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15440         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15441         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15442         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15443         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15444         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15445         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15446         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15447         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15449         [BZ #18468]
15450         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15451         weak alias of __wmemchr.  Use libc_hidden_weak.
15452         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15453         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15454         instead of wmemchr.
15456 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15458         [BZ #18383]
15459         * elf/tst-tlsalign-extern.c: New file.
15460         * elf/tst-tlsalign-extern-static.c: New file.
15461         * elf/tst-tlsalign-vars.c: New file.
15462         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15463         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15464         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15465         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15466         (test-xfail-tst-tlsalign-extern-static): New variable.
15468 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15470         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15471         Use variable name _sc_err instead of err.
15472         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15473         instead of ret.
15474         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15475         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15476         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15477         (INLINE_SYSCALL): Likewise.
15479         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15480         * include/string.h (__strnlen): Use libc_hidden_proto.
15481         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15482         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15483         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15484         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15485         (libc_hidden_def): Undefine and redefine.
15486         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15487         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15488         __GI_strnlen.
15489         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15490         libc_hidden_def.
15491         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
15493         [BZ #18469]
15494         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
15495         weak alias of __towlower.  Use libc_hidden_weak.
15496         (towupper): Rename to __towupper and define as weak alias of
15497         __towupper.  Use libc_hidden_weak.
15498         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
15499         (__towupper): Likewise.
15500         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
15501         __towlower instead of towlower.
15503 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15505         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
15506         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15508 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15510         * sysdeps/aarch64/libm-test-ulps: Update.
15512 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15514         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15515         Define.
15516         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15518         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15519         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15520         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15521         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15522         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15524 2015-06-01  Martin Sebor  <msebor@redhat.com>
15526         [BZ #18116]
15527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15528         (__setcontext): Use extended four-operand version of mtsf whenever
15529         possible.
15530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15531         (__novec_swapcontext): Likewise.
15533 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15535         * benchtests/scripts/compare_bench.py: New file.
15536         * benchtests/scripts/import_bench.py (mean): New function.
15537         (split_list): Likewise.
15538         (do_for_all_timings): Likewise.
15539         (compress_timings): Likewise.
15541         * benchtests/scripts/import_bench.py: New file.
15542         * benchtests/scripts/validate_benchout.py: Import import_bench
15543         instead of jsonschema.
15544         (validate_bench): Remove function.
15545         (main): Use import_bench.
15547 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
15549         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
15550         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
15552 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15556 2015-05-28  Roland McGrath  <roland@hack.frob.com>
15558         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
15559         set THREAD_SELF->tid to a magic value and futex-wake it.
15560         Pass its address to the thread_exit system call.
15561         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
15562         bit is clear.
15563         * sysdeps/nacl/lowlevellock.h: New file.
15564         * sysdeps/nacl/lll_timedwait_tid.c: New file.
15566         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
15567         Add TIMEOUT to current time, don't subtract it.
15569 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
15571         [BZ #2981]
15572         [BZ #18422]
15573         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
15574         ($(objpfx)tst-audit2.out): Also depend on
15575         $(objpfx)tst-auditmod9b.so.
15576         * elf/tst-audit2.c: Include <dlfcn.h>.
15577         (calloc_called): New.
15578         (calloc): Allow to be called more than once.
15579         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
15581 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
15583         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
15584         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
15586 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
15588         * stdlib/monetary.h: Fix comment.
15590 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
15592         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
15593         Avoid using variables in #defines that might cause shadowing.
15594         (INTERNAL_VSYSCALL_CALL): Likewise.
15596 2015-05-26  Roland McGrath  <roland@hack.frob.com>
15598         * sysdeps/nacl/lll_timedlock_wait.c: New file.
15600         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
15601         * nptl/lll_timedlock_wait.c: ... to this new file.
15602         * nptl/Makefile (libpthread-routines): Add it.
15603         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
15604         * nptl/lll_timedwait_tid.c: ... to this new file.
15605         * nptl/Makefile (libpthread-routines): Add it.
15606         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
15607         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
15608         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
15609         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
15610         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
15611         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
15612         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
15613         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
15614         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
15615         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
15617 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15619         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
15620         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15621         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15622         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
15623         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15624         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15625         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15626         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15627         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15628         * sysdeps/unix/sysv/linux/tile/sysdep.h
15629         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15630         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
15631         using vDSO syscall macro.
15633 2015-05-26  Andriy Rysin  <arysin@gmail.com>
15635         [BZ #17293]
15636         * uk_UA: Fix sorting order for Ukrainian locale
15638 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
15640         * stdlib/monetary.h: Fix comment.
15642 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15644         [BZ #18234]
15645         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
15646         st_mtim and st_ctim members.
15647         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
15648         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
15649         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
15650         (struct stat64): Likewise.
15651         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
15652         (struct stat64): Likewise.
15653         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
15654         (struct stat64): Likewise.
15656 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15658         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
15659         Define and include sysdep-vdso.h.
15660         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
15661         Likewise.
15662         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
15663         Likewise.
15664         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
15665         Define with VDSO_SYMBOL and use PTR_MANGLE.
15666         (__vdso_clock_gettime): Likewise.
15667         (__vdso_clock_getres): Likewise.
15668         (_libc_vdso_platform_setup): Likewise.
15669         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15670         Likewise.
15671         (_libc_vdso_platform_setup): Likewise.
15672         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
15673         Likewise.
15674         (__vdso_clock_gettime): Likewise.
15675         (__vdso_clock_getres): Likewise.
15676         (__vdso_get_tbfreq): Likewise.
15677         (__vdso_getcpu): Likewise.
15678         (__vdso_time): Likewise.
15679         (__vdso_sigtramp_rt64): Likewise.
15680         (__vdso_signtramp32): Likewise.
15681         (__vdso_sigtramp_rt32): Likewise.
15682         (_libc_vdso_platform_setup): Likewise.
15683         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
15684         Likewise.
15685         (__vdso_clock_gettime): Likewise.
15686         (__vdso_clock_getres): Likewise.
15687         (_libc_vdso_platform_setup): Likewise.
15688         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
15689         Likewise.
15690         (__vdso_clock_gettime): Likewise.
15691         (_libc_vdso_platform_setup): Likewise.
15692         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15693         Likewise.
15694         (__vdso_getcpu): Likewise.
15695         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
15696         Use VDSO_SYMBOL macro to define.
15697         (__vdso_clock_gettime): Likewise.
15698         (__vdso_clock_getres): Likewise.
15699         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
15700         Likewise.
15701         (__vdso_clock_gettime): Likewise.
15702         (__vdso_clock_getres): Likewise.
15703         (__vdso_get_tbfreq): Likewise.
15704         (__vdso_getcpu): Likewise.
15705         (__vdso_time): Likewise.
15706         (__vdso_sigtramp_rt64): Likewise.
15707         (__vdso_signtramp32): Likewise.
15708         (__vdso_sigtramp_rt32): Likewise.
15709         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
15710         Likewise.
15711         (__vdso_clock_gettime): Likewise.
15712         (__vdso_clock_getres): Likewise.
15713         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
15714         Likewise.
15715         (__vdso_clock_gettime): Likewise.
15716         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15717         Likewise.
15718         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
15719         macro.
15720         (INTERNAL_VSYSCALL): Likewise.
15721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
15722         Remove macro.
15723         (INTERNAL_VSYSCALL): Likewise.
15724         (INTERNAL_VSYSCALL_NCS): Likewise.
15725         (INTERNAL_VSYSCALL_CALL): New macro.
15726         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15727         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
15728         Likewise.
15729         (INTERNAL_VSYSCALL): Likewise.
15730         (INTERNAL_VSYSCALL_NCS): Likewise.
15731         (INTERNAL_VSYSCALL_CALL): New macro.
15732         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15734         (INLINE_VSYSCALL): Remove macro.
15735         (INTERNAL_VSYSCALL): Remove macro.
15736         (INTERNAL_VSYSCALL_NCS): Remove macro.
15737         (INTERNAL_VSYSCALL_CALL): New macro.
15738         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
15739         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
15740         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15741         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
15742         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15744         (INLINE_VSYSCALL): Remove macro.
15745         (INTERNAL_VSYSCALL): Likewise.
15746         (INTERNAL_VSYSCALL_NCS): Likewise.
15747         (INTERNAL_VSYSCALL_CALL): New macro.
15748         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
15749         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
15750         PTR_DEMANGLE on vDSO pointer.
15751         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15752         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
15753         macro.
15754         (INTERNAL_SYSCALL): Likewise.
15755         (INTERNAL_VSYSCALL_NCS): Remove macro.
15756         (INTERNAL_VSYSCALL_CALL): New macro.
15757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
15758         Remove macro.
15759         (INTERNAL_VSYSCALL): Likewise.
15760         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
15761         sysdep-vdso.h instead of libc-vdso.h.
15762         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
15763         definition.
15764         (INLINE_VSYSCALL): Likewise.
15765         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
15766         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
15767         definition.
15768         (INLINE_VSYSCALL): Likewise.
15769         (INTERNAL_VSYSCALL): Likewise.
15770         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15771         * sysdeps/unix/sysv/linux/timespec_get.c
15772         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15773         (timespec_get): Use ANSI prototype.
15774         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
15775         and definition for Linux.
15777 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15779         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
15780         * include/libc-symbols.h: libmvec_hidden_* macro series added.
15782 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15784         [BZ #2981]
15785         [BZ #18410]
15786         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
15787         for missing DT_PLTRELSZ.
15789 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
15791         Remove obsolete aliases that broke 'locale -a'
15792         [BZ #18412]
15793         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
15794         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
15795         breaking some applications that use 'locale -a' output.
15796         Change the encoding of this file from Latin-1 to ASCII to avoid
15797         other potential problems with people grepping this file.
15799 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15801         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
15802         -fasynchronous-unwind-tables.
15803         (CFLAGS-sendto.c): Likewise.
15804         (CFLAGS-sendmsg.c): Likewise.
15805         (CFLAGS-connect.c): Likewise.
15806         (CFLAGS-recvmsg.c): Likewise.
15807         (CFLAGS-recvfrom.c): Likewise.
15808         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
15809         (SOCKETCALL): New macro: non-cancellable socketcall.
15810         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
15811         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
15812         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
15813         * sysdeps/unix/sysv/linux/accept.c: New file.
15814         * sysdeps/unix/sysv/linux/bind.c: Likewise.
15815         * sysdeps/unix/sysv/linux/connect.c: Likewise.
15816         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
15817         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
15818         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
15819         * sysdeps/unix/sysv/linux/listen.c: Likewise.
15820         * sysdeps/unix/sysv/linux/recv.c: Likewise.
15821         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
15822         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15823         * sysdeps/unix/sysv/linux/send.c: Likewise.
15824         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15825         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
15826         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
15827         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
15828         * sysdeps/unix/sysv/linux/socket.c: Likewise.
15829         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
15830         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
15831         prototype.
15832         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
15833         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15834         instead of __internal_xxx function.
15835         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
15836         prototype.
15837         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
15838         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15839         instead of __internal_xxx function.
15840         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
15841         prototype.
15842         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
15843         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15844         instead of __internal_xxx function.
15845         * sysdeps/unix/sysv/linux/accept.S: Remove file.
15846         * sysdeps/unix/sysv/linux/bind.S: Likewise.
15847         * sysdeps/unix/sysv/linux/connect.S: Likewise.
15848         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
15849         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
15850         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
15851         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
15852         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
15853         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
15854         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
15855         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
15856         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15857         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
15858         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
15859         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
15860         * sysdeps/unix/sysv/linux/listen.S: Likewise.
15861         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
15862         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
15863         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
15864         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
15865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
15866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
15867         * sysdeps/unix/sysv/linux/recv.S: Likewise.
15868         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
15869         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
15870         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
15871         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15872         * sysdeps/unix/sysv/linux/send.S: Likewise.
15873         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
15874         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
15875         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
15876         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
15877         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
15878         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
15879         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
15880         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
15881         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
15882         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
15883         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
15884         socketcall is implemented in GLIBC.
15886 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15888         * soft-fp/fmadf4.c: Include <libc-internal.h>.
15889         (__fma): Ignore uninitialized warnings around packing.
15890         * soft-fp/fmasf4.c: Include <libc-internal.h>.
15891         (__fmaf): Ignore uninitialized warnings around packing.
15892         * soft-fp/fmatf4.c: Include <libc-internal.h>.
15893         (__fmal): Ignore uninitialized warnings around packing.
15895         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
15896         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15897         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
15898         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15900         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
15901         switch statement into default case.
15902         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
15904         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
15905         a conditional in forcing "inexact".
15906         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15907         Likewise.
15909 2015-05-22  Roland McGrath  <roland@hack.frob.com>
15911         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15912         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
15913         for each INTERNAL_SYSCALL use.
15915 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15917         [BZ #438]
15918         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
15919         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
15920         variable.
15922         [BZ #18444]
15923         * string/basename.c (basename): Rename to __basename and define as
15924         weak alias of __basename.  Use libc_hidden_weak.
15925         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
15926         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
15927         __basename instead of basename.
15928         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
15929         Remove variable.
15930         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15932 2015-05-18  Florian Weimer  <fweimer@redhat.com>
15934         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
15935         (_IO_JUMPS_FILE_plus): New.
15936         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
15937         _IO_CAST_FIELD_ACCESS.
15938         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
15939         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
15940         * libio/freopen.c (freopen): Likewise.
15941         * libio/freopen64.c (freopen64): Likewise.
15942         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
15943         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
15944         * libio/iofwide.c (_IO_fwide): Likewise.
15945         * libio/memstream.c (open_memstream): Likewise.
15946         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15947         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15948         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15950 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
15952         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
15953         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
15954         NADJ.
15955         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
15956         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
15957         NADJ.
15958         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
15959         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
15960         NADJ.
15962         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
15963         (p == 4) case.
15965         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
15966         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
15967         Remove variable.
15968         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15969         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15970         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15972 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15974         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
15975         Adjust jump table label generation macros.
15977 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15979         * stdio-common/vfprintf.c (vfprintf): Move local variables
15980         args_malloced, specs, specs_malloced, and the code after
15981         do_positional to the printf_positional function.
15982         (printf_positional): New function.
15984 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15986         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
15987         function.
15988         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
15989         STEP4_TABLE, process_arg): Move macro definitions
15990         out of the vfprintf function.  (Cosmetic change only.)
15992 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
15994         * benchtests/Makefile (stdio-common-bench): Define.
15995         (benchset): Add stdio-common-bench.
15996         * sprintf-inputs: New file.
15997         * sprintf-source.c: New file.
15999 2015-05-21  Andreas Schwab  <schwab@suse.de>
16001         [BZ #13028]
16002         [BZ #17053]
16003         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
16004         of struct __res_state.
16005         * resolv/res_send.c (__libc_res_nsend): Likewise.
16006         (get_nsaddr): New function.
16007         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
16008         statp directly.
16010 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
16012         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
16013         -D_POSIX_C_SOURCE=199506L.
16015         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
16017         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
16018         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
16019         Do not mention otherwise.
16020         [POSIX] (_XOPEN_VERSION): Do not expect.
16021         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
16022         [POSIX] (_POSIX2_C_BIND): Likewise.
16023         [POSIX] (_POSIX2_VERSION): Likewise.
16024         [POSIX] (_XOPEN_XPG2): Likewise.
16025         [POSIX] (_XOPEN_XPG3): Likewise.
16026         [POSIX] (_XOPEN_XPG4): Likewise.
16027         [POSIX] (_XOPEN_UNIX): Likewise.
16028         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
16029         [POSIX] (_POSIX_BARRIERS): Likewise.
16030         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
16031         [POSIX] (_POSIX_CPUTIME): Likewise.
16032         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
16033         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
16034         [POSIX] (_POSIX_SHELL): Likewise.
16035         [POSIX] (_POSIX_SPAWN): Likewise.
16036         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
16037         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
16038         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
16039         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
16040         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
16041         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
16042         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
16043         [POSIX] (_XBS5_LP64_OFF64): Likewise.
16044         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
16045         [POSIX] (_POSIX_TIMEOUTS): Likewise.
16046         [POSIX] (_POSIX2_PBS): Likewise.
16047         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
16048         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
16049         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
16050         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
16051         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
16052         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
16053         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
16054         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
16055         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
16056         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
16057         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
16058         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
16059         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
16060         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
16061         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
16062         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
16063         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
16064         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
16065         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
16066         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
16067         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
16068         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
16069         [POSIX] (_SC_2_C_BIND): Likewise.
16070         [POSIX] (_SC_2_C_VERSION): Likewise.
16071         [POSIX] (_SC_2_PBS): Likewise.
16072         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
16073         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
16074         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
16075         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
16076         [POSIX] (_SC_2_PBS_TRACK): Likewise.
16077         [POSIX] (_SC_ATEXIT_MAX): Likewise.
16078         [POSIX] (_SC_BARRIERS): Likewise.
16079         [POSIX] (_SC_BASE): Likewise.
16080         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
16081         [POSIX] (_SC_DEVICE_IO): Likewise.
16082         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
16083         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
16084         [POSIX] (_SC_FD_MGMT): Likewise.
16085         [POSIX] (_SC_FIFO): Likewise.
16086         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
16087         [POSIX] (_SC_FILE_LOCKING): Likewise.
16088         [POSIX] (_SC_FILE_SYSTEM): Likewise.
16089         [POSIX] (_SC_IOV_MAX): Likewise.
16090         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
16091         [POSIX] (_SC_NETWORKING): Likewise.
16092         [POSIX] (_SC_PAGE_SIZE): Likewise.
16093         [POSIX] (_SC_PASS_MAX): Likewise.
16094         [POSIX] (_SC_PIPE): Likewise.
16095         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
16096         [POSIX] (_SC_REGEXP): Likewise.
16097         [POSIX] (_SC_SHELL): Likewise.
16098         [POSIX] (_SC_SIGNALS): Likewise.
16099         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
16100         [POSIX] (_SC_SPIN_LOCKS): Likewise.
16101         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
16102         [POSIX] (_SC_USER_GROUPS): Likewise.
16103         [POSIX] (_SC_USER_GROUPS_R): Likewise.
16104         [POSIX] (_SC_STREAMS): Likewise.
16105         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
16106         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
16107         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
16108         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
16109         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
16110         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
16111         [POSIX] (_PC_FILESIZEBITS): Likewise.
16112         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
16113         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
16114         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
16115         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
16116         [POSIX] (uid_t): Likewise.
16117         [POSIX] (gid_t): Likewise.
16118         [POSIX] (off_t): Likewise.
16119         [POSIX] (pid_t): Likewise.
16120         [POSIX] (cuserid): Allow.
16121         (_SC_2_CHAR_TERM): Require constant.
16122         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
16123         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16124         variable.
16126 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16128         * sysdeps/nacl/pthread-pids.h: New file.
16129         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16130         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16132         * nptl/pthread-pids.h: New file.
16133         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16134         * nptl/nptl-init.c: Include <pthread-pids.h>.
16135         (__pthread_initialize_minimal_internal):
16136         Call __pthread_initialize_pids instead of set_tid_address syscall.
16138         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16139         * sysdeps/posix/usleep.c: ... here.
16141 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16143         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16144         call_pselect6 object.
16145         [$(subdir) = io]: Remove call_sync_file_range object.
16146         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16147         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16148         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16149         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16151 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16153         * math/s_cproj.c: Add include "math_private.h".
16154         * math/s_cprojf.c: Likewise.
16155         * math/s_cprojl.c: Likewise.
16157 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16159         [BZ #18244]
16160         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16161         high mantissa bit when testing whether P is a NaN.
16162         * math/libm-test.inc (remainder_test_data): Add more tests.
16163         (remquo_test_data): Likewise.
16165         [BZ #18049]
16166         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16167         below -32, return the argument, with underflow if subnormal.
16168         * math/auto-libm-test-in: Add more tests of atanh.
16169         * math/auto-libm-test-out: Regenerated.
16171 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16173         [BZ #18434]
16174         * nptl/tst-sem15.c: New file.
16175         * nptl/Makefile (tests): Add it.
16176         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16177         s/<</>>/ to fix typo in EOVERFLOW check.
16178         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16180 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16182         * manual/strings.texi (envz_remove): Fix typo in safety
16183         annotations.
16185 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16186             Steve Ellcey  <sellcey@imgtec.com>
16188         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16189         in order to avoid strict alias warnings.
16190         (iruserok_af): Ditto for ra.
16192 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16194         [BZ #17581]
16195         * malloc/hooks.c
16196         (magicbyte): Convert to a function and avoid returning 0x01.
16197         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16198         (mem2chunk_check): Fix unsigned comparisons to zero.
16199         Hoist defs of sz and magic.
16201 2015-05-19  Richard Henderson  <rth@redhat.com>
16203         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16205         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16207 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16209         [BZ #16159]
16210         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16211         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16212         (reused_arena): Find a non-corrupt arena.
16213         (heap_trim): Pass arena to unlink.
16214         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16215         malloc_printerr.
16216         (top_check): Likewise.
16217         (free_check): Likewise.
16218         (realloc_check): Likewise.
16219         * malloc/malloc.c (malloc_printerr): Add arena argument.
16220         (unlink): Likewise.
16221         (munmap_chunk): Adjust.
16222         (ARENA_CORRUPTION_BIT): New macro.
16223         (arena_is_corrupt): Likewise.
16224         (set_arena_corrupt): Likewise.
16225         (sysmalloc): Use mmap if there are no usable arenas.
16226         (_int_malloc): Likewise.
16227         (__libc_malloc): Don't fail if arena_get returns NULL.
16228         (_mid_memalign): Likewise.
16229         (__libc_calloc): Likewise.
16230         (__libc_realloc): Adjust for additional argument to
16231         malloc_printerr.
16232         (_int_free): Likewise.
16233         (malloc_consolidate): Likewise.
16234         (_int_realloc): Likewise.
16235         (_int_memalign): Don't touch corrupt arenas.
16236         * malloc/tst-malloc-backtrace.c: New test case.
16238         * Makefile (summarize-tests): Fix return value on success.
16240         * manual/string.texi (Envz Functions): Add envz_remove.
16242 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16244         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16245         (invalid_name): New function, broken out of ...
16246         (__opendirat): ... here.  Call it.
16247         (need_isdir_precheck): New function, broken out of ...
16248         (__opendirat): ... here.  Call it.
16249         Use __fxstatat64, not __xstatat64.
16250         (opendir_oflags): New function, broken out of ...
16251         (__opendirat): ... here.  Call it.
16252         (opendir_tail): New function, broken out of ...
16253         (__opendirat): ... here.  Call it.
16254         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16255         opendir_tail, rather than punting to __opendirat.
16256         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16258 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16260         * .gitignore: Ignore generated *.pyc.
16262 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16264         * include/stdio.h: Define __need_wint_t.
16265         * test-skeleton.c: Avoid `for' loop initial declaration.
16266         * nptl/tst-initializers1.c: Use test-skeleton.c.
16268 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16270         [BZ #18418]
16271         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16273 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16275         [BZ #16352]
16276         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16277         (__ieee754_atanh): Force underflow exception for results with
16278         small absolute value.
16279         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16280         (__ieee754_atanhf): Force underflow exception for results with
16281         small absolute value.
16282         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16283         (__ieee754_atanh): Force underflow exception for results with
16284         small absolute value.
16285         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16286         (__ieee754_atanhf): Force underflow exception for results with
16287         small absolute value.
16288         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16289         (__ieee754_atanhl): Force underflow exception for results with
16290         small absolute value.
16291         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16292         (__ieee754_atanhl): Force underflow exception for results with
16293         small absolute value.
16294         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16295         (__ieee754_atanhl): Force underflow exception for results with
16296         small absolute value.
16297         * math/auto-libm-test-in: Do not allow missing underflow
16298         exceptions from atanh.
16299         * math/auto-libm-test-out: Regenerated.
16301         [BZ #18221]
16302         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16303         2**-28 as threshold for returning x or +/- 1/x.
16304         * math/auto-libm-test-in: Add more tests of tan.
16305         * math/auto-libm-test-out: Regenerated.
16307         [BZ #18220]
16308         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16309         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16310         * math/auto-libm-test-in: Add another test of lgamma.
16311         * math/auto-libm-test-out: Regenerated.
16313 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16315         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16316         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16317         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16318         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16319         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16320         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16321         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16322         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16323         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16324         (log1): Use fabs.  (my_log2): Use fabs.
16325         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16326         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16327         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16328         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16329         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16330         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16331         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16332         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16333         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16334         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16335         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16337 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16339         [BZ #18217]
16340         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16341         as threshold for returning 1 - x.
16342         * math/auto-libm-test-in: Add more tests of erfc.
16343         * math/auto-libm-test-out: Regenerated.
16345 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16347         [BZ #18196]
16348         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16349         threshold for large arguments.
16350         * math/auto-libm-test-in: Add another test of atan.
16351         * math/auto-libm-test-out: Regenerated.
16353         [BZ #16339]
16354         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16355         (__log1p): Force underflow exception for results with small
16356         absolute value.
16357         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16358         (__log1pf): Force underflow exception for results with small
16359         absolute value.
16360         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16361         (__log1p): Force underflow exception for results with small
16362         absolute value.
16363         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16364         (__log1pf): Force underflow exception for results with small
16365         absolute value.
16366         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16367         (__log1pl): Force underflow exception for results with small
16368         absolute value.
16369         * math/auto-libm-test-in: Do not allow missing underflow
16370         exceptions from log1p.
16371         * math/auto-libm-test-out: Regenerated.
16373 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16374             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16376         [BZ #16704]
16377         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16379 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16381         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16382         (libmvec): New variable.
16383         * configure.ac: Added option for mathvec build.
16384         * configure: Regenerated.
16385         * mathvec/Depend: New file.
16386         * mathvec/Makefile: New file.
16387         * shlib-versions: Added libmvec.
16388         * math/Makefile: Added rule for libm.so installation.
16390         * bits/math-vector.h: New file.
16391         * bits/libm-simd-decl-stubs.h: New header.
16392         * math/Makefile (headers): Added new header
16393         libm-simd-decl-stubs.h.
16394         * math/math.h (__MATHCALL_VEC): New macro.
16396         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16397         for conditions in testing functions.
16398         * math/Makefile: Added call of libm-have-vector-test.sh.
16399         * math/libm-test.inc (HAVE_VECTOR): New macros.
16401         * math/libm-test.inc: START refactored.
16402         * math/test-double.c (TEST_MATHVEC): Add define.
16403         * math/test-float.c: Likewise.
16404         * math/test-idouble.c: Likewise.
16405         * math/test-ifloat.c: Likewise.
16406         * math/test-ildoubl.c: Likewise.
16407         * math/test-ldouble.c: Likewise.
16408         * sysdeps/generic/math-tests-arch.h
16409         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16410         architecture check.
16412         * math/test-double.c (FUNC_TEST): New macro.
16413         * math/test-float.c: Likewise.
16414         * math/test-idouble.c: Likewise.
16415         * math/test-ifloat.c: Likewise.
16416         * math/test-ildoubl.c: Likewise.
16417         * math/test-ldouble.c: Likewise.
16418         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16420 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16422         * sysdeps/nacl/fdopendir.c: New file.
16424         * dirent/scandir-tail.c: New file.
16425         * dirent/scandir64-tail.c: New file.
16426         * dirent/Makefile (routines): Add them.
16427         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16428         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16429         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16430         [!SCANDIR] (SCANDIR_TAIL): New macro.
16431         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16432         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16433         (SCANDIRAT): Macro removed.
16434         (SCANDIR_TAIL): New macro.
16435         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16436         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16437         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16438         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16439         (READDIR): Macro removed.
16440         (SCANDIR_TAIL): New macro.
16441         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16442         (SCANDIR_TAIL): New macro.
16444         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16445         * dirent/scandir-cancel.c: ... to this new file.
16446         * dirent/Makefile (routines): Add it.
16447         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16448         * sysdeps/unix/sysv/linux/i386/scandir64.c
16449         (SKIP_SCANDIR_CANCEL): Macro removed.
16450         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16452         * dirent/tst-scandir.c: New file.
16453         * dirent/tst-scandir64.c: New file.
16454         * dirent/Makefile (tests): Add them.
16456 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16458         [BZ #18409]
16459         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16461 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16463         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16464         list.
16466 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16468         * benchtests/bench-strcoll.c: New benchmark.
16469         * benchtests/Makefile: Generate locales and run benchmark.
16470         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16471         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16472         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16473         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16474         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16475         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16476         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16477         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16478         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16479         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16480         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16481         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16482         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16483         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16484         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16485         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16486         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16487         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16488         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16489         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16490         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16491         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
16492         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
16493         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
16495 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
16497         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
16498         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16500 2015-05-12  Roland McGrath  <roland@hack.frob.com>
16502         * posix/uname-values.h: New file.
16503         * posix/uname.c: Include that instead of <config-name.h>.
16504         * sysdeps/nacl/uname-values.h: New file.
16505         * sysdeps/arm/nacl/uname-values.h: New file.
16507 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16509         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16510         splitting into fields.
16512 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16514         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16515         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16516         * locale/localeinfo.h: Add enum collation_encoding_type.
16517         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16518         * programs/ld-collate.c (collate_output): Add encoding type info.
16519         * string/strcoll_l.c (STRDIFF): New function.
16520         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16521         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16523 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16525         [BZ #18397]
16526         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16527         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
16528         <fpu_control.h> instead of <math/fpu_control.c>.
16529         * sysdeps/mips/mips32/fpu/Makefile: New file.
16531 2015-05-11  Andreas Schwab  <schwab@suse.de>
16533         [BZ #18007]
16534         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
16535         nss_endgrent.
16536         (_nss_compat_endgrent): Call nss_endgrent.
16537         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
16538         nss_endpwent.
16539         (_nss_compat_endpwent): Call nss_endpwent.
16540         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
16541         needent, call nss_setspent only if non-zero.
16542         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
16543         (internal_endspent): Don't call nss_endspent.
16544         (_nss_compat_endspent): Call nss_endspent.
16545         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
16546         Remove.  All uses removed.
16547         (internal_setent): Remove parameter stayopen, add parameter
16548         stream.  Use it instead of global variable.
16549         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
16550         (internal_endent, internal_getent): Add parameter stream.  Use it
16551         instead of global variable.
16552         (CONCAT(_nss_files_end,ENTNAME))
16553         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
16554         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
16555         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
16556         uses removed.
16557         (internal_setent, internal_endent): Add parameter stream.  Use it
16558         instead of global variable.
16559         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
16560         stream.
16561         (get_next_alias): Add parameter stream.
16562         (_nss_files_getaliasent_r): Pass global stream.
16563         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
16564         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
16565         (_nss_files_gethostbyname4_r): Pass local stream to
16566         internal_setent, internal_getent and internal_endent.  Remove
16567         locking.
16569 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16571         * tst-strfmon1.c (tests): Update expected currency symbol.
16573 2015-05-08  Roland McGrath  <roland@hack.frob.com>
16575         * sysdeps/nacl/gethostname.c: New file.
16577 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
16579         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
16580         and sinh.
16581         * math/auto-libm-test-out: Regenerated.
16582         * sysdeps/i386/fpu/libm-test-ulps: Update.
16583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16585 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
16587         [BZ #18125]
16588         * stdlib/tst-setcontext3.c: New file.
16589         * stdlib/tst-setcontext3.sh: New file.
16590         * stdlib/Makefile (tests): Add tst-setcontext3.
16591         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
16592         to verify test program created output file.
16593         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
16594         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
16595         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
16596         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
16598 2015-05-06  Roland McGrath  <roland@hack.frob.com>
16600         [BZ #18383]
16601         * elf/tst-tlsalign.c: New file.
16602         * elf/tst-tlsalign-static.c: New file.
16603         * elf/tst-tlsalign-lib.c: New file.
16604         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
16605         (tests-static): Add tst-tlsalign-static.
16606         (modules-names): Add tst-tlsalign-lib.
16607         (test-xfail-tst-tlsalign): New variable.
16608         (test-xfail-tst-tlsalign-static): New variable.
16610         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
16611         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
16613 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
16615         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
16616         csqrt, erfc, sin and sincos.
16617         * math/auto-libm-test-out: Regenerated.
16618         * sysdeps/i386/fpu/libm-test-ulps: Update.
16619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16621 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16623         * sysdeps/aarch64/libm-test-ulps: Update.
16625 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
16627         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
16628         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
16629         * math/auto-libm-test-out: Regenerated.
16630         * sysdeps/i386/fpu/libm-test-ulps: Update.
16631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16633 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16635         [BZ #18265]
16636         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
16637         (wcsncpy): Likewise.
16639 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16641         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16642         Assume __ASSUME_FALLOCATE is always true.
16643         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16644         (__posix_fallocate64_l64): Likweise.
16645         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
16646         (posix_fallocate): Likewise.
16647         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
16648         (__posix_fallocate64_l64): Likewise.
16649         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16650         [!__ASSUME_FALLOCATE]: Add comment.
16652 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16654         * sysdeps/unix/sysv/linux/i386/Makefile
16655         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
16656         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
16657         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
16658         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16659         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16660         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
16661         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
16663 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
16665         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
16666         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
16667         tgamma.
16668         * math/auto-libm-test-out: Regenerated.
16669         * sysdeps/i386/fpu/libm-test-ulps: Update.
16670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16672 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16674         * math/auto-libm-test-in: Add more tests of tgamma.
16675         * math/auto-libm-test-out: Regenerated.
16676         * sysdeps/i386/fpu/libm-test-ulps: Update.
16677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16679         * math/auto-libm-test-in: Add more tests of tanh.
16680         * math/auto-libm-test-out: Regenerated.
16681         * sysdeps/i386/fpu/libm-test-ulps: Update.
16682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16684         * math/auto-libm-test-in: Add more tests of tan.
16685         * math/auto-libm-test-out: Regenerated.
16686         * sysdeps/i386/fpu/libm-test-ulps: Update.
16687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16689         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
16690         * math/auto-libm-test-out: Regenerated.
16691         * sysdeps/i386/fpu/libm-test-ulps: Update.
16692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16694         * math/auto-libm-test-in: Add another test of pow.
16695         * math/auto-libm-test-out: Regenerated.
16696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16698         * math/auto-libm-test-in: Add more tests of lgamma.
16699         * math/auto-libm-test-out: Regenerated.
16700         * sysdeps/i386/fpu/libm-test-ulps: Update.
16701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16703         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
16704         log1p.
16705         * math/auto-libm-test-out: Regenerated.
16706         * sysdeps/i386/fpu/libm-test-ulps: Update.
16707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16709 2015-05-01  Mark Wielaard  <mjw@redhat.com>
16711         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
16712         Elf64_Chdr structs and ELFCOMPRESS constants.
16714 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16716         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
16717         expm1.
16718         * math/auto-libm-test-out: Regenerated.
16719         * sysdeps/i386/fpu/libm-test-ulps: Update.
16720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16722         * math/auto-libm-test-in: Add more tests of erf and erfc.
16723         * math/auto-libm-test-out: Regenerated.
16724         * sysdeps/i386/fpu/libm-test-ulps: Update.
16725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16727 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16729         * config.h.in (HAVE_AARCH64_BE): Add.
16731 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
16733         * math/auto-libm-test-in: Add more tests of csqrt.
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 cosh and sinh.
16739         * math/auto-libm-test-out: Regenerated.
16740         * sysdeps/i386/fpu/libm-test-ulps: Update.
16741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16743         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
16745 2015-04-29  Roland McGrath  <roland@hack.frob.com>
16747         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
16748         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
16750         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
16751         (euidaccess, eaccess): Define as weak aliases.
16753         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
16754         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
16755         but __suseconds_t is often 'long int' so some sources assume that
16756         type is being used (e.g. they use %ld to print tv_usec).
16758 2015-04-29  Florian Weimer  <fweimer@redhat.com>
16760         [BZ #18007]
16761         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
16762         (CVE-2014-8121)
16763         * nss/tst-nss-getpwent.c: New file.
16764         * nss/Makefile (tests): Add new test.
16766 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
16768         [BZ #18346]
16769         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
16770         exponents less than 48 as cases where high part of mantissa needs
16771         examining to determine whether argument is integral.
16772         * math/libm-test.inc (round_test_data): Add more tests.
16774 2015-04-28  Mark Wielaard  <mjw@redhat.com>
16776         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
16778 2015-04-27  David S. Miller  <davem@davemloft.net>
16780         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
16781         __tls_get_addr.
16782         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16784 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
16786         [BZ#18333]
16787         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
16789 2015-04-27  Florian Weimer  <fweimer@redhat.com>
16791         [BZ#18333]
16792         * time/tzset.c (parse_tzname): Return error on memory allocation
16793         failure.
16794         * test-skeleton.c (struct temp_name_list): Change type of name
16795         member to non-const.
16796         (add_temp_file): Create a copy of the file name.
16797         (delete_temp_files): Deallocate memory.
16798         (create_temp_file): Add comment.
16800 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16802         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
16803         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
16805 2015-04-24  Roland McGrath  <roland@hack.frob.com>
16807         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
16808         * sysdeps/arm/configure: Regenerated.
16810 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16812         [BZ #17715]
16813         * time/tzfile.c (__tzfile_read): Check for large values of
16814         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
16815         * time/tzset.c (__tzstring_len): New function, based on the old
16816         __tzstring function.
16817         (__tzstring): Call __tzstring_len.
16818         (parse_tzname): New helper function extracted from
16819         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
16820         the input string.
16821         (parse_offset): New helper function extracted from
16822         __tzset_parse_tz.  Replace switch with fallthrough with
16823         initialization before sscanf.
16824         (parse_rule): Likewise.
16825         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
16826         new-style function definition.
16827         * timezone/Makefile (tests): Add tst-tzset.
16828         (tst-tzset.out): Dependencies on time zone files.
16829         (tst-tzset-ENV): Set TZDIR.
16830         (testdata/XT%): Copy crafted time zone files.
16831         * timezone/README: Mention crafted time zone files.
16832         * timezone/testdata/XT1, timezone/testdata/XT2,
16833         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
16834         files.
16835         * timezone/tst-tzset.c: New test.
16837 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16839         * Makeconfig (+gccwarn): Remove -Winline.
16841 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16843         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
16845 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16847         * NEWS: Mention sysconf() cache information support for s390.
16848         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
16850 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
16852         * math/k_casinh.c (__kernel_casinh): Use __copysign.
16853         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
16854         (__nearbyint): Likewise.
16855         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
16856         (copysignl): Likewise.
16858 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
16860         [BZ #18287]
16861         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
16862         based on padding.  (CVE-2015-1781)
16864 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16866         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
16867         libc-vdso.h.
16868         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
16869         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
16870         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
16871         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16872         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16873         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
16874         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
16875         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16876         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16877         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
16878         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16879         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16880         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16881         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
16882         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16883         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
16884         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
16885         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
16886         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
16887         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
16888         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
16889         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
16890         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
16892 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
16894         * stdlib/setenv.c (__add_to_environ):
16895         Dump core quickly if setenv (..., NULL, ...) is called.
16896         This time, do it the right way, and pacify GCC with a pragma.
16898 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16900         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
16901         IMAP->l_prev cannot be null, and #if out the code for the contrary
16902         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
16903         believe that NS (&_dl_ns[NSID]) could point outside the array.
16905         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
16906         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16907         before using NSID as an index.
16909 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
16911         [BZ #17825]
16912         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16913         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
16914         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16916 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16918         Add preliminary port to Google Native Client on ARM.
16919         * abi-tags (.*-.*-nacl.*): New entry.
16920         * sysdeps/arm/nacl: New directory.
16921         * sysdeps/nacl: New directory.
16923 2015-04-16  David S. Miller  <davem@davemloft.net>
16925         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
16926         lowlevellock-futex.h
16928 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
16930         * sysdeps/tile/configure.ac: New file.
16931         * sysdeps/tile/configure: Regenerated.
16933 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16935         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
16936         conditionals for weak_alias and libc_hidden_weak.
16937         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16938         libc_hidden_weak and weak_alias.
16939         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
16940         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
16941         and weak_alias for static one.
16943 2015-04-15  David S. Miller  <davem@davemloft.net>
16945         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16947 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16949         [BZ #18206]
16950         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
16951           Use signed comparision instead of substraction to avoid
16952           overflow bug.
16953         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
16954           Take the sign of ret.
16955         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
16956           Do not expect precise return values. Only the sign matters.
16957         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
16958         * wcsmbs/test-wcsncmp.c: New File.
16959         * string/test-strncmp.c: Add wcsncmp support.
16961 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16963         [BZ #6792]
16964         * math/w_log1p.c: New file.
16965         * math/w_log1pf.c: Likewise.
16966         * math/w_log1pl.c: Likewise.
16967         * math/Makefile (libm-calls): Add w_log1p.
16968         * math/s_log1pl.c (log1pl): Remove weak_alias.
16969         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
16970         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
16971         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
16972         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
16973         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
16974         [NO_LONG_DOUBLE] (log1pl): Likewise.
16975         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
16976         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
16977         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
16978         (log1p): Remove long_double_symbol.
16979         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
16980         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
16981         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
16982         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
16983         remove weak_alias for corresponding log1p function.
16984         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
16985         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16986         * sysdeps/ia64/fpu/w_log1p.c: New file.
16987         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
16988         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
16989         * math/libm-test.inc (log1p_test_data): Add errno expectations.
16991 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
16993         [BZ #18247]
16994         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
16995         decimal exponent by 1.
16996         * stdlib/tst-strtod-round-data: Add more tests.
16997         * stdlib/tst-strtod-round.c (tests): Regenerated.
16999 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
17001         * math/auto-libm-test-in: Add more tests of clog and clog10.
17002         * math/auto-libm-test-out: Regenerated.
17003         * sysdeps/i386/fpu/libm-test-ulps: Update.
17004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17006 2015-04-09  Roland McGrath  <roland@hack.frob.com>
17008         * Makeconfig (module-cppflags): Exclude all .v.i files.
17009         (skip-module-cppflags): Variable removed.
17011         * configure.ac (libc_config_ok): Initialize before reading
17012         preconfigure scripts, not after.
17013         * configure: Regenerated.
17015         * test-skeleton.c (TIMEOUT): Move #define to top level.
17016         (main): Grok environment variable TEST_DIRECT.  If set, print
17017         test expectation details into that file and then behave as if
17018         given --direct.
17020 2015-04-09  Florian Weimer  <fweimer@redhat.com>
17022         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
17023         warning on 32-bit.
17025 2015-04-08  David S. Miller  <davem@davemloft.net>
17027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17029 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17031         * math/auto-libm-test-in: Add more tests of atanh.
17032         * math/auto-libm-test-out: Regenerated.
17033         * sysdeps/i386/fpu/libm-test-ulps: Update.
17034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17036         * math/auto-libm-test-in: Add more tests of atan.
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-08  Florian Weimer  <fweimer@redhat.com>
17043         * elf/pldd.c (main): Rewrite to use struct
17044         scratch_buffer instead of extend_alloca.
17045         * elf/pldd-xx.c (find_maps): Likewise.
17046         * grp/initgroups.c: Include <scratch_buffer.h> instead of
17047         <alloca.h>.
17048         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
17049         scratch_buffer instead of extend_alloca.
17050         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
17051         grp/compat-initgroups.c.
17052         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
17053         Rewrite to use struct scratch_buffer instead of extend_alloca.
17054         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
17055         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17057 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17059         * math/auto-libm-test-in: Add more tests of cbrt.
17060         * math/auto-libm-test-out: Regenerated.
17061         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17063         * math/auto-libm-test-in: Add more tests of cabs.
17064         * math/auto-libm-test-out: Regenerated.
17065         * sysdeps/i386/fpu/libm-test-ulps: Update.
17066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17068         [BZ #18210]
17069         [BZ #18211]
17070         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
17071         (__ieee754_atan2): Set FE_TONEAREST mode for internal
17072         computations.
17073         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
17074         clog10.
17075         * math/auto-libm-test-out: Regenerated.
17076         * sysdeps/i386/fpu/libm-test-ulps: Update.
17077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17079         [BZ #18197]
17080         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
17081         (atan): Set FE_TONEAREST mode for internal computations.
17082         * math/auto-libm-test-in: Add more tests of atan.
17083         * math/auto-libm-test-out: Regenerated.
17085 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
17087         [BZ #17930]
17088         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
17090 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17092         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17094 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17096         * include/scratch_buffer.h: New file.
17097         * malloc/scratch_buffer_grow.c: Likewise.
17098         * malloc/scratch_buffer_grow_preserve.c: Likewise.
17099         * malloc/scratch_buffer_set_array_size.c: Likewise.
17100         * malloc/tst-scratch_buffer.c: Likewise.
17101         * malloc/Makefile (routines): Add scratch_buffer_grow.
17102         (tests): Add test case.
17103         * malloc/Versions (GLIBC_PRIVATE): Export
17104         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
17105         __libc_scratch_buffer_set_array_size.
17107 2015-04-06  Richard Henderson  <rth@redhat.com>
17109         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
17110         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17112         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
17113         unsigned int before printing.
17115 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17117         [BZ #17596]
17118         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
17119         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17121 2015-04-02  Florian Weimer  <fweimer@redhat.com>
17123         * include/libc-internal.h (libc_max_align_t): Define.
17125 2015-04-02  Andreas Schwab  <schwab@suse.de>
17127         [BZ #16850]
17128         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17130 2015-04-02  Mel Gorman  <mgorman@suse.de>
17132         [BZ #17195]
17133         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17134         as well as the main arena.
17136 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17138         [BZ #18185]
17139         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17140         sharing L2 cache to 2 for Silvermont/Knights Landing.
17142 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17144         [BZ #17711]
17145         * config.make.in (have-protected-data): New.
17146         * configure.ac: Check linker support for protected data symbol.
17147         * configure: Regenerated.
17148         * elf/Makefile (modules-names): Add tst-protected1moda and
17149         tst-protected1modb if $(have-protected-data) is yes.
17150         (tests): Add tst-protected1a and tst-protected1b if
17151         $(have-protected-data) is yes.
17152         ($(objpfx)tst-protected1a): New.
17153         ($(objpfx)tst-protected1b): Likewise.
17154         (tst-protected1modb.so-no-z-defs): Likewise.
17155         * elf/tst-protected1a.c: New file.
17156         * elf/tst-protected1b.c: Likewise.
17157         * elf/tst-protected1mod.h: Likewise.
17158         * elf/tst-protected1moda.c: Likewise.
17159         * elf/tst-protected1modb.c: Likewise.
17161 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17163         [BZ #17711]
17164         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17165         indicates it is called from do_lookup_x on relocation against
17166         protected data, skip the data definion in the executable from
17167         copy reloc.
17168         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17169         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17170         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17171         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17172         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17173         otherwise to 0.
17174         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17175         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17176         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17177         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17178         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17179         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17181 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17183         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17184         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17186 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17188         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17189         THREAD_SETMEM_NC.
17190         * sysdeps/x86_64/nptl/tls.h: Ditto.
17192 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17194         * dlfcn/tststatic.c (main): Converted to ...
17195         (do_test): ... this.
17196         (TEST_FUNCTION): New macro.
17197         Include test-skeleton.c.
17199 2015-03-26  Alan Modra  <amodra@gmail.com>
17201         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17202         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17203         zero for undefined weak.
17204         (elf_machine_plt_conflict): Similarly.
17206 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17208         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17209         atanh.
17210         * math/auto-libm-test-out: Regenerated.
17211         * sysdeps/i386/fpu/libm-test-ulps: Update.
17212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17214         * math/auto-libm-test-in: Add another test of asin.
17215         * math/auto-libm-test-out: Regenerated.
17216         * sysdeps/i386/fpu/libm-test-ulps: Update.
17217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17219         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17220         Remove macro.
17221         (LLL_EBX_REG): Likewise.
17222         (LLL_ENTER_KERNEL): Likewise.
17224         * math/auto-libm-test-in: Add more tests of asin.
17225         * math/auto-libm-test-out: Regenerated.
17226         * sysdeps/i386/fpu/libm-test-ulps: Update.
17227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17229         [BZ #18138]
17230         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17231         libc_do_syscall_args): New structure.
17232         (INTERNAL_SYSCALL_MAIN_0): New macro.
17233         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17234         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17235         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17236         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17237         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17238         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17239         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17240         Replace conditional definitions by conditional definitions of ....
17241         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17242         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17243         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17244         (libpthread-sysdep_routines): Add libc-do-syscall.
17245         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17246         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17247         to __NR_futex not 240.
17249 2015-03-25  Alan Modra  <amodra@gmail.com>
17251         * NEWS: Advertise TLS optimization.
17252         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17253         (DT_PPC_NUM): Increment.
17254         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17255         (CHECK_STATIC_TLS): Use here.
17256         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17257         TLS descriptors.
17258         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17259         * sysdeps/powerpc/dl-tls.c: New file.
17260         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17261         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17262         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17263         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17268 2015-03-25  Alan Modra  <amodra@gmail.com>
17270         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17271         for overlapping .opd entries" to "support...".
17272         * sysdeps/powerpc/powerpc64/configure: Regenerate
17274 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17276         * math/auto-libm-test-in: Add more tests of acos.
17277         * math/auto-libm-test-out: Regenerated.
17278         * sysdeps/i386/fpu/libm-test-ulps: Update.
17279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17281         * math/auto-libm-test-in: Add more tests of expm1.
17282         * math/auto-libm-test-out: Regenerated.
17283         * sysdeps/i386/fpu/libm-test-ulps: Update.
17284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17286 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17288         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17289         * math/auto-libm-test-out: Regenerated.
17290         * sysdeps/i386/fpu/libm-test-ulps: Update.
17291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17293         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17296         * math/auto-libm-test-in: Add more tests of log2.
17297         * math/auto-libm-test-out: Regenerated.
17298         * sysdeps/i386/fpu/libm-test-ulps: Update.
17299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17301 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17303         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17304         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17305         _IO_IS_APPENDING bit in READ_WRITE instead.
17307 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17309         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17310         (__determine_cpumask_size): Replace extend_alloca with a
17311         variable-length array.  Do not treat res == 0 as an error.
17313 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17315         [BZ #18100]
17316         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17317         and integer overflow.
17318         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17319         (main): Add integer overflow tests.
17320         * manual/pattern.texi (Calling Wordexp): Document additional use
17321         for WRDE_SYNTAX.
17323 2015-03-23  Alan Modra  <amodra@gmail.com>
17325         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17326         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17327         and false branch of conditional.
17328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17329         Likewise.
17331 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17333         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17334         libc-modules.h
17335         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17336         unused declaration of _hurd_intr_rpc_msg_in_trap.
17337         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17338         defined instead of whether it is non-zero.
17339         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17340         input constraint instead of both input and output constraint.  Use ecx
17341         clobber instead of %ecx.
17342         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17343         mutex_unlock): Use a statement expression instead of an expression list.
17344         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17345         type to vm_size_t instead of vm_address_t.
17346         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17347         defined instead of whether it is non-zero.
17348         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17349         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17350         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17351         comparisons with mapaddr.
17352         * nscd/nscd-client.h: Include <time.h>.
17353         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17354         9th parameter to __vm_region instead of int.
17355         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17356         * scripts/check-local-headers.sh (exclude): Add device/,
17357         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17358         cthreads.h.
17360 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17362         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17363         to account for alignment padding.
17364         * sysdeps/arm/memmove.S: Likewise.
17366 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17368         * sysdeps/unix/sysv/linux/generic/README: New file.
17370 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17372         [BZ #18138]
17373         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17374         (futex_abstimed_wait)
17375         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17376         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17377         of lll_futex_timed_wait.
17379 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17381         [BZ #17542]
17382         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17384 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17386         [BZ #17090]
17387         [BZ #17620]
17388         [BZ #17621]
17389         [BZ #17628]
17390         * NEWS: Update.
17391         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17392         entries with Static TLS too.  Skip entries past the end of the
17393         allocated DTV, from Alan Modra.
17394         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17395         Static TLS DTV entry set up from...
17396         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17397         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17398         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17399         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17400         for Static TLS.
17401         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17402         that the slot we find is associated with the given map before
17403         using its generation count.
17404         * nptl_db/db_info.c: Include ldsodefs.h.
17405         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17406         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17407         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17408         (link_map::l_tls_offset): New struct field.
17409         (dtv_t::counter): Likewise.
17410         (rtld_global): New struct.
17411         (_rtld_global): New rtld variable.
17412         (dl_tls_dtv_slotinfo_list): New rtld global field.
17413         (dtv_slotinfo_list): New struct.
17414         (dtv_slotinfo): Likewise.
17415         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17416         (td_lookup): Rename to...
17417         (td_mod_lookup): ... this.  Use new mod parameter instead of
17418         LIBPTHREAD_SO.
17419         * nptl_db/td_thr_tlsbase.c: Include link.h.
17420         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17421         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17422         addresses even if the DTV is out of date or missing them.
17423         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17424         index zero-length arrays.
17425         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17426         (td_lookup): Make it a macro implemented in terms of...
17427         (td_mod_lookup): ... this declaration.
17428         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17429         (DB_MAIN_VARIABLE): Likewise.
17431 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17433         [BZ #18134]
17434         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17436 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17438         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17440 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17442         [BZ #18128]
17443         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17444         (atomic_add, atomic_increment_and_test)
17445         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17447 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17449         * stdlib/setenv.c (__add_to_environ):
17450         Dump core quickly if setenv (..., NULL, ...) is called.
17452 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17454         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17455         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17456         all the necessary asm magic in one place.
17457         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17458         using those.
17460 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17462         [BZ #14906]
17463         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17464         traced file mtime. Use consistent log message.
17465         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17466         (register_traced_file): Call install_watches. Always set mtime.
17467         (invalidate_cache): Iterate over all trace files. Call install_watches.
17468         (inotify_check_files): Don't inline. Handle watching parent
17469         directories and configuration file movement in and out.
17470         (handle_inotify_events): New function.
17471         (main_loop_poll): Call handle_inotify_events.
17472         (main_loop_epoll): Likewise.
17473         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17474         (struct traced_file): Use array of inotify fds. Add parent directory,
17475         and basename.
17476         (struct database_dyn): Remove unused file_mtime.
17477         (init_traced_file): New inline function.
17478         (define_traced_file): New macro.
17479         * nss/nss_db/db-init.c: Use define_traced_file.
17480         (_nss_db_init): Use init_traced_file.
17481         * nss/nss_files/files-init.c: Use define_traced_file.
17482         (_nss_files_init): Use init_traced_file.
17484 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17486         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17487         [_LIBC]: Do not include <stdlib.h>.
17488         [!_LIBC] (abort): Remove declaration.
17489         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17490         _FP_STATIC_ASSERT instead of conditionally calling abort.
17491         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
17492         (_FP_EXTEND_CNAN): Likewise.
17493         (FP_TRUNC): Likewise.
17494         (__FP_CLZ): Likewise.
17495         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
17497 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
17499         * manual/string.texi (XPG basename): Fix prototype.
17501 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17503         [BZ #18080]
17504         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
17505         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17506         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
17507         (__setcontext): Likewise.
17508         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17509         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17510         Call rt_sigprocmask syscall one time to set new signal mask
17511         and retrieve the current signal mask instead of two calls.
17512         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17513         (__swapcontext): Likewise.
17514         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17515         * stdlib/tst-setcontext2.c: New file.
17517 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17519         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17521 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17523         [BZ #18093]
17524         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17525         the wrong size.
17527 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17529         [BZ #18043]
17530         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
17532 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17534         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
17535         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
17536         Remove define.
17537         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
17538         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
17539         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
17540         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
17541         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
17542         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
17543         define.
17544         * nptl_db/td_symbol_list.c (td_lookup): Remove
17545         HAVE_ASM_GLOBAL_DOT_NAME code.
17546         * sysdeps/powerpc/powerpc64/configure.ac: Remove
17547         HAVE_ASM_GLOBAL_DOT_NAME check.
17548         * sysdeps/powerpc/powerpc64/configure: Regenerate.
17549         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
17550         (DOT_LABEL): Remove define.
17551         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
17552         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
17553         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
17554         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
17555         (__TLS_GET_ADDR): Likewise.
17556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
17557         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
17559 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
17561         [BZ #18111]
17562         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
17563         (_FPU_SETCW): Initialize cw from fpsr before storing.
17564         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
17565         (fesetexceptflag): Rewrite using fpu_control.h.
17566         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
17568 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
17570         [BZ #18110]
17571         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
17572         asms.
17573         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17575 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
17577         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
17578         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
17579         abort.
17580         (_FP_FMA): Likewise.
17581         (_FP_DIV): Likewise.
17583 2015-03-10  Roland McGrath  <roland@hack.frob.com>
17585         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
17586         with 0 in that case.
17587         * Makefile (summarize-tests): New canned sequence, factored out of
17588         commands for targets tests and xtests.  Display summary lines that
17589         don't start with PASS: or XFAIL: rather than ones that do start with
17590         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
17591         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
17592         do start with ERROR: or FAIL:.
17593         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
17594         (except for [$(build-shared) = yes]).
17595         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
17596         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
17597         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
17598         * nptl/Makefile: Revert 2015-03-04 changes.
17599         [$(CXX) empty] (tests-unsupported): New variable.
17600         * debug/Makefile: Likewise.
17602         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
17603         gnulib file.  Replace __attribute with __attribute__ throughout.
17605 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
17607         * sysdeps/hppa/fpu/libm-test-ulps: Update.
17609 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17611         [BZ #18104]
17612         * math/auto-libm-test-in: Add another test of pow.
17613         * math/auto-libm-test-out: Regenerated.
17615 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17617         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
17618         $(config-cflags-nofma).
17620 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17622         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
17623         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
17624         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
17625         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
17626         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
17627         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
17628         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
17629         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
17630         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
17631         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
17632         Add comment on closing #endif.
17634 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17636         * posix/wordexp.c (CHAR_IN_SET): New macro.
17637         (parse_param): Use it.
17639 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17641         * sysdeps/powerpc/fpu/libm-test-ulps: update.
17643 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17645         [BZ #18043]
17646         * posix/wordexp.c (parse_param): Fix buffer overflow.
17647         * posix/wordexp-test.c (test_case): Add test case.
17649 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17651         [BZ #18042]
17652         * posix/wordexp.c (parse_backtick): Fix off-by-one.
17653         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
17655 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17657         [BZ #18043]
17658         * posix/wordexp-test.c (test_case): Add test for BZ #18043
17659         (do_bz18043): Delete.
17660         (at_page_end): New.
17661         (testit): Refactor to have words at the edge of unreadable page.
17663 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17665         [BZ #16734]
17666         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
17667         Cleanup read-only streams as well.
17668         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
17670 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17672         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
17673         <bits/libc-lockP.h>
17675 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
17677         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
17678         on [__KERNEL__].
17679         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
17680         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
17681         * soft-fp/op-common.h (_FP_DECL): Likewise.
17683 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17685         * elf/ifuncdep2.c (global): Replace
17686         __attribute__((visibility("protected"))) with
17687         asm (".protected global").
17688         * elf/ifuncmod1.c (global): Likewise.
17689         * elf/ifuncmod5.c (global): Likewise.
17691 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
17693         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
17694         <asm/sfp-machine.h> instead of <sfp-machine.h>.
17696 2015-03-06  Roland McGrath  <roland@hack.frob.com>
17698         * manual/install.texi (Configuring and compiling):
17699         Document test-wrapper-env-only.
17700         * INSTALL: Regenerated.
17702 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17704         [BZ #18043]
17705         * posix/wordexp.c (parse_param): Fix buffer overflow.
17706         * posix/wordexp-test.c (do_bz18043): Add test case.
17708 2015-03-06  Vincent Bernat  <vincent@bernat.im>
17710         * time/tst-strptime2.c (do_test): Ensure failing tests are
17711         reported correctly.
17712         * time/tst-strptime3.c (do_test): Likewise.
17714 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
17716         Fix aio_error thread-safety.
17717         * sysdeps/pthread/aio_error.c: New file
17718         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
17719         synchronization.
17721 2015-03-06  Florian Weimer  <fweimer@redhat.com>
17723         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
17724         (group_number, vfprintf): Use it.
17725         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
17726         (JUMP, REF): Use it.
17727         (WORK_BUFFER_SIZE): New enum constant.
17728         (process_arg, vfprintf): Use it.
17730 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
17732         * manual/errno.texi (Error Messages): Complete example function
17733         by adding missing #define.
17734         (program_invocation_name): Add statement indicating GNU
17735         extension and reference which header file declares the variable.
17736         (program_invocation_short_name): Likewise.
17738 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
17740         * manual/errno.texi (Error Messages): Delete strerror ISO C89
17741         compatibility note.
17743 2015-03-05  Roland McGrath  <roland@hack.frob.com>
17745         * Makeconfig (test-wrapper-env-only): New variable.
17746         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
17747         then use that with $(test-wrapper-env-only) rather than using
17748         $(test-wrapper-env) $(run-program-env) $($*-ENV).
17750 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17752         [BZ #18082]
17753         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
17754         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
17755         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
17756         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
17757         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
17758         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
17759         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
17760         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
17761         Likewise.
17762         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
17763         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
17764         Likewise.
17765         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
17766         Likewise.
17767         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
17768         Likewise.
17769         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
17770         Likewise.
17771         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
17772         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
17773         Likewise.
17774         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
17775         Likewise.
17776         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
17777         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
17779 2015-03-04  Roland McGrath  <roland@hack.frob.com>
17781         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
17782         (ETH_ALEN): New macro.
17783         (struct ether_addr): Use it for length of ether_addr_octet.
17785         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
17786         (setdb): Don't call __nss_configure_lookup for "rpc".
17787         (do_test): Don't call test_rpc.
17788         (output_rpcent, test_rpc): Functions moved ...
17789         * sunrpc/test-rpcent.c: ... to this new file.
17790         * sunrpc/Makefile (tests): Add it.
17792         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
17793         __xpg_sigpause.
17794         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
17795         * nptl/tst-signal6.c: Likewise.
17796         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
17797         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
17799         * configure.ac (libc_cv_cxx_link_ok): New check.
17800         Reset CXX to empty if it fails to link.
17801         * configure: Regenerated.
17802         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
17803         bug-atexit3-lib only if $(CXX) is nonempty.
17804         * nptl/Makefile (tests): Likewise for tst-cancel24.
17805         (tests, tests-static): Likewise for tst-cancel24-static.
17806         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
17807         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
17808         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
17809         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
17811 2015-03-04  Andreas Schwab  <schwab@suse.de>
17813         [BZ #17631]
17814         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
17815         for non-GCC compilers.
17816         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17817         Likewise.
17819 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17821         [BZ #17776]
17822         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
17823         integer before bitwise and assembly operations.
17824         (feclearexcept): Likewise.
17825         * math/test-fenvinline.c: New file.
17826         * math/Makefile: Add test-fenvinline test.
17828 2015-03-03  Alan Modra  <amodra@gmail.com>
17830         [BZ #16512]
17831         * scripts/localplt.awk: Strip off symbol version.
17832         * NEWS: Mention bug fix.
17834 2015-03-02  Roland McGrath  <roland@hack.frob.com>
17836         * sysdeps/pthread/timer_routines.c
17837         (timer_free_list, thread_free_list, thread_active_list): Make static.
17839 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
17841         [BZ #17779]
17842         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17843         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17844         Undefine.
17845         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17846         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17847         Likewise.
17848         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17849         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17850         Likewise.
17852 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17854         [BZ #18036]
17855         * posix/fnmatch_loop.c (END): Detect invalid pattern.
17856         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
17858 2015-03-02  Andreas Schwab  <schwab@suse.de>
17860         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
17861         variable name.
17863 2015-03-02  Florian Weimer  <fweimer@redhat.com>
17865         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
17866         Return error status.
17868 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
17870         [BZ #15969]
17871         * locale/findlocale.c (_nl_find_locale): Introduce const
17872         version of loc_name and drop unsafe type casts.
17874 2015-02-27  Roland McGrath  <roland@hack.frob.com>
17876         * dlfcn/tststatic2.c (main): Converted to ...
17877         (do_test): ... this.
17878         (TEST_FUNCTION): New macro.
17879         Include test-skeleton.c.
17881 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
17883         [BZ #17711]
17884         * elf/Makefile (tests): Add vismain only if PIE is enabled.
17885         (tests-pie): Add vismain.
17886         (CFLAGS-vismain.c): New.
17887         * elf/vismain.c: Add comments for PIE requirement.
17889 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17891         [BZ #18046]
17892         [BZ #18047]
17893         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
17894         0x1p-56L as threshold for just returning the argument.
17895         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
17896         0x1p-32L as threshold for just returning the argument.
17897         * math/auto-libm-test-in: Add more tests of atanh.
17898         * math/auto-libm-test-out: Regenerated.
17899         * sysdeps/i386/fpu/libm-test-ulps: Update.
17900         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
17902 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17904         * string/bcopy.c (bcopy): Call memmove for performance.
17906 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17908         * string/bzero.c (__bzero): Call memset for performance.
17910 2015-02-27  John David Anglin  <dave.anglin@bell.net>
17912         [BZ #18068]
17913         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
17914         to 00100000.
17916 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17918         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
17920 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17922         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17923         (__kernel_standard): Use CSTR macro when setting exc.name.
17924         * sysdeps/ieee754/Makefile [$(subdir) = math]
17925         (CFLAGS-k_standard.c): Remove variable.
17927         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
17928         setting p and q from "else if" to "else".
17929         (qzero): Likewise.
17930         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
17931         (qone): Likewise.
17932         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
17933         (qzerof): Likewise.
17934         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
17935         (qonef): Likewise.
17936         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
17937         (qzero): Likewise.
17938         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
17939         (qone): Likewise.
17941         [BZ #18038]
17942         [BZ #18039]
17943         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
17944         return pi/2 for arguments below 0x1p-113L.
17945         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
17946         return pi/2 for arguments below 0x1p-106L.
17947         * math/auto-libm-test-in: Add more tests of acos.
17948         * math/auto-libm-test-out: Regenerated.
17950         [BZ #16351]
17951         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
17952         (MO): New macro.
17953         (__ieee754_asin): Force underflow exception for results with small
17954         absolute value.
17955         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
17956         (MO): New macro.
17957         (__ieee754_asinf): Force underflow exception for results with
17958         small absolute value.
17959         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
17960         (__ieee754_asin): Force underflow exception for results with small
17961         absolute value.
17962         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
17963         (__ieee754_asinf): Force underflow exception for results with
17964         small absolute value.
17965         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
17966         (__ieee754_asinl): Force underflow exception for results with
17967         small absolute value.
17968         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
17969         (__ieee754_asinl): Force underflow exception for results with
17970         small absolute value.
17971         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
17972         (__ieee754_asinl): Force underflow exception for results with
17973         small absolute value.
17974         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17975         Include <math.h>.
17976         * math/auto-libm-test-in: Do not mark underflow exceptions as
17977         possibly missing for bug 16351.
17978         * math/auto-libm-test-out: Regenerated.
17980         [BZ #18030]
17981         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
17982         of power of 2 down when low part has opposite sign.
17983         * math/libm-test.inc (logb_test_data): Add more tests.
17985 2015-02-26  Andreas Schwab  <schwab@suse.de>
17987         [BZ #18032]
17988         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
17989         over collating symbol inside a bracket expression.  Minor cleanup.
17990         * posix/tst-fnmatch3.c (do_test): Add test case.
17992 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17994         [BZ #18029]
17995         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
17996         Adjust exponent of power of 2 down when low part has opposite
17997         sign.
17998         * math/libm-test.inc (ilogb_test_data): Add more tests.
18000 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
18002         [BZ #15969]
18003         * locale/findlocale.c (_nl_find_locale): Fix constness error in
18004         the previous change.
18006         [BZ #15969]
18007         * locale/findlocale.c (_nl_find_locale): Retry archive search
18008         after alias expansion.
18010 2015-02-25  Roland McGrath  <roland@hack.frob.com>
18012         * iconv/tst-iconv3.c (main): Converted to ...
18013         (do_test): ... this.
18014         (TEST_FUNCTION): New macro.
18015         Include test-skeleton.c.
18017         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
18018         (convert): Make function static.
18019         (test_unalign): Likewise.  Add const to argument pointee types.
18020         (main): Replace with static function do_test.
18021         Print "Succeeded." only if RET is zero.
18022         (TEST_FUNCTION): New macro.
18023         Include test-skeleton.c.
18025         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
18026         returns a null pointer.
18028 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18030         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
18031         to __memcpy_ppc only for static builds.
18033 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
18035         [BZ #18020]
18036         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
18037         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
18038         * math/auto-libm-test-in: Add more tests of asinh.
18039         * math/auto-libm-test-out: Regenerated.
18040         * sysdeps/i386/fpu/libm-test-ulps: Update.
18041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18043 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
18045         [BZ #15850]
18046         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
18047         and ip6_mtuinfo definitions here.
18048         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
18049         in this define too.  Update comment.
18051 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
18053         * elf/sprof.c (load_shobj): Tweak error message to match others.
18055 2015-02-24  Kevin Easton  <kevin@guarana.org>
18057         [BZ #16145] (partial fix)
18058         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
18059         to reduce lock contention.
18061 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
18063         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
18064         (struct timex): Update time comment.
18065         (ADJ_SETOFFSET): Define.
18067 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18069         [BZ #18019]
18070         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18071         2**56 not 2**28 as threshold for log (2x) formula.
18072         * math/auto-libm-test-in: Add more tests of acosh.
18073         * math/auto-libm-test-out: Regenerated.
18074         * sysdeps/i386/fpu/libm-test-ulps: Update.
18075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18077 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18079         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
18080         parenthesis around the buf assignment.
18081         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
18083 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18085         [BZ #16783]
18086         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
18087         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
18088         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
18089         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18090         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18091         * math/libm-test.inc (scalb_test_data): Add more tests.
18093 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18095         [BZ #17916]
18096         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
18097         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
18099 2015-02-24  Eric Rannaud  <e@nanocritical.com>
18101         [BZ #17523]
18102         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
18103         * io/bits/fcntl2.h (open): Use it.
18104         (openat): Likewise.
18105         * io/open.c (__libc_open): Likewise.
18106         * io/open64.c (__libc_open64): Likewise.
18107         * io/open64_2.c (__open64_2): Likewise.
18108         * io/open_2.c (__open_2): Likewise.
18109         * io/openat.c (__openat): Likewise.
18110         * io/openat64.c (__openat64): Likewise.
18111         * io/openat64_2.c (__openat64_2): Likewise.
18112         * io/openat_2.c (__openat_2): Likewise.
18113         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
18114         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18115         * sysdeps/posix/open64.c (__libc_open64): Likewise.
18116         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18117         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18118         (__open_nocancel): Likewise.
18119         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18120         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18121         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
18123 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18125         [BZ #14841]
18126         * resolv/gethnamaddr.c (getanswer): Skip logging if
18127         RES_USE_DNSSEC is set.
18128         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18130 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18132         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18134 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18136         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18137         201304L, for Unicode 7.
18139 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18141         [BZ #17836]
18142         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18143         shared library.  Add gmon-start.os otherwise.
18144         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18145         $(objpfx)gmon-start.os if builing shared library.
18146         ($(objpfx)g$(static-start-installed-name)): Likewise.
18148 2015-02-23  Andreas Schwab  <schwab@suse.de>
18150         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18152 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18154         [BZ #17269]
18155         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18156         (enlarge_userbuf): Likewise.
18158 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18160         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18161         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18162         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18163         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18165 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18167         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18168         expression inside statement expression.
18170 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18172         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18173         <sysdeps/nptl/lowlevellock.h> and remove macros and
18174         functions that are now defined there.
18175         (SYS_futex): Remove.
18176         (lll_compare_and_swap): Remove.
18177         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18179 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18181         [BZ #17999]
18182         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18183         instead of scandirat.
18184         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18185         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18186         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18187         __scandirat.
18188         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18189         (__scandirat): Declare.  Use libc_hidden_proto.
18190         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18191         Remove variable.
18192         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18194 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18196         [BZ #15319]
18197         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18198         (MO): New macro.
18199         (__ieee754_atan2): For results with small absolute value, force
18200         underflow exception and remove excess range and precision from
18201         return value.
18202         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18203         (MO): New macro.
18204         (__ieee754_atan2f): For results with small absolute value, force
18205         underflow exception and remove excess range and precision from
18206         return value.
18207         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18208         (MO): New macro.
18209         (__atan): For results with small absolute value, force underflow
18210         exception and remove excess range and precision from return value.
18211         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18212         (MO): New macro.
18213         (__atanf): For results with small absolute value, force underflow
18214         exception and remove excess range and precision from return value.
18215         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18216         <math.h>.
18217         (__ieee754_atan2): Force underflow exception for results with
18218         small absolute value.
18219         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18220         <math_private.h>.
18221         (atan): Force underflow exception for results with small absolute
18222         value.
18223         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18224         (__atanf): Force underflow exception for results with small
18225         absolute value.
18226         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18227         <math.h>.
18228         (__atanl): Force underflow exception for results with small
18229         absolute value.
18230         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18231         (__atanl): Force underflow exception for results with small
18232         absolute value.
18233         * sysdeps/x86/fpu/bits/mathinline.h
18234         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18235         (__ieee754_atan2): Only define inline for long double.
18236         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18237         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18238         * math/auto-libm-test-in: Do not mark underflow exceptions as
18239         possibly missing for bug 15319.  Add more tests of atan2.
18240         * math/auto-libm-test-out: Regenerated.
18241         * math/libm-test.inc (casin_test_data): Do not mark underflow
18242         exceptions as possibly missing for bug 15319.
18243         (casinh_test_data): Likewise.
18244         * sysdeps/i386/fpu/libm-test-ulps: Update.
18246 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18248         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18249         * sysdeps/mips/bits/endian.h: Fix comments.
18251 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18253         [BZ #17996]
18254         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18255         (hdestroy_r): Likewise.
18256         (hsearch_r): Likewise.
18257         (__hcreate_r): Declare and use libc_hidden_proto.
18258         (__hdestroy_r): Likewise.
18259         (__hsearch_r): Likewise.
18260         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18261         (hcreate): Call __hcreate_r instead of hcreate_r.
18262         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18263         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18264         as weak alias of __hcreate_r.
18265         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18266         __hdestroy_r.
18267         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18268         __hsearch_r.
18269         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18270         Remove variable.
18271         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18272         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18273         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18274         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18276 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18278         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18279         arena_lock into a single arena_get.
18281 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18283         * dl-reloc.c: Inlucde libc-internal.h.
18284         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18285         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18286         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18287         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18288         (grow_heap): Likewise.
18289         * malloc/malloc.c: Include libc-internal.h.
18290         (do_check_malloc): Call powerof2.
18291         (sysmalloc): Use pagesize. Call ALIGN_UP.
18292         (systrim): Use pagesize.
18293         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18294         (__libc_valloc): Use pagesize.
18295         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18297 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18299         [BZ #17991]
18300         * include/sys/resource.h (__getrlimit64): Declare.  Use
18301         libc_hidden_proto.
18302         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18303         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18304         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18305         getrlimit64.
18306         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18307         __getrlimit64.
18308         [!getrlimit64] (getrlimit64): Define as weak alias of
18309         __getrlimit64.  Use libc_hidden_weak.
18310         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18311         using __getrlimit64 not __new_getrlimit64.
18312         (__GI_getrlimit64): Likewise.
18313         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18314         Likewise.
18315         (__GI_getrlimit64): Likewise.
18316         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18318         (getrlimit): Add __getrlimit64 alias.
18319         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18320         Likewise.
18321         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18322         Remove variable.
18323         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18324         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18326 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18328         * libio/fileops.c: Add missing sys/mman.h
18329         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18331 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18333         * manual/math.texi (Errors in Math Functions): Clarify goals
18334         regarding inexact and underflow exceptions.
18336 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18338         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18339         * sysdeps/mips/memset.S: Ditto.
18341 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18343         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18345 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18347         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18348         (__v1longjmp): Remove versioned symbol.
18349         (__v1siglongjmp): Remove alias and versioned symbol.
18350         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18351         (__v2siglongjmp): Likewise.
18353 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18355         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18357 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18359         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18361 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18363         [BZ #17987]
18364         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18365         zero result does not depend on the sign resulting from
18366         subtraction.
18367         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18368         Likewise.
18369         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18370         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18371         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18372         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18373         * math/libm-test.inc (remquo_test_data): Add more tests.
18375 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18377         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18378         Problem reported by J William Piggott.
18380 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18382         [BZ #17978]
18383         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18384         products 4 * y and 2 * y where those would overflow.
18385         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18386         Likewise.
18387         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18388         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18389         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18390         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18391         * math/libm-test.inc (remquo_test_data): Add more tests.
18393         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18395         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18396         [defined _COMPILING_NEWLIB].
18397         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18398         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18400         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18401         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18403 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18405         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18406         acquired.
18408 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18410         [BZ #17792]
18411         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18412         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18413         HOST_STACK_END_ADDR): Likewise.
18415 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18417         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18418         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18419         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18421 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18423         * sysdeps/generic/c++-types.data: New file.
18424         * sysdeps/generic/ld.abilist: New file.
18425         * sysdeps/generic/libBrokenLocale.abilist: New file.
18426         * sysdeps/generic/libanl.abilist: New file.
18427         * sysdeps/generic/libc.abilist: New file.
18428         * sysdeps/generic/libcrypt.abilist: New file.
18429         * sysdeps/generic/libdl.abilist: New file.
18430         * sysdeps/generic/libm.abilist: New file.
18431         * sysdeps/generic/libpthread.abilist: New file.
18432         * sysdeps/generic/libresolv.abilist: New file.
18433         * sysdeps/generic/librt.abilist: New file.
18435 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18437         [BZ #17569]
18438         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18439         Compute absolute value of x as modified by fmod, not original
18440         value of x.
18441         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18442         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18443         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18444         RUN_TEST_ffI_f1_mod8.
18445         (remquo_test_data): Add more tests.
18447 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18449         * sysdeps/init_array/pt-crti.S: New file.
18451 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18453         [BZ #17967]
18454         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18455         __builtin_fmaf instead of relying on contraction of a * b + c.
18457 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18459         [BZ #17969]
18460         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18461         node.
18463 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18465         [BZ #17964]
18466         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18467         __builtin_fma instead of relying on contraction of a * b + c.
18469 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18471         * Makeconfig (ASFLAGS): Add -Werror=undef.
18472         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18473         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18474         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18476         * Makeconfig (after-link): New variable.
18477         (+link-pie, +link-pie-tests): Use it.
18478         (+link-static, +link-static-tests): Likewise.
18479         (+link, +link-tests): Likewise.
18480         * Makerules (build-module, build-module-asneeded): Likewise.
18481         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18482         Likewise.
18483         * elf/Makefile ($(objpfx)ld.so): Likewise.
18485 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18487         [BZ #17965]
18488         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18489         both struct timeval and struct timespec.
18491 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18493         [BZ #16560]
18494         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18495         and redefine.
18496         (__ieee754_exp2l): Do not multiply small fractional parts by
18497         M_LN2l.
18498         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
18499         small argument.
18500         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18501         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18502         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
18503         * math/auto-libm-test-in: Add more tests of exp2.
18504         * math/auto-libm-test-out: Regenerated.
18506 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18508         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18509         unaligned path.
18511 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18513         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18514         little endian.
18516 2015-02-12  Andreas Schwab  <schwab@suse.de>
18518         [BZ #15790]
18519         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18520         Filter out elision flags from value returned in kind.
18521         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18522         * nptl/tst-pthread-mutexattr.c: New file.
18524 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18526         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18527         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
18528         into gnu-gnu, and update comment to refer to abi-tags.
18530 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
18532         [BZ #15467]
18533         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
18534         (__sincos): Set errno to EDOM for infinite argument.
18535         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
18536         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
18537         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
18538         (__sincosl): Set errno to EDOM for infinite argument.
18539         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
18540         (__sincosl): Set errno to EDOM for infinite argument.
18541         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
18542         (__sincosl): Set errno to EDOM for infinite argument.
18543         * math/libm-test.inc (sincos_test_data): Test errno setting.
18545 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
18547         * string/strxfrm_l.c: Remove #define STRCMP.
18548         * string/strcoll_l.c: Remove #define STRLEN.
18549         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
18550         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
18552 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
18554         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
18555         * sysdeps/mips/mips32/sfp-machine.h: ... here.
18556         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
18557         * sysdeps/mips/mips64/Makefile: ... here.
18558         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
18559         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
18560         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
18561         * sysdeps/mips/mips64/sfp-machine.h: ... here.
18562         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
18563         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
18564         * sysdeps/mips/mips64/n64/Implies: Likewise.
18566 2015-02-10  Roland McGrath  <roland@hack.frob.com>
18568         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
18569         <sys/time.h>, <string.h>, and <errno.h>.
18570         (dest_offset, dest_address, value, zero): Remove unused variables.
18571         (ldouble): Remove typedef.
18572         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
18573         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
18574         1).  Fix code style.
18575         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
18576         (check): Function removed.
18577         (CHECK): New macro.
18578         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
18579         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
18580         Don't call set_sigaction_FP and remove_sigaction_FP here.
18581         (ldouble_test): Just use 'long double' as macro argument, no need for
18582         the 'ldouble' typedef.
18583         (do_test): Set up SIGFPE handler at start, using plain signal rather
18584         than sigaction.  Fix code style.
18586 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
18588         [BZ #17949]
18589         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
18590         jump label.
18592 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18594         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
18595         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18597         * sysdeps/powerpc/configure.ac: Remove file.
18598         * sysdeps/powerpc/configure: Likewise.
18600         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18601         [sysdep_routines]: Remove wordcopy-power6 object.
18602         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
18603         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
18604         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
18605         (__memmove_ppc32): Likewise.
18606         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
18607         file.
18608         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
18609         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
18610         Remove preprocessor.
18612         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18613         [sysdep_routines]: Remove wide chars objects.
18614         [wcsmbs]: New rule for wide char objects.
18616         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18617         Remove wordcopy-power6 obejct.
18618         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
18619         Use local call for wordcopy and memcpy symbols.
18620         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
18621         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
18622         implementation for loader.
18623         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
18625         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18626         Remove wordcopy-power7 object.
18627         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
18628         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
18629         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
18630         (_wordcopy_fwd_dest_aligned): Likewise.
18631         (_wordcopy_bwd_aligned): Likewise.
18632         (_wordcopy_bwd_dest_aligned): Likewise.
18634         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
18635         Rewrite to call __memmove_ppc instead of include default
18636         implementation.
18638         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18639         Remove wide chars objects.
18640         [wcsmbs]: New rule for wide char objects.
18642 2015-02-09  Andreas Schwab  <schwab@suse.de>
18644         [BZ #17912]
18645         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18646         in terms of __O_DIRECTORY.
18648 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18650         * time/getdate.c: Include <stdbool.h>.
18651         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
18652         call PTR_MANGLE.
18653         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
18654         PTR_DEMANGLE.
18656 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
18658         Add ersatz _Static_assert on older C hosts
18659         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
18660         pre-C11 C platform that is not known to support _Static_assert.
18662 2015-02-07  Richard Braun  <rbraun@sceen.net>
18664         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
18665         sigstate.
18666         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
18668 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18670         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
18671         priority against unexistent AIO_PRIO_DELTA_MAX.
18672         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
18673         instead of int.
18674         * misc/fchflags.c (fchflags): Likewise.
18675         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
18676         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
18677         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
18678         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
18679         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
18680         Declare macros.
18681         [__USE_MISC] (chflags, fchflags): Declare functions.
18682         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
18683         EINVAL when nfds is greater than FD_SETSIZE.
18684         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
18685         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
18686         45.
18687         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
18688         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
18689         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
18690         MACH_RCV_TIMED_OUT.
18691         * hurd/hurd/signal.h (_hurd_self_sigstate,
18692         _hurd_critical_section_lock, _hurd_critical_section_unlock):
18693         Explicit casts from void *.
18694         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
18695         * abi-tags: Rename gnu-gnu os into gnu.
18697         [BZ #4719]
18698         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
18699         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
18700         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
18701         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
18702         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
18703         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
18705         [BZ #17944]
18706         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
18707         duplicates ADDR->sun_path with sockaddr LEN limitation.
18708         * sysdeps/mach/hurd/connect.c: Include <string.h>
18709         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
18710         * sysdeps/mach/hurd/sendmsg.c: Likewise.
18711         * sysdeps/mach/hurd/sendto.c: Likewise.
18712         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
18713         implementing it by hand.
18715 2015-02-06  Roland McGrath  <roland@hack.frob.com>
18717         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
18718         Use sfi_breg on ldr.
18719         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
18720         Likewise.
18722         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
18723         it's defined.
18724         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
18725         Test SIGSETXID only if it's defined.
18727         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
18729         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
18730         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
18732         * nptl/tst-align2.c: Moved ...
18733         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
18734         * nptl/Makefile (tests): Remove tst-align2.
18735         * sysdeps/unix/sysv/linux/Makefile
18736         [$(subdir) = nptl] (tests): Add tst-align-clone.
18737         * nptl/tst-getpid1.c: Moved ...
18738         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
18739         * nptl/tst-getpid2.c: Moved ...
18740         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
18741         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
18742         * sysdeps/unix/sysv/linux/Makefile
18743         [$(subdir) = nptl] (tests): ... here.
18744         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
18745         * sysdeps/unix/sysv/linux/Makefile
18746         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
18748         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
18749         Drop trailing \n from perror argument.  Use return rather than exit.
18751         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
18752         on [SA_SIGINFO].
18753         * nptl/tst-cancel21.c (do_test): Likewise.
18754         * debug/tst-backtrace6.c: Include <signal.h> first thing.
18755         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
18756         [!SA_SIGINFO]: Make it a stub test.
18758         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
18759         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
18761         * posix/tst-getlogin.c: Move to ...
18762         * login/tst-getlogin.c: ... here.
18763         * posix/Makefile (tests): Move tst-getlogin to ...
18764         * login/Makefile (tests): ... here.
18766         * libio/tst-atime.c (do_test): Move local variables SV and E
18767         inside [ST_NOATIME] conditional.
18769         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
18771         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
18773         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
18774         (wait_code): New function replaces macro.
18775         Call nanosleep rather than syscall.
18777         * nptl/pt-system.c: Rewritten.  Put everything under
18778         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18779         Use IFUNC to redirect when possible.
18781         * nptl/pt-longjmp.c: Rewritten.  Put everything under
18782         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18783         Use IFUNC to redirect when possible.
18785         * nptl/pt-fork.c: Rewritten.  Put everything under
18786         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18787         Use IFUNC to redirect when possible.
18788         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
18790         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
18791         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
18792         unconditionally nowadays.  This included the only reference to
18793         __vdso_clock_gettime that appears outside libc proper.
18794         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
18795         Remove version set (containing only __vdso_clock_gettime).
18796         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18797         Add attribute_hidden.
18798         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18799         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
18800         libc_hidden_data_def.
18801         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18802         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18804         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
18805         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
18806         setrpcent, and getrpcport to ...
18807         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
18808         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
18809         getrpcbynumber_r, and getrpcent_r to ...
18810         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
18811         * inet/getrpcbyname.c: Moved ...
18812         * sunrpc/getrpcbyname.c: ... here.
18813         * inet/getrpcbyname_r.c: Moved ...
18814         * sunrpc/getrpcbyname_r.c: ... here.
18815         * inet/getrpcbynumber.c: Moved ...
18816         * sunrpc/getrpcbynumber.c: ... here.
18817         * inet/getrpcbynumber_r.c: Moved ...
18818         * sunrpc/getrpcbynumber_r.c: ... here.
18819         * inet/getrpcent.c: Moved ...
18820         * sunrpc/getrpcent.c: ... here.
18821         * inet/getrpcent_r.c: Moved ...
18822         * sunrpc/getrpcent_r.c: ... here.
18823         * inet/Makefile (routines): Move those to ...
18824         * sunrpc/Makefile (routines): ... here.
18825         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
18826         the $(subdirs) list.
18827         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
18828         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
18829         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
18830         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
18832         * elf/Makefile (routines): Include $(all-dl-routines), not just
18833         $(dl-routines).
18834         (rtld-routines): Likewise.  Use = rather than :=.
18835         * sysdeps/aarch64/Makefile [$(subdir) = elf]
18836         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
18837         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
18838         * sysdeps/arm/Makefile: Likewise.
18839         * sysdeps/i386/Makefile: Likewise.
18840         * sysdeps/x86_64/Makefile: Likewise.
18841         * sysdeps/hppa/Makefile [$(subdir) = elf]
18842         (sysdep_routines, sysdep-rtld-routines): Don't add
18843         $(sysdep-dl-routines) to these.
18844         * sysdeps/ia64/Makefile: Likewise.
18845         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
18846         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
18847         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
18848         Don't add dl-static to these; sysdep-dl-routines alone is enough.
18849         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
18850         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
18851         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
18852         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
18853         * sysdeps/powerpc/Makefile [$(subdir) = elf]
18854         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
18855         these; sysdep-dl-routines alone is enough.
18857 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
18859         [BZ #17932]
18860         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
18861         where multiplication results in zero and third argument is finite
18862         and nonzero.
18863         * math/auto-libm-test-in: Add more tests of fma.
18864         * math/auto-libm-test-out: Regenerated.
18866         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
18867         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
18868         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
18869         (_FP_CMP_EQ): Likewise.
18870         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
18872         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
18873         extra argument CHECK_NAN.  Redefine as wrapper around
18874         _FP_EXTEND_CNAN.
18876 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
18878         * version.h (RELEASE): Set to "stable".
18879         (VERSION): Set to "2.21"
18880         * include/features.h (__GLIBC_MINOR__): Set to 21.
18882         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
18884 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18885             Paul Eggert  <eggert@cs.ucla.edu>
18887         [BZ #16618]
18888         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
18889         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
18890         size in bytes. Store needed elements in wpmax. Use needed size
18891         in bytes for extend_alloca.
18893 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
18895         * manual/install.texi: Latest tested versions are GCC 4.9.2,
18896         binutls 2.25, and texinfo 5.2.
18897         * INSTALL: Regenerate.
18898         * sysdeps/nios2/configure: Regenerate.
18899         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
18900         * manual/contrib.texi: Update.
18901         * po/be.po: Update.
18902         * po/bg.po: Update.
18903         * po/ca.po: Update.
18904         * po/cs.po: Update.
18905         * po/da.po: Update.
18906         * po/de.po: Update.
18907         * po/el.po: Update.
18908         * po/eo.po: Update.
18909         * po/es.po: Update.
18910         * po/fi.po: Update.
18911         * po/fr.po: Update.
18912         * po/gl.po: Update.
18913         * po/hr.po: Update.
18914         * po/hu.po: Update.
18915         * po/ia.po: Update.
18916         * po/id.po: Update.
18917         * po/it.po: Update.
18918         * po/ja.po: Update.
18919         * po/ko.po: Update.
18920         * po/lt.po: Update.
18921         * po/nb.po: Update.
18922         * po/nl.po: Update.
18923         * po/pl.po: Update.
18924         * po/pt_BR.po: Update.
18925         * po/ru.po: Update.
18926         * po/rw.po: Update.
18927         * po/sk.po: Update.
18928         * po/sl.po: Update.
18929         * po/sv.po: Update.
18930         * po/tr.po: Update.
18931         * po/uk.po: Update.
18932         * po/vi.po: Update.
18933         * po/zh_CN.po: Update.
18934         * po/zh_TW.po: Update.
18936         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
18937         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
18938         * sysdeps/hppa/dl-irel.h: Remove #warning.
18939         * sysdeps/hppa/entry.h: Provide prototype for
18940         __canonicalize_funcptr_for_compare and cast argument.
18941         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
18942         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
18943         * sysdeps/hppa/sotruss-lib.c: New file.
18944         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
18945         (atomic_compare_and_exchange_val_acq): Use __typeof__.
18946         (atomic_compare_and_exchange_bool_acq): Likewise.
18947         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
18948         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
18950         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18951         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
18952         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
18954 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
18956         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
18957         called function in non-PIC case.
18959 2015-01-31  David S. Miller  <davem@davemloft.net>
18961         * sysdeps/sparc/sparc32/bits/atomic.h
18962         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
18963         unlock not after it.
18964         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
18965         volatile register usage warnings from the compiler.
18967         * sysdeps/sparc/nptl/sem_init.c: Delete.
18968         * sysdeps/sparc/nptl/sem_post.c: Delete.
18969         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
18970         * sysdeps/sparc/nptl/sem_wait.c: Delete.
18971         * sysdeps/sparc/sparc32/sem_init.c: New file.
18972         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
18973         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
18974         padding explicitly initialized.
18975         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
18976         padding for in-semaphore spinlock.
18977         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
18978         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
18979         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
18980         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
18981         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
18982         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
18983         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
18984         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
18985         version.
18986         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
18987         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
18989 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
18991         [BZ #17801]
18992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18993         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
18994         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
18995         New.
18996         (index_AVX_Fast_Unaligned_Load): Likewise.
18997         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
18998         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
18999         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
19000         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
19001         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
19002         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
19003         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
19004         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
19005         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
19007 2015-01-29  Andreas Schwab  <schwab@suse.de>
19009         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
19011 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
19013         [BZ #17892]
19014         * nscd/nscd_stat.c (send_stats): Initialize DATA.
19016 2015-01-28  Martin Sebor  <msebor@redhat.com>
19018         * math/README.libm-test: Clarify. Add "How to read the test output."
19020 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
19022         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
19023         Define to 0.
19025 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
19027         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
19028         (__HAVE_64B_ATOMICS): Define to 0.
19030 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19032         [BZ #17885]
19033         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
19034         value to set as new flag.
19036         [BZ #16576]
19037         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
19038         and use _ARCH_PPCSQ instead.
19039         (__ieee754_sqrt): Likewise.
19040         (__ieee754_sqrtf): Likewise.
19041         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
19042         _ARCH_PPCSQ is defined.
19043         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
19044         fsqrt instruction.
19045         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
19046         _ARCH_PPCSQ is defined.
19047         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
19048         fsqrts instruction.
19049         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
19051 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19053         * iconv/loop.c: Suppress array out of bound warning caused by GCC
19054         bug (GCC BZ #64739).
19056 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
19058         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
19059         Mark _retval as used.
19060         (lll_futex_wake_unlock): Likewise.
19061         (lll_futex_timed_wait_requeue_pi): Likewise.
19063         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19064         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
19065         register variables.
19067         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
19068         libm_hidden_def.
19070         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
19071         (__bswap_64): Mark as __always_inline.
19073 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
19075         [BZ #15378]
19076         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
19077         when none of the search directories exist.
19079 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19081         [BZ #17869]
19082         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
19083         power8 in .machine directive.
19085         [BZ #17868]
19086         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
19087         set dependency from opd value.
19089 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19092         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
19093         architecture.
19095 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19097         [BZ #17870]
19098         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
19099         with uint64_t.
19100         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
19101         (uint64_t) 1.
19102         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
19103         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
19104         Replace 1UL with (uint64_t) 1.
19105         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
19106         int with uint64_t.
19108 2015-01-23  Roland McGrath  <roland@hack.frob.com>
19110         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
19111         (if_freenameindex): Likewise.
19113         * resource/getrlimit64.c: Add missing libc_hidden_def.
19115 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
19117         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
19118         __label__.
19119         (_FP_FMA): Likewise.
19120         (_FP_TO_INT_ROUND): Likewise.
19121         (_FP_FROM_INT): Likewise.
19123 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19125         [BZ #16418]
19126         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19127         Make code racy and cancel safe.
19129 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19131         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19132         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19133         attribution.
19135         * pwd/tst-getpw.c: Rewrite.
19137         [BZ #17702]
19138         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19139         (modules-names): Add moddummy1 and moddummy2.
19140         ($(objpfx)tst-rec-dlopen): Define.
19141         * dlfcn/moddummy1.c: New file.
19142         * dlfcn/moddummy2.c: New file.
19143         * dlfcn/tst-rec-dlopen.c: New file.
19144         * elf/dl-cache.c (_dl_load_cache_lookup):
19145         Return char*. Copy result with alloca/strcpy/strdup.
19146         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19147         returns char*. Free cached. If not saving realname
19148         free cached.
19149         * elf/dl-open.c (dl_open_worker): Do not assert that
19150         _r_debug->r_state is RT_CONSISTENT.
19151         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19152         returns char*.
19154 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19155             Carlos O'Donell  <carlos@redhat.com>
19157         [BZ #12674]
19158         * nptl/sem_waitcommon.c: New file.
19159         * nptl/sem_wait.c: Include sem_waitcommon.c.
19160         (__sem_wait_cleanup, do_futex_wait): Remove.
19161         (__new_sem_wait): Adapt.
19162         (__new_sem_trywait): New function.
19163         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19164         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19165         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19166         (sem_timedwait): Adapt.
19167         * nptl/sem_post.c (__new_sem_post): Adapt.
19168         (futex_wake): New function.
19169         (__old_sem_post): Add release MO fence.
19170         * nptl/sem_open.c (sem_open): Adapt.
19171         * nptl/sem_init.c (__new_sem_init): Adapt.
19172         (futex_private_if_supported): New function.
19173         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19174         (__old_sem_getvalue): Add using previous code.
19175         * sysdeps/nptl/internaltypes.h: Adapt.
19176         * nptl/tst-sem13.c (do_test): Adapt.
19177         * nptl/tst-sem11.c (main): Adapt.
19178         * nptl/sem_trywait.c: Remove.
19179         * nptl/DESIGN-sem.txt: Remove.
19180         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19181         (gen-as-const-headers): Remove structsem.sym.
19182         * nptl/structsem.sym: Remove.
19183         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19184         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19185         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19186         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19187         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19188         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19189         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19190         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19191         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19192         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19193         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19194         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19195         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19196         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19197         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19198         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19199         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19200         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19201         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19202         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19203         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19204         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19206 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19208         * INSTALL: Regenerated.
19210         * po/libc.pot: Regenerated.
19212 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19213             Sandra Loosemore  <sandra@codesourcery.com>
19214             Andrew Jenner  <andrew@codesourcery.com>
19215             Joseph Myers  <joseph@codesourcery.com>
19216             Nathan Sidwell  <nathan@codesourcery.com>
19218         * NEWS: Mention new Nios II port.
19219         * sysdeps/nios2/Implies: New file.
19220         * sysdeps/nios2/Makefile: New file.
19221         * sysdeps/nios2/Subdirs: New file.
19222         * sysdeps/nios2/Versions: New file.
19223         * sysdeps/nios2/__longjmp.S: New file.
19224         * sysdeps/nios2/abort-instr.h: New file.
19225         * sysdeps/nios2/backtrace.c: New file.
19226         * sysdeps/nios2/bits/endian.h: New file.
19227         * sysdeps/nios2/bits/fenv.h: New file.
19228         * sysdeps/nios2/bits/link.h: New file.
19229         * sysdeps/nios2/bits/setjmp.h: New file.
19230         * sysdeps/nios2/bsd-_setjmp.S: New file.
19231         * sysdeps/nios2/bsd-setjmp.S: New file.
19232         * sysdeps/nios2/configure: New generated file.
19233         * sysdeps/nios2/configure.ac: New file.
19234         * sysdeps/nios2/crti.S: New file.
19235         * sysdeps/nios2/crtn.S: New file.
19236         * sysdeps/nios2/dl-init.c: New file.
19237         * sysdeps/nios2/dl-machine.h: New file.
19238         * sysdeps/nios2/dl-sysdep.h: New file.
19239         * sysdeps/nios2/dl-tls.h: New file.
19240         * sysdeps/nios2/dl-trampoline.S: New file.
19241         * sysdeps/nios2/gccframe.h: New file.
19242         * sysdeps/nios2/gmp-mparam.h: New file.
19243         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19244         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19245         * sysdeps/nios2/ldsodefs.h: New file.
19246         * sysdeps/nios2/libc-tls.c: New file.
19247         * sysdeps/nios2/libm-test-ulps: New file.
19248         * sysdeps/nios2/machine-gmon.h: New file.
19249         * sysdeps/nios2/math-tests.h: New file.
19250         * sysdeps/nios2/math_private.h: New file.
19251         * sysdeps/nios2/memusage.h: New file.
19252         * sysdeps/nios2/nptl/Makefile: New file.
19253         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19254         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19255         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19256         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19257         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19258         * sysdeps/nios2/nptl/tls.h: New file.
19259         * sysdeps/nios2/preconfigure: New file.
19260         * sysdeps/nios2/s_fma.c: New file.
19261         * sysdeps/nios2/s_fmaf.c: New file.
19262         * sysdeps/nios2/setjmp.S: New file.
19263         * sysdeps/nios2/sfp-machine.h: New file.
19264         * sysdeps/nios2/sotruss-lib.c: New file.
19265         * sysdeps/nios2/stackguard-macros.h: New file.
19266         * sysdeps/nios2/stackinfo.h: New file.
19267         * sysdeps/nios2/start.S: New file.
19268         * sysdeps/nios2/sysdep.h: New file.
19269         * sysdeps/nios2/tls-macros.h: New file.
19270         * sysdeps/nios2/tst-audit.h: New file.
19271         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19272         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19273         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19274         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19275         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19276         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19277         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19278         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19279         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19280         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19281         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19282         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19283         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19284         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19285         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19286         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19287         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19288         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19289         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19290         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19291         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19292         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19293         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19294         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19295         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19296         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19297         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19298         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19299         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19300         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19301         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19302         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19303         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19304         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19305         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19306         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19307         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19308         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19309         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19310         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19311         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19312         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19313         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19314         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19316 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19318         [BZ #17844]
19319         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19320         (getutent): Use weak_alias in non SHARED case
19321         and default_symbol_version in SHARED case.
19322         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19323         (getutent_r, pututline): Likewise.
19324         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19325         (getutid): Likewise.
19326         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19327         (getutid_r): Likewise.
19328         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19329         (getutline): Likewise.
19330         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19331         (getutline_r): Likewise.
19332         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19333         (updwtmp): Likewise.
19335 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19337         [BZ #17848]
19338         * sysdeps/s390/s390-32/memcmp.S
19339         (memcmp_g5): Rename to __memcmp_g5.
19340         * sysdeps/s390/s390-32/memcpy.S
19341         (memcpy_g5): Rename to __memcpy_g5.
19342         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19343         (memcpy_mvcle) Rename to __memcpy_mvcle.
19344         * sysdeps/s390/s390-32/memset.S
19345         (memset_g5): Rename to __memset_g5.
19346         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19347         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19348         and use prefixed functions.
19349         * sysdeps/s390/s390-32/multiarch/memcmp.S
19350         (memcmp_z196): Rename to __memcmp_z196.
19351         (memcmp_z10): Rename to __memcmp_z10.
19352         (memcmp): Set alias to __memcmp_g5.
19353         (bcmp): Set alias to __memcmp_g5.
19354         * sysdeps/s390/s390-32/multiarch/memcpy.S
19355         (memcpy_z196): Rename to __memcpy_z196.
19356         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19357         (memcpy_z10): Rename to __memcpy_z10.
19358         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19359         (memcpy): Set alias to __memcpy_g5.
19360         * sysdeps/s390/s390-32/multiarch/memset.S
19361         (memset_z196): Rename to __memset_z196.
19362         Jump to __memset_mvcle instead of memset_mvcle.
19363         (memset_z10): Rename to __memset_z10.
19364         Jump to __memset_mvcle instead of memset_mvcle.
19365         (memset_mvcle) Rename to __memset_mvcle.
19366         (memset): Set alias to __memset_g5.
19367         * sysdeps/s390/s390-64/memcmp.S
19368         (memcmp_z900): Rename to __memcmp_z900.
19369         * sysdeps/s390/s390-64/memcpy.S
19370         (memcpy_z900): Rename to __memcpy_z900.
19371         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19372         (memcpy_mvcle) Rename to __memcpy_mvcle.
19373         * sysdeps/s390/s390-64/memset.S
19374         (memset_z900): Rename to __memset_z900.
19375         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19376         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19377         and use prefixed functions.
19378         * sysdeps/s390/s390-64/multiarch/memcmp.S
19379         (memcmp_z196): Rename to __memcmp_z196.
19380         (memcmp_z10): Rename to __memcmp_z10.
19381         (memcmp): Set alias to __memcmp_z900.
19382         (bcmp): Set alias to __memcmp_z900.
19383         * sysdeps/s390/s390-64/multiarch/memcpy.S
19384         (memcpy_z196): Rename to __memcpy_z196.
19385         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19386         (memcpy_z10): Rename to __memcpy_z10.
19387         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19388         (memcpy): Set alias to __memcpy_z900.
19389         * sysdeps/s390/s390-64/multiarch/memset.S
19390         (memset_z196): Rename to __memset_z196.
19391         Jump to __memset_mvcle instead of memset_mvcle.
19392         (memset_z10): Rename to __memset_z10.
19393         Jump to __memset_mvcle instead of memset_mvcle.
19394         (memset_mvcle) Rename to __memset_mvcle.
19395         (memset): Set alias to __memset_z900.
19397 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19399         [BZ #17748]
19400         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19401         __fesetenv instead of fesetenv.
19403 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19405         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19406         macro.
19408 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19410         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19411         regression on LE.
19413         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19414         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19415         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19416         strncmp-power8 object.
19417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19418         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19419         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19420         * NEWS: Update.
19422 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19423             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19425         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19426         trailing byte check.
19428 2015-01-13  David S. Miller  <davem@davemloft.net>
19430         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19432 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19434         * login/logout.c (logout): Use memset rather than bzero.
19435         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19436         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19437         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19438         (_gethtbyaddr): Likewise.
19439         * locale/programs/simple-hash.c (bcopy): Macro removed.
19441 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19443         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19444         Add strcmp-power8 object.
19445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19446         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19447         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19448         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19449         __strcmp_power8 implementation.
19450         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19451         * NEWS: Update.
19453         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19454         Add strncpy-power8 and stpncpy-power8 objects.
19455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19456         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19457         implementations.
19458         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19459         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19460         __stpncpy_power8 implementation.
19461         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19462         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19463         __strncpy_power8 implementation.
19464         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19465         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19466         * NEWS: Update.
19468         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19469         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19470         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19472         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19473         strncat-power8 object.
19474         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19475         __strcat_power8 implementation.
19476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19477         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19478         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19479         optimized strcat for power8.
19481         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19482         strcpy-power8 and stpcpy-power8 objects.
19483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19484         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19485         implementations.
19486         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19487         multiarch stpcpy implementation for POWER8.
19488         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19489         multiarch strcpy implementation for POWER8.
19490         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19491         __strcpy_power8 function.
19492         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
19493         stpcpy for POWER8.
19494         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
19495         strcpy for POWER8.
19496         * NEWS: Update.
19498 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
19500         [BZ #16009]
19501         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
19502         weights and rules. Use do_xfrm_cached if data fits in cache,
19503         do_xfrm otherwise.  Moved former main loop to...
19504         * (do_xfrm_cached): New function.
19505         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
19506         find_idx, find_position and stack_push.
19507         * (find_idx): New function.
19508         * (find_position): Likewise.
19509         * localedata/sort-test.sh: Added test run for do_xfrm.
19510         * localedata/xfrm-test.c (main): Added command line option
19511         -nocache to run the test with strings that are too large for
19512         the STRXFRM cache.
19514 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19516         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19517         variable to lll_futex_wake call, not the value itself.
19519 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19521         [BZ #17803]
19522         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19523         twom64.  Adjust value to 0x1p-64L.
19524         (__scalblnl): Only return standard underflowing result for K <=
19525         -64 not K <= -63; adjust exponent for underflowing result by 64
19526         not 63.
19527         * math/libm-test.inc (scalbn_test_data): Add more tests.
19528         (scalbln_test_data): Likewise.
19530         [BZ #17834]
19531         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
19532         0x1p63L.
19533         (__scalblnl): Get new exponent of adjusted subnormal value from ES
19534         not HX.
19535         * math/libm-test.inc (scalbn_test_data): Add more tests.
19536         (scalbln_test_data): Likewise.
19538 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19539             Stefani Seibold  <stefani@seibold.net>
19541         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
19542         (sysdep_routines): Add dl-vdso here, ...
19543         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
19544         (sysdep_routines): ... not here.
19545         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
19546         fallback when vDSO is not presented.
19547         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19548         Define with libc_hidden_proto/libc_hidden_data_def definitions.
19549         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
19550         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
19551         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
19552         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
19553         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
19554         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
19555         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
19556         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
19557         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
19558         fallback configurable symbol when vDSO is not available.
19559         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
19560         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
19561         be able to redefine fallback symbol when vDSO is not available.
19562         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
19563         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
19565 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19567         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
19568         (TLS_INIT_TP): Add tm_capable initialization.
19569         (TLS_DEFINE_INIT_TP): Likewise.
19570         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
19571         TCB.
19572         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
19573         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
19574         calculation.
19575         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
19576         transactoion is lock elision is built and TCB tm_capable is set.
19577         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
19578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19579         (INTERNAL_SYSCALL_NCS): Likewise.
19580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19581         (INTERNAL_SYSCALL_NCS): Likewise.
19582         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
19584         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
19585         for powerpc.
19586         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19587         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
19588         and remove it for 32 bits case.
19589         [pthread_rwlock_t] (__rwelision): New field for lock elision.
19590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
19591         initialization.
19592         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
19593         Disable lock elision with rdlocks if elision is not available.
19595         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
19596         (sysdep_routines): Add lock elision objects.
19597         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19598         [pthread_mutex_t] (__spins): Rework to add lock elision field.
19599         [pthread_mutex_t] (__elision): Add field.
19600         [__PTHREAD_SPINS]: Adjust to init lock elision field.
19601         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
19602         elision definitions for powerpc.
19603         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
19604         implementation of lock elision for powerpc.
19605         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
19606         implementation of timed lock elision for powerpc.
19607         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
19608         implementation of trylock with lock elision for powerpc.
19609         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
19610         implementaion of unlock for lock elision for powerpc.
19611         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
19612         automatic enable lock elision for mutexes.
19613         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
19614         transaction execution definitions for powerpc.
19615         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
19616         definitions.
19617         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
19618         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
19619         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
19620         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
19621         * NEWS: Update.
19623 2015-01-09  Roland McGrath  <roland@hack.frob.com>
19625         * sysdeps/posix/shm-directory.c: Use <> rather than ""
19626         for #include of <shm-directory.h>.
19628 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
19630         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
19631         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
19633 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
19635         [BZ #17791]
19636         * NEWS: Mention bug fix.
19637         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
19638         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
19639         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
19641 2015-01-09  Torvald Riegel <triegel@redhat.com>
19643         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
19645 2015-01-09  Torvald Riegel <triegel@redhat.com>
19647         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
19649 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19651         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
19652         pointer and cast to uintptr_t.
19654 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19656         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
19657         removed.
19658         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
19660 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19662         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
19663         of 0.
19665 2015-01-08  Roland McGrath  <roland@hack.frob.com>
19667         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
19668         <nptl/pthreadP.h> instead.
19669         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
19671         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
19672         already defined.
19673         [__SIGRTMIN] (init): Function removed.
19674         [__SIGRTMIN] (initialized): Variable removed.
19675         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
19676         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
19677         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
19678         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
19679         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
19680         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
19681         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
19682         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
19683         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
19684         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
19685         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
19686         * sysdeps/nptl/allocrtsig.c: New file.
19687         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
19688         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
19689         * sysdeps/generic/testrtsig.h: File removed.
19691         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
19692         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
19694         * nptl/nptl-init.c (pthread_functions): Conditionalize
19695         .ptr__nptl_setxid initialization on [SIGSETXID].
19697         * sysdeps/nptl/sys/procfs.h: New file.
19698         * nptl_db/Makefile (headers): Add it.
19699         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
19701         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
19702         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
19703         * nptl/pthread_attr_setaffinity.c: Include it.
19704         * nptl/pthread_setattr_default_np.c: Likewise.
19705         * nptl/check-cpuset.h: New file.
19707 2015-01-08  Richard Henderson  <rth@redhat.com>
19709         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
19710         (CFLAGS-tst-execstack-prog.c): Likewise.
19711         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
19713 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
19714             Sandra Loosemore  <sandra@codesourcery.com>
19715             Andrew Jenner  <andrew@codesourcery.com>
19716             Joseph Myers  <joseph@codesourcery.com>
19717             Nathan Sidwell  <nathan@codesourcery.com>
19719         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
19720         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
19721         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
19722         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
19723         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
19724         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
19725         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
19726         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
19727         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
19728         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
19729         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
19730         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
19731         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
19732         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
19733         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
19734         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
19735         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
19737 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19739         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
19740         timespec struct member in syscall macro.
19741         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19742         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
19743         first timeval struct member in syscall macro.
19744         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
19746 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
19748         [BZ #17748]
19749         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
19750         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
19751         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
19752         __feupdateenv and define as weak alias of __feupdateenv.  Use
19753         libm_hidden_weak.
19754         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
19755         libm_hidden_def.
19756         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
19757         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
19758         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19759         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
19760         libm_hidden_def.
19761         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
19762         __feupdateenv and define as weak alias of __feupdateenv.  Use
19763         libm_hidden_weak.
19764         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
19765         libm_hidden_def.
19766         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
19767         __feupdateenv and define as weak alias of __feupdateenv.  Use
19768         libm_hidden_weak.
19769         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
19770         libm_hidden_def.
19771         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19772         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19773         (__feupdateenv): Likewise.
19774         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
19775         __feupdateenv and define as weak alias of __feupdateenv.  Use
19776         libm_hidden_weak.
19777         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19778         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
19779         libm_hidden_def.
19780         * sysdeps/tile/math_private.h (__feupdateenv): New inline
19781         function.
19782         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
19783         libm_hidden_def.
19784         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
19785         __feupdateenv instead of feupdateenv.
19786         (default_libc_feupdateenv_test): Likewise.
19787         (libc_feresetround_ctx): Likewise.
19789 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19791         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
19792         prototype.
19794 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
19796         * posix/regcomp.c (parse_bracket_exp): Initialize type to
19797         COLL_SYM in a couple of places to avoid uninitialized variable
19798         wanings on tilegx gcc 4.8.2.
19800 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19802         * sysdeps/aarch64/strcpy.S: New file.
19803         * sysdeps/aarch64/stpcpy.S: New file.
19804         * NEWS: Updated.
19806 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19808         * sysdeps/aarch64/strrchr.S: New file.
19809         * NEWS: Updated.
19811 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
19813         [BZ #17658]
19814         * stdlib/setenv.c: Fix memory leak when setting large,
19815         duplicate string.
19817 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
19819         [BZ #17273]
19820         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
19821         and tabs from buffer before parsing fstab entry.
19822         * misc/tst-mntent.c (main): Add test for mount entry with
19823         trailing spaces and tabs.
19825 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
19827         [BZ #17748]
19828         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
19829         * math/fesetround.c (fesetround): Rename to __fesetround and
19830         define as weak alias of __fesetround.  Use libm_hidden_weak.
19831         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
19832         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
19833         * sysdeps/arm/fesetround.c (fesetround): Likewise.
19834         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
19835         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
19836         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
19837         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
19838         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
19839         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
19840         __fesetround_inline.
19841         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
19842         __fesetround_inline instead of __fesetround.
19843         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
19844         __fesetround and define as weak alias of __fesetround.  Use
19845         libm_hidden_weak.  Call __fesetround_inline instead of
19846         __fesetround.
19847         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
19848         __fesetround and define as weak alias of __fesetround.  Use
19849         libm_hidden_weak.
19850         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
19851         Likewise.
19852         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
19853         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19854         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
19855         * sysdeps/tile/math_private.h (__fesetround): New inline function.
19856         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
19857         __fesetround and define as weak alias of __fesetround.  Use
19858         libm_hidden_weak.
19859         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
19860         __fesetround instead of fesetround.
19861         (default_libc_feholdexcept_setround): Likewise.
19862         (libc_feholdsetround_ctx): Likewise.
19863         (libc_feholdsetround_noex_ctx): Likewise.
19865         [BZ #17748]
19866         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
19867         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
19868         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19869         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19870         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19871         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
19872         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19873         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19874         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19875         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19876         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19877         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19878         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19879         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19880         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
19881         libm_hidden_def.
19882         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
19883         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
19884         Likewise.
19885         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19886         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19887         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19888         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19889         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
19890         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19891         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19892         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
19893         __fesetenv instead of fesetenv.
19894         (libc_feresetround_noex_ctx): Likewise.
19895         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19896         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19897         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
19898         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19899         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19900         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19901         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19902         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19903         (__feupdateenv): Likewise.
19904         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19905         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19906         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19907         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
19909 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19911         [BZ #17806]
19912         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
19913         addresses have been freed.
19915 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19917         * resolv/res_init.c (__res_vinit): Improve comments about nserv
19918         and nservall.
19920 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
19922         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
19923         Clean up check_pf allocation pattern. addresses
19925 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19927         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
19928         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
19929         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
19930         * nptl/pthread_exit.c (__pthread_exit): Likewise.
19931         * nptl/pthread_join.c (pthread_join): Likewise.
19932         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19933         * sysdeps/posix/waitid.c (__waitid): Likewise.
19934         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19935         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19936         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19937         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19938         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19939         Likewise.
19940         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19941         (__libc_pread64): Likewise.
19942         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19943         (__libc_pwrite): Likewise.
19944         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19945         (__libc_pwrite64): Likewsie.
19946         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19947         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19948         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19949         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19950         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19951         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19952         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19954         Likewise.
19955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19956         (__libc_pread64): Likewise.
19957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
19958         Likewise.
19959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19960         (__libc_pwrite64): Likewise.
19961         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19962         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19963         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
19964         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
19965         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19966         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19967         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
19968         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19969         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19970         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19971         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
19972         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19973         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19974         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
19975         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19976         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19977         Likewise.
19979 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19981         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
19982         (CFLAGS-test-double.c): Likewise.
19983         (CFLAGS-test-ldouble.c): Likewise.
19984         (CPPFLAGS-test-ifloat.c): Likewise.
19985         (CPPFLAGS-test-idouble.c): Likewise.
19986         (CPPFLAGS-test-ildoubl.c): Likewise.
19987         (CFLAGS-test-test-fenv.c): Remove variable.
19988         (CFLAGS-test-misc.c): Likewise.
19990 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
19992         [BZ #17797]
19993         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
19994         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
19995         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
19996         CLOCKS_PER_SEC == 1000000.
19997         * time/clocktest.c (main): Replace %ld with %jd and cast to
19998         intmax_t.
20000 2015-01-05  Roland McGrath  <roland@hack.frob.com>
20002         * sysdeps/generic/unwind-resume.h: New file.
20003         * sysdeps/gnu/unwind-resume.c: Include it.
20004         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
20005         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
20006         argument list.
20007         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
20008         global rather than static.
20009         (_Unwind_Resume): Update user.
20010         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
20011         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
20012         rather than static.  Add __attribute__ ((cold)).
20013         (_Unwind_Resume, __gcc_personality_v0): Update callers.
20014         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
20015         * sysdeps/arm/arm-unwind-resume.S: New file.
20016         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
20017         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
20018         * sysdeps/arm/Makefile [$(subdir) = csu]
20019         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
20020         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20021         Add rt-arm-unwind-resume.
20022         [$(subdir) = nptl]
20023         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20024         Add pt-arm-unwind-resume.
20025         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
20026         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
20028 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20030         [BZ #17748]
20031         * include/fenv.h (__feholdexcept): Declare.  Use
20032         libm_hidden_proto.
20033         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
20034         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
20035         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20036         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
20037         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
20038         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
20039         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
20040         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20041         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
20042         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
20043         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20044         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
20045         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
20046         (feholdexcept): Likewise.
20047         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20048         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20049         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20050         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20051         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
20052         __feholdexcept instead of feholdexcept.
20053         (default_libc_feholdexcept_setround): Likewise.
20055 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20057         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
20058         to avoid using stl/str to align destination.
20060 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20062         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
20064 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20066         [BZ #17796]
20067         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
20068         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
20069         Define as weak alias not strong alias.
20071 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20073         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
20074         bltzal with addiupc.
20075         (RTLD_START): Ditto.
20077 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
20079         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
20080         for __vdso_* functions in declarations.
20081         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
20082         definitions.
20083         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
20084         INTERNAL_VSYSCALL): Use struct return types to check for error.
20086         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
20087         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
20088         function with cast from llround().
20089         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
20090         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20091         Define.
20093 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20095         [BZ #17793]
20096         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
20097         Define as weak alias not strong alias.
20099         [BZ #17635]
20100         * ctype/ctype-c99.c: New file.  isblank implementation moved from
20101         ...
20102         * ctype/ctype-extn.c: ... here.
20103         (__isblank_l): Move to ...
20104         * ctype/ctype-c99_l.c: ... here.  New file.
20105         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
20106         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
20107         Remove variable.
20108         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20109         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20110         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20111         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20112         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20114         [BZ #17777]
20115         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20116         (posix_fadvise64): Define as weak alias not strong alias.
20117         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20118         (posix_fallocate64): Likewise.
20119         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
20120         Remove variable.
20121         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20122         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20123         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20124         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20125         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20127 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20129         [BZ #16191]
20130         * NEWS: Mention bug fix.
20131         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20132         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20133         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20134         (HOST_STACK_END_ADDR): Likewise.
20136 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20138         [BZ #17748]
20139         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20140         * math/fegetround.c (fegetround): Rename to __fegetround and
20141         define as weak alias of __fegetround.  Use libm_hidden_weak.
20142         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20143         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20144         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20145         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20146         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20147         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20148         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20149         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20150         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20151         Undefine after rather than before function definition; use
20152         parentheses around function name in definition.
20153         (__fegetround): Also undefine macro after function definition.
20154         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20155         __fegetround and define as weak alias of __fegetround.  Use
20156         libm_hidden_weak.  Do not undefine as macro.
20157         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20158         Likewise.
20159         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20160         __fegetround and define as weak alias of __fegetround.  Use
20161         libm_hidden_weak.
20162         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20163         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20164         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20165         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20166         __fegetround and define as weak alias of __fegetround.  Use
20167         libm_hidden_weak.
20168         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20169         __fegetround instead of fegetround.
20171         [BZ #17782]
20172         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20173         Condition macro definition on [__USE_MISC].
20175         [BZ #17781]
20176         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20177         (struct sigaction): Change type of sa_flags field to int.
20179         [BZ #17780]
20180         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20181         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20182         __glibc_reserved0.
20184         * nptl/version.c (banner): Use single year in copyright notice.
20186         * NEWS: Update copyright dates.
20187         * catgets/gencat.c (print_version): Likewise.
20188         * csu/version.c (banner): Likewise.
20189         * debug/catchsegv.sh: Likewise.
20190         * debug/pcprofiledump.c (print_version): Likewise.
20191         * debug/xtrace.sh (do_version): Likewise.
20192         * elf/ldconfig.c (print_version): Likewise.
20193         * elf/ldd.bash.in: Likewise.
20194         * elf/pldd.c (print_version): Likewise.
20195         * elf/sotruss.sh: Likewise.
20196         * elf/sprof.c (print_version): Likewise.
20197         * iconv/iconv_prog.c (print_version): Likewise.
20198         * iconv/iconvconfig.c (print_version): Likewise.
20199         * locale/programs/locale.c (print_version): Likewise.
20200         * locale/programs/localedef.c (print_version): Likewise.
20201         * login/programs/pt_chown.c (print_version): Likewise.
20202         * malloc/memusage.sh (do_version): Likewise.
20203         * malloc/memusagestat.c (print_version): Likewise.
20204         * malloc/mtrace.pl: Likewise.
20205         * manual/libc.texinfo: Likewise.
20206         * nptl/version.c (banner): Likewise.
20207         * nscd/nscd.c (print_version): Likewise.
20208         * nss/getent.c (print_version): Likewise.
20209         * nss/makedb.c (print_version): Likewise.
20210         * posix/getconf.c (main): Likewise.
20211         * scripts/test-installation.pl: Likewise.
20212         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20214 2015-01-02  Will Newton  <will.newton@linaro.org>
20216         * sysdeps/arm/armv7/configure: Removed.
20217         * sysdeps/arm/armv7/configure.ac: Likewise.
20219 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20221         * All files with FSF copyright notices: Update copyright dates
20222         using scripts/update-copyrights.
20223         * intl/plural.c: Regenerated.
20224         * locale/programs/charmap-kw.h: Likewise.
20225         * locale/programs/locfile-kw.h: Likewise.
20227 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20229         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20231 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20233         [BZ #17748]
20234         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20235         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20236         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20237         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20238         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20239         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20240         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20241         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20242         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20243         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20244         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20245         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20246         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20247         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20248         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20249         libm_hidden_def.
20250         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20251         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20252         Likewise.
20253         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20254         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20255         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20256         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20257         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20258         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20259         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20260         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20261         __fegetenv instead of fegetenv.
20262         (libc_feholdsetround_noex_ctx): Likewise.
20264 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20266         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20267         (Elf_MIPS_ABIFlags_v0): New structure.
20268         (EF_MIPS_FP64): Define.
20269         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20270         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20271         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20272         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20273         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20274         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20275         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20276         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20277         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20278         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20279         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20280         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20281         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20282         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20283         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20284         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20285         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20286         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20287         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20288         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20289         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20290         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20291         field.
20292         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20293         EF_MIPS_FP64.
20294         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20295         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20296         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20297         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20298         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20299         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20300         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20301         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20302         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20303         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20304         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20305         record the current FP ABI extension.
20306         (mips-mode-switch): Define to show if kernel headers support mode
20307         switching.
20308         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20309         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20310         supported SYSV ABI version to 3.
20311         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20312         feature.
20314 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20315             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20317         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20318         path.
20319         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20321 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20323         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20324         __fegetround and redefine to call __fegetround.  Remove condition
20325         on [!__NO_MATH_INLINES].
20326         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20327         function.
20328         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20329         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20330         Remove macro.
20331         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20332         instead of <fenv_libc.h>.
20333         (__llrintl): Call fegetround instead of __fegetround.
20334         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20335         instead of <fenv_libc.h>.
20336         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20337         (__lrintl): Call fegetround instead of __fegetround.
20338         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20339         instead of <fenv_libc.h>.
20340         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20341         (__rintl): Call fegetround instead of __fegetround.
20343 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20345         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20346         arrays.
20348 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20350         [BZ #17775]
20351         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20352         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20353         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20355 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20357         * sysdeps/i386/tls-macros.h: Include <features.h>.
20358         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20359         (TLS_IE): Likewise.
20360         (TLS_LD): Likewise.
20361         (TLS_GD): Likewise.
20362         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20363         define for GCC >= 5.0.
20365 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20367         * math/test-fenv.c (test_single_exception, set_single_exc,
20368         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20369         feexcp_mask_test, feenable_test, fe_single_test): Add
20370         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20371         case where they are not used.
20372         * math/libm-test.inc: Likewise.
20373         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20374         unused in the absence of FP rounding/exception support.
20375         * stdio-common/tst-printf-round.c: Likewise.
20376         * stdlib/tst-strtod-round.c: Likewise.
20377         * stdlib/tst-strtod-underflow.c: Likewise.
20379 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20381         [BZ #17723]
20382         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20383         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20384         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20385         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20386         libm_hidden_weak.
20387         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20388         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20389         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20390         libm_hidden_def.
20391         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20392         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20393         libm_hidden_weak.
20394         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20395         Likewise.
20396         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20397         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20398         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20399         libm_hidden_weak.
20400         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20401         libm_hidden_def.
20402         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20403         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20404         (__feraiseexcept): Likewise.
20405         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20406         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20407         libm_hidden_weak.
20408         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20409         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20410         libm_hidden_def.
20411         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20412         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20413         Use libm_hidden_def.
20414         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20415         libm_hidden_def.
20416         (feraiseexcept): Define as weak not strong alias.  Use
20417         libm_hidden_weak.
20418         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20419         New inline function.  Factored out of ...
20420         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20421         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20422         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20423         feraiseexcept.
20424         * math/w_acos.c (__acos): Likewise.
20425         * math/w_asin.c (__asin): Likewise.
20426         * math/w_ilogb.c (__ilogb): Likewise.
20427         * math/w_j0.c (y0): Likewise.
20428         * math/w_j1.c (y1): Likewise.
20429         * math/w_jn.c (yn): Likewise.
20430         * math/w_log.c (__log): Likewise.
20431         * math/w_log10.c (__log10): Likewise.
20432         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20433         * sysdeps/aarch64/fpu/math_private.h
20434         (libc_feupdateenv_test_aarch64): Likewise.
20435         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20436         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20437         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20438         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20439         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20440         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20441         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20442         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20443         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20444         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20446 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20448         [BZ #17732]
20449         * io/test-utime.c (main): Replace %ld with %jd and cast to
20450         intmax_t.
20451         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20452         * nptl/tst-mutex5.c: Include <stdint.h>.
20453         (do_test): Replace %ld with %jd and cast to intmax_t.
20454         * posix/tst-regex.c (run_test): Likewise.
20455         (run_test_backwards): Likewise.
20456         * rt/tst-clock.c: Include <stdint.h>.
20457         (clock_test): Replace %ld with %jd and cast to intmax_t.
20458         * rt/tst-cpuclock1.c: Include <stdint.h>.
20459         (do_test): Replace %lu with %ju and cast to uintmax_t.
20460         * rt/tst-cpuclock2.c: Include <stdint.h>.
20461         (do_test): Replace %lu with %ju and cast to uintmax_t.
20462         * rt/tst-mqueue1.c: Include <stdint.h>.
20463         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20464         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20465         intmax_t.
20466         * rt/tst-mqueue4.c (do_test): Likewise.
20467         * rt/tst-timer4.c: Include <stdint.h>.
20468         (check_ts): Replace %ld with %jd and cast to intmax_t.
20469         (do_test): Likewise.
20470         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20471         and cast to intmax_t.
20472         * sysdeps/pthread/tst-timer.c (main): Likewise.
20473         * time/clocktest.c (main): Likewise.
20474         * time/tst-posixtz.c (do_test): Likewise.
20475         * timezone/tst-timezone.c (main): Likewise.
20477 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20478             H.J. Lu  <hongjiu.lu@intel.com>
20480         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20481         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20482         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20483         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20484         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20485         version if bit_Fast_Unaligned_Load is set.
20486         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20487         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20488         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20489         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20490         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20491         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20492         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20493         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
20494         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
20495         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
20496         to 4.
20497         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
20498         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
20499         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
20500         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
20502 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
20504         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
20505         instead of #if to avoid a Wundef warning.
20506         * stdlib/tst-limits.c (do_test): Likewise.
20508         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20509         parallel other exception macros.
20510         (fegetenv): Convert from macro to extern inline so that it applies
20511         retroactively to inline functions already seen by the compiler.
20512         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20514         * posix/Makefile (before-compile): Use $(objpfx) for
20515         posix-conf-vars-def.h.
20517 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20519         * posix/getconf.c (main): Use size_t for type of I.
20520         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20521         NSPEC.
20523         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20524         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20525         * posix/posix-envs.def: Likewise.
20526         * sysdeps/posix/sysconf.c: Likewise.
20527         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
20528         (specs): Remove array.
20529         * scripts/gen-posix-conf-vars.awk: Support generation of specs
20530         array.
20532         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
20533         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
20534         (__sysconf): Use CONF_IS_* macros.
20536         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
20537         ($(objpfx)posix-conf-vars-def.h): New target.
20538         * posix/posix-conf-vars.list: New file.
20539         * posix/posix-conf-vars.h: New file.
20540         * posix/confstr.c: Include posix-conf-vars.h.
20541         (confstr): Use CONF_IS_* macros.
20542         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
20543         CONF_IS_* macros.
20544         * scripts/gen-posix-conf-vars.awk: New file.
20546 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
20548         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
20549         fegetround): Add no-op macros to avoid linknamespace issues.
20551         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
20552         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
20554         * sysdeps/unix/sysv/linux/tile/sysdep.h
20555         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
20556         assembly-specific section to avoid a redefinition warning.
20558         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
20559         long before casting to pointer to avoid a cast warning.
20561 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
20563         * sysdeps/tile/tilegx/Implies: New file.
20565 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
20567         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
20569 2014-12-23  Florian Weimer  <fweimer@redhat.com>
20571         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
20573 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20575         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
20576         not define.
20577         * sysdeps/unix/sysv/linux/utimes.c: Do not include
20578         <kernel-features.h>.
20579         (__utimes) [__NR_utimes]: Make code unconditional.
20580         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
20581         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20582         (__ASSUME_UTIMES): Do not undefine.
20583         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20584         (__ASSUME_UTIMES): Likewise.
20585         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20586         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
20587         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
20588         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
20590 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20592         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
20594 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
20596         [BZ #17747]
20597         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
20598         alias to weak alias for j0l, y0l.
20599         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
20600         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
20602         [BZ #17746]
20603         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
20604         conversion.
20606 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20608         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
20609         to zero if not already defined.
20611 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20613         [BZ #17724]
20614         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
20615         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
20616         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
20617         (char *) casts added.
20618         * sysdeps/ieee754/k_standardf.c: New file.
20619         * sysdeps/ieee754/k_standardl.c: Likewise.
20620         * math/Makefile (libm-support): Remove k_standard.
20621         (libm-calls): Add k_standard.
20623 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20625         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20626         Optimize to avoid an unnecessary FPCR read.
20628 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20630         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20631         Optimize to reduce FPCR/FPSR accesses.
20633 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20635         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
20636         Call libc_fetestexcept_aarch64.
20638 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20640         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
20641         Call libc_fesetround_aarch64.
20643 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20645         [BZ #17733]
20646         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
20647         (__bind): Do not define as weak alias.
20648         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
20649         define.
20650         (__getsockname): Do not define as weak alias.
20652 2014-12-22  Will Newton  <will.newton@linaro.org>
20654         * manual/install.texi: Document that we require bison 2.7
20655         or above.
20656         * INSTALL: Regenerate.
20657         * configure.ac: Use AC_CHECK_PROG_VER instead of
20658         AC_PATH_PROG when checking for bison and check for
20659         version 2.7 or above.
20660         * configure: Regenerate.
20662 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
20664         [BZ #17745]
20665         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
20666         * sysdeps/tile/ffsll.c (ffsll): To here.
20668         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
20670 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20672         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
20673         if not defined.
20674         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
20675         definition.
20676         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20677         hidden ___tls_get_addr.
20678         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20679         hidden __tls_get_addr.
20680         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
20681         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
20682         Likewise.
20684 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20686         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
20687         _dl_init call.
20689 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20691         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
20692         from "call _dl_init@PLT".
20693         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
20695 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
20697         * manual/search.texi: (Array Sort Function): Clarify stable sorting
20698         guarantees.
20700 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
20702         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
20704 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20706         [BZ #17744]
20707         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
20708         strnlen.
20710 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20712         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
20713         of multu on MIPSr6.
20714         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
20715         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
20716         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
20717         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
20718         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
20720 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20722         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
20723         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
20724         (PTR_SUBU): Use subu for mips32r6/mips64r6.
20725         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
20726         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
20727         mips32r6/mips64r6.
20728         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
20730 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
20732         * string/strncat.c (STRNCAT): Simplify implementation.
20734 2014-12-19  David S. Miller  <davem@davemloft.net>
20736         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
20737         access the quad as both a long double and as a series of 4 words.
20739         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
20740         link_map->l_info array access.
20742 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20744         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
20746         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
20747         * math/atest-exp2.c (TIMEOUT): Likewise.
20748         * math/atest-sincos.c (TIMEOUT): Likewise.
20750 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20752         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
20753         -Wno-error with -fno-builtin-lround.
20755 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20757         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
20758         Contains futex constants and functions moved over from ...
20759         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
20760         <lowlevellock-futex.h>.
20761         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20762         (lll_timedwait_tid): Add comments and parentheses around macro
20763         arguments.
20765 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20767         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
20768         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
20769         (__lll_private_flag): Remove.
20770         (lll_futex_wait): Likewise.
20771         (lll_futex_timed_wait): Likewise.
20772         (lll_futex_wake): Likewise.
20773         (lll_futex_requeue): Likewise.
20774         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20775         (__lll_timedwait_tid): Spell out argument names.
20776         (lll_timedwait_tid): Add comments and parentheses around macro
20777         arguments.
20778         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
20779         LLL_SHARED and LLL_PRIVATE usable from assembly code.
20781 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20783         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
20784         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20785         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20786         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
20787         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
20788         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
20789         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
20790         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
20791         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
20792         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
20793         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
20794         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
20795         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
20796         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
20797         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
20798         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
20799         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
20800         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
20801         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
20803 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20805         * sysdeps/x86_64/x32/Makefile: New file.
20807 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20809         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
20810         1L with (mp_limb_t) 1.
20812 2014-12-17  Roland McGrath  <roland@hack.frob.com>
20814         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
20815         * nptl/libc_pthread_init.c: ... here.
20816         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
20817         * nptl/register-atfork.c: ... here.
20819         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
20820         Use pthread_sigmask rather than INTERNAL_SYSCALL.
20821         Use assert_perror to check its return value.
20822         (__gai_create_helper_thread): Likewise.
20824         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
20826         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
20828 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
20830         [BZ #17725]
20831         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
20832         __profil_counter.
20833         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
20834         Likewise.
20835         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
20836         Likewise.
20837         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
20838         Likewise.
20839         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
20840         (profil_counter): Likewise.
20841         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
20842         (profil_counter): Likewise.
20843         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
20844         Likewise.
20845         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
20846         Likewise.
20847         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
20848         (profil_counter): Likewise.
20849         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
20850         Likewise.
20851         [!__profil_counter] (profil_counter): Define as weak alias of
20852         __profil_counter.
20853         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
20854         (profil_counter): Rename to __profil_counter.
20855         [!__profil_counter] (profil_counter): Define as weak alias of
20856         __profil_counter.
20857         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
20858         (profil_counter): Rename to __profil_counter.
20859         [!__profil_counter] (profil_counter): Define as weak alias of
20860         __profil_counter.
20861         * sysdeps/posix/profil.c: Update comment referring to
20862         profil_counter.
20863         (__profil): Use __profil_counter instead of profil_counter.
20864         * sysdeps/posix/sprofil.c (profil_counter): Rename to
20865         __profil_counter.  Use __profil_counter_ushort and
20866         __profil_counter_uint in definitions.
20867         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
20868         instead of profil_counter_uint and profil_counter_ushort.
20870         [BZ #17722]
20871         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
20872         define as weak alias of __inet_makeaddr.
20873         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
20874         as weak alias of __inet_addr.
20875         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
20876         as weak alias of __inet_pton.  Use libc_hidden_weak.
20877         * include/arpa/inet.h (__inet_pton): Declare.  Use
20878         libc_hidden_proto.
20879         (inet_makeaddr): Don't use libc_hidden_proto.
20880         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
20881         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
20882         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
20883         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
20884         Remove variable.
20885         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20886         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20888 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
20890         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
20892 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20894         * stdio-common/bug-vfprintf-nargs.c (do_test):
20895         Cast value to intptr_t to avoid format warning
20896         for usage with PRIdPTR printing macro.
20898 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20900         * libio/tst-widetext.c (do_test):
20901         Use format type %td instead of %Zd for ptrdiff_t
20902         in order to avoid format warning.
20904 2014-12-17  Andreas Schwab  <schwab@suse.de>
20906         * nscd/mem.c (gc): Add size_t cast to match printf format.
20908 2014-12-16  Roland McGrath  <roland@hack.frob.com>
20910         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
20911         (init): Apply PTR_MANGLE to pointers before storing them.
20912         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
20913         before using them.
20915 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
20917         [BZ #17719]
20918         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
20919         define as weak alias of __memrchr.
20920         (__memrchr): Do not define as strong alias of memrchr.
20921         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20922         Remove variable.
20923         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20924         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20925         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20927         [BZ #17717]
20928         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
20929         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
20930         (if_indextoname): Rename to __if_indextoname and define as weak
20931         alias of __if_indextoname.  Use libc_hidden_weak.
20932         (if_freenameindex): Rename to __if_freenameindex and define as
20933         weak alias of __if_freenameindex.
20934         (if_nameindex): Rename to __if_nameindex and define as weak alias
20935         of __if_nameindex.
20936         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
20937         __if_nametoindex and define as weak alias of __if_nametoindex.
20938         Use libc_hidden_weak.
20939         (if_freenameindex): Rename to __if_freenameindex and define as
20940         weak alias of __if_freenameindex.
20941         (if_nameindex): Rename to __if_nameindex and define as weak alias
20942         of __if_nameindex.
20943         (if_indextoname): Rename to __if_indextoname and define as weak
20944         alias of __if_indextoname.  Use libc_hidden_weak.
20945         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
20946         __if_nametoindex and define as weak alias of __if_nametoindex.
20947         Use libc_hidden_weak.
20948         (if_freenameindex): Rename to __if_freenameindex and define as
20949         weak alias of __if_freenameindex.  Use libc_hidden_weak.
20950         (if_nameindex_netlink): Use __if_freenameindex instead of
20951         if_freenameindex.
20952         (if_nameindex): Rename to __if_nameindex and define as weak alias
20953         of __if_nameindex.  Use libc_hidden_weak.
20954         (if_indextoname): Rename to __if_indextoname and define as weak
20955         alias of __if_indextoname.  Use libc_hidden_weak.
20956         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
20957         libc_hidden_proto.
20958         [!_ISOMAC] (__if_freenameindex): Likewise.
20959         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
20960         if_nametoindex.
20961         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
20962         variable.
20963         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20964         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20965         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20966         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20967         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20968         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20969         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20971         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
20972         Remove variable.
20973         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20974         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20976 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20978         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
20979         subscript above bounds'
20981         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
20982         bounds.
20984 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
20986         * libio/tst-fopenloc.c: Use test-skeleton.c.
20988         * stdlib/tst-bsearch.c: Use test-skeleton.c.
20989         (entry): Rename to ITEM.
20990         (do_test, comp): Adjust.
20992         * stdio-common/tst-fseek.c: Use test-skeleton.c.
20994 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20996         * string/tester.c: Include <libc-internal.h>.
20997         (test_memset): Ignore -Wmemset-transposed-args.
20999 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21001         * misc/tst-mntent2.c (do_test): Fix warning.
21003 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21005         * elf/tst-unique4lib.cc(a): Mark as used.
21007 2014-12-16  Florian Weimer  <fweimer@redhat.com>
21009         [BZ #17630]
21010         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
21011         names.
21013 2014-12-16  Allan McRae  <allan@archlinux.org>
21015         * stdio-common/Makefile (tests): Re-add bug26.
21017 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
21019         [BZ #17657]
21020         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
21021         static array.
21023 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
21025         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
21026         (__lll_lock_wait): Likewise.
21027         (__lll_timedlock_wait): Likewise.
21028         (__lll_timedwait_tid): Likewise.
21029         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
21030         (__lll_robust_timedlock_wait): Likewise.
21031         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
21032         (lll_cond_trylock): Likewise.
21033         (__lll_lock): Likewise.
21034         (__lll_robust_lock): Likewise.
21035         (__lll_cond_lock): Likewise.
21036         (lll_robust_cond_lock): Likewise.
21037         (__lll_timedlock): Likewise.
21038         (__lll_robust_timedlock): Likewise.
21039         (__lll_unlock): Likewise.
21040         (__lll_robust_unlock): Likewise.
21041         (lll_wait_tid): Likewise.
21042         (lll_timedwait_tid): Likewise.
21044 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21046         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
21048 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21050         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
21052 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21054         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
21055         * stdio-common/tst-sprintf.c: Likewise.
21057 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21059         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
21061 2014-12-15  Jeff Law  <law@redhat.com>
21063         [BZ #16617]
21064         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
21065         on the heap.  (CVE-2012-3406)
21066         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
21067         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
21068         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
21070 2014-12-15  Will Newton  <will.newton@linaro.org>
21072         * manual/install.texi: Bump required version of texinfo
21073         to 4.7 from 4.5.
21074         * INSTALL: Regenerated.
21075         * configure.ac: Check for makeinfo version 4.7 and above.
21076         * configure: Regenerated.
21078 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21080         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
21081         PREFIX, string constant to insert between directory and name.
21082         * sysdeps/posix/shm_open.c: Update caller.
21083         * sysdeps/posix/shm_unlink.c: Likewise.
21084         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
21085         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
21086         (SEM_SHM_PREFIX): New macro.
21087         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
21088         [$(have-thread-library) = no].
21089         * nptl/Makefile (libpthread-routines): Add shm-directory.
21090         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
21091         * sysdeps/nptl/shm-directory.h: New file.
21092         * sysdeps/posix/shm-directory.c
21093         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
21094         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21095         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
21096         INTERNAL_SYSCALL.
21097         (__where_is_shmfs): Function removed.
21098         (mountpoint, defaultmount, defaultdir, __namedsem_once):
21099         Variables removed.
21100         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
21101         Use SHM_GET_NAME.
21102         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
21104         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
21105         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
21106         unconditional for use inside libpthread.
21107         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
21109 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21111         * nptl/pthread_getaffinity.c: New file.
21112         * nptl/pthread_setaffinity.c: New file.
21113         * nptl/pthread_getname.c: New file.
21114         * nptl/pthread_setname.c: New file.
21116         * nptl/pthread_create.c (START_THREAD_DEFN)
21117         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
21119 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21120             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21122         * resolv/res_send.c (send_vc): Disable warning resplen may
21123         be used uninitialized.
21125 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21127         * nptl/tst-mutex6.c
21128         (ATTR_NULL): New define checks ATTR against NULL.
21129         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21130         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21132 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21134         [BZ #17581]
21135         * malloc/hooks.c
21136         (mem2mem_check): Revert my previous change.
21137         (malloc_check_get_size): Revert my previous change.
21138         (mem2chunk_check): Revert my previous change.
21140 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21142         * sysdeps/posix/shm-directory.c: New file.
21143         * sysdeps/posix/shm-directory.h: New file.
21144         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21145         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21146         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21147         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21148         Transmute EPERM to EACCES.
21149         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21150         from ...
21151         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21152         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21154 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21156         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21157         pointer and cast to uintptr_t.
21158         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21159         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21160         Add cast to avoid warning.
21161         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21163 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21165         * nptl/semaphore.h: Move to ...
21166         * sysdeps/pthread/semaphore.h: ... here.
21167         * Makefile (installed-headers): Change nptl/semaphore.h to
21168         sysdeps/pthread/semaphore.h.
21170 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21172         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21173         generated error format strings.
21175         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21176         -Wformat-extra-args warnings for scanf formats.
21177         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21178         test of zero-length format (duh).
21179         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21180         corner-case scanf format test.
21181         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21182         generated fprintf format string.
21183         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21184         corner-case sprintf format tests.
21185         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21186         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21187         -Wformat-extra-args warnings throughout.
21188         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21189         (CFLAGS-scanf4.c): Likewise.
21190         (CFLAGS-scanf7.c): Likewise.
21191         (CFLAGS-tst-sprintf.c): Likewise.
21192         (CFLAGS-tst-printf.c): Likewise.
21193         (CFLAGS-tst-printfsz.c): Likewise.
21195 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21197         * include/cpio.h: New file.
21198         * include/fmtmsg.h: Likewise.
21200         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21201         corresponding format argument to size_t.
21202         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21203         arguments.
21204         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21205         corresponding format argument to size_t.
21206         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21207         arguments.
21208         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21209         corresponding format argument to size_t.
21210         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21211         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21212         (CFLAGS-tst-mbswcs2.c): Likewise.
21213         (CFLAGS-tst-mbswcs3.c): Likewise.
21214         (CFLAGS-tst-mbswcs4.c): Likewise.
21215         (CFLAGS-tst-mbswcs5.c): Likewise.
21216         (CFLAGS-tst-trans.c): Likewise.
21218 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21220         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21221         rather than assuming they won't contain any '%'s.
21223 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21225         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21226         inhibit_loop_to_libcall to avoid recursive calls.
21227         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21228         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21230 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21232         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21233         prototype.
21235 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21237         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21238         integer value instead of boolean.
21240 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21242         * malloc/malloc.c: Fix powerof2 check.
21244 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21246         * locale/programs/locfile.h (maybe_swap_uint32):
21247         Remove inline and add unused attribute.
21249 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21251         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21252         Truncating assembler expression to a .long expression.
21254 2014-12-11  Andreas Schwab  <schwab@suse.de>
21256         * elf/rtld.c (struct map_args): Constify str member.
21257         (do_preload): Constify fname argument.
21259 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21261         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21262         constants definition.
21264 2014-12-11  Andreas Schwab  <schwab@suse.de>
21266         [BZ #16657]
21267         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21268         FORCE_ELISION instead of DO_ELISION.
21269         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21270         Remove.
21271         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21272         Likewise.
21274         * iconvdata/gconv-modules: Remove duplicate entry.
21276 2014-12-11  Will Newton  <will.newton@linaro.org>
21278         Merge gettext 0.19.3 into intl/.
21280         This involves a number of cosmetic changes to comments
21281         and ANSI function definitions and prototypes throughout
21282         all the files. The gettext copyright header is used but
21283         with the date ranges taken from the glibc copy.
21285         * NEWS: Add gettext merge to 2.21.
21286         * intl/bindtextdom.c: Switch to gettext copyright.
21287         Use ANSI definitions and prototypes.
21288         Use gl_* locking primitives rather than __libc_* ones.
21289         Use __builtin_expect rather than __glibc_likely/unlikely.
21290         * intl/dcgettext.c: Switch to gettext copyright.
21291         Use ANSI definitions and prototypes.
21292         * intl/dcigettext.c: Switch to gettext copyright.
21293         Use ANSI definitions and prototypes.
21294         (INTDIV0_RAISES_SIGFPE): New define.
21295         Use gl_* locking primitives rather than __libc_* ones.
21296         Include eval-plural.h instead of plural-eval.c.
21297         Use __builtin_expect rather than __glibc_likely/unlikely.
21298         * intl/dcngettext.c: Switch to gettext copyright.
21299         Use ANSI definitions and prototypes.
21300         * intl/dgettext.c: Likewise.
21301         * intl/dngettext.c: Likewise.
21302         * intl/plural-eval.c: Renamed to...
21303         * intl/eval-plural.h: ...this.
21304         * intl/explodename.c: Switch to gettext copyright.
21305         Use ANSI definitions and prototypes.
21306         (_nl_explode_name): Use strchr instead of __rawmemchr.
21307         * intl/finddomain.c: Switch to gettext copyright.
21308         Use ANSI definitions and prototypes.
21309         Use gl_* locking primitives rather than __libc_* ones.
21310         (_nl_find_domain): Use malloc rather than alloca for
21311         allocation of temporary locale name.
21312         * intl/gettext.c: Switch to gettext copyright.
21313         Use ANSI definitions and prototypes.
21314         * intl/gettextP.h: Switch to gettext copyright.
21315         Use ANSI definitions and prototypes.
21316         Use gl_* locking primitives rather than __libc_* ones.
21317         * intl/gmo.h: Switch to gettext copyright.
21318         (struct sysdep_string): Move struct segment_pair outside of
21319         struct definition.
21320         * intl/hash-string.c: Use ANSI definitions and prototypes.
21321         * intl/hash-string.h: Switch to gettext copyright.
21322         Use ANSI definitions and prototypes.
21323         * intl/l10nflist.c: Switch to gettext copyright.
21324         Use ANSI definitions and prototypes.
21325         (_nl_normalize_codeset): Avoid integer overflow.
21326         * intl/loadinfo.h: Switch to gettext copyright.
21327         Use ANSI definitions and prototypes.
21328         (LIBINTL_DLL_EXPORTED): New define.
21329         (PATH_SEPARATOR): New define.
21330         * intl/loadmsgcat.c: Switch to gettext copyright.
21331         * intl/localealias.c: Switch to gettext copyright.
21332         Use ANSI definitions and prototypes.
21333         (_nl_expand_alias): Use PATH_SEPARATOR.
21334         * intl/ngettext.c: Switch to gettext copyright.
21335         Use ANSI definitions and prototypes.
21336         * intl/plural-exp.c: Likewise.
21337         * intl/plural-exp.h: Switch to gettext copyright.
21338         Use ANSI definitions and prototypes.
21339         (struct expression): Move definition of enum operator outside
21340         of struct definition.
21341         * intl/plural.c: Regenerate.
21342         * intl/plural.y: Switch to gettext copyright.
21343         Use ANSI definitions and prototypes.
21344         Port to bison 3.0.
21345         * intl/textdomain.c: Switch to gettext copyright.
21346         Use ANSI definitions and prototypes.
21347         Use gl_* locking primitives rather than __libc_* ones.
21349 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21351         * debug/warning-nop.c: Add used atrribute.
21353 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21355         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21357         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21358         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21359         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21361 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21362             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21364         [BZ #17634]
21365         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21366         Undefine after defining function.  Define as weak alias of
21367         __wcschr.  Use libc_hidden_weak.
21368         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21369         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21370         (libc_hidden_def): Also define __GI___wcschr alias.
21371         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21372         __wcschr and define as weak alias of __wcschr.
21373         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21374         __wcschr.
21375         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21376         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21377         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21378         libc_hidden_weak.  Do not use libc_hidden_def.
21379         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21380         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21381         __GI___wcschr alias.
21382         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21383         [IS_IN (libc)] (wcschr): Define as macro expanding to
21384         __redirect_wcschr.
21385         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21386         [IS_IN (libc)] (__wcschr_power6): Likewise.
21387         [IS_IN (libc)] (__wcschr_power7): Likewise.
21388         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21389         instead of wcschr.
21390         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21391         __libc_wcschr.
21392         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21393         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21394         __wcschr and define as weak alias of __wcschr.  Use
21395         libc_hidden_builtin_def.
21396         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21397         as weak alias of __wcschr.  Use libc_hidden_weak.
21398         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21399         wcschr.
21400         * time/era.c (_nl_init_era_entries): Likewise.
21401         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21402         variable.
21403         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21404         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21406 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21408         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21409         format for long int variable.
21411 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21413         [BZ #10672]
21414         * manual/search.texi: (Array Sort Function): Remove claim how to make
21415         qsort stable.
21417 2014-12-10  Andreas Schwab  <schwab@suse.de>
21419         [BZ #12847]
21420         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21421         user-controlled locks.
21423 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21425         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21426         register.
21428 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21430         * configure.ac (--disable-werror): New configure option.
21431         (enable_werror): New AC_SUBST.
21432         * configure: Regenerated.
21433         * config.make.in (enable-werror): New variable.
21434         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21435         -Wno-error=undef.
21436         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21437         * manual/install.texi (Configuring and compiling): Document
21438         --disable-werror.
21439         * INSTALL: Regenerated.
21440         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21441         (CFLAGS-tst-chk2.c): Likewise.
21442         (CFLAGS-tst-chk3.c): Likewise.
21443         (CFLAGS-tst-chk4.cc): Likewise.
21444         (CFLAGS-tst-chk5.cc): Likewise.
21445         (CFLAGS-tst-chk6.cc): Likewise.
21446         (CFLAGS-tst-lfschk1.c): Likewise.
21447         (CFLAGS-tst-lfschk2.c): Likewise.
21448         (CFLAGS-tst-lfschk3.c): Likewise.
21449         (CFLAGS-tst-lfschk4.cc): Likewise.
21450         (CFLAGS-tst-lfschk5.cc): Likewise.
21451         (CFLAGS-tst-lfschk6.cc): Likewise.
21453         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21454         (main): Disable -Wdeprecated-declarations around calls to
21455         register_printf_function.
21457         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21458         (do_test): Disable -Wdiv-by-zero around some calls to
21459         fwrite_unlocked and fread_unlocked.
21461         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21462         (DIAG_POP_NEEDS_COMMENT): Likewise.
21463         (_DIAG_STR1): Likewise.
21464         (_DIAG_STR): Likewise.
21465         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21466         * stdio-common/bug21.c: Include <libc-internal.h>.
21467         (do_test): Disable -Wformat around call to sscanf.
21468         * stdio-common/scanf14.c: Include <libc-internal.h>.
21469         (main): Disable -Wformat around some calls to scanf functions.
21471 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21473         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21475 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21477         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21478         stack variable alignment.
21480 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21482         [BZ #17682]
21483         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21484         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21485         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21486         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21487         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21488         __getrlimit instead of getrlimit.
21489         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21490         __gettimeofday instead of gettimeofday.
21491         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21492         Likewise.
21493         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21494         Likewise.
21495         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21496         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
21497         Remove variable.
21498         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21499         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21501 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21503         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
21504         for wide-character tests.
21506 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21508         * io/openat64.c: #include <libc-internal.h>
21509         (__openat64): Prototypify.  Use ignore_value on MODE.
21510         * io/openat.c: Likewise.
21511         * misc/reboot.c: #include <libc-internal.h>
21512         (reboot): Prototypify.  Use ignore_value on HOWTO.
21513         * misc/ptrace.c: #include <libc-internal.h>
21514         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21516 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21518         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21519         XPG4, UNIX98 and XOPEN2K.
21520         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21521         Remove variable.
21522         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21524 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21526         * libio/fileops.c: Use ISO C style for function definitions.
21527         * libio/iofopen.c: Likewise.
21528         * libio/wfileops.c: Likewise.
21530         [BZ #17653]
21531         * libio/fileops.c (_IO_new_file_underflow): Unset cached
21532         offset on EOF.
21533         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
21534         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
21535         (fgets_func): Function pointer to fgets and fgetws.
21536         (do_ftell_test): Add test to verify ftell value after read
21537         EOF.
21538         (do_test): Set fgets_func.
21540         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
21541         O_TRUNC flag for w and w+ modes.
21542         (do_rewind_test): Likewise.
21543         (do_ftell_test): Likewise.
21544         (do_write_test): Likewise.
21546         [BZ #17647]
21547         * libio/fileops.c (do_ftell): Seek only when there are
21548         unflushed writes.
21549         * libio/wfileops.c (do_ftell_wide): Likewise.
21550         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
21551         test case.
21552         (do_one_test): Call it.
21554 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
21556         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
21557         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
21558         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
21559         Remove variable.
21560         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21561         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21562         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21564 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21566         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
21567         Remove variable.
21568         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21570         [BZ #17668]
21571         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
21572         as weak alias of __getifaddrs.  Use libc_hidden_weak.
21573         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21574         __freeifaddrs.  Use libc_hidden_weak.
21575         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
21576         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
21577         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21578         __freeifaddrs.  Use libc_hidden_weak.
21579         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
21580         __getifaddrs and define as weak alias of __getifaddrs.  Use
21581         libc_hidden_weak.
21582         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21583         __freeifaddrs.  Use libc_hidden_weak.
21584         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
21585         Remove variable.
21586         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21587         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21589 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21591         [BZ #17601]
21592         * sysdeps/mips/start.S (__start): Use indirect jump to call
21593         __libc_start_main.
21595 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21597         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
21599         * nptl/tst-mutex1.c: Include <stdbool.h>.
21600         [!ATTR] (ATTR_NULL): New macro.
21601         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
21602         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
21603         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
21605         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
21606         to char *.
21608         [BZ #17665]
21609         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
21610         Change conditional to [__USE_MISC].
21612         [BZ #17664]
21613         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
21614         fgets_unlocked.
21615         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
21616         __fgets_unlocked.
21617         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
21618         fgets_unlocked.
21619         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
21620         Remove variable.
21621         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21622         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21623         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21624         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21625         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21626         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21627         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21628         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21629         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21631         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
21633 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21635         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21636         Remove strpbrk objects.
21637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21638         (__libc_ifunc_impl_list): Remove strpbrk implementation.
21639         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
21640         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
21641         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
21642         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
21644         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21645         Remove strcspn objects.
21646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21647         (__libc_ifunc_impl_list): Remove strcspn implementation.
21648         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
21649         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
21650         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
21651         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
21653         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21654         Remove strspn objetcs.
21655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21656         (__libc_ifunc_impl_list): Remove strspn implementation.
21657         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
21658         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21659         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
21660         * sysdeps/powerpc/powerpc64/strspn.S: New file.
21662 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
21664         [BZ #17581]
21665         * malloc/hooks.c
21666         (mem2mem_check): Add a terminator to the chain of checking blocks.
21667         (malloc_check_get_size): Use it here.
21668         (mem2chunk_check): Ditto.
21670 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21672         * sysdeps/powerpc/powerpc64/strtok.S: New file.
21673         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
21675 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
21677         * bits/ioctl-types.h: Indent preprocessor directives correctly.
21679         * nptl/nptl-init.c: Include libc-internal.h.
21680         (__pthread_initialize_minimal_internal): Use ROUND_UP.
21682         * elf/ldconfig.c (search_dir): Expand comment.
21684 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
21686         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
21687         variable.
21688         (linknamespace-symlist-stdlibs-tests): Likewise.
21689         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
21690         instead of $(objpfx)symlist-stdlibs.
21691         (linknamespace-libs-isoc): New variable.
21692         (linknamespace-libs): Use $(linknamespace-libs-isoc).
21693         (linknamespace-libs-ISO): New variable.
21694         (linknamespace-libs-ISO99): Likewise.
21695         (linknamespace-libs-ISO11): Likewise.
21696         (linknamespace-libs-XPG3): Likewise.
21697         (linknamespace-libs-XPG4): Likewise.
21698         (linknamespace-libs-POSIX): Likewise.
21699         (linknamespace-libs-UNIX98): Likewise.
21700         (linknamespace-libs-XOPEN2K): Likewise.
21701         (linknamespace-libs-POSIX2008): Likewise.
21702         (linknamespace-libs-XOPEN2K8): Likewise.
21703         ($(objpfx)symlist-stdlibs): Replace by
21704         $(linknamespace-symlist-stdlibs-tests).  Use
21705         $(linknamespace-libs-$*) as set of libraries.
21706         ($(linknamespace-header-tests)): Update dependencies.  Use
21707         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
21708         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
21709         * conform/linknamespace.pl: Remove comment about considering
21710         definitions of symbols from irrelevant libraries.
21712 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
21714         [BZ #13862]
21715         * elf/dl-tls.c: Include <atomic.h>.
21716         (oom): Remove #ifdef SHARED/#endif.
21717         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
21718         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
21719         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
21720         big enough.
21721         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
21722         * nptl/Makefile (tests): Add tst-stack4.
21723         (modules-names): Add tst-stack4mod.
21724         ($(objpfx)tst-stack4): New.
21725         (tst-stack4mod.sos): Likewise.
21726         ($(objpfx)tst-stack4.out): Likewise.
21727         ($(tst-stack4mod.sos)): Likewise.
21728         (clean): Likewise.
21729         * nptl/tst-stack4.c: New file.
21730         * nptl/tst-stack4mod.c: Likewise.
21732 2014-11-27  J. Brown  <jb999@gmx.de>
21734         * sysdeps/x86/bits/string.h: Add recent CPUs.
21736 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21738         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
21739         sigblock.
21741         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
21742         feof.
21744         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
21745         variable.
21747 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21749         * nscd/connections.c: Include libc-internal.h because of macro
21750         usage ignore_value.
21752 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21754         * string/bits/string3.h (__warn_memset_zero_len): Don't
21755         declare for gcc newer than 5.0.
21756         (memset): Don't test for zero-length __LEN for gcc newer than
21757         5.0.
21759 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21761         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
21762         size_t for %zu format.
21764         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
21765         difference, not %ju.
21767 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21769         * include/libc-internal.h (ignore_value): New macro.
21770         * nscd/connections.c (restart): Wrap calls to setuid and setgid
21771         with ignore_value.
21773         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
21774         definition.
21776         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
21777         pthread_cleanup_push to void *.
21779         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
21780         Undefine.
21782         [BZ #16619]
21783         [BZ #16740]
21784         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
21785         instead of 1L << 52.
21787         * libio/bug-rewind.c (do_test): Check fwscanf return values.
21788         * libio/bug-rewind2.c (do_test): Likewise.
21790         * debug/test-stpcpy_chk-ifunc.c: Remove file.
21791         * debug/test-strcpy_chk-ifunc.c: Likewise.
21792         * wcsmbs/test-wcschr-ifunc.c: Likewise.
21793         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21794         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21795         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21796         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21797         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21798         * Rules [$(multi-arch) = no] (tests): Do not filter out
21799         $(tests-ifunc).
21800         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
21801         * debug/Makefile (tests-ifunc): Remove variable.
21802         (tests): Do not add $(tests-ifunc).
21803         * wcsmbs/Makefile (tests-ifunc): Remove variable.
21804         (tests): Do not add $(tests-ifunc).
21805         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
21806         [TEST_IFUNC]: Remove conditionals.
21807         * string/test-string.h (TEST_IFUNC): Remove macro.
21808         [TEST_IFUNC]: Remove conditionals.
21810         * string/test-strchr.c [!WIDE] (L): New macro.
21811         [WIDE] (L): Likewise.
21812         (check1): Use CHAR instead of char.  Use L on string and character
21813         constants.
21815 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
21817         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
21818         tests.
21819         * sysdeps/powerpc/bits/atomic.h
21820         (__arch_atomic_exchange_and_add_32_acq): Add definition.
21821         (__arch_atomic_exchange_and_add_32_rel): Likewise.
21822         (atomic_exchange_and_add_acq): Likewise.
21823         (atomic_exchange_and_add_rel): Likewise.
21824         * sysdeps/powerpc/powerpc32/bits/atomic.h
21825         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21826         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21827         * sysdeps/powerpc/powerpc64/bits/atomic.h
21828         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21829         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21831 2014-11-26  Torvald Riegel  <triegel@redhat.com>
21833         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
21834         Change synchronization of __sched_fifo_min_prio and
21835         __sched_fifo_max_prio.
21836         * nptl/pthread_mutexattr_getprioceiling.c
21837         (pthread_mutexattr_getprioceiling): Likewise.
21838         * nptl/pthread_mutexattr_setprioceiling.c
21839         (pthread_mutexattr_setprioceiling): Likewise.
21840         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21841         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
21842         Likewise.
21844 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21846         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
21847         void.
21849 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21851         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
21852         third argument const.
21854 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
21856         fnmatch: work around GCC compiler warning bug with uninit var
21857         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
21858         This works around a bug with x86-64 GCC 4.9.2 and earlier
21859         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
21860         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
21861         used uninitialized in this function [-Wmaybe-uninitialized]".
21863 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21865         * posix/bug-regex31.c (main): Return RES not 0.
21867 2014-11-25  Anton Blanchard <anton@samba.org>
21869         * sysdeps/powerpc/bits/atomic.h
21870         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
21872 2014-11-24  Sterling Augustine  <saugustine@google.com>
21874         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
21876 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
21878         [BZ #17608]
21879         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
21881 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
21883         [BZ #17633]
21884         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
21885         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
21886         variable.
21887         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21888         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21890 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21892         * string/strncpy.c (strncpy): Improve performance by using memset.
21894 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21896         * string/strcpy.c (strcpy):
21897         Improve performance by using strlen and memcpy.
21899 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
21901         * string/strcoll_l.c (get_next_seq): __always_inline.
21902         * string/strcoll_l.c (do_compare): __always_inline.
21904 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21906         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
21907         defined.
21908         * include/mqueue.h: Likewise.
21909         * include/stdlib.h: Likewise.
21911         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
21912         (get_null_defines): Adjust.
21913         * sunrpc/Makefile: Adjust comment.
21914         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
21915         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
21916         (CFLAGS-interp.c): Likewise.
21917         (CFLAGS-ldconfig.c): Likewise.
21918         (CPPFLAGS-.os): Likewise.
21919         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21920         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21921         * extra-modules.mk (extra-modules.mk): Likewise.
21922         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
21923         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
21924         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
21925         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
21926         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
21927         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
21928         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
21929         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
21930         * iconvdata/Makefile (CPPFLAGS): Likewise.
21931         (cpp-srcs-left): Add libof for all iconvdata routines.
21932         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
21933         * include/assert.h: Likewise.
21934         * include/ctype.h: Likewise.
21935         * include/errno.h: Likewise.
21936         * include/libc-symbols.h: Likewise.
21937         * include/math.h: Likewise.
21938         * include/netdb.h: Likewise.
21939         * include/resolv.h: Likewise.
21940         * include/stdio.h: Likewise.
21941         * include/stdlib.h: Likewise.
21942         * include/string.h: Likewise.
21943         * include/sys/stat.h: Likewise.
21944         * include/wctype.h: Likewise.
21945         * intl/l10nflist.c: Likewise.
21946         * libidn/idn-stub.c: Likewise.
21947         * libio/libioP.h: Likewise.
21948         * nptl/libc_multiple_threads.c: Likewise.
21949         * nptl/pthreadP.h: Likewise.
21950         * posix/regex_internal.h: Likewise.
21951         * resolv/res_hconf.c: Likewise.
21952         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
21953         * sysdeps/arm/memmove.S: Likewise.
21954         * sysdeps/arm/sysdep.h: Likewise.
21955         * sysdeps/generic/_itoa.h: Likewise.
21956         * sysdeps/generic/symbol-hacks.h: Likewise.
21957         * sysdeps/gnu/errlist.awk: Likewise.
21958         * sysdeps/gnu/errlist.c: Likewise.
21959         * sysdeps/i386/i586/memcpy.S: Likewise.
21960         * sysdeps/i386/i586/memset.S: Likewise.
21961         * sysdeps/i386/i686/memcpy.S: Likewise.
21962         * sysdeps/i386/i686/memmove.S: Likewise.
21963         * sysdeps/i386/i686/mempcpy.S: Likewise.
21964         * sysdeps/i386/i686/memset.S: Likewise.
21965         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21966         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21967         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
21968         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
21969         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21970         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21971         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
21972         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21973         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21974         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21975         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21976         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21977         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21978         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21979         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21980         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21981         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
21982         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
21983         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
21984         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21985         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21986         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21987         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21988         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21989         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21990         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21991         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
21992         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21993         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
21994         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21995         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21996         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21997         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21998         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21999         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22000         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22001         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22002         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22003         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22004         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22005         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22006         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22007         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22008         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22009         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22010         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22011         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
22012         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
22013         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22014         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22015         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22016         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
22017         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
22018         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22019         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22020         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
22021         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22022         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
22023         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
22024         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22025         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22026         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22027         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
22028         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22029         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22030         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
22031         * sysdeps/posix/closedir.c: Likewise.
22032         * sysdeps/posix/opendir.c: Likewise.
22033         * sysdeps/posix/readdir.c: Likewise.
22034         * sysdeps/posix/rewinddir.c: Likewise.
22035         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
22036         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
22037         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22038         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22039         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22040         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
22041         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
22042         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
22043         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
22044         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
22045         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
22046         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
22047         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
22048         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
22049         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
22050         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
22051         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
22052         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
22053         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
22054         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
22055         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
22056         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
22057         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
22058         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
22059         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
22060         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
22061         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
22062         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
22063         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
22064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
22065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
22066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
22067         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
22068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
22069         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
22070         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
22071         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22072         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22073         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
22074         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
22075         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
22076         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
22077         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
22078         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22079         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22080         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
22081         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
22082         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
22083         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
22084         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
22085         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
22086         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
22087         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22088         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
22089         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
22090         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
22091         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
22092         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
22093         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
22094         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
22095         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22096         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
22097         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22098         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
22099         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
22100         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22101         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
22102         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
22103         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
22104         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
22105         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22106         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
22107         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
22108         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
22109         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
22110         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
22111         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
22112         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
22113         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22114         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
22115         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
22116         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22117         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22118         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
22119         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22120         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
22121         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
22122         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22123         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22124         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22125         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22126         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22127         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22128         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22129         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22130         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22131         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22132         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22133         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22134         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22135         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22136         * sysdeps/unix/alpha/sysdep.S: Likewise.
22137         * sysdeps/unix/alpha/sysdep.h: Likewise.
22138         * sysdeps/unix/make-syscalls.sh: Likewise.
22139         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22140         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22141         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22142         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22143         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22144         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22145         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22146         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22147         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22148         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22149         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22150         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22151         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22152         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22153         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22154         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22155         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22156         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22157         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22158         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22159         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22160         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22161         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22162         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22163         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22164         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22165         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22168         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22169         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22170         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22171         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22172         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22173         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22174         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22176         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22177         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22178         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22179         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22180         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22181         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22182         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22183         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22184         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22185         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22186         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22187         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22188         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22189         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22190         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22191         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22192         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22193         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22194         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22195         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22197         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22198         * sysdeps/x86_64/memcpy.S: Likewise.
22199         * sysdeps/x86_64/memmove.c: Likewise.
22200         * sysdeps/x86_64/memset.S: Likewise.
22201         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22202         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22203         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22204         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22205         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22206         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22207         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22208         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22209         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22210         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22211         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22212         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22213         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22214         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22215         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22216         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22217         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22218         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22219         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22220         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22221         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22222         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22223         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22224         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22225         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22226         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22227         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22228         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22229         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22230         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22231         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22232         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22233         * sysdeps/x86_64/strcmp.S: Likewise.
22235         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22237         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22238         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22239         * elf/rtld-Rules: Likewise.
22240         * elf/setup-vdso.h: Likewise.
22241         * include/assert.h: Likewise.
22242         * include/bits/stdlib-float.h: Likewise.
22243         * include/errno.h: Likewise.
22244         * include/sys/stat.h: Likewise.
22245         * include/unistd.h: Likewise.
22246         * sysdeps/aarch64/setjmp.S: Likewise.
22247         * sysdeps/alpha/setjmp.S: Likewise.
22248         * sysdeps/arm/__longjmp.S: Likewise.
22249         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22250         * sysdeps/arm/setjmp.S: Likewise.
22251         * sysdeps/arm/sysdep.h: Likewise.
22252         * sysdeps/generic/_itoa.h: Likewise.
22253         * sysdeps/generic/dl-sysdep.h: Likewise.
22254         * sysdeps/generic/ldsodefs.h: Likewise.
22255         * sysdeps/i386/dl-tls.h: Likewise.
22256         * sysdeps/i386/setjmp.S: Likewise.
22257         * sysdeps/m68k/setjmp.c: Likewise.
22258         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22259         * sysdeps/mach/hurd/opendir.c: Likewise.
22260         * sysdeps/posix/getcwd.c: Likewise.
22261         * sysdeps/posix/opendir.c: Likewise.
22262         * sysdeps/posix/profil.c: Likewise.
22263         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22264         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22265         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22266         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22267         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22268         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22269         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22270         * sysdeps/s390/dl-tls.h: Likewise.
22271         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22272         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22273         * sysdeps/sh/sh3/setjmp.S: Likewise.
22274         * sysdeps/sh/sh4/setjmp.S: Likewise.
22275         * sysdeps/unix/alpha/sysdep.h: Likewise.
22276         * sysdeps/unix/arm/sysdep.S: Likewise.
22277         * sysdeps/unix/i386/sysdep.S: Likewise.
22278         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22279         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22280         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22281         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22282         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22283         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22284         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22285         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22286         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22287         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22288         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22289         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22290         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22293         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22294         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22295         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22296         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22297         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22298         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22299         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22300         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22301         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22302         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22303         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22305         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22306         * sysdeps/x86_64/setjmp.S: Likewise.
22308         * include/math.h: Use IS_IN instead of IS_IN_libm.
22309         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22310         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22311         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22312         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22313         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22314         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22315         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22316         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22317         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22318         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22319         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22320         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22321         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22322         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22323         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22324         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22325         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22326         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22327         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22328         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22329         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22330         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22331         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22332         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22333         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22334         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22335         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22336         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22337         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22338         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22339         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22340         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22341         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22343         Likewise.
22344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22345         Likewise.
22346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22347         Likewise.
22348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22349         Likewise.
22350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22351         Likewise.
22352         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22353         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22354         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22355         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22356         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22357         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22363         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22364         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22365         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22366         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22367         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22368         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22369         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22370         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22371         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22372         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22373         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22374         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22375         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22376         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22378         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22380         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22381         * nptl/pthreadP.h: Likewise.
22382         * nptl_db/structs.def: Likewise.
22383         * sysdeps/arm/sysdep.h: Likewise.
22384         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22385         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22386         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22387         * sysdeps/unix/alpha/sysdep.h: Likewise.
22388         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22389         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22390         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22391         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22392         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22393         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22394         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22395         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22396         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22397         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22398         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22399         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22400         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22401         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22404         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22405         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22406         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22409         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22410         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22411         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22412         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22413         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22415         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22416         * nptl/pthreadP.h: Likewise.
22417         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22418         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22419         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22420         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22421         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22422         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22423         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22424         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22425         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22426         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22427         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22428         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22430         Likewise.
22431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22432         Likewise.
22433         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22434         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22435         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22436         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22438         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22439         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22440         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22442         * dlfcn/dladdr.c: Use IS_IN.
22443         * dlfcn/dladdr1.c: Likewise.
22444         * dlfcn/dlclose.c: Likewise.
22445         * dlfcn/dlerror.c: Likewise.
22446         * dlfcn/dlinfo.c: Likewise.
22447         * dlfcn/dlmopen.c: Likewise.
22448         * dlfcn/dlopen.c: Likewise.
22449         * dlfcn/dlsym.c: Likewise.
22450         * dlfcn/dlvsym.c: Likewise.
22452         * include/ifaddrs.h: Use IS_IN.
22453         * inet/check_pf.c: Likewise.
22454         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22455         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22457         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22458         IS_IN_ldconfig.
22459         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22460         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22462         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22463         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22464         IS_IN (libc).
22466         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22468         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22469         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22470         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22471         * include/libc-symbols.h (IS_IN_LIB): New macro.
22472         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22473         * include/netdb.h: Likewise.
22474         * include/stap-probe.h: Remove all uses of IN_LIB.
22476         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22477         instead of IN_MODULE.
22478         * include/libc-symbols.h (IN_MODULE): Define using
22479         MODULE_NAME.
22480         (PASTE_NAME, PASTE_NAME1): New macros.
22481         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22482         of IN_LIB.
22483         (STAP_PROBE_ASM): Likewise.
22485 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22487         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22488         __mach_init in dlopened libc.
22490 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
22492         * sysdeps/arm/preconfigure.ac: Delete EABI check.
22493         * sysdeps/arm/preconfigure: Regenerate.
22495 2014-11-21  Roland McGrath  <roland@hack.frob.com>
22497         * nptl/pthread_create.c (__pthread_create_2_1): Set
22498         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
22499         when copying values from IATTR into PD.
22501 2014-11-21  Will Newton  <will.newton@linaro.org>
22502             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
22504         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
22505         Refactor inline-asm.  Also add comment.
22507         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22508         ElfW macro instead of hardcoded Elf64 types.
22509         (la_aarch64_gnu_pltenter): Likewise.
22510         * sysdeps/aarch64/dl-machine.h
22511         (elf_machine_runtime_setup): Use ElfW(Addr).
22513         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22514         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22515         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22516         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22517         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22518         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22519         (R_AARCH64_TLS_DTPMOD): This.
22520         (R_AARCH64_TLS_DTPREL64): Rename to ...
22521         (R_AARCH64_TLS_DTPREL): This.
22522         (R_AARCH64_TLS_TPREL64): Rename to ...
22523         (R_AARCH64_TLS_TPREL): This.
22524         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22525         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22526         R_AARCH64_TLS_TPREL64.
22527         (elf_machine_rela): Likewise.
22529 2014-11-21  Torvald Riegel  <triegel@redhat.com>
22531         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
22532         by setting it to 0.  64b atomics are not supported currently.
22534 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22536         [BZ #16469]
22537         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
22538         search domain names.
22540 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22542         [BZ #16469]
22543         * NEWS: Update.
22544         * resolv/res_query.c (__libc_res_nquerydomain): Retain
22545         trailing dot.
22546         * posix/tst-getaddrinfo5.c: New.
22547         * posix/Makefile (tests): Add it.
22549 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22551         [BZ #14498]
22552         * NEWS: Fixed.
22553         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
22554         after parsing line but before break_if_match.
22555         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
22556         if there is a protocol mismatch.
22558 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
22560         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
22561         because the potential race is on the user-supplied stream.
22563 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22565         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
22566         string literal if not passed a buffer.
22567         * manual/job.texi (ctermid): Update reasoning, note deviation
22568         from posix, suggest mtasurace when not passed a buffer, for
22569         future non-preliminary safety notes.
22571 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22573         * manual/users.texi (cuserid): Fix MT-Safety note for the case
22574         of not passing it a buffer.
22575         Reported by Peng Haitao.
22577 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22579         * manual/Makefile ($(objpfx)stamp-summary): Require
22580         check-safety.sh to pass.
22581         * manual/check-safety.sh: Wish for verification that every
22582         @deftypefn and @deftypefun is followed by a @safety remark.
22584 2014-11-20  Roland McGrath  <roland@hack.frob.com>
22586         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
22588         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
22589         PTHREAD_CANCEL_ASYNCHRONOUS.
22590         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
22591         send SIGCANCEL.
22593         * nptl/default-sched.h: New file.
22594         * sysdeps/unix/sysv/linux/default-sched.h: New file.
22595         * nptl/pthread_create.c: Include it.
22596         (__pthread_create_2_1): Use collect_default_sched instead of making
22597         Linux syscalls here directly.
22599 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22601         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
22602         __pthread_once): Use C11 atomics.
22604 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22606         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
22608 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22610         * include/atomic.h (__atomic_link_error, __atomic_check_size,
22611         atomic_thread_fence_acquire, atomic_thread_fence_release,
22612         atomic_thread_fence_seq_cst, atomic_load_relaxed,
22613         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
22614         atomic_compare_exchange_weak_relaxed,
22615         atomic_compare_exchange_weak_acquire,
22616         atomic_compare_exchange_weak_release,
22617         atomic_exchange_acquire, atomic_exchange_release,
22618         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
22619         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
22620         atomic_fetch_and_acquire,
22621         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
22623 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22625         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
22626         USE_ATOMIC_COMPILER_BUILTINS): Define.
22627         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
22628         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22629         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
22630         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22631         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
22632         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22633         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
22634         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22635         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
22636         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22637         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
22638         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22639         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
22640         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22641         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
22642         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22643         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22644         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22645         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22646         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22647         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
22648         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22649         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22650         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22651         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
22652         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22653         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22654         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22655         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
22656         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22657         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
22658         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22659         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
22660         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22661         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22662         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22663         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
22664         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22665         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
22666         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22668 2014-11-19  Roland McGrath  <roland@hack.frob.com>
22670         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
22671         the sched_priority value here.  It was already checked when the user
22672         called pthread_attr_setschedparam.
22674         * nptl/tst-bad-schedattr.c: New file.
22675         * nptl/Makefile (tests): Add it.
22677 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
22678             Florian Weimer  <fweimer@redhat.com>
22679             Joseph Myers  <joseph@codesourcery.com>
22680             Adam Conrad  <adconrad@0c3.net>
22681             Andreas Schwab  <schwab@suse.de>
22682             Brooks  <bmoses@google.com>
22684         [BZ #17625]
22685         * wordexp-test.c (__dso_handle): Add prototype.
22686         (__register_atfork): Likewise.
22687         (__app_register_atfork): New function.
22688         (registered_forks): New global.
22689         (register_fork): New function.
22690         (test_case): Add 3 new tests for WRDE_CMDSUB.
22691         (main): Call __app_register_atfork.
22692         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
22693         fork count is non-zero fail the test.
22694         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
22695         is set.
22696         (parse_dollars): Remove check for WRDE_NOCMD.
22697         (parse_dquote): Likewise.
22699 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22701         * Makeconfig (built-modules): List non-library modules to be
22702         built.
22703         (module-cppflags): Include libc-modules.h for
22704         everything except shlib-versions.v.i.
22705         (CPPFLAGS): Use it.
22706         (before-compile): Add libc-modules.h.
22707         ($(common-objpfx)libc-modules.h,
22708         $(common-objpfx)libc-modules.stmp): New targets.
22709         (common-generated): Add libc-modules.h and libc-modules.stmp.
22710         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
22711         * include/libc-symbols.h: Don't include libc-modules.h.
22712         * include/libc-modules.h: Remove file.
22713         * scripts/gen-libc-modules.awk: New script to generate
22714         libc-modules.h.
22715         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
22716         Depend on libc-modules.stmp.
22718         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
22720         * Makeconfig (in-module): Get value of libof set for the
22721         translation unit.
22722         (CPPFLAGS): Use $(in-module).
22723         * Makerules: Don't suffix routine names for nonlib.
22724         * include/libc-modules.h: New file.
22725         * include/libc-symbols.h: Include libc-modules.h
22726         (IS_IN): New macro to replace IS_IN_* macros.
22727         * elf/Makefile: Set libof-* for each routine.
22728         * elf/rtld-Rules: Likewise.
22729         * extra-modules.mk: Likewise.
22730         * iconv/Makefile: Likewise.
22731         * iconvdata/Makefile: Likewise.
22732         * locale/Makefile: Likewise.
22733         * malloc/Makefile: Likewise.
22734         * nss/Makefile: Likewise.
22735         * sysdeps/gnu/Makefile: Likewise.
22736         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
22737         * sysdeps/unix/sysv/linux/Makefile: Likewise.
22738         * sysdeps/s390/s390-64/Makefile: Likewise.
22739         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
22740         CPPFLAGS for nscd instead of nonlib.
22742 2014-11-18  Roland McGrath  <roland@hack.frob.com>
22744         * nptl/createthread.c: New file.
22746         * nptl/createthread.c: Moved ...
22747         * sysdeps/unix/sysv/linux/createthread.c: ... here.
22749         * nptl/createthread.c: Add proper top-line comment.
22750         (do_clone): Folded into ...
22751         (create_thread): ... here.  Take new arguments STOPPED_START and
22752         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
22753         increment __nptl_threads, do event-reporting logic, do
22754         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
22755         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
22756         resource cleanup if sched_setaffinity or sched_setscheduler fails,
22757         just send SIGCANCEL.
22758         * nptl/pthread_create.c: Forward-declare create_thread before
22759         including createthread.c.
22760         (start_thread): Use new macro START_THREAD_DEFN to replace defining
22761         declaration, and new macro START_THREAD_SELF to replace argument.
22762         Remove return statement.
22763         (report_thread_creation): New function.
22764         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
22765         synchronization logic, and __nptl_nthreads increment here, around
22766         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
22767         PD->parent_cancelhandling here, before create_thread.  When
22768         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
22769         __deallocate_stack, and ENOMEM translation here.
22771 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
22773         [BZ #17616]
22774         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
22775         (mptwo): Rename to __mptwo.
22776         (__inv): Use __mptwo instead of mptwo.
22777         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
22778         (mptwo): Rename to __mptwo.
22779         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
22780         of mpone and __mptwo instead of mptwo.
22781         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
22782         instead of mpone.
22783         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22784         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
22785         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
22786         of mpone and __mptwo instead of mptwo.
22787         (__mpranred): Use __mpone instead of mpone.
22788         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
22789         variable.
22790         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22791         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22792         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22793         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22794         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22795         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22796         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22797         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22798         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22799         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22800         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22801         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22802         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22803         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22804         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22805         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22806         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22807         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22808         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22810 2014-11-18  Tom de Vries  <tom@codesoucery.com>
22812         * manual/signal.texi (Primitives Interrupted by Signals): In section,
22813         replace BSD Handler xref with BSD Signal Handling.
22815 2014-11-17  Richard Henderson  <rth@redhat.com>
22817         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
22818         (_FP_PACK_RAW_2): Remove.
22819         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
22820         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
22821         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
22822         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
22823         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
22824         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
22825         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
22826         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
22827         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
22828         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
22829         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
22830         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
22831         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
22832         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
22833         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
22834         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
22836 2014-11-14  Roland McGrath  <roland@hack.frob.com>
22838         * signal/signal.h [__USE_MISC]
22839         (struct sigvec): Remove type.
22840         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
22841         (sigvec): Remove declaration.
22842         * sysdeps/posix/sigvec.c: Moved ...
22843         * signal/sigvec.c: ... here, replacing old file.
22844         (struct sigvec): New type, copied from old signal.h definition.
22845         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
22846         (__sigvec): Convert definition to prototype.
22847         (sigvec): Replace weak_alias with compat_symbol.
22848         * signal/Versions (libc: GLIBC_2.21): New version set.
22849         * include/signal.h: Remove __sigvec declaration.
22850         * sysdeps/unix/bsd/sigvec.c: Remove file.
22851         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
22852         * manual/signal.texi (BSD Handler): Remove subsection.
22853         Move siginterrupt up to ...
22854         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
22855         (Blocking in BSD): Fold subsection into its parent.
22856         * NEWS: Mention sigvec removal.
22858 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22860         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
22861         (DLA_FMS): Make definition conditional only on [__FMA4__].
22862         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
22863         definition.
22865         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
22866         Make definition conditional only on [PROF].
22867         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
22868         definition.
22869         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
22870         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
22872         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
22873         !__GNUC__].
22874         * include/signal.h (__sigpause): Move declaration above call to
22875         libc_hidden_proto.
22876         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
22877         variable.
22878         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22879         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22881 2014-11-14  David S. Miller  <davem@davemloft.net>
22883         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
22884         Define before including <string/memcpy.c> and <string/mempcpy.c>.
22886 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22888         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
22889         * configure: Regenerated.
22890         * manual/install.texi (Tools for Compilation): Document a
22891         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
22892         compiler verified to work.
22893         * INSTALL: Regenerated.
22895         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
22896         redeclare with asm name.
22897         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
22898         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
22899         including <string.h>.
22900         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22901         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
22902         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22903         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
22904         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22905         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22906         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22908 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
22910         * stdlib/strtol.c (__strtol): Use prototype definition.
22912         [BZ #17594]
22913         * stdlib/strtol.c (SYM__): New macro.
22914         (SYM__1): Likewise.
22915         (__strtol): Likewise.
22916         (strtol): Rename to __strtol and define as weak alias of
22917         __strtol.  Use libc_hidden_weak.
22919 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22921         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
22922         Use numbered labels in inline assembly.
22924 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22926         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
22927         Add setjmp LIBC_PROBE.
22928         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
22929         Likewise.
22930         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
22931         Add longjmp, longjmp_target LIBC_PROBE.
22932         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
22933         Likewise.
22935 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22937         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22938         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
22939         to get rid of unused variable warning.
22941 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22943         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
22944         Check for unwind_backtrace ==  NULL only in SHARED case.
22945         (__backchain_backtrace): Compile only in SHARED case.
22946         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
22947         Likewise.
22948         (__backchain_backtrace): Declare as static.
22950 2014-11-12  Roland McGrath  <roland@hack.frob.com>
22952         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
22953         (__libc_multiple_threads_ptr): Variable moved ...
22954         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
22956 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
22958         * conform/GlibcConform.pm: New file.
22959         * conform/conformtest.pl: Use GlibcConform module.
22960         * conform/linknamespace.pl: New file.
22961         * conform/list-header-symbols.pl: Likewise.
22962         * conform/Makefile (linknamespace-symlists-base): New variable.
22963         (linknamespace-symlists-tests): Likewise.
22964         (linknamespace-header-base): Likewise.
22965         (linknamespace-header-tests): Likewise.
22966         (tests-special): Add new tests.
22967         ($(linknamespace-symlists-tests)): New rule.
22968         (linknamespace-libs): New variable.
22969         ($(objpfx)symlist-stdlibs): New rule.
22970         ($(linknamespace-header-tests)): Likewise.
22971         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
22972         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
22973         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
22974         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
22975         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
22976         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
22977         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
22978         (test-xfail-ISO/math.h/linknamespace): Likewise.
22979         (test-xfail-ISO/signal.h/linknamespace): Likewise.
22980         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
22981         (test-xfail-ISO/time.h/linknamespace): Likewise.
22982         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22983         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
22984         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22985         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22986         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22987         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22988         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22989         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22990         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22991         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22992         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22993         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22994         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22995         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
22996         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
22997         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22998         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
22999         (test-xfail-XPG3/search.h/linknamespace): Likewise.
23000         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
23001         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23002         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
23003         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23004         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23005         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
23006         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23007         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23008         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
23009         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
23010         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23011         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
23012         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23013         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23014         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23015         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23016         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
23017         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
23018         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
23019         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
23020         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23021         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
23022         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23023         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
23024         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23025         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23026         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23027         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
23028         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
23029         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23030         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23031         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
23032         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23033         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23034         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
23035         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23036         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23037         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23038         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23039         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23040         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23041         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23042         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23043         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23044         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
23045         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23046         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23047         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23048         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
23049         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23050         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23051         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
23052         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23053         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23054         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23055         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23056         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23057         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23058         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
23059         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
23060         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23061         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
23062         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23063         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
23064         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23065         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23066         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23067         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
23068         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23069         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23070         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23071         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
23072         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
23073         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
23074         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23075         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23076         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23077         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23078         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
23079         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
23080         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23081         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23082         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23083         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23084         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23085         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23086         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23087         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23088         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23089         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23090         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
23091         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23092         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23093         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
23094         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23095         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23096         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23097         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23098         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23099         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23100         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23101         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23102         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23103         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23104         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23105         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23106         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23107         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23108         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
23109         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23110         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23111         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23112         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23113         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23114         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
23115         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23116         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23117         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23118         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23119         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23120         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23121         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23122         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23123         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23124         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23125         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23126         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23127         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23128         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23129         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23130         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23131         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23133         [BZ #17589]
23134         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23135         of fgets_unlocked.
23137         [BZ #17585]
23138         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23139         (memmem): Rename to __memmem and define as weak alias of
23140         __memmem.  Use libc_hidden_weak.
23141         (__memmem): Use libc_hidden_def.
23142         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23143         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23144         memmem.
23146         [BZ #17582]
23147         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23148         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23149         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23150         and define as weak alias of __fgets_unlocked.  Use
23151         libc_hidden_weak.
23152         (__fgets_unlocked): Use libc_hidden_def.
23153         * include/stdio.h (__fgets_unlocked): Declare.  Use
23154         libc_hidden_proto.
23155         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23156         __fgets_unlocked instead of fgets_unlocked.
23157         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23158         (GET_NPROCS_CONF_PARSER): Likewise.
23159         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23160         (GET_NPROCS_CONF_PARSER): Likewise.
23162         [BZ #17574]
23163         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23164         weak alias of __wmemset.  Use libc_hidden_weak.
23165         (__wmemset): Use libc_hidden_def.
23166         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23167         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23168         of wmemset.
23170         [BZ #17573]
23171         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23172         with asm name __mempcpy.
23173         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23175         [BZ #17572]
23176         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23177         and define as weak alias of __rawmemchr.
23178         (__rawmemchr): Do not define as strong alias of rawmemchr.
23180         [BZ #17571]
23181         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23182         alias of __qsort_r.
23183         (qsort): Call __qsort_r instead of qsort_r.
23184         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23185         (__qsort_r): Declare.  Call libc_hidden_proto.
23186         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23187         instead of qsort_r.
23188         * nscd/gai.c (__qsort_r): Define to qsort_r.
23189         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23190         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23191         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23193         [BZ #17570]
23194         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23195         define as weak alias of __malloc_info.
23197         [BZ #17584]
23198         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23199         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23200         (__rewinddir): Use libc_hidden_def.
23201         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23202         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23203         (__rewinddir): Use libc_hidden_def.
23204         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23205         weak alias of __rewinddir.  Don't use libc_hidden_def.
23206         (__rewinddir): Use libc_hidden_def.
23207         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23208         (__rewinddir): Use libc_hidden_proto.
23209         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23210         rewinddir.
23211         (__getcwd): Use __rewinddir instead of rewinddir.
23213         [BZ #17583]
23214         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23215         alias of __fileno.  Use libc_hidden_weak.
23216         (__fileno): Use libc_hidden_def.
23217         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23218         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23219         alias of __ftello.
23220         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23221         __ftello.
23222         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23223         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23224         libc_hidden_def.
23225         (fread_unlocked): Don't use libc_hidden_ver.
23226         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23227         and define as weak alias of __fread_unlocked.  Don't use
23228         libc_hidden_def.
23229         (__fread_unlocked): Use libc_hidden_def.
23230         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23231         (ftello): Don't use libc_hidden_proto.
23232         (__ftello): Declare.  Use libc_hidden_proto.
23233         (fread_unlocked): Don't use libc_hidden_proto.
23234         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23235         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23236         and __ftello instead of fileno, fread_unlocked and ftello.
23238 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23240         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23241         GOT12.
23242         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23243         Likewise.
23244         (_dl_start_user): Likewise.
23245         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23247 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23248             Siddhesh Poyarekar  <siddhesh@redhat.com>
23250         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23251         Move argv and envp down instead of moving argc up.
23252         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23254 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23256         [BZ #17506]
23257         * test-skeleton.c (main): Return successful if one of
23258         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23259         * string/tst-strcoll-overflow.c: Define expected status.
23261 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23263         [BZ #17475]
23264         * locale/iso-639.def: Define Bhili and Tulu language codes.
23266 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23268         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23270 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23272         [BZ #17555]
23273         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23275 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23277         * configure.ac: Updated check of minimal required version to
23278         2.22.
23279         * manual/install.texi (Tools for Compilation): Updated version
23280         number.
23281         * configure: Regenerated.
23282         * INSTALL: Likewise.
23284 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23286         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23287         __tls_get_addr.
23289 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23291         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23292         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23293         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23294         libc_hidden_weak.
23295         (waitpid): Define as alias of __waitpid.
23296         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23297         __waitpid.
23298         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23299         libc_hidden_weak.
23300         (waitpid): Define as alias of __waitpid.
23301         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23302         __libc_waitpid alias.
23303         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23304         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23305         Likewise.
23306         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23307         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23308         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23309         alias.
23310         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23311         __waitpid.
23312         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23313         libc_hidden_weak.
23314         (waitpid): Define as alias of __waitpid.
23316 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23318         * manual/llio.texi: Add comment that write safety has been
23319         fixed in Linux.
23321         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23322         (localplt-build-dso): Add elf/ld.so.
23323         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23324         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23325         and free for ld.so.
23326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23327         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23329         Likewise.
23330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23331         Likewise.
23332         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23333         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23334         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23335         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23336         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23337         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23338         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23339         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23340         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23341         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23342         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23344 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23346         [BZ #14132]
23347         * include/libc-symbols.h (INTUSE): Remove macro.
23348         (INTDEF): Likewise.
23349         (INTVARDEF): Likewise.
23350         (_INTVARDEF): Likewise.
23351         (INTDEF2): Likewise.
23352         (INTVARDEF2): Likewise.
23353         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23354         rtld_hidden_def instead of INTVARDEF.
23355         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23356         (_dl_starting_up_internal): Remove declaration.
23357         (_dl_starting_up): Use rtld_hidden_proto.
23358         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23359         declaration.
23360         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23361         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23362         _dl_starting_up.
23363         * elf/dl-writev.h (_dl_writev): Likewise.
23364         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23365         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23366         _dl_starting_up_internal.
23368 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23370         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23371         test-skeleton.c.
23373 2014-11-05  Will Newton  <will.newton@linaro.org>
23375         * benchtests/Makefile: (bench-malloc): Add malloc thread
23376         scalability benchmark.
23377         * benchtests/bench-malloc-threads.c: New file.
23379 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23381         * sysdeps/aarch64/strchrnul.S: New file.
23383 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23385         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23386         definition.
23387         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23388         Likwise.
23389         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23390         Likewise.
23391         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23392         Likewise.
23393         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23394         Likewise.
23395         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23396         Likewise.
23398 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23400         * catgets/test-gencat.c: Use test-skeleton.c.
23401         * catgets/tst-catgets.c: Likewise.
23402         * csu/tst-empty.c: Likewise.
23403         * elf/tst-audit2.c: Likewise.
23404         * elf/tst-global1.c: Likewise.
23405         * elf/tst-pathopt.c: Likewise.
23406         * elf/tst-piemod1.c: Likewise.
23407         * elf/tst-tls10.c: Likewise.
23408         * elf/tst-tls11.c: Likewise.
23409         * elf/tst-tls12.c: Likewise.
23410         * gnulib/tst-gcc.c: Likewise.
23411         * iconvdata/tst-e2big.c: Likewise.
23412         * iconvdata/tst-loading.c: Likewise.
23413         * iconv/tst-iconv1.c: Likewise.
23414         * iconv/tst-iconv2.c: Likewise.
23415         * inet/test-inet6_opt.c: Likewise.
23416         * inet/tst-gethnm.c: Likewise.
23417         * inet/tst-network.c: Likewise.
23418         * inet/tst-ntoa.c: Likewise.
23419         * intl/tst-codeset.c: Likewise.
23420         * intl/tst-gettext2.c: Likewise.
23421         * intl/tst-gettext3.c: Likewise.
23422         * intl/tst-ngettext.c: Likewise.
23423         * intl/tst-translit.c: Likewise.
23424         * io/test-stat.c: Likewise.
23425         * libio/test-fmemopen.c: Likewise.
23426         * libio/tst-freopen.c: Likewise.
23427         * libio/tst-sscanf.c: Likewise.
23428         * libio/tst-ungetwc1.c: Likewise.
23429         * libio/tst-ungetwc2.c: Likewise.
23430         * libio/tst-widetext.c: Likewise.
23431         * localedata/tst-ctype.c: Likewise.
23432         * localedata/tst-digits.c: Likewise.
23433         * localedata/tst-leaks.c: Likewise.
23434         * localedata/tst-mbswcs1.c: Likewise.
23435         * localedata/tst-mbswcs2.c: Likewise.
23436         * localedata/tst-mbswcs3.c: Likewise.
23437         * localedata/tst-mbswcs4.c: Likewise.
23438         * localedata/tst-mbswcs5.c: Likewise.
23439         * localedata/tst-setlocale.c: Likewise.
23440         * localedata/tst-trans.c: Likewise.
23441         * localedata/tst-wctype.c: Likewise.
23442         * localedata/tst-xlocale1.c: Likewise.
23443         * login/tst-grantpt.c: Likewise.
23444         * malloc/tst-calloc.c: Likewise.
23445         * malloc/tst-malloc.c: Likewise.
23446         * malloc/tst-mallocstate.c: Likewise.
23447         * malloc/tst-mcheck.c: Likewise.
23448         * malloc/tst-mtrace.c: Likewise.
23449         * malloc/tst-obstack.c: Likewise.
23450         * math/atest-exp2.c: Likewise.
23451         * math/atest-exp.c: Likewise.
23452         * math/atest-sincos.c: Likewise.
23453         * math/test-matherr.c: Likewise.
23454         * math/test-misc.c: Likewise.
23455         * math/test-powl.c: Likewise.
23456         * math/tst-definitions.c: Likewise.
23457         * misc/tst-dirname.c: Likewise.
23458         * misc/tst-efgcvt.c: Likewise.
23459         * misc/tst-fdset.c: Likewise.
23460         * misc/tst-hsearch.c: Likewise.
23461         * misc/tst-mntent2.c: Likewise.
23462         * nptl/tst-sem7.c: Likewise.
23463         * nptl/tst-sem8.c: Likewise.
23464         * nptl/tst-sem9.c: Likewise.
23465         * nss/test-netdb.c: Likewise.
23466         * posix/tst-fnmatch.c: Likewise.
23467         * posix/tst-getlogin.c: Likewise.
23468         * posix/tst-gnuglob.c: Likewise.
23469         * posix/tst-mmap.c: Likewise.
23470         * pwd/tst-getpw.c: Likewise.
23471         * resolv/tst-inet_ntop.c: Likewise.
23472         * rt/tst-timer.c: Likewise.
23473         * stdio-common/test-fseek.c: Likewise.
23474         * stdio-common/test-popen.c: Likewise.
23475         * stdio-common/test-vfprintf.c: Likewise.
23476         * stdio-common/tst-cookie.c: Likewise.
23477         * stdio-common/tst-fileno.c: Likewise.
23478         * stdio-common/tst-gets.c: Likewise.
23479         * stdio-common/tst-obprintf.c: Likewise.
23480         * stdio-common/tst-perror.c: Likewise.
23481         * stdio-common/tst-sprintf2.c: Likewise.
23482         * stdio-common/tst-sprintf3.c: Likewise.
23483         * stdio-common/tst-sprintf.c: Likewise.
23484         * stdio-common/tst-swprintf.c: Likewise.
23485         * stdio-common/tst-tmpnam.c: Likewise.
23486         * stdio-common/tst-unbputc.c: Likewise.
23487         * stdio-common/tst-wc-printf.c: Likewise.
23488         * stdlib/tst-environ.c: Likewise.
23489         * stdlib/tst-fmtmsg.c: Likewise.
23490         * stdlib/tst-limits.c: Likewise.
23491         * stdlib/tst-rand48-2.c: Likewise.
23492         * stdlib/tst-rand48.c: Likewise.
23493         * stdlib/tst-random2.c: Likewise.
23494         * stdlib/tst-random.c: Likewise.
23495         * stdlib/tst-strtol.c: Likewise.
23496         * stdlib/tst-strtoll.c: Likewise.
23497         * stdlib/tst-tls-atexit.c: Likewise.
23498         * stdlib/tst-xpg-basename.c: Likewise.
23499         * string/test-ffs.c: Likewise.
23500         * string/tst-bswap.c: Likewise.
23501         * string/tst-inlcall.c: Likewise.
23502         * string/tst-strtok.c: Likewise.
23503         * string/tst-strxfrm.c: Likewise.
23504         * sysdeps/x86_64/tst-audit10.c: Likewise.
23505         * sysdeps/x86_64/tst-audit3.c: Likewise.
23506         * sysdeps/x86_64/tst-audit4.c: Likewise.
23507         * sysdeps/x86_64/tst-audit5.c: Likewise.
23508         * time/tst-ftime_l.c: Likewise.
23509         * time/tst-getdate.c: Likewise.
23510         * time/tst-mktime3.c: Likewise.
23511         * time/tst-mktime.c: Likewise.
23512         * time/tst-posixtz.c: Likewise.
23513         * time/tst-strptime2.c: Likewise.
23514         * time/tst-strptime3.c: Likewise.
23515         * wcsmbs/tst-btowc.c: Likewise.
23516         * wcsmbs/tst-mbrtowc.c: Likewise.
23517         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23518         * wcsmbs/tst-wchar-h.c: Likewise.
23519         * wcsmbs/tst-wcpncpy.c: Likewise.
23520         * wcsmbs/tst-wcrtomb.c: Likewise.
23521         * wcsmbs/tst-wcsnlen.c: Likewise.
23522         * wcsmbs/tst-wcstof.c: Likewise.
23524 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23526         [BZ #14132]
23527         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
23528         INTDEF.
23529         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
23530         declaration.
23531         (_dl_mcount): Use rtld_hidden_proto.
23532         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
23533         _dl_mcount.
23534         * elf/rtld.c (_rtld_global_ro): Likewise.
23536         [BZ #14132]
23537         * elf/dl-init.c (_dl_init): Don't use INTDEF.
23538         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
23539         of _dl_init_internal.
23540         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
23541         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
23542         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
23543         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
23544         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
23545         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23546         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
23547         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
23548         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
23549         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
23550         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
23551         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
23552         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23553         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23554         * sysdeps/tile/dl-start.S (_start): Likewise.
23555         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
23556         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
23558         [BZ #14132]
23559         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
23560         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
23561         (rtld_progname): Make macro definition unconditional.
23562         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
23563         INTDEF.
23564         (dlmopen_doit): Do not use INTUSE with _dl_argv.
23565         (dl_main): Likewise.
23566         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23567         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
23568         instead of _dl_argv_internal.
23569         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23570         __GI__dl_argv instead of INTUSE(_dl_argv).
23571         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
23572         __GI__dl_argv instead of _dl_argv_internal.
23574         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
23575         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
23576         macro.
23577         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
23578         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
23579         New macro.
23580         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
23581         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
23582         macro.
23583         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
23584         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
23586 2014-11-04  Andreas Schwab  <schwab@suse.de>
23588         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
23590 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23592         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
23593         mtvsrd instruction in binary form.
23595 2014-11-03  Andreas Schwab  <schwab@suse.de>
23597         [BZ #17522]
23598         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
23599         for less than MB_LEN_MAX use a local buffer of that size.
23600         * libio/tst-fputws.c: New file.
23601         * libio/Makefile (tests): Add tst-fputws.
23603 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
23605         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
23606         the size of the fpu_fr.fpu_dregs[] array.
23608 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
23610         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
23611         (__nanosleep): Do not define as alias.
23612         (nanosleep): Define as alias of __nanosleep.
23613         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
23614         __libc_nanosleep name.
23616 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23618         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
23619         install.texi in comment.
23621 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23623         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
23624         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
23625         ... add here and use lwsync or sync ...
23626         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
23627         ... and add here using lwsync.
23629 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23631         * elf/dl-machine-reject-phdr.h: New file.
23632         * elf/dl-load.c: #include that.
23633         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
23634         if that returned true.
23636 2014-10-31  Roland McGrath  <roland@hack.frob.com>
23638         [BZ #17496]
23639         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
23640         gen-as-const-headers chunk.  Add a big scare comment after the last
23641         safe place to touch before-compile.
23643 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23645         * manual/install.texi (Tools for Compilation): Update autoconf
23646         version requirements.
23647         * INSTALL: Regenerated.
23649         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
23650         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
23651         (__libc_pselect): Likewise.
23653         [BZ #14138]
23654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
23655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23659 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23661         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
23662         correct barrier instruction.
23663         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
23664         Likewise.
23665         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
23666         Likewise.
23668 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23670         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
23671         after defining inlines.  Instead, just use parens to defeat macro
23672         expansion of __isctype in its declaration.
23674 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23676         * include/sys/uio.h (__libc_readv): Remove declaration.
23677         (__libc_writev): Likewise.
23678         * misc/readv.c (__libc_readv): Rename to __readv.
23679         (__readv): Do not define as alias.
23680         (readv): Define as alias of __readv.
23681         * misc/writev.c (__libc_writev): Rename to __writev.
23682         (__writev): Do not define as alias.
23683         (writev): Define as alias of __writev.
23684         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
23685         (__readv): Do not define as alias.
23686         (readv): Define unconditionally as alias of __readv.
23687         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
23688         (__writev): Do not define as alias.
23689         (writev): Define unconditionally as alias of __writev.
23690         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
23691         name.
23692         (writev): Do not define __libc_writev name.
23694 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23696         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
23697         (convert_charseq): New function, broken out of ...
23698         (use_from_charmap): ... here.  Call it.
23699         (use_to_charmap): Use convert_charseq and free instead of duplicating
23700         its code with a variable-length stack struct.
23702 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23704         * include/fcntl.h (__libc_creat): Remove declaration.
23705         * io/creat.c (__libc_creat): Rename to creat.
23706         (creat): Do not define as alias.
23707         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
23708         of creat instead of __libc_creat.
23709         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
23710         to creat.
23711         (creat): Do not define as alias.
23712         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
23713         __libc_creat.
23714         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
23715         __libc_creat name.
23716         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
23717         Likewise.
23719 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
23721         * manual/llio.texi: Add comments discussing why write() may be
23722         considered MT-unsafe on Linux.
23724 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
23726         * dl-load.c (local_strdup): Remove.
23727         (expand_dynamic_string_token): Use __strdup.
23728         (decompose_rpath): Likewise.
23729         (_dl_map_object): Likewise.
23731 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
23733         [BZ #14132]
23734         * sysdeps/generic/unwind-dw2-fde.c
23735         (__register_frame_info_bases_internal): Do not declare.
23736         (__register_frame_info_table_bases_internal): Likewise.
23737         (__deregister_frame_info_bases_internal): Likewise.
23738         (__register_frame_info_bases): Declare and use hidden_proto before
23739         definition.  Use hidden_def instead of INTDEF.
23740         (__register_frame_info_table_bases): Likewise.
23741         (__deregister_frame_info_bases): Likewise.
23742         (__register_frame_info): Do not use INTUSE.
23743         (__register_frame): Likewise.
23744         (__register_frame_info_table): Likewise.
23745         (__register_frame_table): Likewise.
23746         (__deregister_frame_info): Likewise.
23747         (__deregister_frame): Likewise.
23749 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
23751         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23752         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
23753         not undefine.
23754         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
23755         Likewise.
23756         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
23757         Likewise.
23759 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
23761         [BZ #14138]
23762         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
23763         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
23764         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
23765         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
23766         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
23767         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
23768         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
23769         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
23770         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
23771         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
23772         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
23773         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
23774         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
23775         syscall.
23776         (setfsuid): Likewise.
23777         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
23778         (setfsuid): Likewise.
23779         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
23780         (setfsuid): Likewise.
23781         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
23782         Likewise.
23783         (setfsuid): Likewise.
23784         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
23785         (setfsuid): Likewise.
23786         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
23787         Likewise.
23788         (setfsuid): Likewise.
23790 2014-10-27  Andreas Schwab  <schwab@suse.de>
23792         [BZ #17501]
23793         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
23794         check for Slow_SSE4_2 feature bit.
23795         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
23796         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23797         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
23798         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
23800 2014-10-24  Roland McGrath  <roland@hack.frob.com>
23802         * configure.ac: Validate compiler version with a empirical test of
23803         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
23804         $CC -v output.
23805         * configure: Regenerated.
23807         * inet/htons.c (htons): Prototypify.
23808         * inet/htonl.c (htonl): Likewise.
23810 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23812         * string/strncat.c (strncat): Improve performance by using strlen.
23814 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23816         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
23818 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23820         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
23821         Call libc_fetestexcept_aarch64.
23823 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23825         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
23826         Call libc_feholdexcept_aarch64.
23828 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23830         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
23831         Call get_rounding_mode.
23833 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23835         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23836         Simplify logic.
23838 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23840         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
23841         Simplify logic.
23843 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
23845         [BZ #14138]
23846         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
23847         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
23848         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
23849         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
23850         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
23851         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
23852         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
23853         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
23854         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
23855         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
23856         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23857         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
23858         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
23859         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
23860         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
23861         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
23862         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
23863         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
23864         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
23865         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
23866         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
23867         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
23868         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
23869         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
23870         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
23871         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
23872         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
23873         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
23874         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
23875         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
23876         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
23877         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
23878         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
23879         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
23880         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
23881         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
23882         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
23883         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
23884         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
23885         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
23886         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
23887         syscall.
23888         (geteuid): Likewise.
23889         (getgid): Likewise.
23890         (getuid): Likewise.
23891         (getresgid): Likewise.
23892         (getresuid): Likewise.
23893         (getgroups): Likewise.
23894         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
23895         (geteuid): Likewise.
23896         (getgid): Likewise.
23897         (getuid): Likewise.
23898         (getresgid): Likewise.
23899         (getresuid): Likewise.
23900         (getgroups): Likewise.
23901         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
23902         (geteuid): Likewise.
23903         (getgid): Likewise.
23904         (getuid): Likewise.
23905         (getresgid): Likewise.
23906         (getresuid): Likewise.
23907         (getgroups): Likewise.
23908         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
23909         Likewise.
23910         (geteuid): Likewise.
23911         (getgid): Likewise.
23912         (getuid): Likewise.
23913         (getresgid): Likewise.
23914         (getresuid): Likewise.
23915         (getgroups): Likewise.
23916         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
23917         (geteuid): Likewise.
23918         (getgid): Likewise.
23919         (getuid): Likewise.
23920         (getresgid): Likewise.
23921         (getresuid): Likewise.
23922         (getgroups): Likewise.
23923         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
23924         Likewise.
23925         (geteuid): Likewise.
23926         (getgid): Likewise.
23927         (getuid): Likewise.
23928         (getgroups): Likewise.
23930         [BZ #14138]
23931         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
23932         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
23933         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
23934         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23935         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
23936         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
23937         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
23938         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
23939         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
23940         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
23941         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
23942         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
23943         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
23944         __chown.
23945         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
23946         (lchown): Likewise.
23947         (fchown): Likewise.
23948         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
23949         Likewise.
23950         (lchown): Likewise.
23951         (fchown): Likewise.
23952         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
23953         (lchown): Likewise.
23954         (fchown): Likewise.
23955         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
23956         Likewise.
23957         (lchown): Likewise.
23958         (fchown): Likewise.
23960 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23962         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
23963         Simplify logic.
23965 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23967         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23968         Cleanup logic.
23970 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23972         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23973         Remove unused include.
23975 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23977         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
23978         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
23979         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
23980         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
23982 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
23983             Helge Deller <deller@gmx.de>
23985         [BZ #17508]
23986         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
23987         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
23988         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
23990 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
23992         [BZ #14132]
23993         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
23994         Remove macro definition.
23995         (__ashrdi3_v_glibc20): Likewise.
23996         (__lshrdi3_v_glibc20): Likewise.
23997         (__cmpdi2_v_glibc20): Likewise.
23998         (__ucmpdi2_v_glibc20): Likewise.
23999         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
24000         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24001         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24002         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24003         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24004         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
24006 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24008         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
24009         old GNU extension [0] syntax.
24010         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
24011         alloca rather than an array member with variable length.
24012         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
24013         * nscd/nscd.c (invalidate_db): New function, broken out of ...
24014         (parse_opt): ... here.  Likewise use alloca there.
24015         Validate the -i argument before checking for rootness.
24016         (send_shutdown): New function, broken out of ...
24017         (parse_opt): ... here.
24019 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24021         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
24022         macro to get at the _rt_local_ro field.
24023         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
24024         ([PIC] case) or _dl_hwcap ([!PIC] case).
24025         * sysdeps/arm/setjmp.S: Likewise.
24027         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
24028         * sysdeps/arm/configure.ac: New check to define it.
24029         * sysdeps/arm/configure: Regenerated.
24030         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
24031         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
24032         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
24033         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
24034         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
24035         Use move/movt pair instead of a load.
24036         (LDST_GLOBAL): Macro removed.
24037         (LDR_GLOBAL): New macro replaces it.
24038         (LDR_HIDDEN): New macro.
24039         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
24040         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
24042         * setjmp/tst-setjmp-static.c: New file.
24043         * setjmp/Makefile (tests): Add it.
24044         (tests-static): New variable.
24046 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
24048         [BZ #17485]
24049         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
24051 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
24053         [BZ #14132]
24054         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
24056 2014-10-21  Roland McGrath  <roland@hack.frob.com>
24058         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
24060 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24062         * io/fts.c (dirent_not_directory): New function.
24063         (fts_build): Call it.
24065 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24067         * nptl/version.c (__nptl_main): Use normal __write rather than
24068         INTERNAL_SYSCALL.
24069         (banner): Update copyright years.
24071         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
24072         gettimeofday.
24073         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24074         * nptl/pthread_cond_timedwait.c: Likewise.
24075         * nptl/pthread_mutex_timedlock.c: Likewise.
24076         * nptl/sem_timedwait.c: Likewise.
24078         * sysdeps/nptl/bits/libc-lock.h
24079         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24080         (__libc_lock_init_recursive): Return void, not 0.
24081         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
24082         (__libc_rwlock_init): Likewise.
24083         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
24085 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24087         [BZ #15215]
24088         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
24089         (__pthread_once_slow): ... here.
24090         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
24091         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
24093 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24095         [BZ #15215]
24096         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
24097         __PTHREAD_ONCE_FORK_GEN_INCR): New.
24098         * sysdeps/nptl/fork.c (__libc_fork): Use them.
24099         * nptl/pthread_once.c (__pthread_once): Likewise.
24100         Update comments.
24102 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
24104         [BZ #14138]
24105         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
24106         name.
24107         (writev): Use __libc_writev as strong name.
24108         * sysdeps/unix/sysv/linux/readv.c: Remove file.
24109         * sysdeps/unix/sysv/linux/writev.c: Likewise.
24111 2014-10-17  Roland McGrath  <roland@hack.frob.com>
24113         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
24115         * sysdeps/i386/nptl/tls.h
24116         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
24117         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
24118         New macros.
24119         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
24120         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
24121         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
24122         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
24123         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24124         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24126         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24127         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24128         on [__NR_futex].
24129         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24130         broken out of ...
24131         (__pthread_mutex_init): ... here.  Call it.
24132         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24133         Conditionalize PI cases on [__NR_futex].
24134         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24135         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24136         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24138         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24139         conditional on [SIGSETXID].
24140         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24141         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24142         is defined.  Likewise for SIGSETXID.
24143         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24144         Conditionalize definitions on [SIGSETXID].
24145         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24146         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24147         unblocking on [SIGCANCEL].
24149         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24150         [__NR_set_robust_list].
24152 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24154         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24155         (do_compare): Likewise.
24157 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24159         [BZ #15884]
24160         * string/strcoll_l.c: Don't include stdio.h.
24161         (coll_seq): Remove members idxarr and rulearr.
24162         (get_next_seq_cached): Remove function.
24163         (get_next_seq): Likewise.
24164         (get_next_seq_nocache): Rename to get_next_seq.
24165         (do_compare): Remove function.
24166         (do_compare_nocache): Rename to do_compare.
24167         (STRCOLL): Remove weight and rules cache.
24169 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24171         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24172         * sysdeps/arm/sfp-machine.h: ... to here.
24173         * sysdeps/arm/Implies: Remove arm/soft-fp.
24175 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24177         * conform/data/sys/utsname.h-data (*_t): Allow.
24178         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24179         [POSIX] (WEXITED): Do not expect constant.
24180         [POSIX] (WSTOPPED): Likewise.
24181         [POSIX] (WNOHANG): Likewise.
24182         [POSIX] (WNOWAIT): Likewise.
24183         [POSIX] (siginfo_t): Do not expect type or elements.
24184         [POSIX] (pid_t): Do not expect type.
24185         [POSIX] (signal.h): Do not allow header.
24186         [POSIX] (sys/resource.h): Likewise.
24187         [POSIX] (si_*): Do not allow pattern.
24188         [POSIX] (W*): Likewise.
24189         [POSIX] (P_*): Likewise.
24190         [POSIX] (BUS_*): Likewise.
24191         [POSIX] (CLD_*): Likewise.
24192         [POSIX] (FPE_*): Likewise.
24193         [POSIX] (ILL_*): Likewise.
24194         [POSIX] (POLL_*): Likewise.
24195         [POSIX] (SEGV_*): Likewise.
24196         [POSIX] (SI_*): Likewise.
24197         [POSIX] (TRAP_*): Likewise.
24198         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24199         variable.
24201 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24203         [BZ #12926]
24204         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24205         infinite loop when __recvmsg returns 0.
24207 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24209         * CANCEL-FCT-WAIVE: Remove file.
24210         * CANCEL-FILE-WAIVE: Likewise.
24212         [BZ #14132]
24213         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24214         instead of INTVARDEF.
24215         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24216         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24217         rtld_hidden_data_def instead of INTVARDEF.
24218         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24219         * elf/dl-deps.c (expand_dst): Likewise.
24220         * elf/dl-load.c (_dl_dst_count): Likewise.
24221         (_dl_dst_substitute): Likewise.
24222         (decompose_rpath): Likewise.
24223         (_dl_init_paths): Likewise.
24224         (open_path): Likewise.
24225         (_dl_map_object): Likewise.
24226         * elf/rtld.c (dl_main): Likewise.
24227         (process_dl_audit): Likewise.
24228         (process_envvars): Likewise.
24229         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24230         Remove declaration.
24231         (__libc_enable_secure): Use rtld_hidden_proto.
24233 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24235         * elf/dl-load.c
24236         (add_path): New function broken out of _dl_rtld_di_serinfo.
24237         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24239 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24241         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24242         parentheses around macro arguments.
24243         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24244         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24245         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24246         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24247         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24248         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24249         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24250         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24251         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24252         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24253         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24254         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24255         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24256         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24257         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24258         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24259         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24260         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24261         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24262         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24263         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24264         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24265         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24266         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24268         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24269         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24270         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24271         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24272         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24273         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24274         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24275         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24276         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24277         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24278         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24279         Likewise.
24280         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24281         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24282         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24283         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24284         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24287         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24288         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24289         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24290         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24291         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24292         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24293         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24294         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24295         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24296         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24297         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24298         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24299         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24300         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24301         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24302         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24303         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24304         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24305         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24306         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24307         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24308         (_FP_FRAC_SRS_1): Likewise.
24309         (_FP_FRAC_CLZ_1): Likewise.
24310         (_FP_MUL_MEAT_1_imm): Likewise.
24311         (_FP_MUL_MEAT_1_wide): Likewise.
24312         (_FP_MUL_MEAT_1_hard): Likewise.
24313         (_FP_SQRT_MEAT_1): Likewise.
24314         (_FP_FRAC_ASSEMBLE_1): Likewise.
24315         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24316         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24317         (__FP_CLZ_2): Likewise.
24318         (_FP_MUL_MEAT_2_wide): Likewise.
24319         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24320         (_FP_MUL_MEAT_2_gmp): Likewise.
24321         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24322         (_FP_SQRT_MEAT_2): Likewise.
24323         (_FP_FRAC_ASSEMBLE_2): Likewise.
24324         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24325         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24326         (_FP_FRAC_CLZ_4): Likewise.
24327         (_FP_MUL_MEAT_4_wide): Likewise.
24328         (_FP_MUL_MEAT_4_gmp): Likewise.
24329         (_FP_SQRT_MEAT_4): Likewise.
24330         (_FP_FRAC_ASSEMBLE_4): Likewise.
24331         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24332         * soft-fp/op-common.h (_FP_CMP): Likewise.
24333         (_FP_CMP_EQ): Likewise.
24334         (_FP_CMP_UNORD): Likewise.
24335         (_FP_TO_INT): Likewise.
24336         (_FP_FROM_INT): Likewise.
24337         [!__FP_CLZ] (__FP_CLZ): Likewise.
24338         (_FP_DIV_HELP_imm): Likewise.
24339         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24340         Likewise.
24341         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24342         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24343         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24344         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24345         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24346         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24347         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24348         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24349         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24350         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24351         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24352         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24353         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24354         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24355         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24356         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24357         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24358         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24359         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24361         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24362         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24363         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24364         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24365         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24366         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24367         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24368         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24369         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24370         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24371         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24372         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24373         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24374         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24375         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24376         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24377         (FP_UNPACK_RAW_SP): Likewise.
24378         (FP_PACK_RAW_S): Likewise.
24379         (FP_PACK_RAW_SP): Likewise.
24380         (FP_UNPACK_S): Likewise.
24381         (FP_UNPACK_SP): Likewise.
24382         (FP_UNPACK_SEMIRAW_S): Likewise.
24383         (FP_UNPACK_SEMIRAW_SP): Likewise.
24384         (FP_PACK_S): Likewise.
24385         (FP_PACK_SP): Likewise.
24386         (FP_PACK_SEMIRAW_S): Likewise.
24387         (FP_PACK_SEMIRAW_SP): Likewise.
24388         (_FP_SQRT_MEAT_S): Likewise.
24389         (FP_CMP_S): Likewise.
24390         (FP_CMP_EQ_S): Likewise.
24391         (FP_CMP_UNORD_S): Likewise.
24392         (FP_TO_INT_S): Likewise.
24393         (FP_FROM_INT_S): Likewise.
24395         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24397         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24398         (FP_EX_INVALID_IMZ): Likewise.
24399         (FP_EX_INVALID_IMZ_FMA): Likewise.
24400         (FP_EX_INVALID_ISI): Likewise.
24401         (FP_EX_INVALID_ZDZ): Likewise.
24402         (FP_EX_INVALID_IDI): Likewise.
24403         (FP_EX_INVALID_SQRT): Likewise.
24404         (FP_EX_INVALID_CVI): Likewise.
24405         (FP_EX_INVALID_VC): Likewise.
24406         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24407         "invalid" exceptions.
24408         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24409         (_FP_ADD_INTERNAL): Likewise.
24410         (_FP_MUL): Likewise.
24411         (_FP_FMA): Likewise.
24412         (_FP_DIV): Likewise.
24413         (_FP_CMP_CHECK_NAN): Likewise.
24414         (_FP_SQRT): Likewise.
24415         (_FP_TO_INT): Likewise.
24416         (FP_EXTEND): Likewise.
24418 2014-10-09  Allan McRae  <allan@archlinux.org>
24420         * po/fr.po: Update French translation from translation project.
24422 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24424         [BZ #14132]
24425         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24426         of INTDEF.
24427         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24428         (__cxa_atexit): Use libc_hidden_proto.
24429         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24431         [BZ #14132]
24432         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24433         declaration.
24434         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24435         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24436         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24437         [!_ISOMAC] (__iswctype_internal): Likewise.
24438         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24439         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24440         alias.
24441         (fcntl): Remove __fcntl_internal alias.
24442         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24443         __connect_internal alias.
24444         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24445         Likewise.
24447         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24448         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24449         FP_DENORM_ZERO.
24450         (_FP_CHECK_FLUSH_ZERO): New macro.
24451         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24452         (_FP_CMP): Likewise.
24453         (_FP_CMP_EQ): Likewise.
24454         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24455         FP_DENORM_ZERO.
24456         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24457         (FP_TRUNC): Likewise.
24459         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24460         treated as invalid conversion, not as normal exponent.
24462         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24463         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24464         (_FP_CMP_EQ): Likewise.
24465         (_FP_CMP_UNORD): Likewise.
24466         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24467         (FP_CMP_EQ_D): Likewise.
24468         (FP_CMP_UNORD_D): Likewise.
24469         * soft-fp/extended.h (FP_CMP_E): Likewise.
24470         (FP_CMP_EQ_E): Likewise.
24471         (FP_CMP_UNORD_E): Likewise.
24472         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24473         (FP_CMP_EQ_Q): Likewise.
24474         (FP_CMP_UNORD_Q): Likewise.
24475         * soft-fp/single.h (FP_CMP_S): Likewise.
24476         (FP_CMP_EQ_S): Likewise.
24477         (FP_CMP_UNORD_S): Likewise.
24478         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24479         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24480         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24481         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24482         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24483         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24484         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24485         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24486         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24487         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24488         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24489         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24490         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24491         to FP_CMP_Q.
24492         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
24493         FP_CMP_Q.
24494         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
24495         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
24496         FP_CMP_EQ_Q.
24497         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
24498         FP_CMP_Q.
24499         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
24500         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
24501         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
24502         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
24503         FP_CMP_EQ_Q.
24504         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
24505         FP_CMP_Q.
24506         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
24507         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24508         FP_CMP_EQ_Q.
24509         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24510         FP_CMP_Q.
24511         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24512         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24513         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24514         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24515         FP_CMP_EQ_Q.
24517         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24518         a subnormal result, set the underflow exception if trapping on
24519         underflow is enabled.
24520         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24521         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24522         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24523         redefine to 0.
24524         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24525         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24526         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24527         * soft-fp/extendxftf2.c (__extendxftf2): Use
24528         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
24530         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
24531         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
24532         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24533         FP_HANDLE_EXCEPTIONS.
24534         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
24535         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24536         FP_HANDLE_EXCEPTIONS.
24537         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
24538         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24539         FP_HANDLE_EXCEPTIONS.
24540         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
24541         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24542         FP_HANDLE_EXCEPTIONS.
24544 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
24546         [BZ #14132]
24547         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
24548         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
24549         use INTUSE.
24550         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24551         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
24552         Remove alias.
24553         (__adjtimex): Define using libc_hidden_ver.
24554         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
24555         Remove declaration.
24556         (ntp_gettime): Call __adjtimex directly.
24557         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
24558         Remove declaration.
24559         (ntp_gettimex): Call __adjtimex directly.
24560         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
24561         __adjtimex_internal alias.
24563 2014-10-08  Roland McGrath  <roland@hack.frob.com>
24565         [BZ #17460]
24566         * nscd/nscd.c (more_help): Rewrite list of tables collection
24567         using xstrdup and asprintf.
24569         * nscd/nscd_conf.c: Remove local xstrdup declaration.
24571 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24572             Roland McGrath  <roland@hack.frob.com>
24574         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
24575         (do_lookup_unique): ... local function 'enter' here; update callers.
24577 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
24579         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
24580         compat_symbol calls on [SHARED].
24581         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
24582         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
24583         Remove.
24584         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24585         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
24586         (oldsetrlimit): Remove.
24587         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24589         (lchown): New syscall entry.
24590         (oldsetrlimit): Remove.
24591         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24592         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
24593         (oldsetrlimit): Remove.
24594         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24596         [BZ #14138]
24597         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
24598         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
24599         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
24600         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
24601         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24602         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
24603         (fchown): Likewise.
24604         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
24605         (fchown): Likewise.
24606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
24607         Likewise.
24609 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24611         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
24612         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
24613         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
24614         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
24615         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
24616         Likewise.
24617         (__old_sem_post): Likewise.
24619 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
24621         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
24622         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
24623         HAVE_CLOCK_GETTIME_VSYSCALL macros.
24624         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
24625         Use INLINE_VSYSCALL macro.
24626         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
24627         __vdso_clock_gettime.
24628         * sysdeps/unix/sysv/linux/tile/init-first.c
24629         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
24630         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
24631         __vdso_clock_gettime.
24633         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
24634         to set up frame more cleanly.
24636         * sysdeps/tile/memcmp.c: New file.
24638         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
24640         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
24641         * sysdeps/tile/tilegx/strcasestr.c: New file.
24642         * sysdeps/tile/tilegx/strnlen.c: New file.
24643         * sysdeps/tile/tilegx/strstr.c: New file.
24645         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
24647 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
24649         * nptl/tst-setuid3.c: Write errors to stdout.
24651 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24653         * elf/dl-deps.c
24654         (preload): New functions broken out of _dl_map_object_deps.
24655         (_dl_map_object_deps):  Remove a nested function. Update call sites.
24657 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
24659         [BZ #14138]
24660         * sysdeps/unix/sysv/linux/execve.c: Remove file.
24661         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
24663 2014-10-01  Steve Ellcey  <sellcey@mips.com>
24665         * sysdeps/mips/strcmp.S: New.
24667 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
24669         [BZ #14138]
24670         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
24671         (linkat): Likewise.
24672         (mkdirat): Likewise.
24673         (readlinkat): Likewise.
24674         (renameat): Likewise.
24675         (symlinkat): Likewise.
24676         (unlinkat): Likewise.
24677         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
24678         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
24679         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
24680         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
24681         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
24682         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
24683         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
24685 2014-09-30  Will Newton  <will.newton@linaro.org>
24687         * math/math.h: Define long double math functions if
24688         _LIBC_TEST is defined.
24689         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
24691         * localedata/Makefile: Move assignment to tests-special
24692         into an ifdef testing run-built-tests.
24693         * timezone/Makefile: Likewise.
24695 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
24697         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
24698         with $(BASH) not $(SHELL).
24700 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
24701             Matthew LeGendre  <legendre1@llnl.gov>
24703         [BZ #17411]
24704         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
24705         l_reloc_result.
24707 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24709         * stdio-common/printf_fp.c
24710         (hack_digit): New function, broken out of ...
24711         (__printf_fp): ... local function here.  Update call sites.
24712         hack_digit now takes an additional parameter that is a pointer
24713         to a struct of the referenced locals.  Those locals moved inside
24714         the struct and references updated.
24716 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
24718         * aclocal.m4: Require autoconf 2.69.
24719         * configure: Regenerated.
24720         * sysdeps/aarch64/configure: Likewise.
24721         * sysdeps/alpha/configure: Likewise.
24722         * sysdeps/arm/armv7/configure: Likewise.
24723         * sysdeps/arm/configure: Likewise.
24724         * sysdeps/ia64/configure: Likewise.
24725         * sysdeps/mach/configure: Likewise.
24726         * sysdeps/mips/configure: Likewise.
24727         * sysdeps/s390/configure: Likewise.
24728         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
24729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
24731         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
24732         file.
24733         * sysdeps/ia64/configure.ac: Likewise.
24735 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
24737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
24738         specify symbol version for ld.so.  Do not include entry for
24739         libpthread.
24740         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24741         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24742         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24744         [BZ #14171]
24745         * Makeconfig [$(build-shared) = yes]
24746         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
24747         makefiles.
24748         [$(build-shared) = yes && $(soversions.mk-done) = t]
24749         ($(common-objpfx)gnu/lib-names.h): Remove rule.
24750         [$(build-shared) = yes && $(soversions.mk-done) = t]
24751         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
24752         to Makerules.
24753         [$(build-shared) = yes && $(soversions.mk-done) = t]
24754         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
24755         here.
24756         [$(build-shared) = yes && $(soversions.mk-done) = t]
24757         (common-generated): Don't append gnu/lib-names.h and
24758         gnu/lib-names.stmp here.
24759         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
24760         (lib-names-h-abi): New variable.
24761         [$(build-shared) = yes && $(soversions.mk-done) = t]
24762         (lib-names-stmp-abi): Likewise.
24763         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24764         abi-variants] (before-compile): Append
24765         $(common-objpfx)$(lib-names-h-abi).
24766         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24767         abi-variants] (common-generated): Append gnu/lib-names.h.
24768         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24769         abi-variants] (install-others-nosubdir): Depend on
24770         $(inst_includedir)/$(lib-names-h-abi).
24771         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24772         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
24773         [$(build-shared) = yes && $(soversions.mk-done) = t]
24774         ($(common-objpfx)$(lib-names-h-abi)): New rule.
24775         [$(build-shared) = yes && $(soversions.mk-done) = t]
24776         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
24777         [$(build-shared) = yes && $(soversions.mk-done) = t]
24778         (common-generated): Append $(lib-names-h-abi) and
24779         $(lib-names-stmp-abi).
24780         * scripts/lib-names.awk: Do not handle multi being set.
24781         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
24782         Remove variable.
24783         (abi-lp64_be-ld-soname): Likewise.
24784         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
24785         Likewise.
24786         (abi-hard-ld-soname): Likewise.
24787         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
24788         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
24789         Remove variable.
24790         (abi-o32_hard-ld-soname): Likewise.
24791         (abi-o32_soft_2008-ld-soname): Likewise.
24792         (abi-o32_hard_2008-ld-soname): Likewise.
24793         (abi-n32_soft-ld-soname): Likewise.
24794         (abi-n32_hard-ld-soname): Likewise.
24795         (abi-n32_soft_2008-ld-soname): Likewise.
24796         (abi-n32_hard_2008-ld-soname): Likewise.
24797         (abi-n64_soft-ld-soname): Likewise.
24798         (abi-n64_hard-ld-soname): Likewise.
24799         (abi-n64_soft_2008-ld-soname): Likewise.
24800         (abi-n64_hard_2008-ld-soname): Likewise.
24801         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
24802         Likewise.
24803         (abi-64-v2-ld-soname): Likewise.
24804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
24805         ld.so entries.
24806         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
24807         variable.
24808         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
24809         entry.
24810         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
24811         variable.
24812         (abi-64-ld-soname): Likewise.
24813         (abi-x32-ld-soname): Likewise.
24814         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
24815         entry.
24816         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24818 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
24820         [BZ #14138]
24821         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
24822         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
24823         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
24824         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
24825         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
24826         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
24827         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
24828         syscall entry for GLIBC_2.2 symbol version.
24829         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
24830         Likewise.
24831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24832         (setrlimit): Likewise.
24833         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
24834         Likewise.
24836 2014-09-23  Will Newton  <will.newton@linaro.org>
24838         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
24839         _LINUX_ARM_SYSDEP_H include guard too.
24840         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
24841         define.
24843 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24845         * sysdeps/unix/sysv/linux/eventfd.c:
24846         Make first argument unsigned.
24847         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
24848         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
24850 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
24852         [BZ #16852]
24853         * socket/recvmmsg.c (recvmmsg): Drop const argument.
24854         * socket/sys/socket.h: Likewise.
24855         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
24857 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24859         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
24861 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
24863         * time/tst-ftime.c: New test.
24864         * time/Makefile (tests): Add tst-ftime.
24866 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
24868         * soft-fp/extended.h: Fix comment formatting.
24869         * soft-fp/op-1.h: Likewise.
24870         * soft-fp/op-2.h: Likewise.
24871         * soft-fp/op-4.h: Likewise.
24872         * soft-fp/op-8.h: Likewise.
24873         * soft-fp/op-common.h: Likewise.
24874         * soft-fp/soft-fp.h: Likewise.
24876         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
24878 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
24880         [BZ #6652]
24881         * Makeconfig (soversions-default-setname): Remove variable.
24882         ($(common-objpfx)soversions.i): Don't pass default_setname to
24883         soversions.awk.
24884         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
24885         oldest_abi to abi-versions.awk.
24886         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
24887         * config.make.in (oldest-abi): Remove variable.
24888         * configure.ac (--enable-oldest-abi): Remove configure option.
24889         * configure: Regenerated.
24890         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
24891         text.
24892         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
24893         * scripts/soversions.awk: Do not handle default_setname variable.
24894         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
24895         variable.
24896         * sysdeps/mach/hurd/configure: Regenerated.
24897         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
24898         variable.
24899         * sysdeps/unix/sysv/linux/configure: Regenerated.
24901 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24903         * elf/Makefile (CFLAGS-interp.c): Remove.
24904         ($(elf-objpfx)runtime-linker.h): Generate header with linker
24905         path string.
24906         * elf/interp.c: Include generated runtime-linker.h
24908         * Makerules (lib%.so): Don't include $(+interp) in
24909         prerequisites.
24910         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
24911         * dlfcn/eval.c: Remove file.
24913         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
24914         macros.
24916         [BZ #17266]
24917         * misc/sys/cdefs.h: Define __extern_always_inline for clang
24918         4.2 and newer.
24920         [BZ #17370]
24921         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
24923 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24924             Jakub Jelinek  <jakub@redhat.com>
24926         [BZ #17266]
24927         * libio/stdio.h: Check definition of __fortify_function
24928         instead of __extern_always_inline to include bits/stdio2.h.
24929         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
24930         check if __extern_always_inline is defined.
24931         [__USE_MISC || __USE_XOPEN]: Likewise.
24932         [__USE_ISOC99] Likewise.
24933         * misc/sys/cdefs.h (__fortify_function): Define only if
24934         __extern_always_inline is defined.
24935         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
24936         __extern_always_inline and __extern_inline only for g++-4.3
24937         and newer or a compatible gcc.
24939 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
24941         [BZ #17371]
24942         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24943         last change to handle zero prefix length.
24945 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24947         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
24948         _SC_REGEX_VERSION.
24950         * posix/getconf.c (vars): Add _POSIX_IPV6 and
24951         _POSIX_RAW_SOCKETS.
24953 2014-09-13  Allan McRae  <allan@archlinux.org>
24955         * po/ru.po: Update Russian translation from translation project.
24957 2014-09-12  Roland McGrath  <roland@hack.frob.com>
24959         * locale/programs/locale.c (show_locale_vars): Inline local function
24960         into its sole call site.  Clean up some style nits.
24961         (print_item): New function, broken out of ...
24962         (show_info): ... local function here.  Clean up style nits.
24964         * locale/programs/ld-ctype.c (set_one_default): New function, broken
24965         out of ...
24966         (set_class_defaults): ... local function set_default here.
24967         Define set_default as a macro locally to pass constant parameters.
24968         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
24969         rather than a shared local.
24971         * stdlib/rpmatch.c (try): New function, broken out of ...
24972         (rpmatch): ... local function here.  Also, prototypify definition.
24974 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
24976         * scripts/soversions.awk: Do not handle configuration names.
24977         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
24978         vendor and os variables to soversions.awk.
24979         * configure.ac: Do not modify gnu-* host_os.
24980         * configure: Regenerated
24981         * shlib-versions: Remove first column with configuration names.
24982         * nptl/shlib-versions: Likewise.
24983         * nptl_db/shlib-versions: Likewise.
24984         * sysdeps/hppa/shlib-versions: Likewise.
24985         * sysdeps/m68k/shlib-versions: Likewise.
24986         * sysdeps/mach/hurd/shlib-versions: Likewise.
24987         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
24988         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
24989         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
24990         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
24991         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
24992         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
24993         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
24994         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
24995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24996         Likewise.
24997         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24998         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24999         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25000         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25001         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25002         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
25003         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25004         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25007         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
25008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25009         Regenerated.
25010         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
25011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25012         Condition symbol version definitions on [HAVE_ELFV2_ABI].
25014         * shlib-versions: Remove OS-specific entries.  Moved to files in
25015         sysdeps.
25016         * sysdeps/mach/hurd/shlib-versions: New file.
25017         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25019         * nptl/shlib-versions: Remove architecture-specific entries.
25020         Moved to files in sysdeps.
25021         * shlib-versions: Likewise.
25022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
25023         file.
25024         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25025         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25026         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25027         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25029         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
25030         (UDP_NO_CHECK6_RX): Likewise.
25032 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25034         * sysdeps/posix/sysconf.c (__sysconf): Spell
25035         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25037 2014-08-12  Florian Weimer  <fweimer@redhat.com>
25039         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
25040         loading.
25041         * iconv/Versions (__gconv_transliterate): Export for use from
25042         gconv modules.
25043         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
25044         (struct __gconv_trans_data, __gconv_trans_fct,
25045         __gconv_trans_context_fct, __gconv_trans_query_fct,
25046         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
25047         definitions.
25048         (struct __gconv_step_data): Remove __trans member.
25049         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
25050         longer hidden.  Remove unused trans_data argument.
25051         * iconv/gconv_int.h (struct trans_struct): Remove definition.
25052         (__gconv_translit_find): Remove declaration.
25053         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
25054         prototype.
25055         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
25056         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
25057         trans_data argument.  Add hidden definition.
25058         (__gconv_translit_find): Remove.
25059         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
25060         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25061         * iconv/skeleton.c: Remove transliteration initialization.
25062         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
25063         __gconv_step_data initialization.
25064         * libio/iofwide.c (__libio_translit_): Remove.
25065         (_IO_fwide): Adjust struct __gconv_step_data initialization.
25066         * wcsmbs/btowc.c (__btowc): Likewise.
25067         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25068         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25069         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25070         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25071         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
25072         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25073         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25074         * wcsmbs/wctob.c (wctob): Likewise.
25076 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25078         [BZ #16194]
25079         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
25080         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
25081         register usage.
25082         * sysdeps/x86/Makefile: Adjust.
25084 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25085             Roland McGrath  <roland@hack.frob.com>
25087         * locale/weight.h: Add include guard.
25088         (findidx): Make static rather than auto; take new parameters
25089         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
25090         * locale/weightwc.h: Likewise.
25091         * posix/fnmatch_loop.c
25092         (FCT): Change type of EXTRA from int32_t to wint_t.
25093         Don't include either header inside the function.
25094         Call FINDIDX rather than findidx, and pass new arguments.
25095         #undef FINDIDX at the end of the file.
25096         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
25097         FINDIDX before including fnmatch_loop.c for the non-wide version.
25098         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
25099         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25100         for the wide version.
25101         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
25102         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
25103         Pass new arguments to findidx.
25104         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
25105         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
25106         Don't #include it inside the function.  Pass new arguments to findidx.
25107         * posix/regex_internal.h
25108         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
25109         (re_string_elem_size_at): Don't #include it inside the function.
25110         Pass new arguments to findidx.
25111         * string/strcoll_l.c: #include WEIGHT_H at top level.
25112         (get_next_seq): Don't #include it inside the function.
25113         Pass new arguments to findidx.
25114         (get_next_seq_nocache): Likewise.
25115         * string/strxfrm_l.c: #include WEIGHT_H at top level.
25116         (STRXFRM): Don't #include it inside the function.
25117         Pass new arguments to findidx.
25119 2014-09-11  Florian Weimer  <fweimer@redhat.com>
25121         [BZ #17344]
25122         * malloc/malloc.c (unlink): Turn asserts into a call to
25123         malloc_printerr.
25125 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25127         [BZ #17370]
25128         * libio/wfileops (do_ftell_wide): Free OUT.
25130 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25132         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25134 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25136         [BZ #17363]
25137         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25138         group if the current group is empty.
25140 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25142         * benchtests/bench-memset.c (test_main): Add more test from size
25143         from 32 to 512 bytes.
25144         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25145         Add POWER8 memset object.
25146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25147         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25148         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25149         implementation.
25150         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25151         Likewise.
25152         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25153         multiarch POWER8 memset optimization.
25154         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25155         POWER8 memset optimization.
25157         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25158         Remove bzero multiarch objects.
25159         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25160         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25161         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25162         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25163         Remove define.
25164         [__bzero]: Redefine to specific name.
25165         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25166         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25167         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25168         define.
25169         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25170         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25172 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25174         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25175         warnings into errors.
25177         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25178         __cxa_thread_atexit_impl prototype.
25180 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25182         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25183         Fix capitalization of error message.
25185 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25187         * sysdeps/mips/preconfigure: Modify ABI tests.
25189 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25191         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25193 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25194             Carlos O'Donell  <carlos@systemhalted.org>
25196         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25197         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25198         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25199         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25200         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25201         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25202         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25203         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25204         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25205         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25206         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25207         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25208         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25209         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25210         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25211         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25212         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25213         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25214         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25215         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25216         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25217         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25218         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25219         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25220         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25221         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25222         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25223         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25224         Deconditionalize the code that was previously under [RESET_PID].
25225         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25226         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25227         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25228         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25229         include sysdep.h.
25231 2014-09-08  Allan McRae  <allan@archlinux.org>
25233         * version.h (RELEASE): Set to "development".
25234         (VERSION): Set to "2.20.90"
25236 2014-09-07  Allan McRae  <allan@archlinux.org
25238         * version.h (RELEASE): Set to "stable".
25239         (VERSION): Set to "2.20"
25240         * include/features.h (__GLIBC_MINOR__): Set to 20.
25242         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25243         Liebler.
25245         * po/ko.po: Update Korean translation from translation project.
25247 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25249         [BZ #17354]
25250         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25251         macro for handling signed relocations.
25253 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25255         [BZ #17325]
25256         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25257         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25258         assert.
25259         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25260         * iconvdata/ibm935.c (BODY): Likewise.
25261         * iconvdata/ibm937.c (BODY): Likewise.
25262         * iconvdata/ibm939.c (BODY): Likewise.
25263         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25264         assert.
25265         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25266         script.
25267         * iconvdata/run-iconv-test.sh: New test loop for checking for
25268         decoder crashers.
25270 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25272         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25273         libm_hidden_ver.
25275 2014-09-01  Allan McRae  <allan@archlinux.org>
25277         * po/eo.po: Update Esperanto translation from translation project.
25279         * po/ca.po: Update Catalan translation from translation project.
25281 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25283         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25284         __proc_dostop call.
25286 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25288         [BZ #17319]
25289         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25290         to call set_thread_area instead of hand written asm.
25291         (__NR_set_thread_area): Removed define.
25292         (TLS_FLAG_WRITABLE): Likewise.
25293         (__ASSUME_SET_THREAD_AREA): Remove check.
25294         (TLS_EBX_ARG): Remove define.
25295         (TLS_LOAD_EBX): Likewise.
25297 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25299         Simplify atomicity of socket creation in bind.
25301         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25302         looking up the name after linking the file.
25304 2014-08-27  Allan McRae  <allan@archlinux.org>
25306         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25308 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25310         [BZ #17187]
25311         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25312         trans_compare, open_translit, __gconv_translit_find):
25313         Remove module loading code.
25315 2014-08-26  Allan McRae  <allan@archlinux.org>
25317         * po/vi.po: Update Vietnamese translation from translation project.
25319         * po/uk.po: Update Ukrainian translation from translation project.
25321         * po/fr.po: Update French translation from translation project.
25323         * po/ru.po: Update Russian translation from translation project.
25325         * po/pl.po: Update Polish translation from translation project.
25327         * po/cs.po: Update Czech translation from translation project.
25329         * po/de.po: Update German translation from translation project.
25331         * po/bg.po: Update Bulgarian translation from translation project.
25333         * po/sv.po: Update Sweedish translation from translation project.
25335         * po/nl.po: Update Dutch translation from translation project.
25337         * po/es.po: Update Spanish translation from translation project.
25339 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25341         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25343         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25344         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25345         (CPPFLAGS-iconvconfig): Likewise.
25346         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25348         * include/libc-symbols.h: Remove unnecessary check for
25349         NOT_IN_libc.
25350         * nptl/pthreadP.h: Likewise.
25351         * sysdeps/aarch64/setjmp.S: Likewise.
25352         * sysdeps/alpha/setjmp.S: Likewise.
25353         * sysdeps/arm/sysdep.h: Likewise.
25354         * sysdeps/i386/setjmp.S: Likewise.
25355         * sysdeps/m68k/setjmp.c: Likewise.
25356         * sysdeps/posix/getcwd.c: Likewise.
25357         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25358         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25359         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25360         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25361         * sysdeps/sh/sh3/setjmp.S: Likewise.
25362         * sysdeps/sh/sh4/setjmp.S: Likewise.
25363         * sysdeps/unix/alpha/sysdep.h: Likewise.
25364         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25365         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25366         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25367         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25370         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25371         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25372         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25373         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25374         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25375         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25377         * sysdeps/x86_64/setjmp.S: Likewise.
25379 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25381         [BZ #17263]
25382         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25383         <stdint.h>.
25384         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25385         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25387 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25389         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25391         [BZ #17262]
25392         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25393         and __x86_64__ when disabling x87 inline functions.
25395 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25397         [BZ #17259]
25398         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25399         asm statement with __cpuid_count.
25401 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25403         * configure.ac: Change __ehdr_start code to dereference the struct.
25404         Run readelf on the output to look for relocations.
25405         * configure: Regenerated.
25407 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25409         [BZ #17261]
25410         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25411         value to 0.
25412         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25414 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25416         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25418 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25420         [BZ #16892]
25421         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25422         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25424 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25426         * malloc/malloc.c: Fix typo in comment.
25428 2014-08-09  Allan McRae  <allan@archlinux.org>
25430         * Regenerate libc.po.
25432 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25434         * intl/tst-gettext2.sh: Check every lang file for creation.
25436 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25438         * sysdeps/aarch64/fpu/math_private.h
25439         (libc_feholdsetround_noex_aarch64_ctx): New function.
25441 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25443         * sysdeps/arm/armv6/strcpy.S (strcpy):
25444         Fix performance issue in misaligned cases.
25446 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25448         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25449         Move definition from termios.h.
25450         (struct termio): Likewise.
25451         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25452         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25453         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25454         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25455         Likewise.
25456         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25457         Move definition to ioctl-types.h
25458         (struct termio): Likewise.
25459         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25460         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25461         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25462         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25463         Likewise.
25465 2014-08-05  Richard Henderson  <rth@redhat.com>
25467         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25468         exceptions.
25469         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25470         Add fraiseexcpt.
25471         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25472         Use __feraiseexcept.
25473         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25474         Protect libm symbols with IS_IN_libm.
25476         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25478 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25480         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25482 2014-08-04  Will Newton  <will.newton@linaro.org>
25484         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25485         file.
25487 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25489         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25490         variants for each function.
25492 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25494         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
25495         appended ...
25496         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
25497         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
25498         appended ...
25499         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
25500         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
25501         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25502         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
25503         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
25504         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
25505         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25506         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
25507         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25508         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25509         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25510         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25511         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25512         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25513         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25514         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25515         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25516         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25517         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25518         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25519         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25520         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25521         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25522         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25523         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25524         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25525         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25526         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25527         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
25528         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
25529         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
25530         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
25531         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
25532         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
25533         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
25534         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
25535         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
25536         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
25537         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
25538         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
25539         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
25540         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
25541         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
25542         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
25543         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
25544         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
25545         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
25546         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
25547         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
25548         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
25549         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
25550         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
25551         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
25552         Update #include.
25553         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
25554         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
25556 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25558         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
25559         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
25560         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
25561         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
25562         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
25563         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
25565 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25567         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
25568         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
25569         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25570         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
25572 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25574         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
25575         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
25576         (__libc_vfork): Define function under this name.
25577         (__vfork): Define as an alias.
25578         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
25579         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
25581 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25583         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
25584         that was previously under [RESET_PID].
25585         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
25587 2014-08-04  Andreas Schwab  <schwab@suse.de>
25589         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
25591 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
25593         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
25594         (main): Likewise.
25596 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25598         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
25600 2014-08-01  Richard Henderon  <rth@redhat.com>
25602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
25603         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
25604         typo in exact zero test.
25605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25606         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25607         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25609 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25611         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
25612         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
25613         * sysdeps/arm/sysdep.h: ... here.
25614         [!__ASSEMBLER__]: Include <stdint.h>.
25616 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25618         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
25619         (HAVE_WCTYPE_H): Likewise.
25620         (HAVE_ISWCTYPE): Likewise.
25621         (ENABLE_NLS): Likewise.
25622         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
25623         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
25625         * posix/regex_internal.c: Check if DEBUG is defined and is
25626         set.
25628         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
25629         (HAVE_MBSRTOWCS): Likewise.
25630         * posix/fnmatch.c: Include string.h unconditionally.
25632 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25634         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
25635         reversal.
25637 2014-07-31  Roland McGrath  <roland@hack.frob.com>
25639         * sysdeps/generic/safe-fatal.h: New file.
25640         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
25641         * nptl/forward.c: Include it.
25642         (__pthread_unwind): Use __safe_fatal as default action, rather
25643         than a bogus use of INTERNAL_SYSCALL that could never work.
25645         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
25646         * configure.ac (libc_cv_builtin_trap): New test.
25647         * configure: Regenerated.
25648         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
25649         (ABORT_INSTRUCTION): Define using __builtin_trap.
25651         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
25652         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
25653         * sysdeps/nptl/nptl-signals.h: New file.
25654         * nptl/pthreadP.h: Include <nptl-signals.h>.
25656 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25658         * sysdeps/s390/s390-64/utf16-utf32-z9.c
25659         (ONE_DIRECTION): Define.
25660         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25661         (ONE_DIRECTION): Define.
25662         * sysdeps/s390/s390-64/utf8-utf32-z9.c
25663         (ONE_DIRECTION): Define.
25665 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25667         * sysdeps/s390/Makefile: Delete file.
25668         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
25669         * sysdeps/s390/__longjmp.c: Delete file.
25670         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
25671         Remove fields __flags and __reserved.
25672         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
25673         and add versioning.
25674         * sysdeps/s390/rtld-__longjmp.c: Delete file.
25675         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
25676         * sysdeps/s390/rtld-setjmp.S: Likewise.
25677         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
25678         * sysdeps/s390/s390-32/__longjmp.c: ... here.
25679         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
25680         * sysdeps/s390/s390-32/setjmp.S: ... here.
25681         Add versioning.
25682         (__sigsetjmp): Remove setting __flags field.
25683         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
25684         * sysdeps/s390/s390-64/__longjmp.c: ... here.
25685         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
25686         * sysdeps/s390/s390-64/setjmp.S: ... here.
25687         Add versioning.
25688         (__sigsetjmp): Remove setting __flags field.
25689         * sysdeps/s390/setjmp.S: Delete file.
25690         * sysdeps/s390/sigjmp.c: Likewise.
25691         * sysdeps/s390/v1-longjmp.c: Likewise.
25692         * sysdeps/s390/v1-setjmp.h: Likewise.
25693         * sysdeps/s390/v1-sigjmp.c: Likewise.
25694         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
25695         Remove v1-longjmp_chk.
25696         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
25697         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
25698         Include debug/longjmp_chk.c and add versioning.
25699         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
25700         Include nptl/pt-longjmp.c and add versioning.
25701         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
25702         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
25703         Include __longjmp.c.
25704         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25705         Move to ...
25706         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
25707         (__getcontext): Remove setting __flags field.
25708         Add versioning.
25709         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25710         Don't restore upper high grps.
25711         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
25712         Likewise.
25713         (__swapcontext): Remove setting uc_flags field.
25714         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
25715         Delete file.
25716         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25717         Include __longjmp.c.
25718         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25719         Move to ...
25720         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
25721         (__getcontext): Remove setting __flags field.
25722         Add versioning.
25723         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
25724         (__swapcontext): Remove setting uc_flags field.
25725         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
25726         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
25727         Remove fields uc_high_gprs and __reserved.
25728         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
25729         New file with reverted content.
25730         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
25731         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
25732         Regenerated.
25733         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
25734         Regenerated.
25736 2014-07-31  Andreas Schwab  <schwab@suse.de>
25738         * config.h.in (HAVE_IFUNC): Define to 0.
25739         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
25740         definedness.
25742 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
25744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25745         memmove-avx-unaligned, memcpy-avx-unaligned and
25746         mempcpy-avx-unaligned.
25747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25748         Add tests for AVX memcpy functions.
25749         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
25750         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
25751         memcpy_chk.
25752         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
25753         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
25754         memmove_chk.
25755         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
25756         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
25757         mempcpy_chk.
25758         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
25759         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
25760         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
25762 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25764         [BZ #17213]
25765         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
25766         powerpc64le.
25768 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
25770         [BZ #16839]
25771         * manual/llio.texi: Add section about open file description locks.
25772         * manual/examples/ofdlocks.c: Example of open file description
25773         lock usage.
25774         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
25775         F_OFD_SETLK, and F_OFD_SETLKW.
25777 2014-07-23  Allan McRae  <allan@archlinux.org>
25779         * po/es.po: Update Spanish translation from translation project.
25781 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
25783         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
25785 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
25787         [BZ #17078]
25788         * sysdeps/arm/dl-machine.h (elf_machine_rela)
25789         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
25790         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
25792 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
25794         [BZ #17088]
25795         * math/fesetenv.c (__fesetenv)
25796         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
25797         * math/feupdateenv.c (__feupdateenv)
25798         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
25800         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
25801         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25802         (__ASSUME_SOCKETCALL): Do not define.
25804         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
25805         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
25806         (__ASSUME_SOCKETCALL): Do not define.
25807         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
25808         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25809         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25810         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25811         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25812         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
25813         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25814         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25816         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
25817         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
25818         (__ASSUME_SOCKETCALL): Do not define.
25819         (__ASSUME_IPC64): Define unconditionally.
25820         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25821         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25822         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25823         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25824         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
25825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25826         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
25827         Likewise.
25829         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
25830         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
25831         (__ASSUME_SOCKETCALL): Do not define.
25832         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
25833         (__ASSUME_FUTEX_LOCK_PI): Likewise.
25834         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25835         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25836         (__ASSUME_REQUEUE_PI): Define unconditionally.
25837         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
25838         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
25839         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25840         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
25841         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25842         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25844         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
25845         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
25846         (__ASSUME_SOCKETCALL): Do not define.
25847         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
25848         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25849         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25850         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
25851         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25852         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25854         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
25855         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
25856         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25857         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
25858         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25859         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
25860         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25861         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
25862         (__ASSUME_GETCPU_SYSCALL): Likewise.
25864         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
25865         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
25866         cases for individual architectures.
25867         * sysdeps/gnu/configure: Regenerated.
25868         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
25869         LIBC_SLIBDIR_RTLDDIR.
25870         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
25871         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
25872         LIBC_SLIBDIR_RTLDDIR.
25873         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
25874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
25875         LIBC_SLIBDIR_RTLDDIR.
25876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25877         Regenerated.
25878         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
25879         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
25880         file.
25881         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
25882         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
25883         file.
25884         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
25885         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
25886         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
25887         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
25889         * sysdeps/aarch64/shlib-versions: Move to ...
25890         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
25891         * sysdeps/alpha/shlib-versions: Move to ...
25892         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
25893         * sysdeps/arm/shlib-versions: Move to ...
25894         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
25895         * sysdeps/hppa/shlib-versions: Move all contents except for
25896         libgcc_s entry to ...
25897         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
25898         entry from ...
25899         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
25900         * sysdeps/ia64/shlib-versions: Move to ...
25901         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
25902         entry from ...
25903         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
25904         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
25905         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
25906         * sysdeps/microblaze/shlib-versions: Move to ...
25907         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
25908         * sysdeps/mips/shlib-versions: Move to ...
25909         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
25910         entry from ...
25911         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
25912         * sysdeps/tile/shlib-versions: Move to ...
25913         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
25914         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
25915         from ...
25916         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
25917         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
25918         entry from ...
25919         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
25921 2014-07-17  Will Newton  <will.newton@linaro.org>
25923         * sysdeps/arm/bits/atomic.h
25924         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
25925         (__arch_compare_and_exchange_bool_16_int): Likewise.
25926         (__arch_compare_and_exchange_bool_64_int): Likewise.
25928         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
25929         into an #else block.
25931 2014-07-16  Roland McGrath  <roland@hack.frob.com>
25933         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
25934         just Linux configurations.  Test empirically that the compiler sets
25935         __ARM_EABI__, rather than using the tuple to decide.
25936         * sysdeps/arm/preconfigure: Regenerated.
25937         * sysdeps/unix/sysv/linux/arm/configure: File removed.
25938         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
25939         contents appended ...
25940         * sysdeps/arm/configure.ac: ... here.
25941         * sysdeps/arm/configure: Regenerated.
25943 2014-07-15  Roland McGrath  <roland@hack.frob.com>
25945         * nptl/pthread_kill.c: New file.
25946         * nptl/pthread_sigmask.c: New file.
25947         * nptl/pthread_sigqueue.c: New file.
25949         * sysdeps/nptl/lowlevellock.h: New file.
25950         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
25951         * sysdeps/nptl/lowlevellock-futex.h: New file.
25953         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
25954         Remove dead declarations.
25956 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
25958         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
25959         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
25960         config-cflags-avx2.
25961         * sysdeps/x86_64/configure.ac: Likewise.
25962         * sysdeps/i386/configure: Regenerated.
25963         * sysdeps/x86_64/configure: Likewise.
25964         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25965         memset-avx2 only if config-cflags-avx2 is yes.
25966         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25967         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
25968         defined.
25969         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
25970         only if HAVE_AVX2_SUPPORT is defined.
25971         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25973 2014-07-14  Alan Modra  <amodra@gmail.com>
25975         [BZ #17153]
25976         * elf/elf.h (DT_PPC64_NUM): Correct value.
25977         * NEWS: Add to fixed bug list.
25979 2014-07-13  Jim Meyering  <meyering@fb.com>
25981         [BZ 17150]
25982         regex: don't deref NULL upon heap allocation failure
25983         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
25984         failure in one more place.
25985         To trigger the segfault, configure grep -with-included-regex,
25986         build it, and run these commands:
25987         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
25989 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
25991         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25993 2014-07-11  Richard Henderson  <rth@redhat.com>
25995         * sysdeps/aarch64/libm-test-ulps: Update.
25997 2014-07-10  Florian Weimer  <fweimer@redhat.com>
25999         [BZ #17135]
26000         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
26001         * nptl/allocatestack.c (__nptl_setxid_error): New function.
26002         (__nptl_setxid): Initialize error member.  Call
26003         __nptl_setxid_error.
26004         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
26005         * nptl/descr.h (struct xid_command): Add error member.
26006         * nptl/tst-setuid3.c: New file.
26007         * nptl/Makefile (tests): Add it.
26009 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26011         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
26012         New define.
26013         (__lll_trylock): Use __lll_base_trylock.
26014         (__lll_cond_trylock): Likewise.
26016 2014-07-10  Roland McGrath  <roland@hack.frob.com>
26018         * nptl/pthread_create.c (start_thread): Use atomic_or and
26019         lll_futex_wake directly rather than lll_robust_dead.
26020         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26021         (lll_robust_dead): Macro removed.
26022         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
26023         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26024         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26025         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26026         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26027         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26028         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26029         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26030         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26031         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26032         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26033         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26034         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26035         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26036         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26038         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26039         Use atomic_compare_and_exchange_val_acq directly rather than
26040         lll_robust_trylock.
26041         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26042         (__lll_robust_trylock, lll_robust_trylock): Removed.
26043         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26044         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26045         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26046         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26047         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26048         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26049         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26050         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26051         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26052         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26053         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26054         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26055         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26056         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26058 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26060         * manual/locale.texi (Locale Names): New section documenting
26061         locale name syntax.  Adjust menu and node chaining accordingly.
26062         (Choosing Locale): Reference Locale Names, Locale Categories.
26063         Mention setting LC_ALL=C.  Reflect that name syntax is now
26064         documented.
26065         (Locale Categories): New section title.  Reference Locale Names.
26066         LC_ALL is an environment variable, but not a category.
26067         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
26068         description, now in Locale Name.  Reference that section.  Locale
26069         name syntax is now documented.
26071 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26073         [BZ #17137]
26074         * locale/findlocale.c (name_present, valid_locale_name): New
26075         functions.
26076         (_nl_find_locale): Use the loc_name variable to store name
26077         candidates.  Call name_present and valid_locale_name to check and
26078         validate locale names.  Return an error if the locale is invalid.
26080 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26082         * locale/setlocale.c (setlocale): Use strdup for allocating
26083         composite name copy.
26085 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26087         Sync up with gnulib.
26088         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
26089         [!_LIBC && ENABLE_NLS]: Include gettext.h.
26090         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
26091         and _GL_ARG_NONNULL.
26092         [USE_UNLOCKED_IO]: Include unlocked-io.h.
26093         [!_LIBC]: Include code for Windows and Cygwin.
26094         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
26095         Include prototype for int strerror_r.
26096         [!_LIBC] (is_open): New function.
26097         (flush_stdout): New function.
26098         (print_errno_message): Use it.
26099         (error): Likewise.
26100         (error_at_line): Likewise.
26101         (error_tail) Add function attribute macros.  Use
26102         __builtin_expect.
26104         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26106         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
26108         * io/ftw.c: Include sys/param.h unconditionally.
26110         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
26112         [BZ #17125]
26113         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
26114         libc_freeres_ptr.
26115         (freecache): New function to free CACHE on exit.
26117         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
26118         initialization.
26120 2014-07-09  David S. Miller  <davem@davemloft.net>
26122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26124         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26125         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26126         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26127         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26128         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26129         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26130         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26131         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26132         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26133         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26134         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26135         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26136         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26138 2014-07-09  Andreas Schwab  <schwab@suse.de>
26140         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26141         output.
26142         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26143         (do_test): Likewise.
26145         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26147 2014-07-09  Will Newton  <will.newton@linaro.org>
26149         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26150         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26151         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26152         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26153         * sysdeps/hppa/start.S (_start): Likewise.
26155 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26157         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26159         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26160         defined.
26162 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26164         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26165         after checking that it is non-NULL.
26167         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26169 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26171         * sysdeps/powerpc/memmove.c: Remove file.
26172         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26173         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26174         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26175         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26176         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26177         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26178         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26179         string memmove instead of removed powerpc one.
26181         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26182         [weak_alias]: Fix compiler warning due trailing data.
26183         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26184         [weak_alias]: Likewise.
26185         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26186         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26189         (__libc_ifunc_impl_list): Add memmove functions.
26191 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26193         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26194         Remove code.
26195         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26196         Likewise.
26197         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26198         Likewise.
26199         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26200         Likewise.
26201         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26202         Likewise.
26203         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26204         Likewise.
26205         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26206         Likewise.
26207         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26208         Likewise.
26209         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26210         Likewise.
26211         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26212         Likewise.
26213         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26214         Likewise.
26215         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26216         Likewise.
26217         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26218         Likewise.
26219         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26220         Likewise.
26221         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26222         Likewise.
26223         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26224         Likewise.
26225         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26226         Likewise.
26228 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26230         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26231         to avoid alignment traps in non-cacheable memory.
26232         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26235         multiarch objects.
26236         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26237         file: multiarch power7 memmove.
26238         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26239         multiarch default memmove.
26240         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26241         multiarch memove for powerpc32/power4.
26243         * string/bcopy.c: Use full path to include memmove.c.
26244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26245         multiarch objects.
26246         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26247         bcopy for powerpc64.
26248         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26249         bcopy for powerpc64.
26250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26251         and memmove implementations.
26252         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26253         optimized multiarch memmove for POWER7/powerpc64.
26254         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26255         default multiarch memmove for powerpc64.
26256         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26257         multiarch for powerpc64.
26258         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26259         for POWER7/powerpc64.
26260         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26261         memmove for POWER7/powerpc64.
26263         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26264         glibc default one.
26266         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26267         __ELF_NATIVE_CLASS equal to 64.
26269 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26271         * sysdeps/nptl/lowlevellock.h: File removed.
26273         * NEWS: NPTL is no longer an add-on!
26274         * nptl/internaltypes.h: Moved ...
26275         * sysdeps/nptl/internaltypes.h: ... here.
26276         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26277         * sysdeps/nptl/fork.c: Likewise.
26278         * sysdeps/nptl/gai_misc.h: Likewise.
26279         * sysdeps/nptl/librt-cancellation.c: Likewise.
26280         * sysdeps/nptl/jmp-unwind.c: Likewise.
26281         * sysdeps/nptl/setxid.h: Likewise.
26282         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26283         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26284         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26285         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26286         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26287         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26288         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26289         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26290         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26291         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26292         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26293         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26294         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26295         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26296         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26297         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26298         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26299         * nptl/Makeconfig: Moved ...
26300         * sysdeps/nptl/Makeconfig: ... here.
26301         * nptl/configure: File removed.
26302         * nptl/ANNOUNCE: File removed.
26303         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26304         * sysdeps/unix/sysv/linux/configure: Regenerated.
26306         * nptl/Makefile (routines): Add libc_pthread_init,
26307         libc_multiple_threads, register-atfork and unregister-atfork.
26308         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26309         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26310         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26311         pthread-pi-defines.sym, structsem.sym.
26312         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26313         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26314         [$(subdir) = nptl] (tests): Add tst-setgetname.
26315         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26316         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26317         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26318         [!LIBC_SIGACTION]: Remove aliases.
26319         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26320         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26321         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26322         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26323         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26324         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26325         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26326         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26327         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26328         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26329         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26330         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26331         __libc_allocate_rtsig_private.
26332         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26333         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26334         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26335         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26336         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26337         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26338         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26339         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26340         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26341         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26342         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26343         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26344         * nptl/internaltypes.h: ... here.
26345         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26346         * sysdeps/nptl/jmp-unwind.c: ... here.
26347         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26348         * nptl/libc-lowlevellock.c: ... here.
26349         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26350         * nptl/libc_multiple_threads.c: ... here.
26351         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26352         * nptl/libc_pthread_init.c: ... here.
26353         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26354         * nptl/lowlevelbarrier.sym: ... here.
26355         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26356         * nptl/lowlevelcond.sym: ... here.
26357         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26358         * nptl/lowlevellock.c: ... here.
26359         * nptl/lowlevellock.h: Moved ...
26360         * sysdeps/nptl/lowlevellock.h: ... here.
26361         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26362         * nptl/lowlevelrobustlock.c: ... here.
26363         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26364         * nptl/lowlevelrobustlock.sym: ... here.
26365         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26366         * nptl/lowlevelrwlock.sym: ... here.
26367         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26368         * nptl/pt-fork.c: ... here.
26369         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26370         * nptl/pthread-pi-defines.sym: ... here.
26371         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26372         * nptl/pthread_attr_getaffinity.c: ... here.
26373         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26374         * nptl/pthread_attr_setaffinity.c: ... here.
26375         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26376         * nptl/pthread_mutex_cond_lock.c: ... here.
26377         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26378         Update #include.
26379         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26380         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26381         * nptl/pthread_once.c: ... here, replacing old file.
26382         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26383         * nptl/pthread_yield.c: ... here.
26384         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26385         * nptl/register-atfork.c: ... here.
26386         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26387         * nptl/sem_post.c: ... here.
26388         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26389         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26390         * nptl/sem_timedwait.c: ... here.
26391         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26392         * nptl/sem_trywait.c: ... here.
26393         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26394         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26395         * nptl/sem_wait.c: ... here.
26396         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26397         * nptl/structsem.sym: ... here.
26398         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26399         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26400         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26401         * nptl/unregister-atfork.c: ... here.
26402         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26403         * nptl/unwindbuf.sym: ... here.
26404         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26405         * sysdeps/nptl/fork.c: ... here.
26406         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26407         * sysdeps/nptl/fork.h: ... here.
26408         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26409         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26410         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26411         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26412         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26413         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26414         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26415         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26416         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26417         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26418         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26419         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26420         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26421         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26422         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26423         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26424         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26425         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26426         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26427         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26428         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26429         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26430         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26431         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26432         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26433         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26434         * sysdeps/unix/sysv/linux/raise.c: ... here.
26435         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26436         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26437         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26438         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26439         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26440         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26441         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26442         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26443         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26444         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26445         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26446         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26447         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26448         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26449         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26451 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26453         * sysdeps/generic/memcopy.h: Add comment for
26454         MEMCPY_OK_FOR_FWD_MEMMOVE.
26456 2014-07-04  Will Newton  <will.newton@linaro.org>
26458         * string/memchr.c: Merge from gnulib.
26459         [_LIBC]: Remove conditionals.
26460         (__ptr_t): Remove define.
26461         (LONG_MAX_32_BITS): Likewise.
26462         (LONG_MAX): Likewise.
26463         (MEMCHR): Use ANSI prototype and optimize algorithm.
26465         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26467 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26469         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26470         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26472         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26473         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26474         in a bare environment with no <stdlib.h> installed.
26475         * sysdeps/nptl/configure: Regenerated.
26477         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26479         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26480         AC_EGREP_CPP for kernel header checks, so they only succeed if
26481         including <linux/version.h> actually works right.
26482         * sysdeps/unix/sysv/linux/configure: Regenerated.
26484         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26485         value so it's not diagnosed as unused.
26487         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26488         thing) with "ifeq ($(subdir),rt)".
26490 2014-07-03  Richard Henderson  <rth@redhat.com>
26492         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
26493         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
26494         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
26496         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
26497         (math_force_eval): New.
26499         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26500         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26502         * sysdeps/alpha/fpu/s_round.c: Remove file.
26503         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
26505         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
26506         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26507         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26508         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26509         (_dl_start, print_statistics): Likewise.
26510         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26511         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26513         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26514         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26515         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26516         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26517         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26518         (HP_SMALL_TIMING_AVAIL): Define.
26519         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26520         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26521         (HP_SMALL_TIMING_AVAIL): Define.
26522         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26523         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26525         * sysdeps/aarch64/hp-timing.h: New file.
26527         * sysdeps/generic/hp-timing.h: Remove dead comment.
26528         * sysdeps/generic/hp-timing-common.h: New file.
26529         * sysdeps/alpha/hp-timing.h: Include it.
26530         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
26531         * sysdeps/i386/i686/hp-timing.h: Likewise.
26532         * sysdeps/ia64/hp-timing.h: Likewise.
26533         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26534         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26535         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26536         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26537         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
26538         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
26539         (hp_timing_t): New.
26541         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
26542         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
26543         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
26544         * elf/rtld.c (_dl_start_final): Likewise.
26545         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
26546         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26547         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26548         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26549         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26550         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26551         (HP_TIMING_DIFF_INIT): Remove.
26552         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26553         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26554         (HP_TIMING_DIFF_INIT): Remove.
26555         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26556         * sysdeps/i386/i686/hp-timing.c: Remove file.
26557         * sysdeps/x86_64/hp-timing.c: Remove file.
26558         * sysdeps/ia64/hp-timing.c: Remove file.
26559         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
26560         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
26561         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
26562         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
26564         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
26565         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
26566         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
26567         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26568         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26569         (HP_TIMING_ACCUM): Remove.
26570         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26571         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
26572         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26574         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
26575         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
26576         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
26577         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
26578         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
26579         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26580         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
26581         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26583         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
26585 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
26587         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
26589 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26591         Sync up with gettext.
26592         * intl/loadmsgcat.c: Define O_BINARY if not defined.
26593         [_MSC_VER]: Include malloc.h
26594         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
26595         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
26596         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
26597         TEMP_FAILURE_RETRY.  Cast return of alloca.
26598         [!_LIBC] Call gl_rwlock_init.
26599         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
26601 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26603         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
26604         before checking its value.
26606 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26608         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
26610         * debug/memcpy_chk.c: Don't include pagecopy.h.
26611         * debug/mempcpy_chk.c: Likewise.
26612         * string/memcpy.c: Likewise.
26613         * string/memmove.c: Likewise.
26614         * sysdeps/powerpc/memmove.c: Likewise.
26615         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
26616         definition of PAGE_COPY_FWD_MAYBE here...
26617         * sysdeps/generic/pagecopy.h: ... from here.
26618         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
26620 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26621             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26623         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
26624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
26625         optimizations.
26626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26627         (__libc_ifunc_impl_list): Likewise.
26628         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
26629         multiarch strcat for PPC64.
26630         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
26631         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
26633 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26635         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
26637 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26639         * intl/loadmsgcat.c: Remove declaration of
26640         get_sysdep_segment_value.
26641         (get_sysdep_segment_value): Use ISO C style.
26642         (_nl_load_domain): Use ISO C style.  Get rid of redundant
26643         semicolon.  Fix typo and formatting in comment.
26644         (_nl_unload_domain): Use ISO C style.
26646         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
26648 2014-07-02  Will Newton  <will.newton@linaro.org>
26650         * malloc/obstack.c: Merge from gnulib master.
26651         [HAVE_CONFIG_H]: Remove conditional code.
26652         [!_LIBC]: Include config.h.
26653         [!ELIDE_CODE]: Don't include inttypes.h, include
26654         stdint.h unconditionally.
26655         (print_and_abort): Mark as _Noreturn.
26656         (_obstack_allocated_p): Mark as __attribute_pure__.
26657         (obstack_free): Rename to __obstack_free.
26658         [!__attribute__]: Remove conditional code.
26659         * malloc/obstack.h: Merge from gnulib master.
26660         [__cplusplus]: Move conditional down.
26661         [!__attribute_pure__]: Define __attribute_pure__ here
26662         if it is not already defined.
26663         (_obstack_memory_used): Mark as __attribute_pure__.
26664         [!__obstack_free]: Define as obstack_free.
26665         [__GNUC__]: Remove check for ancient NeXT gcc.
26667 2014-07-02  Will Newton  <will.newton@linaro.org>
26668             Paul Eggert  <eggert@cs.ucla.edu>
26670         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
26672 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26674         * resolv/gethnamaddr.c: Add comment warning that the file is
26675         not maintained.
26677 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
26679         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
26680         entries.
26682         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
26683         entry for aio_cancel and aio_cancel64.
26684         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
26685         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
26686         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
26687         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
26688         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
26689         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
26690         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
26691         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
26692         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
26693         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
26694         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
26695         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
26696         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
26698 2014-07-01  Roland McGrath  <roland@hack.frob.com>
26700         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
26701         * nptl/pthread_mutex_lock.c: Likewise.
26702         * nptl/pthread_mutex_timedlock.c: Likewise.
26703         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
26705 2014-07-01  Richard henderson  <rth@redhat.com>
26707         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
26708         (__isnan, __isnanl): Remove.
26709         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
26711         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26713 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26715         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26717 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26719         * resolv/nss_dns/dns-host.c (getanswer_r)
26720         [MULTI_PTRS_ARE_ALIASES]: Remove code.
26722 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
26724         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26725         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
26726         undefine.
26727         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
26728         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
26730 2014-07-01  Roland McGrath <roland@hack.frob.com>
26732         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
26733         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
26735         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
26736         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
26738         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
26739         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
26740         ... here.
26741         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
26742         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
26744         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
26745         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
26746         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
26747         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
26749         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
26750         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
26751         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
26752         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
26753         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
26754         Moved ...
26755         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
26756         ... here.
26757         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
26758         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
26759         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
26760         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
26761         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
26762         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
26763         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
26764         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
26765         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
26766         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
26767         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
26768         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
26769         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
26770         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
26771         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
26772         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
26773         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
26774         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
26775         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
26776         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
26777         ... here.
26778         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
26779         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
26780         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
26781         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
26782         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
26783         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
26784         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
26785         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
26787 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
26789         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
26790         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
26791         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
26792         Add sysdep.
26794 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26798 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26800         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26801         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26803         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26805         * sysdeps/arm/libm-test-ulps: Regenerated.
26807 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26808             Roland McGrath <roland@hack.frob.com>
26810         * test-skeleton.c (signal_handler): Kill the whole process group
26811         before killing the child individually.
26812         (main): Report any failure on `setpgid'.
26814 2014-06-30  Roland McGrath  <roland@hack.frob.com>
26816         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
26817         from _TLS_H to _ARM_NPTL_TLS_H.
26818         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
26819         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
26821 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26823         [BZ #16539]
26824         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
26825         (__expm1l): Return argument unchanged when small but not
26826         subnormal.
26828         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
26829         include macro name.
26830         (_FP_UNPACK_RAW_1_P): Likewise.
26831         (_FP_PACK_RAW_1): Likewise.
26832         (_FP_PACK_RAW_1_P): Likewise.
26833         (_FP_MUL_MEAT_1_wide): Likewise.
26834         (_FP_MUL_MEAT_DW_1_hard): Likewise.
26835         (_FP_MUL_MEAT_1_hard): Likewise.
26836         (_FP_DIV_MEAT_1_imm): Likewise.
26837         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
26838         (_FP_DIV_MEAT_1_udiv): Likewise.
26839         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
26840         (_FP_UNPACK_RAW_2): Likewise.
26841         (_FP_UNPACK_RAW_2_P): Likewise.
26842         (_FP_PACK_RAW_2): Likewise.
26843         (_FP_PACK_RAW_2_P): Likewise.
26844         (_FP_MUL_MEAT_DW_2_wide): Likewise.
26845         (_FP_MUL_MEAT_2_wide): Likewise.
26846         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
26847         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26848         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
26849         (_FP_MUL_MEAT_2_gmp): Likewise.
26850         (_FP_DIV_MEAT_2_udiv): Likewise.
26851         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
26852         (_FP_FRAC_SRL_4): Likewise.
26853         (_FP_FRAC_SRST_4): Likewise.
26854         (_FP_FRAC_SRS_4): Likewise.
26855         (_FP_UNPACK_RAW_4): Likewise.
26856         (_FP_UNPACK_RAW_4_P): Likewise.
26857         (_FP_PACK_RAW_4): Likewise.
26858         (_FP_PACK_RAW_4_P): Likewise.
26859         (_FP_MUL_MEAT_DW_4_wide): Likewise.
26860         (_FP_MUL_MEAT_4_wide): Likewise.
26861         (_FP_MUL_MEAT_4_gmp): Likewise.
26862         (umul_ppppmnnn): Likewise.
26863         (_FP_DIV_MEAT_4_udiv): Likewise.
26864         (__FP_FRAC_ADD_4): Likewise.
26865         (__FP_FRAC_SUB_3): Likewise.
26866         (__FP_FRAC_SUB_4): Likewise.
26867         (__FP_FRAC_DEC_3): Likewise.
26868         (__FP_FRAC_DEC_4): Likewise.
26869         (__FP_FRAC_ADDI_4): Likewise.
26870         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
26871         (_FP_FRAC_SRL_8): Likewise.
26872         (_FP_FRAC_SRS_8): Likewise.
26874         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
26875         include macro name.
26876         (FP_UNPACK_RAW_EP): Likewise.
26877         (FP_PACK_RAW_E): Likewise.
26878         (FP_PACK_RAW_EP): Likewise.
26879         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
26880         (_FP_ISSIGNAN): Likewise.
26881         (_FP_ADD_INTERNAL): Likewise.
26882         (_FP_FMA): Likewise.
26883         (_FP_CMP): Likewise.
26884         (_FP_SQRT): Likewise.
26885         (_FP_TO_INT): Likewise.
26886         (_FP_FROM_INT): Likewise.
26887         (FP_EXTEND): Likewise.
26888         (_FP_DIV_MEAT_N_loop): Likewise.
26890 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26892         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
26893         throughout.
26895 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
26897         [BZ #17097]
26898         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
26899         result with correct sign in case of exponents that produce
26900         overflow except for X very close to 1.
26902 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
26904         mktime: merge #if/#ifdef usage from glibc
26905         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
26906         as that works with both Glibc's and Gnulib's style.
26907         See thread starting at Siddhesh Poyarekar's bug report at:
26908         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
26910 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26912         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
26913         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
26914         * sysdeps/tile/tilegx/memmove.c: Remove file.
26916 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26918         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
26919         abi-name definition.
26920         * scripts/soversions.awk: Do not handle or generate ABI lines.
26921         * shlib-versions: Remove ABI entries.
26922         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
26923         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
26925 2014-06-27  Roland McGrath  <roland@hack.frob.com>
26927         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
26928         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
26929         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
26930         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
26931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
26932         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
26933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
26934         Moved ...
26935         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
26936         ... here.
26937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
26938         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
26939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
26940         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
26941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
26942         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
26943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
26944         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
26945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
26946         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
26947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
26948         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
26949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26950         Moved ...
26951         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
26952         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
26953         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
26954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
26955         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
26956         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
26957         Moved ...
26958         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
26959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
26960         Moved ...
26961         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
26962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
26963         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
26964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
26965         Moved ...
26966         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
26967         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
26968         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
26969         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
26970         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
26971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
26972         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
26973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
26974         Moved ...
26975         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
26976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
26977         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
26978         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
26979         Moved ...
26980         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
26981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
26982         Moved ...
26983         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
26984         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
26985         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
26986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
26987         Moved ...
26988         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
26989         ... here.
26990         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
26991         Identical file removed.
26992         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
26993         Moved ...
26994         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
26995         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
26996         Identical file removed.
26997         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
26998         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
26999         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
27000         Moved ...
27001         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
27002         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
27003         Identical file removed.
27004         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
27005         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
27006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
27007         Identical file removed.
27008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
27009         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
27010         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
27011         Identical file removed.
27012         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
27013         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
27014         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
27015         Identical file removed.
27016         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
27017         Moved ...
27018         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
27019         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
27020         Identical file removed.
27021         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
27022         Moved ...
27023         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
27024         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
27025         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
27026         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
27027         Identical file removed.
27028         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
27029         Moved ...
27030         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
27031         ... here.
27032         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
27033         Identical file removed.
27034         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
27035         Moved ...
27036         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
27037         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
27038         Identical file removed.
27039         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
27040         Moved ...
27041         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
27042         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
27043         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
27044         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
27045         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
27046         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
27047         Moved ...
27048         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
27049         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
27050         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
27052         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
27053         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
27054         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
27055         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
27056         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
27058 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
27060         [BZ #17092]
27061         * nscd/nscd.c (monitor_child): Return exit status of child
27062         instead of return value from wait syscall.
27064 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27066         * configure.ac (libc_commonpagesize): Remove variable.
27067         (libc_relro_required): Likewise.
27068         (libc_cv_z_relro): Remove configure test.
27069         * configure: Regenerated.
27070         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
27071         variable.
27072         (libc_relro_required): Likewise.
27073         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
27074         (libc_relro_required): Likewise.
27075         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27076         (libc_relro_required): Likewise.
27077         * sysdeps/arm/preconfigure: Regenerated.
27078         * sysdeps/ia64/preconfigure: Remove file.
27079         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
27080         variable.
27081         (libc_relro_required): Likewise.
27083         [BZ #16561]
27084         [BZ #16562]
27085         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
27086         (__ieee754_yn): Set FE_TONEAREST mode internally and then
27087         recompute overflowing results in original rounding mode.
27088         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
27089         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27090         recompute overflowing results in original rounding mode.
27091         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
27092         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27093         recompute overflowing results in original rounding mode.
27094         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
27095         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27096         recompute overflowing results in original rounding mode.
27097         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
27098         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27099         recompute overflowing results in original rounding mode.
27100         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
27101         (libc_feholdsetround_ctx): New macro.
27102         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
27103         * sysdeps/i386/fpu/libm-test-ulps: Update.
27104         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
27106 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27108         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27109         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
27110         corresponding .cpsetup call.
27112 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27114         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
27115         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
27116         * sysdeps/arm/Makefile [$(subdir) = csu]
27117         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
27118         (static-only-routines): Add aeabi_read_tp here.
27119         (shared-only-routines): Add libc-aeabi_read_tp here.
27120         (CFLAGS-libc-start.c): Add -fexceptions here.
27121         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
27122         (sysdep_routines, static-only-routines, shared-only-routines):
27123         Don't add to these here.
27124         (CFLAGS-libc-start.c): Likewise.
27126         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27127         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27128         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27129         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27130         * sysdeps/arm/Makefile [$(subdir) = rt]
27131         (librt-sysdep_routines, librt-shared-only-routines):
27132         Append rt-aeabi_unwind_cpp_pr1 here.
27133         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27134         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27135         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27136         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27137         Append nptl-aeabi_unwind_cpp_pr1 here.
27138         (tests): Filter out tst-cleanupx4 here.
27139         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27140         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27141         Don't do those here.
27143 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27145         * scripts/list-sources.sh: Do not handle ports specially.
27147 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27149         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27150         * sysdeps/arm/feupdateenv.c: Likewise.
27152         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27154 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27156         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27157         trailing whitespace removed.
27158         * scripts/config.guess: Update to version 2014-03-23.
27159         * scripts/config.sub: Update to version 2014-05-01
27160         * scripts/install-sh: Update to version 2013-12-25.23.
27161         * scripts/move-if-change: Update from gnulib.
27163 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27165         * debug/memmove_chk.c: Remove pagecopy.h include.
27167 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27169         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27170         identical to gnulib mktime.
27172 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27174         * configure.ac: Do not test for machine being rs6000.  Do not test
27175         for powerpc*-*soft.
27176         * configure: Regenerated.
27178         [BZ #11505]
27179         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27180         test.
27181         * configure: Regenerated.
27182         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27183         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27184         Remove configure test.
27185         * sysdeps/arm/configure: Regenerated.
27186         * sysdeps/nptl/configure.ac: Do not check
27187         libc_cv_asm_cfi_directives.
27188         * sysdeps/nptl/configure: Regenerated.
27189         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27190         * sysdeps/x86_64/nptl/configure: Remove generated file.
27191         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27192         unconditional.
27193         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27195 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27197         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27198         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27199         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27200         it is defined.
27202         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27203         instead of whether it is defined.
27204         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27205         * sysdeps/hppa/dl-machine.h: Likewise.
27206         * sysdeps/ia64/dl-machine.h: Likewise.
27207         * sysdeps/m68k/dl-machine.h: Likewise.
27208         * sysdeps/microblaze/dl-machine.h: Likewise.
27209         * sysdeps/mips/dl-machine.: Likewise.
27210         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27211         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27212         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27213         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27214         * sysdeps/sh/dl-machine.h: Likewise.
27215         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27216         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27217         * sysdeps/tile/dl-machine.h: Likewise.
27218         * sysdeps/x86_64/dl-machine.h: Likewise.
27220         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27221         code.
27222         (verify_persistent_db): Likewise.
27224 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27227         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27229         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27231         Moved ...
27232         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27233         ... here.
27234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27235         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27237         Identical file removed.
27238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27239         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27241         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27243         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27245         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27247         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27249         Moved ...
27250         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27252         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27254         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27256         Moved ...
27257         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27259         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27261         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27263         Identical file removed.
27264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27265         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27267         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27269         Moved ...
27270         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27271         ... here.
27272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27273         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27275         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27277         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27279         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27281         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27283         Moved ...
27284         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27286         Moved ...
27287         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27289         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27291         Moved ...
27292         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27294         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27296         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27297         folded into ...
27298         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27299         * sysdeps/unix/sysv/linux/s390/Versions
27300         (libpthread: GLIBC_2.19): New version set.
27301         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27302         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27303         (librt: GLIBC_2.3.3): New version set.
27304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27305         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27306         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27307         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27308         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27309         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27310         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27311         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27312         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27313         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27314         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27315         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27316         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27317         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27318         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27319         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27320         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27321         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27322         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27323         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27324         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27325         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27326         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27327         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27328         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27329         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27330         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27331         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27332         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27333         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27334         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27335         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27336         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27337         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27339         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27340         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27341         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27342         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27343         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27344         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27346         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27348         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27350         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27351         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27352         (__libc_vfork): Define the function under this name.
27353         [!NOT_IN_libc] (__vfork): Make this an alias.
27354         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27355         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27356         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27357         (__libc_vfork): Define the function under this name.
27358         [!NOT_IN_libc] (__vfork): Make this an alias.
27359         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27360         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27361         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27362         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27363         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27364         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27366         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27367         code that was previously under [RESET_PID].
27368         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27369         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27370         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27372         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27373         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27374         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27375         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27376         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27377         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27378         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27379         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27380         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27381         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27382         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27383         Moved ...
27384         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27385         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27386         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27387         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27388         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27389         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27390         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27391         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27392         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27393         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27394         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27395         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27396         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27397         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27398         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27399         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27400         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27401         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27402         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27403         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27404         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27405         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27406         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27407         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27408         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27409         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27410         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27411         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27412         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27414 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27416         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27417         that was previously under [RESET_PID].
27418         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27420 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27422         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27423         not undefine and redefine.
27424         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27425         [O_CLOEXEC]: Make code unconditional.
27426         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27427         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27428         <kernel-features.h>.
27429         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27430         conditional variable definition.
27431         (shm_open) [O_CLOEXEC]: Make code unconditional.
27432         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27433         code.
27435         * configure.ac (USE_REGPARMS): Don't define here.
27436         * configure: Regenerated.
27437         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27438         * sysdeps/i386/configure: Regenerated.
27440         * nptl/createthread.c: Don't include kernel-features.h.
27441         * nptl/pthread_cancel.c: Likewise.
27442         * nptl/pthread_condattr_setclock.c: Likewise.
27443         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27444         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27445         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27446         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27447         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27448         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27449         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27450         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27451         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27452         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27453         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27454         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27455         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27456         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27457         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27458         * nscd/gai.c: Likewise.
27459         * nss/nss_db/db-open.c: Likewise.
27460         * sysdeps/generic/ldsodefs.h: Likewise.
27461         * sysdeps/sh/nptl/tls.h: Likewise.
27462         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27463         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27464         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27465         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27466         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27467         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27468         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27469         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27470         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27471         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27472         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27473         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27474         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27475         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27476         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27477         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27478         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27479         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27480         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27481         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27483         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27484         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27485         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27486         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27487         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27489         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27490         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27491         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
27492         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
27493         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
27494         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
27495         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27496         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27497         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27498         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27499         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
27500         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
27501         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27502         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27503         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
27504         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
27505         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27506         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
27507         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27508         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27509         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27510         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27511         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27512         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27513         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27514         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27515         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27516         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27517         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27518         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27519         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
27528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
27531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
27532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
27533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
27534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
27540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
27541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
27542         * sysdeps/unix/sysv/linux/pread.c: Likewise.
27543         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
27544         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
27545         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
27546         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
27547         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
27548         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
27549         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
27550         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
27551         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
27552         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
27553         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
27554         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
27555         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
27556         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
27557         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
27558         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27559         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
27560         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
27561         * sysdeps/unix/sysv/linux/system.c: Likewise.
27562         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
27563         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27564         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27565         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27566         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27567         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27568         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27570         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
27571         * configure: Regenerated.
27572         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
27574         * configure.ac (base_machine): Do not set specially for particular
27575         machines here.
27576         * configure: Regenerated.
27577         * sysdeps/powerpc/preconfigure: Move machine and base_machine
27578         settings from configure.ac.
27579         * sysdeps/i386/preconfigure: New file.
27580         * sysdeps/s390/preconfigure: Likewise.
27581         * sysdeps/sh/preconfigure: Likewise.
27582         * sysdeps/sparc/preconfigure: Likewise.
27584 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27586         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
27587         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
27588         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
27589         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
27590         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
27591         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
27592         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
27593         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
27594         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
27595         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
27596         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
27597         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
27598         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
27599         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
27600         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
27601         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
27602         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
27603         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
27604         * sysdeps/sparc/sparc64/Makefile: ... appended here.
27606         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
27607         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
27608         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
27609         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
27610         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
27611         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
27612         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
27613         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
27614         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
27615         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
27616         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
27617         * sysdeps/sparc/sparc32/sem_post.c: ... here.
27618         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
27619         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
27620         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
27621         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
27622         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
27623         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
27624         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
27625         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
27626         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
27627         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
27628         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
27629         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
27630         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
27631         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
27632         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
27633         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
27634         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
27635         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
27636         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
27637         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
27638         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
27639         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
27640         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
27641         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
27642         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
27643         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
27645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
27646         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
27647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
27648         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
27649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27650         Moved ...
27651         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
27652         ... here.
27653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
27654         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
27655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
27656         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
27657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
27658         Moved ...
27659         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
27660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
27661         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
27662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
27663         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
27664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
27665         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
27666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27667         Moved ...
27668         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
27669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27670         Moved ...
27671         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
27672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
27673         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
27674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27675         Moved ...
27676         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
27677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
27678         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
27679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
27680         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
27681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
27682         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
27683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
27684         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
27685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27686         Moved ...
27687         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
27688         ... here.
27689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
27690         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
27691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
27692         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
27693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
27694         Moved ...
27695         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
27696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
27697         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
27698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
27699         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
27700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
27701         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
27702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27703         Moved ...
27704         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
27705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27706         Moved ...
27707         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
27708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
27709         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
27710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27711         Moved ...
27712         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
27713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
27714         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
27715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
27716         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
27718 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27720         * timezone/checktab.awk: Update from tzcode 2014e.
27721         * timezone/private.h: Likewise.
27722         * timezone/tzfile.h: Likewise.
27723         * timezone/zdump.c: Likewise.
27724         * timezone/zic.c: Likewise.
27726         * sysdeps/unix/sysv/linux/kernel-features.h
27727         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
27728         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
27729         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
27730         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27731         Remove conditional code.
27733 2014-06-25  Will Newton  <will.newton@linaro.org>
27735         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
27736         (_dl_arm_cap_flags): Add HWCAP2 values.
27737         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
27738         (_DL_HWCAP_COUNT): Increase to 37.
27739         (_DL_HWCAP_LAST): New define.
27740         (_DL_HWCAP2_LAST): New define.
27741         (_dl_procinfo): Add support for printing
27742         AT_HWCAP2 entries.
27743         (_dl_string_hwcap): Use _dl_hwcap_string.
27745 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27749 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27751         * README: Do not mention ports directory.
27753         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
27754         Remove macro.
27755         * sysdeps/unix/sysv/linux/futimes.c: Do not include
27756         <kernel-features.h>.
27757         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
27758         conditional variable definition.
27759         (__futimes): Update comment.
27760         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
27761         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
27763         [BZ #16560]
27764         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
27765         arguments close to 0.
27766         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
27767         Likewise.
27768         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
27769         Likewise.
27770         * math/auto-libm-test-in: Add more tests of exp10.
27771         * math/auto-libm-test-out: Regenerated.
27772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27774         * sysdeps/unix/sysv/linux/kernel-features.h
27775         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
27776         * sysdeps/unix/sysv/linux/readv.c: Do not include
27777         <kernel-features.h>.
27778         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27779         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27780         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27781         unconditional.
27782         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27783         conditional code.
27784         * sysdeps/unix/sysv/linux/writev.c: Do not include
27785         <kernel-features.h>.
27786         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27787         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27788         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27789         unconditional.
27790         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27791         conditional code.
27793 2014-06-25  Will Newton  <will.newton@linaro.org>
27795         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
27796         comment changes throughout the file.  Remove checks
27797         for HAVE_*_H definitions that are not required.
27798         (__gen_tempname): Call abort if an unknown kind value is
27799         passed.
27801 2014-06-25  Andreas Schwab  <schwab@suse.de>
27803         [BZ #17086]
27804         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
27805         scalbln, scalblnf, scalblnl in libc.
27807 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27809         [BZ #17086]
27810         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
27811         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27812         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27814 2014-06-24  Roland McGrath  <roland@hack.frob.com>
27816         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
27817         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
27818         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
27819         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
27820         Update #include.
27821         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
27822         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
27823         Update #include.
27824         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
27825         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
27826         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
27827         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
27828         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
27829         * sysdeps/x86/bits/pthreadtypes.h: ... here.
27830         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
27831         * sysdeps/x86/bits/semaphore.h: ... here.
27832         * sysdeps/x86/nptl/elide.h: Moved ...
27833         * sysdeps/x86/elide.h: ... here.
27834         * sysdeps/x86_64/nptl/Implies: File removed.
27835         * sysdeps/i386/nptl/Implies: File removed.
27837 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
27839         [BZ #16539]
27840         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
27841         return the argument for normal arguments with exponent below -64.
27842         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27843         Likewise.
27844         * math/auto-libm-test-in: Add another test of expm1.
27845         * math/auto-libm-test-out: Regenerated.
27847         [BZ #16287]
27848         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
27849         calling __erfcl for arguments at least 16.
27850         * math/auto-libm-test-in: Add more tests of erf.
27851         * math/auto-libm-test-out: Regenerated.
27853         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
27854         individual architectures.
27855         * sysdeps/unix/sysv/linux/configure: Regenerated.
27856         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
27857         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
27858         * sysdeps/unix/sysv/linux/powerpc/configure.ac
27859         (ldd_rewrite_script): Define variable.
27860         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
27862         file.
27863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
27864         generated file.
27865         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
27866         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
27867         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
27868         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
27869         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
27870         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
27871         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
27872         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
27874 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27876         [BZ #17084]
27877         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
27878         Rename member __data.d to __data.__elision_data.
27880 2014-06-24  Wilco  <wdijkstr@arm.com>
27882         * NEWS: Add 16918 to fixed bug list.
27884 2014-06-24  Wilco  <wdijkstr@arm.com>
27886         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
27888 2014-06-24  Wilco  <wdijkstr@arm.com>
27890         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
27891         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
27892         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
27893         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
27894         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
27895         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
27896         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
27897         Use _FPU_MASK_RM.
27899 2014-06-24  Wilco  <wdijkstr@arm.com>
27901         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
27903 2014-06-24  Wilco  <wdijkstr@arm.com>
27905         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27906         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
27907         * sysdeps/arm/fesetround.c (fesetround): Remove space.
27908         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
27910 2014-06-24  Wilco  <wdijkstr@arm.com>
27912         [BZ #16918]
27913         * sysdeps/arm/feupdateenv.c (feupdateenv):
27914         Rewrite to reduce FPSCR accesses and fix return value.
27916 2014-06-24  Wilco  <wdijkstr@arm.com>
27918         * sysdeps/arm/fclrexcpt.c (feclearexcept):
27919         Optimize to avoid unnecessary FPSCR writes.
27920         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
27921         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
27922         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
27923         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
27925 2014-06-24  Wilco  <wdijkstr@arm.com>
27927         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
27928         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
27929         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
27930         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
27931         Call libc_fetestexcept_vfp.
27932         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
27933         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
27934         __SOFTFP__ ifdef so that they can be built for softfp.
27936 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27938         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
27939         argument type signed char.
27941         * Makerules (check-abi): Dump diff of symlist if the test
27942         fails.
27944 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27946         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
27947         using abort.
27949         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27950         Remove unused variable ST.
27952 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27954         [BZ #16354]
27955         [BZ #17061]
27956         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
27957         small arguments before calling __expm1.
27958         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
27959         small arguments before calling __expm1f.
27960         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
27961         small arguments before calling __expm1l.
27962         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27963         Likewise.
27964         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
27965         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
27966         spurious underflow for some cosh tests.
27967         * math/auto-libm-test-out: Regenerated.
27968         * sysdeps/i386/fpu/libm-test-ulps: Update.
27970         [BZ #17050]
27971         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
27972         (__ieee754_y1): Set errno if return value overflows.
27973         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
27974         (__ieee754_y1f): Set errno if return value overflows.
27975         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
27976         (__ieee754_y1l): Set errno if return value overflows.
27977         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
27978         (__ieee754_y1l): Set errno if return value overflows.
27979         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
27980         * math/auto-libm-test-out: Regenerated.
27982         * math/gen-auto-libm-tests.c: Document use of
27983         ignore-zero-inf-sign.
27984         (input_flag_type): Add value flag_ignore_zero_inf_sign.
27985         (input_flags): Add ignore-zero-inf-sign.
27986         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
27987         * math/gen-libm-test.pl (generate_testfile): Handle
27988         ignore-zero-inf-sign.
27989         * math/auto-libm-test-in: Mark some cpow tests with
27990         ignore-zero-inf-sign and some with xfail-rounding.
27991         * math/auto-libm-test-out: Regenerated.
27992         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
27993         * sysdeps/i386/fpu/libm-test-ulps: Update.
27994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27996         [BZ #16315]
27997         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
27998         overflowing or underflowing operations take place with sign of
27999         result.
28000         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28001         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28002         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
28003         (__ieee754_pow): Recompute overflowing and underflowing results in
28004         original rounding mode.
28005         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
28006         (__powl_helper): Allow negative argument X and scale negated value
28007         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
28008         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
28009         overflowing or underflowing operations take place with sign of
28010         result.
28011         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
28012         Include <math.h>.
28013         * math/auto-libm-test-in: Add more tests of pow.
28014         * math/auto-libm-test-out: Regenerated.
28015         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
28016         (pow_tonearest_test_data): Remove.
28017         (pow_test_tonearest): Likewise.
28018         (pow_towardzero_test_data): Likewise.
28019         (pow_test_towardzero): Likewise.
28020         (pow_downward_test_data): Likewise.
28021         (pow_test_downward): Likewise.
28022         (pow_upward_test_data): Likewise.
28023         (pow_test_upward): Likewise.
28024         (main): Don't call removed functions.
28025         * sysdeps/i386/fpu/libm-test-ulps: Update.
28026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28028 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
28031         Moved ...
28032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
28033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28034         Moved ...
28035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
28036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28037         Moved ...
28038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
28039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28040         Moved ...
28041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
28042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28043         File removed.
28044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28045         File removed.
28046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
28047         File removed.
28048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
28049         File removed.
28050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
28051         File removed.
28052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
28053         File removed.
28054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
28055         File removed.
28056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28057         File removed.
28058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
28059         File removed.
28060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28061         File removed.
28062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
28063         File removed.
28064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
28065         File removed.
28066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
28067         Moved ...
28068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
28069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
28070         Moved ...
28071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
28072         ... here.
28073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
28074         Moved ...
28075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
28076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
28077         Moved ...
28078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
28079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
28080         Moved ...
28081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
28082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
28083         Moved ...
28084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
28085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
28086         Moved ...
28087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
28088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
28089         Moved ...
28090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
28091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
28092         Moved ...
28093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
28094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
28095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
28096         ... here.
28097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
28098         Moved ...
28099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
28100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28101         Moved ...
28102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28103         ... here.
28104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
28105         Moved ...
28106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28107         ... here.
28108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28109         Moved ...
28110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28111         ... here.
28112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28113         Moved ...
28114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
28115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28116         Moved ...
28117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
28118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
28119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
28120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28121         Moved ...
28122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
28123         ... here.
28124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28125         Moved ...
28126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28127         ... here.
28128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28129         Moved ...
28130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28132         Moved ...
28133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28135         Moved ...
28136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28138         Moved ...
28139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28141         Moved ...
28142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28143         ... here.
28144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28145         Moved ...
28146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28148         Moved ...
28149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28151         Moved ...
28152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28154         Moved ...
28155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28159         Moved ...
28160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28162         Moved ...
28163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28165         Moved ...
28166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28167         ... here.
28168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28169         Moved ...
28170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28171         ... here.
28172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28173         Moved ...
28174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28175         ... here.
28176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28177         Moved ...
28178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28180         Moved ...
28181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28183         Moved ...
28184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28186         Moved ...
28187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28188         ... here.
28189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28190         Moved ...
28191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28192         ... here.
28193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28194         Moved ...
28195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28196         ... here.
28197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28198         Moved ...
28199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28201         Moved ...
28202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28204 2014-06-23  Will Newton  <will.newton@linaro.org>
28205             Wilco  <wdijkstr@arm.com>
28207         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28208         implementation.  Include get-rounding-mode.h.
28209         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28210         [!libc_feholdsetround_noex_ctx]: Define
28211         libc_feholdsetround_noex_ctx.
28212         [!libc_feholdsetround_noexf_ctx]: Define
28213         libc_feholdsetround_noexf_ctx.
28214         [!libc_feholdsetround_noexl_ctx]: Define
28215         libc_feholdsetround_noexl_ctx.
28216         (libc_feholdsetround_ctx): New function.
28217         (libc_feresetround_ctx): New function.
28218         (libc_feholdsetround_noex_ctx): New function.
28219         (libc_feresetround_noex_ctx): New function.
28221 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28223         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28224         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28225         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28226         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28227         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28228         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28230         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28231         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28232         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28233         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28234         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28235         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28236         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28237         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28238         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28239         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28240         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28241         Moved ...
28242         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28243         ... here.
28244         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28245         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28246         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28247         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28248         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28249         Moved ...
28250         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28251         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28252         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28253         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28254         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28255         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28256         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28257         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28258         Moved ...
28259         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28260         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28261         Moved ...
28262         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28263         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28264         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28265         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28266         Moved ...
28267         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28268         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28269         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28270         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28271         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28272         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28273         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28274         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28275         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28276         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28277         Moved ...
28278         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28279         ... here.
28280         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28281         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28282         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28283         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28284         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28285         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28286         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28287         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28288         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28289         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28290         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28291         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28292         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28293         Moved ...
28294         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28295         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28296         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28297         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28298         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28299         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28300         Moved ...
28301         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28302         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28303         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28304         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28305         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28307         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28308         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28309         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28310         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28311         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28312         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28313         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28314         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28315         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28316         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28317         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28318         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28319         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28320         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28321         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28322         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28323         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28324         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28325         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28326         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28327         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28328         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28329         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28330         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28331         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28332         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28333         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28334         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28336 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28338         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28339         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28340         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28341         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28342         (IPV6_PMTUDISC_INTERFACE): Likewise.
28343         (IPV6_PMTUDISC_OMIT): Likewise.
28345 2014-06-23  Andreas Schwab  <schwab@suse.de>
28347         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28348         Remove unused errout label.
28350 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28352         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28353         macro: hardware supports Vector Crypto instructions.
28355 2014-06-23  Will Newton  <will.newton@linaro.org>
28357         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28358         rather than __builtin_expect.
28360         * elf/dl-lookup.c (undefined_msg): Remove variable.
28361         (_dl_lookup_symbol_x): Replace undefined_msg with string
28362         literal.
28364         * elf/dl-lookup.c (do_lookup_unique): New function.
28365         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28366         to a separate function.
28368 2014-06-23  Andreas Schwab  <schwab@suse.de>
28370         [BZ #17079]
28371         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28372         before reading the next line.
28374 2014-06-23  Will Newton  <will.newton@linaro.org>
28376         * test-skeleton.c (signal_handler): Use printf and %m
28377         rather than perror.  Use printf rather than fprintf to
28378         stderr.  Use puts rather than fputs to stderr.
28379         (main): Likewise.
28381 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28383         * nscd/nscd.c (thread_info_t): Remove typedef.
28384         (thread_info): Remove variable.
28386 2014-06-21  Allan McRae  <allan@archlinux.org>
28388         * NEWS: Mention CVE-2014-4043.
28390 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28392         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28393         * nptl/smp.h: ... here.
28395         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28397         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28398         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28399         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28400         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28402         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28403         * nptl/stack-aliasing.h: New file.
28404         * sysdeps/i386/i686/stack-aliasing.h: New file.
28405         * sysdeps/i386/i686/nptl/Makefile: File removed.
28406         * sysdeps/x86_64/stack-aliasing.h: New file.
28407         * sysdeps/x86_64/nptl/Makefile
28408         (CFLAGS-pthread_create.c): Variable removed.
28410         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28411         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28412         old file.
28413         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28414         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28415         old file.
28417 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28419         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28420         (__ASSUME_SIGFRAME_V2): Remove macro.
28421         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28422         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28423         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28424         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28425         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28426         Declare as function.  Remove conditional macro definitions.
28427         (__default_rt_sa_restorer): Likewise.
28428         (__default_sa_restorer_v1): Remove declaration.
28429         (__default_sa_restorer_v2): Likewise.
28430         (__default_rt_sa_restorer_v1): Likewise.
28431         (__default_rt_sa_restorer_v2): Likewise.
28432         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28433         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28434         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28436 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28438         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28439         (libpthread-routines): Add sysdep.
28440         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28441         * sysdeps/unix/sysv/linux/sparc/Versions
28442         (libpthread: GLIBC_2.3.3): New version set.
28443         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28444         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28445         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28446         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28447         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28448         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28449         Moved ...
28450         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28451         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28452         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28453         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28454         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28455         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28456         * sysdeps/sparc/nptl/sem_init.c: ... here.
28457         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28458         * sysdeps/sparc/nptl/sem_post.c: ... here.
28459         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28460         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28461         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28462         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28463         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28464         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28465         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28466         (libpthread-routines): Add cpu_relax.
28467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28468         File removed.
28469         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28470         (librt: GLIBC_2.3.3): New version set.
28471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28472         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28473         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28474         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28477         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28479         Moved ...
28480         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28482         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28484         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28486         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28488         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28490         Moved ...
28491         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
28492         Update #include.
28493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
28494         Moved ...
28495         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
28496         Update #include.
28497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
28498         Moved ...
28499         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
28500         Update #include.
28501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
28502         Moved ...
28503         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
28504         Update #include.
28505         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
28506         Moved ...
28507         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28508         Update #include.
28509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28510         Moved ...
28511         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28512         Update #include.
28513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28514         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28516         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28518         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28520         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28522         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28524         Moved ...
28525         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28527         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
28528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
28529         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
28531 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28533         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
28534         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
28535         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28536         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
28537         * nscd/nscd.c: Likewise.
28538         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
28539         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
28540         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
28541         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
28543         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
28544         <kernel-features.h>.
28545         (init_mq_netlink): Remove conditional have_sock_cloexec
28546         definitions.  Remove code conditional on have_sock_cloexec < 0.
28547         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
28548         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
28549         * sysdeps/unix/sysv/linux/opensock.c: Do not include
28550         <kernel-features.h>.
28551         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
28552         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
28554 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28557         Add tests for memset_chk and memset.
28559         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
28560         with AVX2_Usable.
28562 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28564         [BZ #16046]
28565         * elf/tst-dl-iter-static.c: New file.
28566         * elf/Makefile (tests-static): Add tst-dl-iter-static.
28568         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
28569         error.
28571 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28573         * sysdeps/unix/sysv/linux/kernel-features.h
28574         (__ASSUME_F_GETOWN_EX): Remove macro.
28575         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
28576         <kernel-features.h>.
28577         (miss_F_GETOWN_EX): Remove variable or macro.
28578         (do_fcntl): Do not check miss_F_GETOWN_EX.
28579         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
28581         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
28582         Remove macro.
28583         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
28584         [!__ASSUME_AT_RANDOM]: Remove conditional code.
28585         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
28587         * sysdeps/unix/sysv/linux/kernel-features.h
28588         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
28589         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
28590         [ADJ_OFFSET_SS_READ]: Make code unconditional.
28591         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
28593 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28595         [BZ #17075]
28596         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
28597         Fix calculation of the symbol's value.
28598         * sysdeps/arm/tst-armtlsdescloc.c: New file.
28599         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
28600         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
28601         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
28602         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
28603         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
28604         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
28605         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
28606         (modules-names): Add `tst-armtlsdescmod',
28607         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
28608         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
28609         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28610         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
28611         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
28612         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28613         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
28614         ($(objpfx)tst-armtlsdescloc): New dependency.
28615         ($(objpfx)tst-armtlsdescextnow): Likewise.
28616         ($(objpfx)tst-armtlsdescextlazy): Likewise.
28617         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
28618         TLS scheme support.
28619         * sysdeps/arm/configure: Regenerate.
28621 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28623         * include/fcntl.h (__atfct_seterrno): Remove prototype.
28624         (__atfct_seterrno_2): Likewise.
28625         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
28626         <kernel-features.h>.
28627         (__ASSUME_ATFCTS): Do not undefine and redefine.
28628         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
28629         (__have_atfcts): Remove conditional definition.
28630         (__fxstatat([__NR_fstatat64]: Make code unconditional.
28631         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
28632         unreachable if [__ASSUME_ATFCTS].
28633         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
28634         not undefine and redefine.
28635         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
28636         <kernel-features.h>.
28637         (faccessat) [__NR_faccessat]: Make code unconditional.
28638         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
28639         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
28640         <kernel-features.h>.
28641         (fchmodat) [__NR_fchmodat]: Make code unconditional.
28642         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28643         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
28644         <kernel-features.h>.
28645         (fchownat) [__NR_fchownat]: Make code unconditional.
28646         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
28647         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
28648         <kernel-features.h>.
28649         (futimesat) [__NR_futimesat]: Make code unconditional.
28650         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
28651         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28652         <kernel-features.h>.
28653         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28654         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28655         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28656         <kernel-features.h>.
28657         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
28658         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28659         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
28660         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28661         <kernel-features.h>.
28662         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
28663         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28664         * sysdeps/unix/sysv/linux/linkat.c: Do not include
28665         <kernel-features.h>.
28666         (linkat) [__NR_linkat]: Make code unconditional.
28667         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28668         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
28669         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
28670         <kernel-features.h>.
28671         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
28672         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28673         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
28674         <kernel-features.h>.
28675         (mkdirat) [__NR_mkdirat]: Make code unconditional.
28676         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
28677         * sysdeps/unix/sysv/linux/openat.c: Do not include
28678         <kernel-features.h>.
28679         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
28680         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
28681         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
28682         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
28683         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
28684         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
28685         <kernel-features.h>.
28686         (readlinkat) [__NR_readlinkat]: Make code unconditional.
28687         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
28688         result of INLINE_SYSCALL directly, not via int variable.
28689         * sysdeps/unix/sysv/linux/renameat.c: Do not include
28690         <kernel-features.h>.
28691         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
28692         (renameat) [__NR_renameat]: Make code unconditional.
28693         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
28694         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
28695         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
28696         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
28697         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
28698         (__ASSUME_ATFCTS): Do not undefine and redefine.
28699         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
28700         <kernel-features.h>.
28701         (symlinkat) [__NR_symlinkat]: Make code unconditional.
28702         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28703         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
28704         <kernel-features.h>.
28705         (unlinkat) [__NR_unlinkat]: Make code unconditional.
28706         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28707         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
28708         (__ASSUME_ATFCTS): Do not undefine and redefine.
28709         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28710         <kernel-features.h>.
28711         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28712         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28713         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28714         <kernel-features.h>.
28715         (__xmknodat) [__NR_mknodat]: Make code unconditional.
28716         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28718 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28720         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
28722 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
28724         [BZ #17069]
28725         * posix/regcomp.c (parse_reg_exp): Deallocate partially
28726         constructed tree before returning error.
28727         * posix/bug-regexp36.c: Expand test case.
28729 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28731         [BZ #6803]
28732         * math/libm-test.inc (scalbln_test_date):
28733         Add errno expectations.
28734         * math/w_scalblnf.c: New File.
28735         Add wrapper which checks for setting errno to ERANGE.
28736         Add weak_alias for corresponding scalbln function.
28737         * math/w_scalbln.c: Likewise.
28738         * math/w_scalblnl.c: Likewise.
28739         * math/Makefile (libm-calls): Add w_scalbln.
28740         * sysdeps/ieee754/flt-32/s_scalblnf.c:
28741         Remove weak_alias for corresponding scalbln function.
28742         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28743         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28744         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28745         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28746         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28747         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28748         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
28749         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28750         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
28751         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
28752         Remove long_double_symbol for scalblnl function in libm, libc.
28753         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
28754         Add wrapper which checks for setting errno to ERANGE.
28755         Add long_double_symbol for scalblnl function in libm, libc.
28756         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
28757         Remove long_double_symbol for scalblnl in libm.
28758         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
28759         Add wrapper which checks for setting errno to ERANGE.
28760         Add long_double_symbol for scalblnl function in libm.
28761         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
28762         Do not use wrapper because of own implementation.
28764 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
28766         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
28767         3 bytes for __pad1 for x32.
28768         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
28770 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
28771             H.J. Lu  <hongjiu.lu@intel.com>
28773         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
28774         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
28775         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28776         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28777         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28779 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
28781         [BZ #17069]
28782         * posix/regcomp.c (parse_expression): Deallocate partially
28783         constructed tree before returning error.
28784         * posix/Makefile.c (tests): Add bug-regex36.
28785         (generated): Add bug-regex36.mtrace.
28786         (tests-special): Add $(objpfx)bug-regex36-mem.out
28787         (bug-regex36-ENV): New variable.
28788         ($(objpfx)bug-regex36-mem.out): New rule.
28789         * posix/bug-regex36.c: New file.
28791 2014-06-19  Will Newton  <will.newton@linaro.org>
28793         * malloc/malloc.c (systrim): If extra is zero then return
28794         early.
28796 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28798         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
28800 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
28802         * sysdeps/aarch64/strchr.S: New file.
28804 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28806         [BZ #17022]
28807         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
28808         from arguments -2 or below.
28809         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28810         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
28812 2014-06-18  Andreas Schwab  <schwab@suse.de>
28814         [BZ #17062]
28815         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
28816         of a bracket expr not to run off the end of the string.
28817         * posix/Makefile (tests): Add tst-fnmatch3.
28818         * posix/tst-fnmatch3.c: New file.
28820 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28822         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
28823         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28824         [$(cross-compiling) = no]: Likewise.
28825         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28826         [$(cross-compiling) = no]: Likewise.
28828 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28830         [BZ #17031]
28831         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
28832         double, adjusted for any remainder from the high double.
28833         * math/libm-test.inc (nearbyint): Add tests.
28834         (rint): Likewise.
28836 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28838         * nptl/sysdeps/powerpc/Makefile: Moved ...
28839         * sysdeps/powerpc/nptl/Makefile: ... here.
28840         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
28841         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
28842         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
28843         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
28844         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
28845         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
28846         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
28847         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
28848         * nptl/sysdeps/powerpc/tls.h: Moved ...
28849         * sysdeps/powerpc/nptl/tls.h: ... here.
28851 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
28853         [BZ #16681]
28854         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
28855         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
28856         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
28857         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
28858         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
28859         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
28860         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
28861         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
28862         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
28864 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
28866         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28868 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
28870         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
28871         defined operator.
28873         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
28874         $TIMEOUTFACTOR.
28876 2014-06-16  Florian Weimer  <fweimer@redhat.com>
28878         [BZ #17058]
28879         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
28880         non-executed part of the test.
28882 2014-06-16  Andreas Schwab  <schwab@suse.de>
28884         * string/bits/string2.h (strdup, strndup): Update feature guard.
28886 2014-06-14  David S. Miller  <davem@davemloft.net>
28888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28890 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
28892         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
28893         that was previously under [RESET_PID].
28894         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
28896         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
28897         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28898         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
28899         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28900         (__libc_vfork): New strong alias.
28901         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
28903 2014-06-14 Andi Kleen  <ak@linux.intel.com>
28905         * sysdeps/generic/elide.h: New file.
28907 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28909         * Makefile (installed-headers): Adjust path of pthread.h header.
28911 2014-06-13  Roland McGrath  <roland@hack.frob.com>
28913         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
28914         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
28915         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
28916         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
28918         * nptl/sysdeps/s390/Makefile: Moved ...
28919         * sysdeps/s390/nptl/Makefile: ... here.
28920         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28921         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
28922         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
28923         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
28924         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
28925         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
28926         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
28927         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
28928         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
28929         * sysdeps/s390/nptl/pthreaddef.h: ... here.
28930         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
28931         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
28932         * nptl/sysdeps/s390/tls.h: Moved ...
28933         * sysdeps/s390/nptl/tls.h: ... here.
28935         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
28936         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
28938 2014-06-13  David S. Miller  <davem@davemloft.net>
28940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
28941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
28942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
28943         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
28944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
28945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
28946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
28947         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
28948         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
28949         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
28950         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
28951         Remove RESET_PID cpp guards.
28952         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
28953         Remove RESET_PID cpp guards.
28954         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
28956 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
28958         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
28959         __sp to uintptr_t.
28961 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28963         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
28964         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
28965         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
28966         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
28967         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
28968         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
28969         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
28970         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
28971         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
28972         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
28973         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
28974         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
28975         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
28976         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
28977         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
28978         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
28979         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
28980         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
28981         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
28982         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
28984         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
28985         (pthread_rwlock_rdlock): Add elision.
28986         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
28987         (pthread_rwlock_wrlock): Add elision.
28988         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
28989         (pthread_rwlock_trywrlock): Add elision.
28990         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
28991         (pthread_rwlock_tryrdlock): Add elision.
28992         * nptl/pthread_rwlock_unlock.c: Include elide.h.
28993         (pthread_rwlock_tryrdlock): Add elision unlock.
28994         * nptl/sysdeps/pthread/pthread.h:
28995         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
28996         (PTHREAD_RWLOCK_INITIALIZER,
28997         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
28998         Handle new elision field.
28999         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
29000         * sysdeps/arm/nptl/bits/pthreadtypes.h
29001         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29002         * sysdeps/sh/nptl/bits/pthreadtypes.h
29003         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29004         * sysdeps/tile/nptl/bits/pthreadtypes.h
29005         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29006         * sysdeps/a/nptl/bits/pthreadtypes.h
29007         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29008         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29009         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29010         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29011         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29012         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
29013         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29014         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29015         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29016         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29017         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29018         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29019         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29020         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29021         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29022         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
29023         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29024         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
29025         (elision_init): Set try_xbegin to zero when no RTM.
29026         * sysdeps/x86/nptl/bits/pthreadtypes.h
29027         (pthread_rwlock_t): Change __pad1 to __rwelision.
29028         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29030 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29032         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
29033         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
29034         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
29035         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
29037 2014-06-13  Meador Inge  <meadori@codesourcery.com>
29039         [BZ #16996]
29040         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
29041         that the cached result has been set before returning it.
29043 2014-06-12  Roland McGrath  <roland@hack.frob.com>
29045         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
29046         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
29047         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
29048         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
29049         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
29050         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
29052         * nptl/sysdeps/sparc/Makefile: Moved ...
29053         * sysdeps/sparc/nptl/Makefile: ... here.
29054         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
29055         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
29056         * nptl/sysdeps/sparc/tls.h: Moved ...
29057         * sysdeps/sparc/nptl/tls.h: ... here.
29058         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
29059         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
29060         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
29061         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
29062         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
29063         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
29064         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
29065         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
29066         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
29067         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
29068         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
29069         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
29070         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29071         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
29072         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
29073         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
29074         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
29075         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
29076         Update #include.
29077         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29078         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
29079         Update #include.
29080         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
29081         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
29082         Update #include.
29083         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
29084         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
29085         Update #include.
29087         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29089         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
29090         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
29092         * sysdeps/pthread/posix-timer.h: Include <list.h>.
29093         (struct list_links): Type removed.
29094         (struct thread_node, struct timer_node): Replace struct list_links
29095         with struct list_head.
29096         (list_unlink_ip): Likewise.
29097         * sysdeps/pthread/timer_routines.c
29098         (timer_free_list, thread_free_list, thread_active_list): Likewise.
29099         (list_append, list_insbefore): Likewise.
29100         (list_init): Function removed.
29101         (thread_init, init_module): Use INIT_LIST_HEAD instead.
29102         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
29103         * sysdeps/pthread/Makefile: ... here, new file.
29105         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
29106         * sysdeps/nptl/Implies: ... here.
29107         * sysdeps/unix/sysv/linux/Implies: Add nptl.
29108         * nptl/sysdeps/pthread/list.h: Moved ...
29109         * include/list.h: ... here.
29110         * nptl/sysdeps/pthread/createthread.c: Moved ...
29111         * nptl/createthread.c: ... here.
29112         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
29113         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
29114         * nptl/pt-longjmp.c: ... here.
29115         * nptl/sysdeps/pthread/Makefile: Moved ...
29116         * sysdeps/nptl/Makefile: ... here.
29117         * nptl/sysdeps/pthread/Subdirs: Moved ...
29118         * sysdeps/nptl/Subdirs: ... here.
29119         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
29120         * sysdeps/nptl/aio_misc.h: ... here.
29121         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
29122         * sysdeps/nptl/bits/libc-lock.h: ... here.
29123         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29124         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29125         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29126         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29127         * nptl/sysdeps/pthread/configure: Moved ...
29128         * sysdeps/nptl/configure: ... here.
29129         * nptl/sysdeps/pthread/configure.ac: Moved ...
29130         * sysdeps/nptl/configure.ac: ... here.
29131         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29132         * sysdeps/nptl/gai_misc.h: ... here.
29133         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29134         * sysdeps/nptl/librt-cancellation.c: ... here.
29135         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29136         * sysdeps/nptl/malloc-machine.h: ... here.
29137         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29138         * sysdeps/nptl/pthread-functions.h: ... here.
29139         * nptl/sysdeps/pthread/pthread.h: Moved ...
29140         * sysdeps/nptl/pthread.h: ... here.
29141         * nptl/sysdeps/pthread/setxid.h: Moved ...
29142         * sysdeps/nptl/setxid.h: ... here.
29143         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29144         * sysdeps/nptl/sigfillset.c: ... here.
29145         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29146         * sysdeps/nptl/tcb-offsets.h: ... here.
29147         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29148         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29149         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29150         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29151         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29152         * sysdeps/pthread/allocalim.h: ... here.
29153         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29154         * sysdeps/pthread/bits/sigthread.h: ... here.
29155         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29156         * sysdeps/pthread/flockfile.c: ... here.
29157         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29158         * sysdeps/pthread/ftrylockfile.c: ... here.
29159         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29160         * sysdeps/pthread/funlockfile.c: ... here.
29161         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29162         * sysdeps/pthread/posix-timer.h: ... here.
29163         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29164         * sysdeps/pthread/timer_create.c: ... here.
29165         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29166         * sysdeps/pthread/timer_delete.c: ... here.
29167         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29168         * sysdeps/pthread/timer_getoverr.c: ... here.
29169         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29170         * sysdeps/pthread/timer_gettime.c: ... here.
29171         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29172         * sysdeps/pthread/timer_routines.c: ... here.
29173         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29174         * sysdeps/pthread/timer_settime.c: ... here.
29175         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29176         * sysdeps/pthread/tst-timer.c: ... here.
29177         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29178         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29180         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29181         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29183         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29184         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29185         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29186         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29187         Update #include target.
29188         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29189         * sysdeps/i386/i686/nptl/Makefile: ... here.
29190         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29191         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29192         Update #include target.
29193         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29194         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29195         * nptl/sysdeps/i386/Makefile: Moved ...
29196         * sysdeps/i386/nptl/Makefile: ... here.
29197         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29198         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29199         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29200         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29201         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29202         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29203         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29204         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29205         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29206         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29207         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29208         * nptl/sysdeps/i386/tls.h: Moved ...
29209         * sysdeps/i386/nptl/tls.h: ... here.
29211         * sysdeps/sh/Makefile [$(subdir) = csu]
29212         (gen-as-const-headers): Add tcb-offsets.sym.
29213         * nptl/sysdeps/sh/Makefile: File removed.
29214         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29215         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29216         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29217         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29218         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29219         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29220         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29221         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29222         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29223         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29224         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29225         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29226         * nptl/sysdeps/sh/tls.h: Moved ...
29227         * sysdeps/sh/nptl/tls.h: ... here.
29228         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29229         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29230         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29231         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29232         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29233         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29234         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29235         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29236         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29237         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29238         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29239         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29240         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29241         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29242         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29243         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29244         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29245         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29246         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29247         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29248         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29249         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29250         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29251         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29252         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29253         Moved ...
29254         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29255         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29256         Moved ...
29257         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29258         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29259         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29260         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29261         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29262         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29263         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29264         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29265         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29266         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29267         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29268         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29269         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29270         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29271         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29272         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29273         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29274         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29275         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29277 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29279         * posix/spawn_faction_addopen.c: Include string.h.
29281 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29283         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29284         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29285         * nptl/sysdeps/x86_64/Makefile: Moved ...
29286         * sysdeps/x86_64/nptl/Makefile: ... here.
29287         * nptl/sysdeps/x86_64/configure: Moved ...
29288         * sysdeps/x86_64/nptl/configure: ... here.
29289         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29290         * sysdeps/x86_64/nptl/configure.ac: ... here.
29291         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29292         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29293         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29294         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29295         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29296         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29297         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29298         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29299         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29300         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29301         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29302         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29303         * nptl/sysdeps/x86_64/tls.h: Moved ...
29304         * sysdeps/x86_64/nptl/tls.h: ... here.
29305         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29306         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29307         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29308         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29310         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29312 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29316 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29318         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29319         type.
29320         [POSIX] (off_t): Likewise.
29321         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29322         [POSIX] (S_ISBLK): Require macro.
29323         [POSIX] (S_ISCHR): Likewise.
29324         [POSIX] (S_ISDIR): Likewise.
29325         [POSIX] (S_ISFIFO): Likewise.
29326         [POSIX] (S_ISREG): Likewise.
29327         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29328         optional-macro.
29329         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29330         type.
29331         [POSIX] (time_t): Likewise.
29332         [POSIX] (timer_t): Likewise.
29334 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29336         [BZ #17048]
29337         * posix/spawn_int.h (struct __spawn_action): Make the path string
29338         non-const to support deallocation.
29339         * posix/spawn_faction_addopen.c
29340         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29341         * posix/spawn_faction_destroy.c
29342         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29343         path in all spawn_do_open actions.
29344         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29345         posix_spawn_file_actions_addopen.
29347 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29349         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29350         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29351         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29352         conditional code always true.
29353         (__libc_vfork): New alias.
29355 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29357         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29358         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29360         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29362         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29363         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29365         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29366         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29368         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29369         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29371 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29373         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29374         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29375         multiarch strcmp for PPC64.
29376         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29377         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29379         multiarch optimizations.
29380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29381         (__libc_ifunc_impl_list): Likewise.
29383 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29385         * benchtests/scripts/validate_benchout.py: New script.
29386         * benchtests/Makefile (bench-func): Call it.
29387         * benchtests/scripts/benchout.schema.json: New file.
29389 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29391         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29392         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29393         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29394         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29395         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29396         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29397         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29398         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29399         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29400         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29401         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29402         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29403         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29404         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29405         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29406         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29408         Moved ...
29409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29410         ... here.
29411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29412         Moved ...
29413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29415         Moved ...
29416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29417         ... here.
29418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29419         Moved ...
29420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29421         ... here.
29422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29423         Moved ...
29424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29426         Moved ...
29427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29428         ... here.
29429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29430         Moved ...
29431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29432         ... here.
29433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29434         Moved ...
29435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29437         Moved ...
29438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29439         ... here.
29440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29441         Moved ...
29442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29443         ... here.
29444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29445         Moved ...
29446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29447         ... here.
29448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29449         Moved ...
29450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29452         Moved ...
29453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29454         ... here.
29455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29456         Moved ...
29457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29458         ... here.
29459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29460         Moved ...
29461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29462         ... here.
29463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29464         Moved ...
29465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29467         Moved ...
29468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29469         ... here.
29470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29471         Moved ...
29472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29473         ... here.
29474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29475         Moved ...
29476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29478         Moved ...
29479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29480         ... here.
29481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29482         Moved ...
29483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29485         Moved ...
29486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29488         Moved ...
29489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29490         ... here.
29491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
29492         Moved ...
29493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
29494         ... here.
29495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
29496         Moved ...
29497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
29498         ... here.
29499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
29500         Moved ...
29501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
29502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
29503         Moved ...
29504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
29505         ... here.
29506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
29507         Moved ...
29508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29509         ... here.
29510         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29511         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29512         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29513         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29514         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29515         Moved ...
29516         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29517         ... here.
29518         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29519         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29520         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29521         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29522         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29523         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29524         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29525         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29526         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29527         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
29528         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
29529         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
29530         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
29531         Moved ...
29532         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
29533         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
29534         Moved ...
29535         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
29536         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
29537         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
29538         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
29539         Moved ...
29540         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
29541         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
29542         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
29543         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
29544         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
29545         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
29546         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
29548 2014-06-10  Wilco  <wdijkstr@arm.com>
29550         * math/test-fenv-return.c: New file.
29551         * math/Makefile: Add new test test-fenv-return.
29553 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
29555         [BZ #17042]
29556         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
29557         when x - 1 is zero.
29558         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
29559         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
29560         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
29561         0.0L for an argument of 1.0L.
29562         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
29563         Likewise.
29564         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
29565         value when x - 1 is zero.
29566         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
29567         * sysdeps/i386/fpu/libm-test-ulps: Update.
29568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29570 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
29572         [BZ #15119]
29573         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
29575 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29577         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
29578         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
29580 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29582         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29583         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
29585         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29586         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
29588         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29589         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
29591         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29592         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
29594         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
29595         if not already defined.
29596         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
29597         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
29598         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
29599         (TLS_INIT_TP): Use it.
29600         (TLS_DEFINE_INIT_TP): New macro.
29601         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
29603 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
29605         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
29606         constant.
29607         [POSIX] (IXANY): Likewise.
29608         [POSIX] (OLCUC): Likewise.
29609         [POSIX || POSIX2008] (CBAUD): Do not allow.
29610         [POSIX || POSIX2008] (DEFECHO): Likewise.
29611         [POSIX || POSIX2008] (ECHOCTL): Likewise.
29612         [POSIX || POSIX2008] (ECHOKE): Likewise.
29613         [POSIX || POSIX2008] (ECHOPRT): Likewise.
29614         [POSIX || POSIX2008] (EXTA): Likewise.
29615         [POSIX || POSIX2008] (EXTB): Likewise.
29616         [POSIX || POSIX2008] (FLUSHO): Likewise.
29617         [POSIX || POSIX2008] (LOBLK): Likewise.
29618         [POSIX || POSIX2008] (PENDIN): Likewise.
29619         [POSIX || POSIX2008] (SWTCH): Likewise.
29620         [POSIX || POSIX2008] (VDISCARD): Likewise.
29621         [POSIX || POSIX2008] (VDSUSP): Likewise.
29622         [POSIX || POSIX2008] (VLNEXT): Likewise.
29623         [POSIX || POSIX2008] (VREPRINT): Likewise.
29624         [POSIX || POSIX2008] (VSTATUS): Likewise.
29625         [POSIX || POSIX2008] (VWERASE): Likewise.
29626         (B*): Change to B[0123456789]*.
29627         * conform/data/time.h-data [POSIX || UNIX98]
29628         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
29629         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29630         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
29631         [POSIX] (tm_*): Do not allow.
29633 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
29635         * Makefile (install): Don't set LANGUAGE.
29636         * Makefile.in (install): Likewise.
29637         * assert/Makefile (test-assert-ENV): Remove variable.
29638         (test-assert-perr-ENV): Likewise.
29639         * elf/Makefile (neededtest4-ENV): Likewise.
29640         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29641         [$(cross-compiling) = no]: Don't set LANGUAGE.
29642         * io/ftwtest-sh (LANG): Remove variable.
29643         * libio/Makefile (tst-widetext-ENV): Likewise.
29644         * manual/install.texi (Running make install): Don't refer to
29645         environment settings for make install.
29646         * INSTALL: Regenerated.
29647         * nptl/tst-tls6.sh: Don't set LANG.
29648         * posix/globtest.sh (LANG): Remove variable.
29649         * string/Makefile (tester-ENV): Likewise.
29650         (inl-tester-ENV): Likewise.
29651         (noinl-tester-ENV): Likewise.
29652         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29653         [$(cross-compiling) = no]: Don't set LANGUAGE.
29654         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
29655         without explicit environment settings.
29657 2014-06-06  Roland McGrath  <roland@hack.frob.com>
29659         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
29660         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
29661         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
29662         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
29664 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
29666         * crypt/crypt-private.h [DOS]: Add some includes taken from the
29667         other files in the crypt directory.
29668         * crypt/crypt.c: Remove duplicate includes.
29669         * crypt/crypt-entry.c: Likewise.
29670         * crypt/crypt_util.c: Likewise.
29672 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
29674         * Makeconfig (run-program-env): New variable.
29675         (run-program-prefix-before-env): Likewise.
29676         (run-program-prefix-after-env): Likewise.
29677         (run-program-prefix): Define in terms of new variables.
29678         (built-program-cmd-before-env): New variable.
29679         (built-program-cmd-after-env): Likewise.
29680         (built-program-cmd): Define in terms of new variables.
29681         (test-program-prefix-before-env): New variable.
29682         (test-program-prefix-after-env): Likewise.
29683         (test-program-prefix): Define in terms of new variables.
29684         (test-program-cmd-before-env): New variable.
29685         (test-program-cmd-after-env): Likewise.
29686         (test-program-cmd): Define in terms of new variables.
29687         * Rules (make-test-out): Use $(run-program-env).
29688         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
29689         (help): Do not mention environment variables.  Mention
29690         --timeoutfactor option.
29691         (timeoutfactor): New variable.
29692         (blacklist_exports): Remove function.
29693         (exports): Remove variable.
29694         (command): Do not include ${exports}.
29695         * manual/install.texi (Configuring and compiling): Do not mention
29696         test wrappers preserving environment variables.  Mention that last
29697         assignment to a variable must take precedence.
29698         * INSTALL: Regenerated.
29699         * benchtests/Makefile (run-bench): Use $(run-program-env).
29700         * catgets/Makefile ($(objpfx)test1.cat): Use
29701         $(built-program-cmd-before-env), $(run-program-env) and
29702         $(built-program-cmd-after-env).
29703         ($(objpfx)test2.cat): Do not specify environment variables
29704         explicitly.
29705         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
29706         $(run-program-env) and $(built-program-cmd-after-env).
29707         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
29708         $(run-program-env) and $(test-program-cmd-after-env).
29709         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
29710         explicitly.
29711         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
29712         run_program_env and test_program_cmd_after_env arguments.
29713         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
29714         * elf/tst-pathopt.sh: Use run_program_env argument.
29715         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
29716         $(test-wrapper-env) and $(run-program-env).
29717         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
29718         run_program_env arguments.
29719         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
29720         * intl/Makefile ($(objpfx)tst-gettext.out): Use
29721         $(test-program-prefix-before-env), $(run-program-env) and
29722         $(test-program-prefix-after-env).
29723         ($(objpfx)tst-gettext2.out): Likewise.
29724         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
29725         run_program_env and test_program_prefix_after_env arguments.
29726         * intl/tst-gettext2.sh: Likewise.
29727         * intl/tst-gettext4.sh: Do not set environment variables
29728         explicitly.
29729         * intl/tst-gettext6.sh: Likewise.
29730         * intl/tst-translit.sh: Likewise.
29731         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
29732         $(test-program-prefix-before-env), $(run-program-env) and
29733         $(test-program-prefix-after-env).
29734         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
29735         run_program_env and test_program_prefix_after_env arguments.
29736         * math/Makefile (run-regen-ulps): Use $(run-program-env).
29737         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
29738         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
29739         explicitly with each use of ${test_wrapper_env}.
29740         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
29741         $(test-program-prefix-before-env), $(run-program-env) and
29742         $(test-program-prefix-after-env).
29743         * posix/tst-getconf.sh: Do not set environment variables
29744         explicitly.
29745         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
29746         run_program_env and test_program_prefix_after_env arguments.
29747         * stdio-common/tst-printf.sh: Do not set environment variables
29748         explicitly.
29749         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
29750         $(test-program-prefix-before-env), $(run-program-env) and
29751         $(test-program-prefix-after-env).
29752         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
29753         run_program_env and test_program_prefix_after_env arguments.
29754         Split $test calls into $test_pre and $test.
29755         * timezone/Makefile (build-testdata): Use
29756         $(built-program-cmd-before-env), $(run-program-env) and
29757         $(built-program-cmd-after-env).
29759 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29761         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
29762         strlen for non SHARED builds.
29764 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29766         * nptl/allocatestack.c (check_list): Inlined function...
29767         (__reclaim_stacks): ... here.
29769 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29771         [BZ #15698]
29772         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29773         memory overrun.
29775 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
29777         * Rules (make-test-out): Include
29778         LOCPATH=$(common-objpfx)localedata in default environment.
29779         * debug/Makefile (tst-chk1-ENV): Remove variable.
29780         (tst-chk2-ENV): Likewise.
29781         (tst-chk3-ENV): Likewise.
29782         (tst-chk4-ENV): Likewise.
29783         (tst-chk5-ENV): Likewise.
29784         (tst-chk6-ENV): Likewise.
29785         (tst-lfschk1-ENV): Likewise.
29786         (tst-lfschk2-ENV): Likewise.
29787         (tst-lfschk3-ENV): Likewise.
29788         (tst-lfschk4-ENV): Likewise.
29789         (tst-lfschk5-ENV): Likewise.
29790         (tst-lfschk6-ENV): Likewise.
29791         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
29792         (tst-iconv7-ENV): Likewise.
29793         * intl/Makefile (LOCPATH-ENV): Likewise.
29794         (tst-codeset-ENV): Likewise.
29795         (tst-gettext3-ENV): Likewise.
29796         (tst-gettext5-ENV): Likewise.
29797         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
29798         (tst-fopenloc-ENV): Likewise.
29799         (tst-fgetws-ENV): Remove variable.
29800         (tst-ungetwc1-ENV): Likewise.
29801         (tst-ungetwc2-ENV): Likewise.
29802         (bug-ungetwc2-ENV): Likewise.
29803         (tst-swscanf-ENV): Likewise.
29804         (bug-ftell-ENV): Likewise.
29805         (tst-fgetwc-ENV): Likewise.
29806         (tst-fseek-ENV): Likewise.
29807         (tst-ftell-partial-wide-ENV): Likewise.
29808         (tst-ftell-active-handler-ENV): Likewise.
29809         (tst-ftell-append-ENV): Likewise.
29810         * posix/Makefile (tst-fnmatch-ENV): Likewise.
29811         (tst-regexloc-ENV): Likewise.
29812         (bug-regex1-ENV): Likewise.
29813         (tst-regex-ENV): Likewise.
29814         (tst-regex2-ENV): Likewise.
29815         (bug-regex5-ENV): Likewise.
29816         (bug-regex6-ENV): Likewise.
29817         (bug-regex17-ENV): Likewise.
29818         (bug-regex18-ENV): Likewise.
29819         (bug-regex19-ENV): Likewise.
29820         (bug-regex20-ENV): Likewise.
29821         (bug-regex22-ENV): Likewise.
29822         (bug-regex23-ENV): Likewise.
29823         (bug-regex25-ENV): Likewise.
29824         (bug-regex26-ENV): Likewise.
29825         (bug-regex30-ENV): Likewise.
29826         (bug-regex32-ENV): Likewise.
29827         (bug-regex33-ENV): Likewise.
29828         (bug-regex34-ENV): Likewise.
29829         (bug-regex35-ENV): Likewise.
29830         (tst-rxspencer-ENV): Likewise.
29831         (tst-rxspencer-no-utf8-ENV): Likewise.
29832         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
29833         (tst-sscanf-ENV): Likewise.
29834         (tst-swprintf-ENV): Likewise.
29835         (tst-swscanf-ENV): Likewise.
29836         (test-vfprintf-ENV): Likewise.
29837         (scanf13-ENV): Likewise.
29838         (bug14-ENV): Likewise.
29839         (tst-grouping-ENV): Likewise.
29840         * stdlib/Makefile (tst-strtod-ENV): Likewise.
29841         (tst-strtod3-ENV): Likewise.
29842         (tst-strtod4-ENV): Likewise.
29843         (tst-strtod5-ENV): Likewise.
29844         (testmb2-ENV): Likewise./
29845         * string/Makefile (tst-strxfrm-ENV): Likewise.
29846         (tst-strxfrm2-ENV): Likewise.
29847         (bug-strcoll1-ENV): Likewise.
29848         (test-strcasecmp-ENV): Likewise.
29849         (test-strncasecmp-ENV): Likewise.
29850         * time/Makefile (tst-strptime-ENV): Likewise.
29851         (tst-ftime_l-ENV): Likewise.
29852         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
29853         (tst-mbrtowc-ENV): Likewise.
29854         (tst-wcrtomb-ENV): Likewise.
29855         (tst-mbrtowc2-ENV): Likewise.
29856         (tst-c16c32-1-ENV): Likewise.
29857         (tst-mbsnrtowcs-ENV): Likewise.
29859 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29861         * manual/resource.texi (How to get information about the memory
29862         subsystem?): Fix typo.
29863         Reported by Peon de la Parra Ivan <peon@keba.com>
29865 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
29867         [BZ #16882]
29868         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
29869         (pthread_spin_lock): Branch out of spin loop to proper location.
29870         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
29871         (pthread_spin_lock): Likewise.
29873         * nptl/tst-spin4.c: New test.
29874         * nptl/Makefile (tests): Add tst-spin4.
29876 2014-06-03  Andreas Schwab  <schwab@suse.de>
29878         [BZ #15946]
29879         * resolv/res_send.c (send_dg): Reload file descriptor after
29880         calling reopen.
29882 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
29884         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29886 2014-06-03  Richard Henderson  <rth@redhat.com>
29888         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
29889         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
29890         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
29891         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
29892         in the SAVE_PID block.
29893         (__libc_vfork): New alias.
29894         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
29896         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
29897         child in registers, not on the stack.  Remove RESET_PID conditionals.
29898         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
29900 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29902         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29904 2014-06-03  Wilco  <wdijkstr@arm.com>
29906         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
29907         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
29908         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29909         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29910         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
29911         Likewise.
29913 2014-06-03  Wilco  <wdijkstr@arm.com>
29915         * sysdeps/aarch64/fpu/math_private.h
29916         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
29917         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
29918         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
29919         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29920         Fix declarations.
29922 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29924         * crypt/crypt-private.h: Include ufc-crypt.h.
29925         (__b64_from_24bit): Declare extern.
29926         * crypt/crypt_util.c(__b64_from_24bit): New function.
29927         (b64t): New static const variable.
29928         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
29929         (b64t): Remove variable.
29930         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
29931         * crypt/sha256-crypt.c: Include crypt-private.h.
29932         (b64t): Remove variable.
29933         (__sha256_crypt_r): Remove b64_from_24bit and replace
29934         with __b64_from_24bit.
29935         * crypt/sha512-crypt.c: Likewise.
29937 2014-06-02  Roland McGrath  <roland@hack.frob.com>
29939         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
29940         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
29941         Label the code __libc_vfork rather than __vfork.
29942         [!NOT_IN_libc] (vfork): Define as weak alias.
29943         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
29944         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
29945         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
29947 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29949         * malloc/malloc.c (malloc_info): Fix format specifier for
29950         n_mmaps.
29952 2014-06-02  Wilco  <wdijkstr@arm.com>
29954         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
29955         FPCR write.
29957 2014-06-02  Wilco  <wdijkstr@arm.com>
29959         [BZ #17009]
29960         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
29961         Rewrite to reduce FPCR/FPSR accesses.
29963 2014-06-01  David S. Miller  <davem@davemloft.net>
29965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29967 2014-05-31  David S. Miller  <davem@davemloft.net>
29969         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
29970         to occur in round to nearest mode when |x| >= 2.0
29972 2014-05-30  Richard Henderson  <rth@twiddle.net>
29974         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
29975         (PSEUDO_RET_NOERRNO): Remove.
29976         (ret): Don't redefine.
29977         (ret_NOERRNO): Define in terms of ret.
29978         (ret_ERRVAL): Likewise.
29980         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
29981         use of PSEUDO_RET; perform the error check directly.
29983 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
29985         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
29986         with __int128_t.
29988 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29990         * malloc/malloc (malloc_info): Fix formatting.
29992 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29993             Roland McGrath  <roland@hack.frob.com>
29995         * malloc/malloc (malloc_info): Also print mmapped statistics.
29997 2014-05-30  Roland McGrath  <roland@hack.frob.com>
29999         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
30000         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
30002 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
30004         * malloc/malloc.c (malloc_info): Inline mi_arena.
30006 2014-05-29  Richard Henderson  <rth@twiddle.net>
30008         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
30009         Remove comma before expanding ASM_ARGS_##nr.
30010         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
30011         Make _x0 a strict output; make _x8 a strict input; adjust expansion
30012         of ASM_ARGS_##nr.
30013         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
30014         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
30015         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
30016         (ASM_ARGS_1): Add leading comma.
30018         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
30019         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
30020         to __errno_location.
30021         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
30022         Remove the expected plt for __errno_location.
30024         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30025         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
30026         call to __read_tp.
30028         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30029         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
30030         it and break it down.
30031         (DOCARGS_0, DOCARGS_1): Do nothing.
30032         (DOCARGS_2): Update to store into the new stack frame.
30033         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
30034         (UNDOCARGS_1): Update to restore from the new stack frame.
30035         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
30036         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
30038         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30039         (SINGLE_THREAD_P): New parameter for result regno.
30040         (PSEUDO): Update to match; use cbz instead of beq.
30042         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30043         Use ENTRY to define the _nocancel entry point.  Share the syscall
30044         and syscall error check paths with the cancel path.
30045         (PSEUDO_END): New.
30047         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
30048         whitespace; tabs before and after asm mnemonics.
30050 2014-05-29  Eric Wong  <normalperson@yhbt.net>
30052         [BZ #15132]
30053         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30054         Call fstat64 or stat64 internally, depending on arguments passed.
30055         Replace stat buffer argument with file descriptor argument.
30056         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
30057         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30058         Pass fd to __internal_statvfs instead of calling fstat64.
30059         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
30060         Pass fd to __internal_statvfs64 instead of calling fstat64.
30061         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
30062         Pass -1 to __internal_statvfs instead of calling stat64.
30063         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
30064         Pass -1 to __internal_statvfs64 instead of calling stat64.
30066 2014-05-28  Roland McGrath  <roland@hack.frob.com>
30068         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
30069         that was previously under [RESET_PID].
30070         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
30072         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
30073         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30075 2014-05-27  Roland McGrath  <roland@hack.frob.com>
30077         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30079         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
30080         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
30082 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
30084         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
30086 2014-05-27  Andreas Schwab  <schwab@suse.de>
30088         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
30089         TLS_INIT_TP macro.
30090         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30091         * elf/rtld.c (init_tls, dl_main): Likewise.
30092         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
30093         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
30094         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
30095         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
30096         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
30097         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
30098         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
30099         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
30100         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
30101         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
30102         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
30103         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
30104         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
30105         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
30106         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
30107         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
30108         * sysdeps/generic/tls.h: Update description.
30110 2014-05-27  Will Newton  <will.newton@linaro.org>
30112         [BZ #16990]
30113         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
30114         and restore r2 rather than just restoring.
30116 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30118         [BZ #16724]
30119         * libio/tst-ftell-append.c: New test case.
30120         * libio/Makefile (tests): Add test case.
30121         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
30122         append mode.
30123         * libio/wfileops.c (do_ftell_wide): Likewise.
30125 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30129         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30130         ...
30131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30133         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30134         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30135         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30136         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30137         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30138         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30139         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30140         Moved ...
30141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30143         Moved ...
30144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30145         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30146         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30147         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30148         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30149         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30150         ...
30151         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30152         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30153         Moved ...
30154         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30155         here.
30156         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30157         ...
30158         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30159         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30160         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30162         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30163         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30164         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30165         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30167         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30168         merge into ...
30169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30170         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30171         ...
30172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30174         ...
30175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30177         Moved ...
30178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30179         here.
30180         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30181         Moved ...
30182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30184         Moved ...
30185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30188         conditional [RESET_PID].
30189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30190         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30191         removed.
30192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30193         removed.
30195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30196         <tcb-offsets.h>.
30197         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30198         (__libc_vfork): New strong alias.
30199         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30200         removed.
30201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30202         Removed.
30204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30205         <tcb-offsets.h>.
30206         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30207         (__libc_vfork): New strong alias.
30208         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30209         removed.
30210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30211         removed.
30213 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30215         * malloc/malloc.c (mi_arena): New function.
30216         (malloc_info): Remove nested function mi_arena. Call non-nosted
30217         function mi_arena.
30219 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30221         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30222         by insrwi.
30223         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30224         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30225         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30226         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30227         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30228         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30229         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30231 2014-05-26  Andreas Schwab  <schwab@suse.de>
30233         [BZ #16984]
30234         * locale/programs/repertoire.c (repertoire_read): Add slash
30235         between I18NPATH element and file name.
30236         * locale/programs/locfile.c (locfile_read): Likewise.
30238 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30240         * nptl/pthread_mutexattr_settype.c
30241         (__pthread_mutexattr_settype):
30242         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30244 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30246         * nptl/tst-mutex5 (do_test):
30247         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30249 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30251         * benchtests/README: Document 'init' directive.
30252         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30253         BENCH_INIT.
30254         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30255         (parse_file): Recognize 'init' directive.
30257 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30259         [BZ #16796]
30260         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30261         alignment of struct pthread.
30263 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30265         [BZ #16878]
30266         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30267         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30268         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30269         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30271 2014-05-25  Richard Henderson  <rth@twiddle.net>
30273         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30274         (SINGLE_THREAD_P_PIC): Remove.
30275         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30276         (SINGLE_THREAD_P_PIC): Remove.
30278         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30279         branch to syscall error ...
30280         (PSEUDO): ... here.
30281         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30282         from __local_syscall_error to .Lsyscall_error.
30283         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30284         (SYSCALL_ERROR): Update label name.
30286         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30287         Do not use DOARGS/UNDOARGS.
30288         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30289         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30290         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30291         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30292         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30294         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30295         block comment.
30297         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30298         define if !NOT_IN_libc.
30299         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30300         define with non-default symbol versions.
30302 2014-05-23  Richard Henderson  <rth@twiddle.net>
30304         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30305         (vfork, __vfork): Define via compat_symbol.
30307         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30308         [!HAVE_IFUNC] (vfork_compat): Remove.
30309         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30311 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30313         [BZ #16978]
30314         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30315         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30316         variable.
30318 2014-05-23  Richard Henderson  <rth@twiddle.net>
30320         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30321         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30322         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30323         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30325         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30326         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30327         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30328         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30329         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30330         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30331         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30332         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30333         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30334         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30335         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30336         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30337         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30338         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30339         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30340         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30341         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30342         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30343         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30344         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30345         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30346         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30347         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30348         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30349         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30350         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30351         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30352         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30353         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30354         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30355         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30356         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30357         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30358         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30359         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30360         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30361         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30362         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30363         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30364         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30365         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30366         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30367         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30368         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30369         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30370         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30371         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30372         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30373         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30374         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30375         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30376         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30377         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30378         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30379         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30380         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30382         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30383         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30384         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30385         before exiting on error.
30386         (__libc_vfork): New strong alias.
30387         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30388         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30390         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30391         that was previously under [RESET_PID].
30392         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30394         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30396 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30398         [BZ #16977]
30399         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30400         value when x - 1 is zero.
30401         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30402         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30403         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30404         0.0L for an argument of 1.0L.
30405         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30406         Likewise.
30407         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30408         value when x - 1 is zero.
30409         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30410         * sysdeps/i386/fpu/libm-test-ulps: Update.
30411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30413 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30415         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30416         alphasort and versionsort.
30418 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30420         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30421         macro.
30422         [copysignf]: Likewise.
30424 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30426         * crypt/md5-crypt.c: Fix formatting.
30428 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30430         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30431         (b64_from_24bit): New function.
30433 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30435         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30436         libc_hidden_builtin_def to ifunc.
30437         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30438         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30440 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30442         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30443         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30445 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30447         * nscd/Depend (linuxthreads): Remove.
30448         (nptl): Add.
30449         * resolv/Depend (linuxthreads): Remove.
30450         * rt/Depend (linuxthreads): Remove.
30452         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30453         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30454         $(common-objpfx)elf/.
30455         (link-libc-before-gnulib): Likewise.
30456         (elfobjdir): Remove variable.
30457         * Makefile (install): Use $(elf-objpfx) instead of
30458         $(common-objpfx)elf/.
30459         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30460         $(elfobjdir)/.
30461         (link-libc-deps): Likewise.
30462         ($(common-objpfx)libc.so): Likewise.
30463         ($(common-objpfx)linkobj/libc.so): Likewise.
30464         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30465         instead of $(common-objpfx)elf/.
30466         (symbolic-link-list): Likewise.
30467         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30468         [$(cross-compiling) = no]: Likewise.
30469         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30470         $(elfobjdir)/.
30471         (static-gnulib-arch): Likewise.
30472         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30473         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30474         $(common-objpfx)elf/.
30476 2014-05-21  Richard Henderson  <rth@redhat.com>
30478         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30479         (SINGLE_THREAD_P): Use the correct width load.  Fold
30480         into the ldr offset.
30482         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30483         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30485 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30487         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30488         (libgcc_s_resume): Use __attribute_used__.
30489         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30490         Likewise.
30492 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30494         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
30495         optimization when used with float constants.
30497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30499 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
30501         [BZ #16915]
30502         * locale/nl_langinfo_l.c: Make direct reference to every
30503         _nl_current_CATEGORY symbol.
30504         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
30505         (tests-static): Add tst-langinfo-static.
30506         (tests-special): Add tst-langinfo-static.out.
30507         ($(objpfx)tst-langinfo.out): Redirect output.
30508         ($(objpfx)tst-langinfo-static.out): New.
30509         * localedata/tst-langinfo.sh: Send output to stdout.
30510         * localedata/tst-langinfo-static.c: New file.
30512         [BZ #16965]
30513         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30514         when the shift amount is modulo the limb size.
30516 2014-05-20  Richard Henderson  <rth@redhat.com>
30518         [BZ #16967]
30519         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30520         Change type of sa_flags from unsigned int to int.
30522         [BZ #16966]
30523         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30525         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30527 2014-05-20  Will Newton  <will.newton@linaro.org>
30529         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30530         Test the return value of the system call in the nocancel case.
30532 2014-05-20  Will Newton  <will.newton@linaro.org>
30533             Yvan Roux  <yvan.roux@linaro.org>
30535         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
30536         #include of asm/ptrace.h.
30537         (PTRACE_GET_THREAD_AREA): Remove #undef.
30538         (PTRACE_GETHBPREGS): Likewise.
30539         (PTRACE_SETHBPREGS): Likewise.
30540         (struct user_regs_struct): New structure.
30541         (struct user_fpsimd_struct): New structure.
30542         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
30543         #include of asm/ptrace.h and second #include of sys/user.h.
30544         (PTRACE_GET_THREAD_AREA): Remove #undef.
30545         (PTRACE_GETHBPREGS): Likewise.
30546         (PTRACE_SETHBPREGS): Likewise.
30547         (ELF_NGREG): Use new struct user_regs_struct.
30548         (elf_fpregset_t): Use new struct user_fpsimd_struct.
30550 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30552         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
30553         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
30555 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
30557         [BZ #16958]
30558         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
30559         membar to avoid block loads/stores to overlap previous stores.
30561 2014-05-17  Richard Henderson  <rth@redhat.com>
30563         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
30564         Create the __##syscall_name##_nocancel entry point.
30565         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
30566         Remove; let the sysdep-cancel.h code create it.
30568 2014-05-17  David S. Miller  <davem@davemloft.net>
30570         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
30571         Protect with __USE_GNU.
30572         (TIOCSET_TEMPT): Likewise.
30573         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30574         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
30575         these are already provided in bits/ioctl-types.h
30577 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30579         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
30580         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
30582         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
30583         Use wait4 regardless of [__NR_waitpid].
30585 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30587         PR libgcc/60166
30588         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30589         (_FP_NANSIGN_Q): Set the quiet bit.
30591 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
30593         * benchtests/Makefile
30594         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
30595         not $(common-objpfx)math/libm.so.
30596         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
30597         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
30598         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
30599         $(common-objpfx)dlfcn/libdl.so.
30600         ($(objpfx)tst-audit8): Depend on $(libm), not
30601         $(common-objpfx)math/libm.so.
30602         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
30603         not $(common-objpfx)dlfcn/libdl.so.
30604         * math/Makefile
30605         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30606         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
30607         [$(build-shared) = yes].
30608         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
30609         $(common-objpfx)nptl/libpthread.so.
30610         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
30611         $(common-objpfx)math/libm.so$(libm.so-version) or
30612         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
30613         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
30614         $(common-objpfx)dlfcn/libdl.so.
30615         * setjmp/Makefile (link-libm): Remove variable.
30616         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
30617         * stdio-common/Makefile (link-libm): Remove variable.
30618         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
30619         * stdlib/Makefile (link-libm): Remove variable.
30620         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
30621         ($(objpfx)tst-strtod-round): Likewise.
30622         ($(objpfx)tst-tininess): Likewise.
30623         ($(objpfx)tst-strtod-underflow): Likewise.
30624         ($(objpfx)tst-strtod6): Likewise.
30625         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
30626         $(libdl), not $(common-objpfx)nptl/libpthread.so and
30627         $(common-objpfx)dlfcn/libdl.so.
30629 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30631         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
30632         BSD terminal modes definitions.
30634 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30636         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
30637         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
30639         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
30640         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
30641         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
30642         Don't do #include_next.
30643         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
30644         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
30645         Don't do #include_next.
30646         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
30647         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
30648         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
30649         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
30651 2014-05-16  Allan McRae  <allan@archlinux.org>
30653         * po/sv.po: Update Swedish translation from translation project.
30655         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
30656         in sed expression.
30658 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
30660         [BZ #16917]
30661         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
30662         errno if the TIOCGPTN ioctl fails with an error different than
30663         EINVAL.
30664         * login/tst-ptsname.c: New file.
30665         * login/Makefile (tests): Add tst-ptsname.
30667         [BZ #16943]
30668         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
30669         and prlimit64.
30671 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30673         [BZ #16849]
30674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
30675         herrno to return EAI_AGAIN.
30677 2014-05-14  Roland McGrath  <roland@hack.frob.com>
30679         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
30680         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
30681         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
30682         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
30683         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
30684         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
30685         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
30686         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
30687         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
30688         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
30689         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
30690         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
30691         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
30692         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
30693         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
30694         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
30695         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
30696         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
30697         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
30698         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
30699         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
30700         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
30701         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
30702         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
30703         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
30704         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
30705         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
30706         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
30707         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
30708         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
30709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
30710         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
30711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
30712         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
30713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30714         Moved ...
30715         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
30716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
30717         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
30718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
30719         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
30720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
30721         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
30722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
30723         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
30724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
30725         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
30726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
30727         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
30728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
30729         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
30730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
30731         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
30732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
30733         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
30734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
30735         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
30736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
30737         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
30738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
30739         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
30740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
30741         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
30742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30743         Moved ...
30744         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
30745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
30746         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
30747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
30748         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
30749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
30750         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
30751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
30752         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
30753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
30754         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
30755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
30756         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
30757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
30758         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
30759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
30760         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
30761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
30762         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
30763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30764         Moved ...
30765         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
30766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
30767         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
30769         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
30770         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
30771         (libpthread-sysdep_routines): Add elision-related stuff here instead.
30772         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
30773         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
30774         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
30775         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
30776         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
30777         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
30778         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
30779         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
30780         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
30781         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
30782         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
30783         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
30784         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
30785         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
30786         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
30787         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
30788         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
30789         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
30790         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
30791         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
30792         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
30793         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
30794         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
30795         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
30796         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
30797         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
30798         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
30799         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
30801         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
30802         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
30804         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
30805         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
30806         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
30807         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
30808         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
30809         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
30810         Moved ...
30811         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
30812         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30813         Moved ...
30814         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
30815         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30816         Moved ...
30817         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
30818         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
30819         Moved ...
30820         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
30821         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
30822         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
30823         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30824         Moved ...
30825         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
30826         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
30827         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
30828         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
30829         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
30830         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
30831         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
30832         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30833         Moved ...
30834         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
30835         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30836         Moved ...
30837         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30838         ... here.
30839         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
30840         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
30841         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
30842         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
30843         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30844         Moved ...
30845         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30846         ... here.
30847         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
30848         Moved ...
30849         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
30850         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
30851         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
30852         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
30853         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
30854         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
30855         Moved ...
30856         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
30857         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30858         Moved ...
30859         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
30860         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30861         Moved ...
30862         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
30863         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
30864         Moved ...
30865         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
30866         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
30867         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
30868         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
30869         Moved ...
30870         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
30871         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
30872         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
30873         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
30874         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
30875         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
30876         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
30877         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30878         Moved ...
30879         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
30880         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30881         Moved ...
30882         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30883         ... here.
30884         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
30885         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
30886         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
30887         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
30888         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30889         Moved ...
30890         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30891         ... here.
30892         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
30893         Moved ...
30894         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
30895         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
30896         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
30897         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
30898         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
30899         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
30900         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
30901         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
30902         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
30903         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
30904         Moved ...
30905         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
30906         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30907         Moved ...
30908         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
30909         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30910         Moved ...
30911         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
30912         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
30913         Moved ...
30914         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
30915         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
30916         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
30917         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
30918         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
30919         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30920         Moved ...
30921         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
30922         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
30923         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
30924         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
30925         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
30926         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
30927         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
30928         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30929         Moved ...
30930         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
30931         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30932         Moved ...
30933         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30934         ... here.
30935         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
30936         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
30937         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
30938         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
30939         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30940         Moved ...
30941         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30942         ... here.
30943         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
30944         Moved ...
30945         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
30946         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
30947         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
30948         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
30949         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
30950         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
30951         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
30952         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
30953         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
30954         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
30955         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
30957         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
30958         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
30960         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
30961         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
30963         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
30964         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
30965         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
30966         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
30967         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
30968         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
30969         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
30970         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
30971         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
30972         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
30973         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
30974         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
30975         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
30976         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
30977         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
30978         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
30979         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
30980         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
30981         Moved ...
30982         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
30983         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
30984         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
30985         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
30986         Moved ...
30987         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
30988         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
30989         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
30990         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
30991         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
30992         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
30993         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
30994         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
30995         Moved ...
30996         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
30997         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
30998         Moved ...
30999         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
31000         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
31001         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
31002         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
31003         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
31004         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
31005         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
31006         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
31007         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
31008         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
31009         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
31010         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
31011         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
31012         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
31013         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
31014         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
31015         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
31017         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
31018         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
31019         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
31020         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
31021         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
31023         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
31024         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
31025         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
31026         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
31027         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
31028         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
31029         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
31030         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
31031         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
31032         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
31034         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
31035         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
31037         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
31038         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
31039         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
31040         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
31041         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
31042         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
31043         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
31044         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
31045         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
31046         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
31047         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
31048         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
31049         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
31050         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
31051         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
31052         Update #include.
31053         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
31054         Likewise.
31055         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31056         Likewise.
31057         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31058         Likewise.
31059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31060         Likewise.
31061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
31062         Likewise.
31063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
31064         Likewise.
31065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31066         Likewise.
31067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
31068         Likewise.
31069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
31070         Likewise.
31071         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
31072         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
31073         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
31074         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
31075         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
31076         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
31077         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
31078         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
31079         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
31080         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
31081         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
31082         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
31083         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
31084         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
31085         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
31087         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
31088         that was previously under [RESET_PID].
31089         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31090         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
31091         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
31093         * sysdeps/i386/nptl/Implies: New file.
31094         * sysdeps/x86_64/nptl/Implies: New file.
31095         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
31096         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
31097         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
31098         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
31100         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
31101         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31102         (__libc_vfork): New strong alias.
31103         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
31104         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
31106         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
31107         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31108         (__libc_vfork): New strong alias.
31109         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
31110         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
31112         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
31113         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31114         (__libc_vfork): New strong alias.
31115         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
31116         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
31117         * nptl/pt-vfork.c: New file.
31118         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
31119         (libpthread: GLIBC_2.20): New version set (empty).
31121 2014-05-14  Will Newton  <will.newton@linaro.org>
31123         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31124         rather than #if.
31126 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31128         [BZ #16564]
31129         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31130         arguments with exponent 65 or above.
31131         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31132         arguments 0x1p113L or above.
31133         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31134         to arguments 0x1p107L or above.
31135         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31136         positive arguments with exponent 65 or above.
31137         * math/auto-libm-test-in: Add more tests of log1p.
31138         * math/auto-libm-test-out: Regenerated.
31140         [BZ #16928]
31141         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31142         non-finite arguments is +0.
31143         * math/s_cacosf.c (__cacosf): Likewise.
31144         * math/s_cacosl.c (__cacosl): Likewise.
31145         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31146         * sysdeps/i386/fpu/libm-test-ulps: Update.
31147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31149         [BZ #16927]
31150         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31151         value.
31152         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31153         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31154         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31155         for explicit high bit of mantissa when testing for argument equal
31156         to 1.
31157         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31158         * sysdeps/i386/fpu/libm-test-ulps: Update.
31159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31161         [BZ #16516]
31162         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31163         (__erf): Scale by 16 instead of 8 in potentially underflowing
31164         case.  Ensure exception if result actually underflows.
31165         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31166         (__erff): Scale by 16 instead of 8 in potentially underflowing
31167         case.  Ensure exception if result actually underflows.
31168         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31169         (efx8): Remove variable.
31170         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31171         case.  Ensure exception if result actually underflows.
31172         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31173         (efx8): Remove variable.
31174         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31175         case.  Ensure exception if result actually underflows.
31176         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31177         (efx8): Remove variable.
31178         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31179         case.  Ensure exception if result actually underflows.
31180         * math/auto-libm-test-in: Add more tests of erf.
31181         * math/auto-libm-test-out: Regenerated.
31183 2014-05-14  Andreas Schwab  <schwab@suse.de>
31185         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31186         Remove code conditionalized on USE___THREAD.
31188         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31189         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31190         not definedness.
31192 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31194         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31195         Define unconditionally.
31196         (__ASSUME_O_CLOEXEC): Likewise.
31197         (__ASSUME_SOCK_CLOEXEC): Likewise.
31198         (__ASSUME_IN_NONBLOCK): Likewise.
31199         (__ASSUME_PIPE2): Likewise.
31200         (__ASSUME_EVENTFD2): Likewise.
31201         (__ASSUME_SIGNALFD4): Likewise.
31202         (__ASSUME_DUP3): Likewise.
31203         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31204         (__ASSUME_DUP3): Do not define.
31205         (__ASSUME_EVENTFD2): Likewise.
31206         (__ASSUME_IN_NONBLOCK): Likewise.
31207         (__ASSUME_O_CLOEXEC): Likewise.
31208         (__ASSUME_PIPE2): Likewise.
31209         (__ASSUME_SIGNALFD4): Likewise.
31210         (__ASSUME_SOCK_CLOEXEC): Likewise.
31211         (__ASSUME_UTIMES): Undefine.
31212         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31213         (__ASSUME_UTIMES): Do not define.
31214         (__ASSUME_O_CLOEXEC): Likewise.
31215         (__ASSUME_SOCK_CLOEXEC): Likewise.
31216         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31217         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31218         0x020621].
31219         (__ASSUME_PIPE2): Likewise.
31220         (__ASSUME_EVENTFD2): Likewise.
31221         (__ASSUME_SIGNALFD4): Likewise.
31222         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31223         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31224         Do not define.
31225         (__ASSUME_EVENTFD2): Likewise.
31226         (__ASSUME_SIGNALFD4): Likewise.
31227         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31228         (__ASSUME_32BITUIDS): Likewise.
31229         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31230         (__ASSUME_IPC64): Likewise.
31231         (__ASSUME_ST_INO_64_BIT): Likewise.
31232         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31233         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31234         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31235         (__ASSUME_UTIMES): Do not define.
31236         (__ASSUME_PSELECT): Likewise.
31237         (__ASSUME_PPOLL): Likewise.
31238         (__ASSUME_O_CLOEXEC): Likewise.
31239         (__ASSUME_SOCK_CLOEXEC): Likewise.
31240         (__ASSUME_IN_NONBLOCK): Likewise.
31241         (__ASSUME_PIPE2): Likewise.
31242         (__ASSUME_EVENTFD2): Likewise.
31243         (__ASSUME_SIGNALFD4): Likewise.
31244         (__ASSUME_DUP3): Likewise.
31245         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31246         (__ASSUME_UTIMES): Likewise.
31247         (__ASSUME_O_CLOEXEC): Likewise.
31248         (__ASSUME_SOCK_CLOEXEC): Likewise.
31249         (__ASSUME_IN_NONBLOCK): Likewise.
31250         (__ASSUME_PIPE2): Likewise.
31251         (__ASSUME_EVENTFD2): Likewise.
31252         (__ASSUME_SIGNALFD4): Likewise.
31253         (__ASSUME_DUP3): Likewise.
31254         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31255         (__ASSUME_UTIMES): Likewise.
31256         (__ASSUME_O_CLOEXEC): Likewise.
31257         (__ASSUME_SOCK_CLOEXEC): Likewise.
31258         (__ASSUME_IN_NONBLOCK): Likewise.
31259         (__ASSUME_PIPE2): Likewise.
31260         (__ASSUME_EVENTFD2): Likewise.
31261         (__ASSUME_SIGNALFD4): Likewise.
31262         (__ASSUME_DUP3): Likewise.
31263         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31264         Likewise.
31265         (__ASSUME_UTIMES): Likewise.
31266         (__ASSUME_EVENTFD2): Likewise.
31267         (__ASSUME_SIGNALFD4): Likewise.
31268         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31269         (__ASSUME_O_CLOEXEC): Likewise.
31270         (__ASSUME_SOCK_CLOEXEC): Likewise.
31271         (__ASSUME_IN_NONBLOCK): Likewise.
31272         (__ASSUME_PIPE2): Likewise.
31273         (__ASSUME_EVENTFD2): Likewise.
31274         (__ASSUME_SIGNALFD4): Likewise.
31275         (__ASSUME_DUP3): Likewise.
31276         (__ASSUME_UTIMES): Undefine.
31278         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31279         feclearexcept.  Remove symbol versioning code.
31280         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31281         symbol versioning code.
31282         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31283         symbol versioning code.
31284         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31285         feupdateenv.  Remove symbol versioning code.
31286         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31287         fegetexceptflag.  Remove symbol versioning code.
31288         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31289         fesetexceptflag.  Remove symbol versioning code.
31290         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31291         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31292         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31293         (__posix_fadvise64_l32): Remove prototype.
31294         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31295         code.
31297 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31299         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31300         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31301         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31302         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31304 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31306         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31307         current working directory
31309 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31311         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31312         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31313         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31314         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31315         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31316         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31317         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31318         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31319         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31320         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31321         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31322         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31323         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31324         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31325         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31326         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31327         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31328         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31329         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31330         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31331         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31332         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31333         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31334         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31335         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31336         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31337         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31338         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31339         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31340         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31341         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31342         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31343         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31344         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31345         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31346         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31347         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31348         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31349         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31350         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31351         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31352         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31354         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31355         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31357         * sysdeps/unix/sysv/linux/arm/Makefile
31358         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31359         Add rt-aeabi_unwind_cpp_pr1.
31360         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31361         Add nptl-aeabi_unwind_cpp_pr1.
31362         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31363         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31364         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31365         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31366         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31367         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31369         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31370         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31371         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31372         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31374         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31375         Deconditionalize the code that was previously under [RESET_PID].
31376         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31378         * sysdeps/generic/exit-thread.h: New file.
31379         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31380         * include/unistd.h (__exit_thread): Remove declaration.
31381         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31382         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31383         * csu/libc-start.c: Include <exit-thread.h>.
31384         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31385         * nptl/pthread_create.c: Include <exit-thread.h>.
31386         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31387         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31388         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31389         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31390         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31391         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31392         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31393         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31394         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31395         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31396         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31397         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31398         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31399         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31400         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31401         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31402         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31404 2014-05-13  Andreas Schwab  <schwab@suse.de>
31406         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31408 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31410         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31411         (__ASSUME_UTIMES): Do not condition on kernel version.
31412         (__ASSUME_PSELECT): Define unconditionally.
31413         (__ASSUME_PPOLL): Likewise.
31414         (__ASSUME_ATFCTS): Likewise.
31415         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31416         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31417         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31418         (__ASSUME_UTIMENSAT): Define unconditionally.
31419         (__ASSUME_PRIVATE_FUTEX): Likewise.
31420         (__ASSUME_FALLOCATE): Likewise.
31421         (__ASSUME_O_CLOEXEC): Likewise.
31422         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31423         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31424         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31425         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31426         (__ASSUME_IN_NONBLOCK): Likewise.
31427         (__ASSUME_PIPE2): Likewise.
31428         (__ASSUME_EVENTFD2): Likewise.
31429         (__ASSUME_SIGNALFD4): Likewise.
31430         (__ASSUME_DUP3): Likewise.
31431         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31432         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31433         (__ASSUME_AT_RANDOM): Likewise.
31434         (__ASSUME_PREADV): Likewise.
31435         (__ASSUME_PWRITEV): Likewise.
31436         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31437         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31438         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31439         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31440         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31441         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31442         (__ASSUME_O_CLOEXEC): Define unconditionally.
31443         (__ASSUME_PSELECT): Do not undefine conditionally.
31444         (__ASSUME_PPOLL): Likewise.
31445         (__ASSUME_ATFCTS): Likewise.
31446         (__ASSUME_SET_ROBUST_LIST): Likewise.
31447         (__ASSUME_UTIMENSAT): Likewise.
31448         (__ASSUME_FDATASYNC): Define unconditionally.
31449         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31450         (__ASSUME_SIGFRAME_V2): Likewise.
31451         )__ASSUME_EVENTFD2): Likewise.
31452         (__ASSUME_SIGNALFD4): Likewise.
31453         (__ASSUME_PSELECT): Do not undefine conditionally.
31454         (__ASSUME_PPOLL): Likewise.
31455         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31456         (__ASSUME_PSELECT): Define unconditionally.
31457         (__ASSUME_PPOLL): Likewise.
31458         (__ASSUME_O_CLOEXEC): Likewise.
31459         (__ASSUME_SOCK_CLOEXEC): Likewise.
31460         (__ASSUME_IN_NONBLOCK): Likewise.
31461         (__ASSUME_PIPE2): Likewise.
31462         (__ASSUME_EVENTFD2): Likewise.
31463         (__ASSUME_SIGNALFD4): Likewise.
31464         (__ASSUME_DUP3): Likewise.
31465         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31466         (__ASSUME_O_CLOEXEC): Likewise.
31467         (__ASSUME_SOCK_CLOEXEC): Likewise.
31468         (__ASSUME_IN_NONBLOCK): Likewise.
31469         (__ASSUME_PIPE2): Likewise.
31470         (__ASSUME_EVENTFD2): Likewise.
31471         (__ASSUME_SIGNALFD4): Likewise.
31472         (__ASSUME_DUP3): Likewise.
31473         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31474         (__ASSUME_EVENTFD2): Likewise.
31475         (__ASSUME_SIGNALFD4): Likewise.
31476         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31478 2014-05-12  Andreas Schwab  <schwab@suse.de>
31480         [BZ #16932]
31481         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31482         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31483         than maximum RPC packet size.
31484         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31485         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31486         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31487         (_nss_nis_getservbyport_r): Likewise.
31489 2014-05-12  Will Newton  <will.newton@linaro.org>
31491         * malloc/Makefile (tests): Add tst-mallopt.
31492         * malloc/tst-mallopt.c: New file.
31494 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31496         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
31497         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
31499 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31501         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
31502         (tst-tlsmod6.so): Likewise.
31504 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31506         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31508 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31510         [BZ #16064]
31511         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31512         and <dl-procinfo.h>.
31513         (__fegetenv): Save SSE state in envp->__eip if supported.
31514         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31515         envp->__eip if supported.
31516         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31517         and <dl-procinfo.h>.
31518         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31519         __data_offset and __data_selector in environment to 0.  Set SSE
31520         state if supported.
31521         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31522         test-fenv-sse.
31523         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31524         -mfpmath=sse.
31525         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31527 2014-05-09  Will Newton  <will.newton@linaro.org>
31529         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
31530         and libc_relro_required for ARM.
31531         * sysdeps/arm/preconfigure: Regenerate.
31533 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
31534             Stefan Liebler  <stli@linux.vnet.ibm.com>
31536         * config.make.in (enable-lock-elision): New Makefile variable.
31537         * configure.ac: Likewise.
31538         * configure: Regenerate.
31539         * sysdeps/s390/configure.ac:
31540         Add check for gcc transactions support.
31541         * sysdeps/s390/configure: Regenerate.
31542         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
31543         Build elision files if enabled.
31544         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
31545         Add lock elision support for s390.
31546         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
31547         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
31548         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
31549         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
31550         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
31551         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
31552         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31553         Likewise.
31554         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
31555         Likewise.
31556         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
31557         Likewise.
31558         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
31559         Likewise.
31560         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
31561         (__lll_timedlock_elision, __lll_lock_elision)
31562         (__lll_unlock_elision, __lll_trylock_elision)
31563         (lll_timedlock_elision, lll_lock_elision)
31564         (lll_unlock_elision, lll_trylock_elision): Add.
31565         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31566         (pthread_mutex_t): Add lock elision support for s390.
31568 2014-05-14  Wilco  <wdijkstr@arm.com>
31570         * sysdeps/arm/fclrexcpt.c: Cleanup.
31571         * sysdeps/arm/fedisblxcpt.c: Cleanup.
31572         * sysdeps/arm/feenablxcpt.c: Cleanup.
31573         * sysdeps/arm/fegetenv.c: Cleanup.
31574         * sysdeps/arm/fegetexcept.c: Cleanup.
31575         * sysdeps/arm/fegetround.c: Cleanup.
31576         * sysdeps/arm/feholdexcpt.c: Cleanup.
31577         * sysdeps/arm/fesetenv.c: Cleanup.
31578         * sysdeps/arm/fesetround.c: Cleanup.
31579         * sysdeps/arm/feupdateenv.c: Cleanup.
31580         * sysdeps/arm/fgetexcptflg.c: Cleanup.
31581         * sysdeps/arm/fraiseexcpt.c: Cleanup.
31582         * sysdeps/arm/fsetexcptflg.c: Cleanup.
31583         * sysdeps/arm/ftestexcept.c: Cleanup.
31584         * sysdeps/arm/get-rounding-mode.h: Cleanup.
31585         * sysdeps/arm/setfpucw.c: Cleanup.
31587 2014-05-09  Will Newton  <will.newton@linaro.org>
31589         * sysdeps/arm/armv7/strcmp.S: New file.
31590         * NEWS: Mention addition of ARMv7 optimized strcmp.
31592 2014-05-08  Roland McGrath  <roland@hack.frob.com>
31594         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
31595         look for %.ac rather than %.in.
31597         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
31598         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
31599         * sysdeps/mach/hurd/configure: Regenerated.
31600         * sysdeps/unix/sysv/linux/configure: Regenerated.
31602         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
31604 2014-05-07  Steve Ellcey  <sellcey@mips.com>
31606         [BZ# 16922]
31607         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
31608         (LONG_SUB): Ditto.
31609         (PTR_SUB): Ditto.
31611 2014-05-07  Andreas Schwab  <schwab@suse.de>
31613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
31614         when skipping over non-matching result from nscd.
31616 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
31618         [BZ #16876]
31619         * nptl/sockperf.c (client): Check socket return value.
31621         [BZ #16877]
31622         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
31623         nscd security class.
31625 2014-05-06  Roland McGrath  <roland@hack.frob.com>
31627         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
31628         * sysdeps/arm/unwind.h: ... here.
31630 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
31632         [BZ# 16916]
31633         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
31634         Define.
31636 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31638         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
31639         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
31640         multiarch strncpy for PPC64.
31641         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
31642         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
31643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
31644         multiarch optimizations.
31645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31646         (__libc_ifunc_impl_list): Likewise.
31647         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
31648         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
31649         multiarch stpncpy for PPC64.
31650         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
31651         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
31653 2014-05-06  Andreas Schwab  <schwab@suse.de>
31655         [BZ #16912]
31656         * gmon/mcount.c (_MCOUNT_DECL): Use
31657         atomic_compare_and_exchange_bool_acq instead of
31658         catomic_compare_and_exchange_bool_acq.
31660 2014-05-05  Roland McGrath  <roland@hack.frob.com>
31662         * elf/Makefile (others, install-bin): Remove pldd.
31663         (pldd-modules): Variable removed.
31664         ($(objpfx)pldd): Target removed.
31665         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
31666         (others, install-bin): Append pldd here.
31667         ($(objpfx)pldd): New target.
31669         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
31670         to 0, so the first #if test emitted later doesn't see it undefined.
31671         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
31672         * sysdeps/gnu/errlist.c: Regenerated.
31674 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31676         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31677         [libc_hidden_builtin_def]: Define to empty value.
31678         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
31679         [libc_hidden_builtin_def]: Likewise.
31680         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
31681         [libc_hidden_builtin_def]: Likewise.
31682         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
31683         [libc_hidden_builtin_def]: Likewise.
31684         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
31685         __redirect_memcpy and define ifunc as default hidden symbol.
31686         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
31687         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
31689 2014-05-04  Adam Conrad  <adconrad@0c3.net>
31691         * locale/iso-4217.def: Reintroduce XDR currency.
31693 2014-05-04  Allan McRae  <allan@archlinux.org>
31695         * po/eo.po: Update Esperanto translation from translation project.
31697 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
31699         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
31700         and FEATURE_INDEX_MAX to 1.
31701         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
31703 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31705         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
31706         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
31707         * iconvdata/big5.c (ONE_DIRECTION): Define.
31708         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
31709         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
31710         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
31711         * iconvdata/cp932.c (ONE_DIRECTION): Define.
31712         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
31713         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
31714         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
31715         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
31716         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
31717         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
31718         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
31719         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
31720         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
31721         * iconvdata/gbk.c (ONE_DIRECTION): Define.
31722         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
31723         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
31724         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
31725         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
31726         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
31727         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
31728         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
31729         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
31730         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
31731         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
31732         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
31733         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
31734         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
31735         * iconvdata/iso646.c (ONE_DIRECTION): Define.
31736         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
31737         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
31738         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
31739         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
31740         * iconvdata/johab.c (ONE_DIRECTION): Define.
31741         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
31742         * iconvdata/sjis.c (ONE_DIRECTION): Define.
31743         * iconvdata/t.61.c (ONE_DIRECTION): Define.
31744         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
31745         * iconvdata/tscii.c (ONE_DIRECTION): Define.
31746         * iconvdata/uhc.c (ONE_DIRECTION): Define.
31747         * iconvdata/unicode.c (ONE_DIRECTION): Define.
31748         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
31749         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
31750         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
31752 2014-05-01  Roland McGrath  <roland@hack.frob.com>
31754         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
31755         (_IO_JUMPS_OFFSET): Define to 0.
31757         * nptl/sysdeps/pthread/bits/libc-lock.h
31758         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31759         (__libc_lock_define_initialized_recursive): Always define using
31760         initializer.  Modern compilers treat uninitialized (implicit zero) and
31761         explicit zero initializers the same (i.e. put the datum in bss).
31763 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31765         * nscd/nscd-client.h: Include <string.h>.
31767 2014-05-01  David S. Miller  <davem@davemloft.net>
31769         [BZ #16885]
31770         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
31771         multiple zero bytes exist at the end of a string.
31772         Reported by Aurelien Jarno <aurelien@aurel32.net>
31774         * string/test-strcmp.c (check): Add explicit test for situations where
31775         there are multiple zero bytes after the first.
31777 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31779         [BZ #16890]
31780         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
31781         when compiling wprintf.
31782         * stdio-common/tstdiomisc.c (t3): New function.
31783         (main): Call it.
31785 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31787         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
31788         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
31789         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
31790         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
31792 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31794         * stdlib/longlong.h: Updated from GCC.
31796 2014-05-01  Will Newton  <will.newton@linaro.org>
31797             Bernard Ogden  <bernie.ogden@linaro.org>
31799         * NEWS: Update fixed bug list.
31801         [BZ #15119]
31802         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
31804 2014-04-30  David S. Miller  <davem@davemloft.net>
31806         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
31807         (libc_feholdexcept_setround_sparc_ctx): New function.
31808         (libc_fesetenv_sparc_ctx): Likewise.
31809         (libc_feupdateenv_sparc_ctx): Likewise.
31810         (libc_feholdsetround_sparc_ctx): Likewise.
31811         (libc_feholdexcept_setround_ctx): Define.
31812         (libc_feholdexcept_setroundf_ctx): Likewise.
31813         (libc_feholdexcept_setroundl_ctx): Likewise.
31814         (libc_fesetenv_ctx): Likewise.
31815         (libc_fesetenvf_ctx): Likewise.
31816         (libc_fesetenvl_ctx): Likewise.
31817         (libc_feupdateenv_ctx): Likewise.
31818         (libc_feupdateenvf_ctx): Likewise.
31819         (libc_feupdateenvl_ctx): Likewise.
31820         (libc_feresetround_ctx): Likewise.
31821         (libc_feresetroundf_ctx): Likewise.
31822         (libc_feresetroundl_ctx): Likewise.
31823         (libc_feholdsetround_ctx): Likewise.
31824         (libc_feholdsetroundf_ctx): Likewise.
31825         (libc_feholdsetroundl_ctx): Likewise.
31827         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31828         with __USE_GNU instead of XOPEN cpp guards.
31830         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
31831         0.
31833         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31834         with XOPEN cpp guards.
31836 2014-04-30  Julian Brown  <julian@codesourcery.com>
31838         [BZ #16888]
31839         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
31840         handling.
31842 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
31844         [BZ #9894]
31845         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
31846         Change to 2.6.32.
31847         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
31848         * sysdeps/unix/sysv/linux/configure: Regenerated.
31849         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
31850         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
31851         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
31852         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
31853         * README: Update reference to required Linux kernel version.
31854         * manual/install.texi (Linux): Update reference to required Linux
31855         kernel headers version.
31856         * INSTALL: Regenerated.
31858         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
31859         header inclusion.
31860         [POSIX] (limits.h): Likewise.
31861         [POSIX] (math.h): Likewise.
31862         [POSIX] (sys/wait.h): Likewise.
31863         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
31864         function.
31865         [POSIX] (stddef.h): Do not allow header inclusion.
31867 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31869         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
31871 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
31873         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
31874         Return immediately after lll_futex_wake.
31876 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31878         [BZ #16791]
31879         * nscd/nscd-client.h (datahead_init_common): Initialize entire
31880         structure.
31881         (datahead_init_pos): Call datahead_init_common early.
31882         (datahead_init_neg): Likewise.
31884         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
31885         datahead_init_neg): New functions.
31886         * nscd/aicache.c (addhstaiX): Use them.
31887         * nscd/grpcache.c (cache_addgr): Likewise.
31888         * nscd/hstcache.c (cache_addhst): Likewise.
31889         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31890         * nscd/netgroupcache.c (do_notfound): Likewise.
31891         (addgetnetgrentX): Likewise.
31892         (addinnetgrX): Likewise.
31893         * nscd/pwdcache.c (cache_addpw): Likewise.
31894         * nscd/servicescache.c (cache_addserv): Likewise.
31896 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31897             Atsushi Onoe  <atsushi@onoe.org>
31899         [BZ #14308]
31900         [BZ #12994]
31901         [BZ #13651]
31902         * resolv/res_query.c (__libc_res_nsearch): Return if at least
31903         one response is valid.
31904         * resolv/res_send.c (send_dg): Check for validity of other
31905         response if the current response is a referral.
31907 2014-04-29  Steve Ellcey  <sellcey@mips.com>
31909         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
31911 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
31913         [BZ #16823]
31914         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
31915         Always divide by positive zero when computing -Inf result.
31916         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31917         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31919 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31921         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
31922         FPSCR if value do not change.
31923         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31924         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
31925         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31926         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31927         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
31928         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
31929         function.
31931 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
31933         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
31934         * sysdeps/unix/sysv/linux/hppa: Move directory from
31935         ports/systeps/unix/sysv/linux/hppa.
31936         * README: Update listing for hppa-*-linux-gnu.
31938 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
31940         [BZ #16754]
31941         * manual/stdio.texi (Hook functions): Fix types of stream hook
31942         functions.
31943         [BZ #16854]
31944         * socket/sys/socket.h: Fix typo in comment.
31946 2014-04-28  Wilco  <wdijkstr@arm.com>
31948         * sysdeps/arm/fenv_private.h: New file.
31949         * sysdeps/arm/math_private.h: New file.
31950         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
31952 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
31954         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
31955         with __int128_t.
31956         (La_x86_64_retval): Likewise.
31958 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
31960         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
31961         fpsr if value didn't change.
31962         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
31963         to fpcr if value didn't change.
31964         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
31965         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
31966         fpsr or fpcr if value didn't change.
31967         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31968         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
31969         fpcr if value didn't change.
31970         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
31971         to fpsr if value didn't change.
31973 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31975         * nptl/tst-sem3.c: Use test-skeleton.c
31976         (main): Rename to do_test.  Use return instead of
31977         exit.
31978         * nptl/tst-sem4.c: Use test-skeleton.c
31979         (main): Rename to do_test.
31981 2014-04-22  David S. Miller  <davem@davemloft.net>
31983         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31984         (struct sigaction): New struct member __glibc_reserved0, change
31985         type of sa_flags to int.
31987 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
31989         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
31990         (COUNT_LEADING_ZEROS_0): Define for AArch64.
31992 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31994         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
31995         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
31997 2014-04-22  Will Newton  <will.newton@linaro.org>
31998             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
32000         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
32001         (__longjmp): Add longjmp and longjmp_target SystemTap
32002         probes.
32003         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
32004         (__sigsetjmp): Add setjmp SystemTap probe.
32006 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
32008         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
32009         match manual order.
32011 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32013         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
32015         * sysdeps/powerpc/fpu/fenv_private.h
32016         (libc_feholdexcept_setroundl_ctx): Define to
32017         libc_feholdexcept_setround_ppc_ctx.
32018         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
32019         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
32020         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
32021         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
32023 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32025         * sysdeps/aarch64/math-tests.h: New file.
32027 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
32029         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
32030         New.
32031         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32032         Check and set bit_AVX2_Usable.
32033         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
32034         macro.
32035         (bit_AVX2): Likewise.
32036         (index_AVX2_Usable): Likewise.
32037         (CPUID_AVX2): Likewise.
32038         (HAS_AVX2): Likewise.
32040 2014-04-17  Will Newton  <will.newton@linaro.org>
32042         * manual/setjmp.texi (System V contexts): Add note that
32043         calling setcontext on a context created by a call to a
32044         signal handler is undefined.  Update text to note that
32045         setcontext from a signal handler is possible but not
32046         recommended.
32048         [BZ #16629]
32049         * stdlib/tst-setcontext.c: Include signal.h.
32050         (main): Check that the signal stack before and
32051         after swapcontext is the same.
32053         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
32054         Re-implement to restore registers in user code and avoid
32055         rt_sigreturn system call.
32057 2014-04-17  Wilco  <wdijkstr@arm.com>
32059         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
32060         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
32061         * math/test-fenv.c: Skip exception trap tests on targets which only
32062         support non-stop mode.
32064 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32065             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32067         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
32068         (libc_feholdsetround_aarch64_ctx)
32069         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
32070         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
32071         (libc_feresetround_ctx, libc_feresetroundf_ctx)
32072         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
32073         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
32074         (libc_feresetround_noexl_ctx): Define.
32076 2014-04-16  Richard Henderson  <rth@redhat.com>
32078         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
32080         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
32081         unwind tables.
32083         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
32084         const from the non-libc, non-ldso copy.
32086         * sysdeps/alpha/libm-test-ulps: Regenerate.
32088 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
32089             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32091         * sysdeps/aarch64/fpu/math_private.h: New file.
32093 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32095         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32097 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
32099         [BZ #16275]
32100         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
32101         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
32102         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
32103         Intel MPX bound registers before _dl_profile_fixup.
32104         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
32105         registers after _dl_profile_fixup.  Save and restore bound
32106         registers bnd0/bnd1 when calling _dl_call_pltexit.
32107         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
32108         (LR_BND_OFFSET): Likewise.
32109         (LRV_BND0_OFFSET): Likewise.
32110         (LRV_BND1_OFFSET): Likewise.
32112 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32114         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
32115         to...
32116         * sysdeps/mach/hurd/i386/tls.h: ... here.
32117         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
32118         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
32119         fields.
32121 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32123         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32125 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32127         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32129 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32131         [BZ #14770]
32132         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32133         * sysdeps/s390/configure: Regenerate.
32135         [BZ #16824]
32136         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32137         Set round-to-nearest internally to reduce error accumulation.
32139 2014-04-16  Alan Modra  <amodra@gmail.com>
32141         [BZ #16740]
32142         [BZ #16619]
32143         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32144         * math/libm-test.inc (frexp_test_data): Add tests.
32145         * NEWS: Update fixed bug list.
32147 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32149         * benchtests/Makefile: Depend on libraries in build directory.
32150         (bench-math): Separate out math tests.
32151         (bench-pthread): Separate out pthread tests.
32152         (bench): Include math and pthread tests.
32154 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32156         [BZ #16831]
32157         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32158         _dl_debug_initialize.
32160         * configure.ac: Remove SELinux header check.
32161         * configure: Regenerate.
32162         * nscd/selinux.c (perms): Array of const char* to permission names.
32163         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32164         default policy. Call string_to_security_class and string_to_av_perm to
32165         translate strings. Enforce default policy and call avs_has_perm with
32166         results of translated strings.
32168 2014-04-13  David S. Miller  <davem@davemloft.net>
32170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32172 2014-04-12  Allan McRae  <allan@archlinux.org>
32174         [BZ #16838]
32175         * manual/string.texi (Collation Functions): Fix qsort argument
32176         order in example.
32177         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32179 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32181         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32182         Make the test a no-op if there are no exceptions defined.
32184 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32186         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32187         enable-hardcoded-path-in-tests
32189 2014-04-11  Will Newton  <will.newton@linaro.org>
32191         * benchtests/Makefile (extra-objs): Add json-lib.o.
32192         (bench-func): Tidy up JSON output.
32193         * benchtests/bench-skeleton.c: Include json-lib.h.
32194         (main): Use JSON library functions to do output of
32195         benchmark results.
32196         * benchtests/bench-timing-type.c (main): Output the
32197         timing type simply, leaving formatting to the user.
32198         * benchtests/json-lib.c: New file.
32199         * benchtests/json-lib.h: Likewise.
32201 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32203         [BZ #15215]
32204         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32205         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32206         memory barriers.  Add comments.
32207         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32208         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32209         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32210         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32211         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32212         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32214 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32216         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32217         * sysdeps/s390/s390-64/configure.ac: ... this ...
32218         * sysdeps/s390/configure.ac: ... to here.
32219         * sysdeps/s390/s390-32/configure: Delete file.
32220         * sysdeps/s390/s390-64/configure: Delete file.
32221         * sysdeps/s390/configure: Regenerate.
32223 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32225         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32227 2014-04-11  Will Newton  <will.newton@linaro.org>
32229         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32230         to zero if it is not defined elsewhere.  (mtrim): Test
32231         the value of MALLOC_DEBUG with #if rather than #ifdef.
32233 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32235         * benchtests/pthread_once-inputs: New file.
32236         * benchtests/pthread_once-source.c: New file.
32237         * benchtests/README: Update documentation.
32239 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32240             H.J. Lu  <hongjiu.lu@intel.com>
32242         [BZ #16275]
32243         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32244         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32245         * sysdeps/x86_64/configure: Regenerated.
32246         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32247         macro.
32248         (REGISTER_SAVE_RAX): Likewise.
32249         (REGISTER_SAVE_RCX): Likewise.
32250         (REGISTER_SAVE_RDX): Likewise.
32251         (REGISTER_SAVE_RSI): Likewise.
32252         (REGISTER_SAVE_RDI): Likewise.
32253         (REGISTER_SAVE_R8): Likewise.
32254         (REGISTER_SAVE_R9): Likewise.
32255         (REGISTER_SAVE_BND0): Likewise.
32256         (REGISTER_SAVE_BND1): Likewise.
32257         (REGISTER_SAVE_BND2): Likewise.
32258         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32259         bound registers when calling _dl_fixup.
32261 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32263         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32264         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32265         of its definition.
32266         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32267         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32268         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32269         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32270         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32271         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32272         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32274 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32276         [BZ #15514]
32277         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32278         pathconf(_PC_NAME_MAX).
32280 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32282         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32283         Remove macro usage.
32284         (__PTHREAD_SPINS): Move definition to ...
32285         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32286         (__PTHREAD_SPINS): ... here.
32287         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32288         (__PTHREAD_SPIN): Likewise.
32289         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32290         (__PTHREAD_SPIN): Likewise.
32291         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32292         (__PTHREAD_SPIN): Likewise.
32293         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32294         (__PTHREAD_SPIN): Likewise.
32295         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32296         (__PTHREAD_SPIN): Likewise.
32297         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32298         (__PTHREAD_SPIN): Likewise.
32299         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32300         (__PTHREAD_SPIN): Likewise.
32301         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32302         (__PTHREAD_SPIN): Likewise.
32303         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32304         (__PTHREAD_SPIN): Likewise.
32305         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32306         (__PTHREAD_SPIN): Likewise.
32307         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32308         (__PTHREAD_SPIN): Likewise.
32309         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32310         (__PTHREAD_SPIN): Likewise.
32312         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32313         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32314         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32315         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32316         imply folder.
32317         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32318         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32319         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32320         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32321         correct imply path.
32322         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32323         strlen symbol for non multi-arch builds.
32324         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32325         missing hidden_def and weak_alias.
32327 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32329         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32331 2014-04-07  Will Newton  <will.newton@linaro.org>
32333         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32334         and contents.  [!_LIBC] Remove #ifndef and contents.
32335         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32336         * string/memccpy.c (__memccpy): Use ANSI prototype.
32337         * string/memfrob.c (memfrob): Likewise.
32338         * string/strcoll.c (STRCOLL): Likewise.
32339         * string/strlen.c (strlen): Likewise.
32340         * string/strtok.c (STRTOK): Likewise.
32341         * string/strcat.c: Remove unused #include of memcopy.h.
32342         (strcat): Use ANSI prototype.
32343         * string/strchr.c: Remove unused #include of memcopy.h.
32344         (strchr): Use ANSI prototype.
32345         * string/strcmp.c: Remove unused #include of memcopy.h.
32346         (strcmp): Use ANSI prototype.
32347         * string/strcpy.c: Remove unused #include of memcopy.h.
32348         (strcpy): Use ANSI prototype.
32350 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32352         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32353         * config.make.in (config-extra-cppflags): Set it from
32354         libc_extra_cppflags.
32355         * configure.ac (libc_extra_cflags): Make it accumulate over
32356         configure fragments.
32357         (libc_extra_cppflags): New flag.
32358         * configure. Regenerate.
32359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32360         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32361         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32364         [BZ #16815]
32365         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32366         result for FE_DOWNWARD rounding mode.
32367         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32368         Likewise.
32369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32371 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32373         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32374         in function argument name.
32376 2014-04-03  David Svoboda  <svoboda@cert.org>
32378         [BZ #5666]
32379         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32380         explicitly.
32382 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32384         * elf/dl-unmap-segments.h: New file.
32385         * sysdeps/generic/ldsodefs.h
32386         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32387         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32388         * elf/dl-fptr.c: Likewise.
32389         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32390         * sysdeps/aarch64/tlsdesc.c: Likewise.
32391         * sysdeps/arm/tlsdesc.c: Likewise.
32392         * sysdeps/i386/tlsdesc.c: Likewise.
32393         * sysdeps/tile/dl-runtime.c: Likewise.
32394         * sysdeps/x86_64/tlsdesc.c: Likewise.
32395         * elf/dl-load.h: New file.
32396         * elf/dl-load.c: Include it.
32397         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32398         Macros moved to dl-load.h.
32399         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32400         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32401         Use _dl_unmap_segments in place of __munmap.
32402         Break out segment-mapping loop into ...
32403         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32405 2014-04-03  Will Newton  <will.newton@linaro.org>
32407         * elf/dl-lookup.c (do_lookup_x): Remove comment
32408         referring to nested function and move variable
32409         declarations down to before first use.
32411 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32413         [BZ #16799]
32414         [BZ #16800]
32415         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32416         with 0 numerator.
32417         * math/s_catanf.c (__catanf): Likewise.
32418         * math/s_catanh.c (__catanh): Likewise.
32419         * math/s_catanhf.c (__catanhf): Likewise.
32420         * math/s_catanhl.c (__catanhl): Likewise.
32421         * math/s_catanl.c (__catanl): Likewise.
32422         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32423         by positive zero when computing -Inf result.
32424         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32425         (catanh_test): Likewise.
32426         * sysdeps/i386/fpu/libm-test-ulps: Update.
32427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32429         [BZ #16789]
32430         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32431         instead of using underflowing value in computing result.
32432         * math/s_clog10.c (__clog10): Likewise.
32433         * math/s_clog10f.c (__clog10f): Likewise.
32434         * math/s_clog10l.c (__clog10l): Likewise.
32435         * math/s_clogf.c (__clogf): Likewise.
32436         * math/s_clogl.c (__clogl): Likewise.
32437         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32438         (clog10_test): Likewise.
32439         * sysdeps/i386/fpu/libm-test-ulps: Update.
32440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32442 2014-04-02  Alan Modra  <amodra@gmail.com>
32444         [BZ #16739]
32445         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32446         output when value is near a power of two.  Use int64_t for lx and
32447         remove casts.  Use decimal rather than hex exponent constants.
32448         Don't use long double multiplication when double will suffice.
32449         * math/libm-test.inc (nextafter_test_data): Add tests.
32450         * NEWS: Add 16739 and 16786 to bug list.
32452         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32454         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32456 2014-04-01  Will Newton  <will.newton@linaro.org>
32458         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32459         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32461 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32463         [BZ #13347]
32464         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32465         * nptl/tst-setuid2.c: New file.
32466         * nptl/Makefile (xtests): Add tst-setuid2.
32468 2014-04-01  Alan Modra  <amodra@gmail.com>
32470         [BZ #16786]
32471         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32473 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32475         [BZ #6803]
32476         [BZ #6804]
32477         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32478         set errno as appropriate.
32479         * math/w_scalbf.c (__scalbf): Likewise.
32480         * math/w_scalbl.c (__scalbl): Likewise.
32481         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32482         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32483         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32484         Add more NaN tests.
32486         [BZ #16349]
32487         * math/w_atan2.c: Include <errno.h>.
32488         (__atan2): Set errno for result underflowing to zero.
32489         * math/w_atan2f.c: Include <errno.h>.
32490         (__atan2f): Set errno for result underflowing to zero.
32491         * math/w_atan2l.c: Include <errno.h>.
32492         (__atan2l): Set errno for result underflowing to zero.
32493         * math/auto-libm-test-in: Don't allow missing errno for some atan2
32494         tests.
32495         * math/auto-libm-test-out: Regenerated.
32497 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32499         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32500         Encode instruction correctly in little endian.
32501         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32502         Likewise.
32503         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32504         Likewise.
32505         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32506         Likewise.
32507         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32508         Likewise.
32510 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32512         [BZ #9894]
32513         * sysdeps/unix/sysv/linux/kernel-features.h
32514         [__sparc__ && !__arch64__ && !__sparc_v9__]
32515         (__ASSUME_SET_ROBUST_LIST): Do not define.
32516         [__sparc__ && !__arch64__ && !__sparc_v9__]
32517         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32518         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32519         Likewise.
32520         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32521         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32522         (__ASSUME_REQUEUE_PI): Likewise.
32523         (__ASSUME_SET_ROBUST_LIST): Likewise.
32524         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32525         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32526         Undefine.
32527         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32528         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
32529         Likewise.
32530         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
32531         Likewise.
32532         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
32533         Likewise.
32534         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32535         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
32536         Undefine.
32537         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
32538         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
32539         Likewise.
32541         [BZ #16648]
32542         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32543         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
32544         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
32546 2014-03-31  Will Newton  <will.newton@linaro.org>
32548         * benchtests/Makefile (bench): Add ffs and ffsll to list
32549         of tests.
32550         * benchtests/ffs-inputs: New file.
32551         * benchtests/ffsll-inputs: Likewise.
32553 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
32555         [BZ #16770]
32556         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
32557         too large before casting to int.
32558         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
32559         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
32560         * math/libm-test.inc (scalb_test_data): Add more tests.
32562 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32564         * benchtests/Makefile (DETAILED_OPT): New make option.
32565         (bench-func): Run benchmark program with -d if DETAILED_OPT is
32566         set.
32567         * benchtests/bench-skeleton.c: Include stdbool.h.
32568         (main): Store and print timings per input.
32569         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
32570         member to each argument value.
32571         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
32572         (_print_arg_data): Initialize per-input timing to 0.
32574         * benchtests/Makefile (timing-type): New binary.
32575         (bench-clean): Also remove bench-timing-type.
32576         (bench): New target for timing-type.
32577         (bench-func): Print output in JSON format.
32578         * benchtests/bench-skeleton.c (main): Print output in JSON
32579         format.
32580         * benchtests/bench-timing-type.c: New file.
32581         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
32582         (TIMING_PRINT_STATS): Remove.
32583         * benchtests/scripts/bench.py (_print_arg_data): Store variant
32584         name separately.
32586         * benchtests/bench-modf.c: Remove.
32587         * benchtests/modf-inputs: New inputs file.
32589 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
32591         [BZ #16362]
32592         * math/s_clog10.c (M_PI_LOG10E): New macro.
32593         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
32594         imaginary parts are 0.
32595         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
32596         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
32597         imaginary parts are 0.
32598         * math/s_clog10l.c (M_PI_LOG10El): New macro.
32599         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
32600         imaginary parts are 0.
32601         * math/libm-test.inc (clog10_test_data): Update expected results
32602         for when real and imaginary parts are 0.
32604 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
32606         * elf/dl-load.c: Finish conversion of __builtin_expect into
32607         __glibc_{un}likely.
32609 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
32611         [BZ #16348]
32612         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
32613         1+x for argument with exponent below -67.
32614         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
32615         Likewise.
32616         * math/auto-libm-test-in: Add more tests of exp.
32617         * math/auto-libm-test-out: Regenerated.
32619 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32621         [BZ #16759]
32622         * inet/getnetgrent_r.c (get_nonempty_val): New function.
32623         (nscd_getnetgrent): Use it.
32625         [BZ #16760]
32626         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
32627         of stpcpy.
32629 2014-03-27  Andi Kleen  <ak@linux.intel.com>
32631         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
32632         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32633         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32634         (lll_robust_unlock): Remove out of line section. Use cfi
32635         intrinsics.
32636         (LLL_STUB_UNWIND_INFO*): Remove.
32637         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
32638         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32639         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32640         (lll_robust_unlock): Remove out of line section. Use cfi
32641         intrinsics.
32642         (LLL_STUB_UNWIND_INFO*): Remove.
32644 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32646         [BZ #16758]
32647         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
32648         blank values.
32650 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
32652         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
32654 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
32656         [BZ #16198]
32657         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
32658         fnstenv.
32659         * math/test-fenv-preserve.c: New file.
32660         * math/Makefile (tests): Add test-fenv-preserve.
32662 2014-03-26  Will Newton <will.newton@linaro.org>
32664         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
32666 2014-03-25  Roland McGrath  <roland@hack.frob.com>
32668         * scripts/versionlist.awk: Partition the version sets and emit all
32669         GLIBC_* (sorted) before all others (sorted).
32671 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32673         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
32674         GLIBC_2.2.5 version.
32676 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32678         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
32679         calls.
32681         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
32682         previous change.
32684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32686 2014-03-25  Andreas Schwab  <schwab@suse.de>
32688         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
32689         label to be used after in6ailist is initialized.
32691 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32693         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32694         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32696 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32698         [BZ #16357]
32699         [BZ #16599]
32700         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
32701         min_plus_half.
32702         (fp_formats): Update initializers.
32703         (init_fp_formats): Initialize new field.
32704         (output_for_one_input_case): Allow underflow for results up to
32705         min_plus_half.
32706         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
32707         * math/auto-libm-test-in: Don't mark some underflows from asin and
32708         atanh as spurious.
32709         * math/auto-libm-test-out: Regenerated.
32710         * sysdeps/i386/fpu/libm-test-ulps: Update.
32711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32713 2014-03-25  Andreas Schwab  <schwab@suse.de>
32715         * libio/Makefile (tst-ftell-partial-wide-ENV)
32716         (tst-ftell-active-handler-ENV): Define.
32718 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
32720         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
32722 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32724         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
32726 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32728         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
32729         * sysdeps/x86_64/fpu/multiarch/e_exp.c
32730         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
32732 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32734         [BZ #16634]
32735         * elf/dl-load.c (open_verify): Add mode parameter.
32736         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
32737         (open_path): Change from boolean 'secure' to complete flag 'mode'
32738         (_dl_map_object): Adjust.
32739         * elf/Makefile (tests): Add tst-dlopen-aout.
32740         * elf/tst-dlopen-aout.c: New test.
32742 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
32744         [BZ #16714]
32745         * sysdeps/unix/sysv/linux/s390/bits/stat.h
32746         (struct stat): Rename member pad0 to __glibc_reserved0.
32748         [BZ #16712]
32749         * sysdeps/s390/s390-32/bits/wordsize.h
32750         (__WORDSIZE32_SIZE_ULONG): New define.
32751         * sysdeps/s390/s390-64/bits/wordsize.h
32752         (__WORDSIZE32_SIZE_ULONG): Likewise.
32753         * sysdeps/generic/stdint.h (SIZE_MAX):
32754         Define as UL if __WORDSIZE32_SIZE_ULONG.
32756         [BZ #16713]
32757         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32758         (__glibc_reserved0): New variable.
32759         (sa_flags): Change type to int.
32761         * posix/Makefile (before-compile): Use += before-compile instead
32762         of a :=.
32764         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32765         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32767 2014-03-20  Andreas Schwab  <schwab@suse.de>
32769         [BZ #16743]
32770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
32771         non-matching result from nscd.
32773 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32775         * scripts/bench.py: Moved to ...
32776         * benchtests/scripts/bench.py: ... here.
32777         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
32779 2014-03-24  Andreas Schwab  <schwab@suse.de>
32781         [BZ #16002]
32782         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
32783         alloca_account and account alloca use for struct in6ailist.
32785 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32787         [BZ #16284]
32788         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
32789         rounding mode to recompute results that overflow to infinity or
32790         underflow to zero.
32791         * math/auto-libm-test-in: Don't mark tests as expected to fail for
32792         bug 16284.
32793         * math/auto-libm-test-out: Regenerated.
32794         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
32795         (ccosh_test): Likewise.
32796         (csin_test_data): Use plus_oflow.
32797         (csin_test): Use ALL_RM_TEST.
32798         (csinh_test_data): Use plus_oflow.
32799         (csinh_test): Use ALL_RM_TEST.
32800         * sysdeps/i386/fpu/libm-test-ulps: Update.
32801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32803 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
32805         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
32806         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
32807         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
32809         [BZ #16731]
32810         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
32811         when x - 1 is zero.
32812         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
32813         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
32814         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32815         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
32816         argument is 1.
32817         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
32818         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
32819         zero.
32820         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
32821         * sysdeps/i386/fpu/libm-test-ulps: Update.
32822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32824 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32826         * scripts/bench.pl: Remove file.
32827         * scripts/bench.py: New benchmark script.
32828         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
32829         * benchtests/README: Mention python dependency.
32830         * scripts/pylintrc: New file.
32831         * scripts/pylint: New file.
32833         * bits/mathdef.h: Use #ifdef instead of #if.
32834         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
32835         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32836         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
32837         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32838         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
32839         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32841 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32842             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32844         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
32845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
32846         and strpbrk-ppc64 objects.
32847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32848         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
32849         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
32850         multiarch strpbrk for POWER7.
32851         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
32852         multiarch strpbrk for PPC64.
32853         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
32854         ifunc selector.
32855         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
32856         strpbrk for POWER7.
32858 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32860         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
32861         (atan_test): Likewise.
32862         (atanh_test_data): Use NO_TEST_INLINE for two tests.
32863         (atanh_test): Use ALL_RM_TEST.
32864         (atan2_test_data): Likewise.
32865         (cabs_test): Likewise.
32866         (cacosh_test): Likewise.
32867         (carg_test): Likewise.
32868         (casin_test): Likewise.
32869         (casinh_test): Likewise.
32870         (cbrt_test): Likewise.
32871         (csqrt_test): Likewise.
32872         (erf_test): Likewise.
32873         (erfc_test): Likewise.
32874         (pow10_test): Likewise.
32875         (exp2_test): Likewise.
32876         (hypot_test): Likewise.
32877         (j0_test): Likewise.
32878         (j1_test): Likewise.
32879         (lgamma_test): Likewise.
32880         (gamma_test): Likewise.
32881         (sincos_test): Likewise.
32882         (tanh_test): Likewise.
32883         (y0_test): Likewise.
32884         (y1_test): Likewise.
32885         * sysdeps/i386/fpu/libm-test-ulps: Update.
32886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32888 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32890         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
32891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
32892         and strcspn-ppc64 objects.
32893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32894         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
32895         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
32896         multiarch strcspn for POWER7.
32897         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
32898         multiarch strcspn for PPC64.
32899         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
32900         ifunc selector.
32901         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
32902         strcspn for POWER7.
32904 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32906         * math/gen-libm-test.pl (generate_testfile): Expect only function
32907         name as argument to AUTO_TESTS_* and pass results for all rounding
32908         modes to parse_args.
32909         (parse_auto_input): Separate inputs of automatic tests from
32910         outputs before storing in %auto_tests.
32911         * math/libm-test.inc (acos_test_data): Update call to
32912         AUTO_TESTS_f_f.
32913         (acos_test): Use ALL_RM_TEST.
32914         (acos_tonearest_test_data): Remove.
32915         (acos_test_tonearest): Likewise.
32916         (acos_towardzero_test_data): Likewise.
32917         (acos_test_towardzero): Likewise.
32918         (acos_downward_test_data): Likewise.
32919         (acos_test_downward): Likewise.
32920         (acos_upward_test_data): Likewise.
32921         (acos_test_upward): Likewise.
32922         (acosh_test_data): Update call to AUTO_TESTS_f_f.
32923         (asin_test_data): Likewise.
32924         (asin_test): Use ALL_RM_TEST.
32925         (asin_tonearest_test_data): Remove.
32926         (asin_test_tonearest): Likewise.
32927         (asin_towardzero_test_data): Likewise.
32928         (asin_test_towardzero): Likewise.
32929         (asin_downward_test_data): Likewise.
32930         (asin_test_downward): Likewise.
32931         (asin_upward_test_data): Likewise.
32932         (asin_test_upward): Likewise.
32933         (asinh_test_data): Update call to AUTO_TESTS_f_f.
32934         (atan_test_data): Likewise.
32935         (atanh_test_data): Likewise.
32936         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
32937         (cabs_test_data): Update call to AUTO_TESTS_c_f.
32938         (carg_test_data): Likewise.
32939         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
32940         (ccos_test_data): Update call to AUTO_TESTS_c_c.
32941         (ccosh_test_data): Likewise.
32942         (cexp_test_data): Likewise.
32943         (clog_test_data): Likewise.
32944         (clog10_test_data): Likewise.
32945         (cos_test_data): Update call to AUTO_TESTS_f_f.
32946         (cos_test): Use ALL_RM_TEST.
32947         (cos_tonearest_test_data): Remove.
32948         (cos_test_tonearest): Likewise.
32949         (cos_towardzero_test_data): Likewise.
32950         (cos_test_towardzero): Likewise.
32951         (cos_downward_test_data): Likewise.
32952         (cos_test_downward): Likewise.
32953         (cos_upward_test_data): Likewise.
32954         (cos_test_upward): Likewise.
32955         (cosh_test_data): Update call to AUTO_TESTS_f_f.
32956         (cosh_test): Use ALL_RM_TEST.
32957         (cosh_tonearest_test_data): Remove.
32958         (cosh_test_tonearest): Likewise.
32959         (cosh_towardzero_test_data): Likewise.
32960         (cosh_test_towardzero): Likewise.
32961         (cosh_downward_test_data): Likewise.
32962         (cosh_test_downward): Likewise.
32963         (cosh_upward_test_data): Likewise.
32964         (cosh_test_upward): Likewise.
32965         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
32966         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
32967         (ctan_test_data): Likewise.
32968         (ctan_test): Use ALL_RM_TEST.
32969         (ctan_tonearest_test_data): Remove.
32970         (ctan_test_tonearest): Likewise.
32971         (ctan_towardzero_test_data): Likewise.
32972         (ctan_test_towardzero): Likewise.
32973         (ctan_downward_test_data): Likewise.
32974         (ctan_test_downward): Likewise.
32975         (ctan_upward_test_data): Likewise.
32976         (ctan_test_upward): Likewise.
32977         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
32978         (ctanh_test): Use ALL_RM_TEST.
32979         (ctanh_tonearest_test_data): Remove.
32980         (ctanh_test_tonearest): Likewise.
32981         (ctanh_towardzero_test_data): Likewise.
32982         (ctanh_test_towardzero): Likewise.
32983         (ctanh_downward_test_data): Likewise.
32984         (ctanh_test_downward): Likewise.
32985         (ctanh_upward_test_data): Likewise.
32986         (ctanh_test_upward): Likewise.
32987         (erf_test_data): Update call to AUTO_TESTS_f_f.
32988         (erfc_test_data): Likewise.
32989         (exp_test_data): Likewise.
32990         (exp_test): Use ALL_RM_TEST.
32991         (exp_tonearest_test_data): Remove.
32992         (exp_test_tonearest): Likewise.
32993         (exp_towardzero_test_data): Likewise.
32994         (exp_test_towardzero): Likewise.
32995         (exp_downward_test_data): Likewise.
32996         (exp_test_downward): Likewise.
32997         (exp_upward_test_data): Likewise.
32998         (exp_test_upward): Likewise.
32999         (exp10_test_data): Update call to AUTO_TESTS_f_f.
33000         (exp10_test): Use ALL_RM_TEST.
33001         (exp10_tonearest_test_data): Remove.
33002         (exp10_test_tonearest): Likewise.
33003         (exp10_towardzero_test_data): Likewise.
33004         (exp10_test_towardzero): Likewise.
33005         (exp10_downward_test_data): Likewise.
33006         (exp10_test_downward): Likewise.
33007         (exp10_upward_test_data): Likewise.
33008         (exp10_test_upward): Likewise.
33009         (exp2_test_data): Update call to AUTO_TESTS_f_f.
33010         (expm1_test_data): Likewise.
33011         (expm1_test): Use ALL_RM_TEST.
33012         (expm1_tonearest_test_data): Remove.
33013         (expm1_test_tonearest): Likewise.
33014         (expm1_towardzero_test_data): Likewise.
33015         (expm1_test_towardzero): Likewise.
33016         (expm1_downward_test_data): Likewise.
33017         (expm1_test_downward): Likewise.
33018         (expm1_upward_test_data): Likewise.
33019         (expm1_test_upward): Likewise.
33020         (fma_test_data): Update call to AUTO_TESTS_fff_f.
33021         (fma_test): Use ALL_RM_TEST.
33022         (fma_towardzero_test_data): Remove.
33023         (fma_test_towardzero): Likewise.
33024         (fma_downward_test_data): Likewise.
33025         (fma_test_downward): Likewise.
33026         (fma_upward_test_data): Likewise.
33027         (fma_test_upward): Likewise.
33028         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
33029         (j0_test_data): Update call to AUTO_TESTS_f_f.
33030         (j1_test_data): Likewise.
33031         (jn_test_data): Update call to AUTO_TESTS_if_f.
33032         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
33033         (log_test_data): Update call to AUTO_TESTS_f_f.
33034         (log10_test_data): Likewise.
33035         (log1p_test_data): Likewise.
33036         (log2_test_data): Likewise.
33037         (pow_test_data): Update call to AUTO_TESTS_ff_f.
33038         (pow_tonearest_test_data): Likewise.
33039         (sin_test_data): Update call to AUTO_TESTS_f_f.
33040         (sin_test): Use ALL_RM_TEST.
33041         (sin_tonearest_test_data): Remove.
33042         (sin_test_tonearest): Likewise.
33043         (sin_towardzero_test_data): Likewise.
33044         (sin_test_towardzero): Likewise.
33045         (sin_downward_test_data): Likewise.
33046         (sin_test_downward): Likewise.
33047         (sin_upward_test_data): Likewise.
33048         (sin_test_upward): Likewise.
33049         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
33050         (sinh_test_data): Update call to AUTO_TESTS_f_f.
33051         (sinh_test): Use ALL_RM_TEST.
33052         (sinh_tonearest_test_data): Remove.
33053         (sinh_test_tonearest): Likewise.
33054         (sinh_towardzero_test_data): Likewise.
33055         (sinh_test_towardzero): Likewise.
33056         (sinh_downward_test_data): Likewise.
33057         (sinh_test_downward): Likewise.
33058         (sinh_upward_test_data): Likewise.
33059         (sinh_test_upward): Likewise.
33060         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
33061         (sqrt_test): Use ALL_RM_TEST.
33062         (sqrt_tonearest_test_data): Remove.
33063         (sqrt_test_tonearest): Likewise.
33064         (sqrt_towardzero_test_data): Likewise.
33065         (sqrt_test_towardzero): Likewise.
33066         (sqrt_downward_test_data): Likewise.
33067         (sqrt_test_downward): Likewise.
33068         (sqrt_upward_test_data): Likewise.
33069         (sqrt_test_upward): Likewise.
33070         (tan_test_data): Update call to AUTO_TESTS_f_f.
33071         (tan_test): Use ALL_RM_TEST.
33072         (tan_tonearest_test_data): Remove.
33073         (tan_test_tonearest): Likewise.
33074         (tan_towardzero_test_data): Likewise.
33075         (tan_test_towardzero): Likewise.
33076         (tan_downward_test_data): Likewise.
33077         (tan_test_downward): Likewise.
33078         (tan_upward_test_data): Likewise.
33079         (tan_test_upward): Likewise.
33080         (tanh_test_data): Update call to AUTO_TESTS_f_f.
33081         (tgamma_test_data): Likewise.
33082         (y0_test_data): Likewise.
33083         (y1_test_data): Likewise.
33084         (yn_test_data): Update call to AUTO_TESTS_if_f.
33085         (main): Do not call removed functions.
33087 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33089         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
33090         (ldexp_test_data): Remove.
33091         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
33092         scalbn_test_data.
33093         (scalb_test): Use ALL_RM_TEST.
33095 2014-03-19  Andreas Schwab  <schwab@suse.de>
33097         * nscd/nscd.service: Also invalidate netgroup cache on reload.
33099 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33101         [BZ #16649]
33102         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33103         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
33104         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
33105         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33106         (__ASSUME_PREADV): Undefine.
33107         (__ASSUME_PWRITEV): Likewise.
33109 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33111         * bits/mman-linux.h: Add comment about non-Linux use.
33112         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
33113         bits/mman-linux.h resting place.
33115         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
33116         * bits/mman-linux.h: ... here.
33118 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33120         * conform/conformtest.pl: Add standard definition when calling C
33121         preprocessor on data files.
33122         (checknamespace): Remove unused variable.
33124 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33126         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33127         minus_oflow, plus_uflow and minus_uflow in expected results.
33128         * math/libm-test.inc (scalbn_test_data): Add more tests of
33129         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33130         minus_uflow.
33131         (scalbn_test): Use ALL_RM_TEST.
33132         (scalbln_test_data): Add more tests of negative arguments.  Use
33133         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33134         (scalbln_test): Use ALL_RM_TEST.
33136 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33138         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33140 2014-03-18  Will Newton  <will.newton@linaro.org>
33142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33143         inaccurate comment.
33145 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33147         * Makerules [!subdir] (check-abi): Exit with error status if a
33148         test failed.
33150 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33152         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33153         for rint.  Include results for all rounding modes.
33154         (nearbyint_test): Use ALL_RM_TEST.
33155         (rint_test_data): Include all tests used for nearbyint.
33157 2014-03-17  Will Newton  <will.newton@linaro.org>
33159         * nptl/sysdeps/pthread/pthread.h: Revert previous
33160         change.
33162         * sysdeps/generic/ldsodefs.h: Revert previous
33163         change.
33165         * libio/genops.c: Revert previous change.
33166         * libio/libioP.h: Likewise.
33167         * stdio-common/vfprintf.c: Likewise.
33169         * sysdeps/generic/math_private.h: Revert previous
33170         change.
33172         * sysdeps/generic/math_private.h: Check whether
33173         HAVE_RM_CTX is defined with #ifdef rather
33174         than #if.
33176         * argp/argp-fmtstream.h: Check whether
33177         __STRICT_ANSI__ is defined with #ifdef rather
33178         than #if.
33179         * argp/argp.h: Likewise.
33181         * libio/genops.c: Check whether
33182         _IO_JUMPS_OFFSET is defined with #ifdef rather
33183         than #if.
33184         * libio/libioP.h: Likewise.
33185         * stdio-common/vfprintf.c: Likewise.
33187         * sysdeps/generic/ldsodefs.h: Check whether
33188         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33189         than #if.
33191         * nptl/sysdeps/pthread/pthread.h: Check
33192         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33193         its value.
33195 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33197         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33198         setting O_APPEND.
33199         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33200         test case.
33202         [BZ #16680]
33203         * libio/fileops.c (_IO_file_open): Seek to end of file but
33204         don't cache the offset.
33205         (get_file_offset): Remove function.
33206         (do_ftell): Use cached offset when available.
33207         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33208         don't cache the offset.
33209         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33210         case.
33211         (do_one_test): Call it.
33212         (do_ftell_test): Fix up expected old offset for a+ mode.
33213         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33214         available.
33216         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33217         up test status with function return status.
33218         (do_write_test): Likewise.
33219         (do_append_test): Likewise.
33221         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33222         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33223         Remove.
33225 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33227         * math/gen-libm-test.pl (parse_args): Handle results specified for
33228         each rounding mode separately.
33229         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33230         tests and results from lrint_tonearest_test_data,
33231         lrint_towardzero_test_data, lrint_downward_test_data and
33232         lrint_upward_test_data.
33233         (lrint_test): Use ALL_RM_TEST.
33234         (lrint_tonearest_test_data): Remove.
33235         (lrint_test_tonearest): Likewise.
33236         (lrint_towardzero_test_data): Likewise.
33237         (lrint_test_towardzero): Likewise.
33238         (lrint_downward_test_data): Likewise.
33239         (lrint_test_downward): Likewise.
33240         (lrint_upward_test_data): Likewise.
33241         (lrint_test_upward): Likewise.
33242         (llrint_test_data): Merge in per-rounding-mode tests and results
33243         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33244         llrint_downward_test_data and llrint_upward_test_data.
33245         (llrint_test): Use ALL_RM_TEST.
33246         (llrint_tonearest_test_data): Remove.
33247         (llrint_test_tonearest): Likewise.
33248         (llrint_towardzero_test_data): Likewise.
33249         (llrint_test_towardzero): Likewise.
33250         (llrint_downward_test_data): Likewise.
33251         (llrint_test_downward): Likewise.
33252         (llrint_upward_test_data): Likewise.
33253         (llrint_test_upward): Likewise.
33254         (rint_test_data): Merge in per-rounding-mode tests and results
33255         from rint_tonearest_test_data, rint_towardzero_test_data,
33256         rint_downward_test_data and rint_upward_test_data.  Add
33257         per-rounding-mode results for tests not in those arrays.
33258         (rint_test): Use ALL_RM_TEST.
33259         (rint_tonearest_test_data): Remove.
33260         (rint_test_tonearest): Likewise.
33261         (rint_towardzero_test_data): Likewise.
33262         (rint_test_towardzero): Likewise.
33263         (rint_downward_test_data): Likewise.
33264         (rint_test_downward): Likewise.
33265         (rint_upward_test_data): Likewise.
33266         (rint_test_upward): Likewise.
33267         (main): Don't call removed functions.
33269 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33271         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33272         "Compiled on ..." crapola.  It is anti-useful.
33274 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33276         * scripts/evaluate-test.sh: Handle fourth argument to determine
33277         whether test run should stop on failure.
33278         * Makeconfig (stop-on-test-failure): New variable.
33279         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33280         $(stop-on-test-failure).
33281         * Makefile (tests): Give a summary of results from testing and
33282         exit with failure status if they include an ERROR or FAIL.
33283         (xtests): Likewise.
33284         * manual/install.texi (Configuring and compiling): Mention
33285         stop-on-test-failure=y.
33286         * INSTALL: Regenerated.
33288 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33290         * scripts/versionlist.awk: New file.
33291         * Makerules [$(build-shared) = yes]
33292         (postclean-generated): Add Versions.def, not Versions.def.v and
33293         Versions.def.v.i.
33294         ($(common-objpfx)Versions.def.v.i): Target removed.
33295         ($(common-objpfx)Versions.def): New target.
33296         ($(common-objpfx)Versions.all): Depend on that rather that
33297         $(common-objpfx)Versions.def.v.
33298         * Versions.def: File removed.
33300         * Makeconfig (+gccwarn): Add -Wundef.
33301         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33302         a dl-sysdep.h breaking its contract.
33303         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33304         * include/stackinfo.h: New file.
33305         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33306         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33307         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33308         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33309         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33310         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33311         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33312         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33313         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33314         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33315         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33316         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33317         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33318         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33319         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33321 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33323         [BZ #16707]
33324         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33325         implementation.
33326         * math/libm-test.inc (round_test_data): Add more tests.
33328         [BZ #16706]
33329         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33330         implementation.
33331         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33333         [BZ #16701]
33334         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33335         implementation.
33336         * math/libm-test.inc (ceil_test_data): Add more tests.
33338         * math/libm-test.inc (trunc_test_data): Add more tests related to
33339         BZ#16414.
33341 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33343         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33344         with #if rather than #ifdef.
33345         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33347 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33349         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33350         first.  Disable AVX-512 GCC support if assembler doesn't support
33351         it.
33352         * sysdeps/x86_64/configure: Regenerated.
33354 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33356         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33357         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33358         (__old_pthread_attr_setstack): Likewise.
33359         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33360         [!_STACK_GROWS_DOWN]: Likewise.
33362 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33364         * config.make.in (have-bash2): Delete.
33365         * configure.ac (libc_cv_have_bash2): Delete.
33366         * configure: Regenerate.
33367         * elf/Makefile (common-ldd-rewrite): Rename to ...
33368         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33369         (sh-ldd-rewrite): Delete.
33370         (bash-ldd-rewrite): Delete.
33371         (have-bash2): Delete checks.
33372         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33373         ldd-rewrite.
33375         * config.make.in (have-ksh): Delete.
33376         (KSH): Delete.
33377         * configure.ac (libc_cv_have_ksh): Delete.
33378         * configure: Regenerate.
33380         * elf/Makefile: Delete $(have-ksh) check.
33381         ($(objpfx)sotruss): Change KSH to BASH.
33382         * elf/sotruss.ksh: Rename to ...
33383         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33384         function style to match POSIX.  Drop ksh vim mode setting.
33386         * manual/time.texi (Specifying the Time Zone with TZ): Change
33387         Tuesday to Thursday.
33389         * debug/tst-longjmp_chk2.c: Update header comment.
33390         (stackoverflow_handler): Add comment.  Call assert on pass value.
33392 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33394         [BZ #16194]
33395         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33396         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33397         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33398         (La_x86_64_vector): Add zmm.
33399         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33400         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33401         ($(objpfx)tst-audit10): New target.
33402         ($(objpfx)tst-audit10.out): Likewise.
33403         (tst-audit10-ENV): New.
33404         (AVX512-CFLAGS): Likewise.
33405         (CFLAGS-tst-audit10.c): Likewise.
33406         (CFLAGS-tst-auditmod10a.c): Likewise.
33407         (CFLAGS-tst-auditmod10b.c): Likewise.
33408         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33409         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33410         * sysdeps/x86_64/configure: Regenerated.
33411         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33412         AVX-512 zmm register support.
33413         (_dl_x86_64_save_sse): Likewise.
33414         (_dl_x86_64_restore_sse): Likewise.
33415         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33416         size vector registers.
33417         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33418         (ZMM_SIZE): Likewise.
33419         * sysdeps/x86_64/tst-audit10.c: New file.
33420         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33421         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33423 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33425         * configure.ac (HAVE_EHDR_START): New check.
33426         * configure: Regenerated.
33427         * config.h.in (HAVE_EHDR_START): New #undef.
33428         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33429         assuming the lowest-addressed segment maps the start of the file.
33431 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33433         * INSTALL: Regenerated.
33435 2014-03-13  Will Newton  <will.newton@linaro.org>
33437         * manual/setjmp.texi (System V contexts): Improve
33438         clarity and grammar of documentation.
33440 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33442         [BZ #16381]
33443         * elf/Makefile (tests): Add tst-pie2.
33444         (tests-pie): Add tst-pie2.
33445         * elf/tst-pie2.c: New file.
33446         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33447         for ET_EXEC.
33448         * elf/rtld.c (map_doit): Load executable as lt_executable.
33449         (dl_main): Likewise.
33451 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33453         [BZ #16642]
33454         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33455         (__ASSUME_PSELECT): Undefine.
33457 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33459         [BZ #16689]
33460         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33461         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33462         static build.
33463         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33464         selector for static builds.
33466 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33468         [BZ #16695]
33469         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33470         key in the buffer.
33472 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33474         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33475         IFUNC selector for static builds.
33477 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33479         * sysdeps/mips/math_private.h [__mips_hard_float]
33480         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33481         libc_feresetround_mips_ctx.
33482         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33483         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33484         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33486         [BZ #16677]
33487         * math/s_nextafter.c (__nextafter): Do not return value from
33488         overflowing computation.
33489         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33490         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33491         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33492         Likewise.
33493         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
33494         Likewise.
33495         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33496         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
33498 2014-03-11  Roland McGrath  <roland@hack.frob.com>
33500         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
33501         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
33502         Move sfi_sp use from the load-multiple (that no longer sets sp) to
33503         the new mov targetting sp.
33505 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33507         [BZ #16683]
33508         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33509         Define it for static builds as well.
33510         (NO_BZERO_IMPL): Likewise.
33512 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33514         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33515         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33516         multiarch strspn for PPC64.
33517         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33518         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33520         (__libc_ifunc_impl_list): Likewise.
33521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33522         multiarch optimizations
33523         * string/strspn.c (strspn): Using macro to redefine symbol name.
33525 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33526             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33528         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
33529         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
33530         multiarch strncat for PPC64.
33531         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
33532         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
33533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33534         (__libc_ifunc_impl_list): Likewise.
33535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
33536         multiarch optimizations
33538 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33540         [BZ #16639]
33541         * nscd/nscd.service: Make service type forking.
33543 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33545         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
33546         sign in non default rounding modes.
33547         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
33549 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
33551         * math/libm-test.inc (ALL_RM_TEST): New macro.
33552         (ceil_test): Use ALL_RM_TEST.
33553         (cimag_test): Likewise.
33554         (conj_test): Likewise.
33555         (copysign_test): Likewise.
33556         (cproj_test): Likewise.
33557         (creal_test): Likewise.
33558         (fabs_test): Likewise.
33559         (floor_test): Likewise.
33560         (fmax_test): Likewise.
33561         (fmin_test): Likewise.
33562         (fmod_test): Likewise.
33563         (fpclassify_test): Likewise.
33564         (frexp_test): Likewise.
33565         (ilogb_test): Likewise.
33566         (isfinite_test): Likewise.
33567         (finite_test): Likewise.
33568         (isgreater_test): Likewise.
33569         (isgreaterequal_test): Likewise.
33570         (isinf_test): Likewise.
33571         (isless_test): Likewise.
33572         (islessequal_test): Likewise.
33573         (islessgreater_test): Likewise.
33574         (isnan_test): Likewise.
33575         (isnormal_test): Likewise.
33576         (issignaling_test): Likewise.
33577         (isunordered_test): Likewise.
33578         (logb_test): Likewise.
33579         (logb_downward_test_data): Remove.
33580         (logb_test_downward): Likewise.
33581         (lround_test): Use ALL_RM_TEST.
33582         (llround_test): Likewise.
33583         (modf_test): Likewise.
33584         (nexttoward_test): Likewise.
33585         (remainder_test): Likewise.
33586         (drem_test): Likewise.
33587         (remainder_tonearest_test_data): Likewise.
33588         (remainder_test_tonearest): Likewise.
33589         (drem_test_tonearest): Likewise.
33590         (remainder_towardzero_test_data): Likewise.
33591         (remainder_test_towardzero): Likewise.
33592         (drem_test_towardzero): Likewise.
33593         (remainder_downward_test_data): Likewise.
33594         (remainder_test_downward): Likewise.
33595         (drem_test_downward): Likewise.
33596         (remainder_upward_test_data): Likewise.
33597         (remainder_test_upward): Likewise.
33598         (drem_test_upward): Likewise.
33599         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
33600         (round_test): Use ALL_RM_TEST.
33601         (signbit_test): Likewise.
33602         (trunc_test): Likewise.
33603         (significand_test): Likewise.
33604         (main): Don't call removed functions.
33606 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33608         [BZ #16674]
33609         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
33610         || __USE_XOPEN2K8].
33611         (ILL_ILLOPN): Likewise.
33612         (ILL_ILLADR): Likewise.
33613         (ILL_ILLTRP): Likewise.
33614         (ILL_PRVOPC): Likewise.
33615         (ILL_PRVREG): Likewise.
33616         (ILL_COPROC): Likewise.
33617         (ILL_BADSTK): Likewise.
33618         (FPE_INTDIV): Likewise.
33619         (FPE_INTOVF): Likewise.
33620         (FPE_FLTDIV): Likewise.
33621         (FPE_FLTOVF): Likewise.
33622         (FPE_FLTUND): Likewise.
33623         (FPE_FLTRES): Likewise.
33624         (FPE_FLTINV): Likewise.
33625         (FPE_FLTSUB): Likewise.
33626         (SEGV_MAPERR): Likewise.
33627         (SEGV_ACCERR): Likewise.
33628         (BUS_ADRALN): Likewise.
33629         (BUS_ADRERR): Likewise.
33630         (BUS_OBJERR): Likewise.
33631         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33632         (TRAP_TRACE): Likewise.
33633         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33634         __USE_XOPEN2K8].
33635         (CLD_KILLED): Likewise.
33636         (CLD_DUMPED): Likewise.
33637         (CLD_TRAPPED): Likewise.
33638         (CLD_STOPPED): Likewise.
33639         (CLD_CONTINUED): Likewise.
33640         (POLL_IN): Likewise.
33641         (POLL_OUT): Likewise.
33642         (POLL_MSG): Likewise.
33643         (POLL_ERR): Likewise.
33644         (POLL_PRI): Likewise.
33645         (POLL_HUP): Likewise.
33646         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
33647         Likewise.
33648         (ILL_ILLOPN): Likewise.
33649         (ILL_ILLADR): Likewise.
33650         (ILL_ILLTRP): Likewise.
33651         (ILL_PRVOPC): Likewise.
33652         (ILL_PRVREG): Likewise.
33653         (ILL_COPROC): Likewise.
33654         (ILL_BADSTK): Likewise.
33655         (FPE_INTDIV): Likewise.
33656         (FPE_INTOVF): Likewise.
33657         (FPE_FLTDIV): Likewise.
33658         (FPE_FLTOVF): Likewise.
33659         (FPE_FLTUND): Likewise.
33660         (FPE_FLTRES): Likewise.
33661         (FPE_FLTINV): Likewise.
33662         (FPE_FLTSUB): Likewise.
33663         (SEGV_MAPERR): Likewise.
33664         (SEGV_ACCERR): Likewise.
33665         (BUS_ADRALN): Likewise.
33666         (BUS_ADRERR): Likewise.
33667         (BUS_OBJERR): Likewise.
33668         (BUS_MCEERR_AR): Likewise.
33669         (BUS_MCEERR_AO): Likewise.
33670         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33671         (TRAP_TRACE): Likewise.
33672         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33673         __USE_XOPEN2K8].
33674         (CLD_KILLED): Likewise.
33675         (CLD_DUMPED): Likewise.
33676         (CLD_TRAPPED): Likewise.
33677         (CLD_STOPPED): Likewise.
33678         (CLD_CONTINUED): Likewise.
33679         (POLL_IN): Likewise.
33680         (POLL_OUT): Likewise.
33681         (POLL_MSG): Likewise.
33682         (POLL_ERR): Likewise.
33683         (POLL_PRI): Likewise.
33684         (POLL_HUP): Likewise.
33685         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
33686         (ILL_ILLOPN): Likewise.
33687         (ILL_ILLADR): Likewise.
33688         (ILL_ILLTRP): Likewise.
33689         (ILL_PRVOPC): Likewise.
33690         (ILL_PRVREG): Likewise.
33691         (ILL_COPROC): Likewise.
33692         (ILL_BADSTK): Likewise.
33693         (FPE_INTDIV): Likewise.
33694         (FPE_INTOVF): Likewise.
33695         (FPE_FLTDIV): Likewise.
33696         (FPE_FLTOVF): Likewise.
33697         (FPE_FLTUND): Likewise.
33698         (FPE_FLTRES): Likewise.
33699         (FPE_FLTINV): Likewise.
33700         (FPE_FLTSUB): Likewise.
33701         (SEGV_MAPERR): Likewise.
33702         (SEGV_ACCERR): Likewise.
33703         (BUS_ADRALN): Likewise.
33704         (BUS_ADRERR): Likewise.
33705         (BUS_OBJERR): Likewise.
33706         (BUS_MCEERR_AR): Likewise.
33707         (BUS_MCEERR_AO): Likewise.
33708         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33709         (TRAP_TRACE): Likewise.
33710         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33711         __USE_XOPEN2K8].
33712         (CLD_KILLED): Likewise.
33713         (CLD_DUMPED): Likewise.
33714         (CLD_TRAPPED): Likewise.
33715         (CLD_STOPPED): Likewise.
33716         (CLD_CONTINUED): Likewise.
33717         (POLL_IN): Likewise.
33718         (POLL_OUT): Likewise.
33719         (POLL_MSG): Likewise.
33720         (POLL_ERR): Likewise.
33721         (POLL_PRI): Likewise.
33722         (POLL_HUP): Likewise.
33723         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
33724         Likewise.
33725         (ILL_ILLOPN): Likewise.
33726         (ILL_ILLADR): Likewise.
33727         (ILL_ILLTRP): Likewise.
33728         (ILL_PRVOPC): Likewise.
33729         (ILL_PRVREG): Likewise.
33730         (ILL_COPROC): Likewise.
33731         (ILL_BADSTK): Likewise.
33732         (ILL_BADIADDR): Likewise.
33733         (ILL_BREAK): Likewise.
33734         (FPE_INTDIV): Likewise.
33735         (FPE_INTOVF): Likewise.
33736         (FPE_FLTDIV): Likewise.
33737         (FPE_FLTOVF): Likewise.
33738         (FPE_FLTUND): Likewise.
33739         (FPE_FLTRES): Likewise.
33740         (FPE_FLTINV): Likewise.
33741         (FPE_FLTSUB): Likewise.
33742         (FPE_DECOVF): Likewise.
33743         (FPE_DECDIV): Likewise.
33744         (FPE_DECERR): Likewise.
33745         (FPE_INVASC): Likewise.
33746         (FPE_INVDEC): Likewise.
33747         (SEGV_MAPERR): Likewise.
33748         (SEGV_ACCERR): Likewise.
33749         (SEGV_PSTKOVF): Likewise.
33750         (BUS_ADRALN): Likewise.
33751         (BUS_ADRERR): Likewise.
33752         (BUS_OBJERR): Likewise.
33753         (BUS_MCEERR_AR): Likewise.
33754         (BUS_MCEERR_AO): Likewise.
33755         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33756         (TRAP_TRACE): Likewise.
33757         (TRAP_BRANCH): Likewise.
33758         (TRAP_HWBKPT): Likewise.
33759         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33760         __USE_XOPEN2K8].
33761         (CLD_KILLED): Likewise.
33762         (CLD_DUMPED): Likewise.
33763         (CLD_TRAPPED): Likewise.
33764         (CLD_STOPPED): Likewise.
33765         (CLD_CONTINUED): Likewise.
33766         (POLL_IN): Likewise.
33767         (POLL_OUT): Likewise.
33768         (POLL_MSG): Likewise.
33769         (POLL_ERR): Likewise.
33770         (POLL_PRI): Likewise.
33771         (POLL_HUP): Likewise.
33772         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
33773         (ILL_ILLOPN): Likewise.
33774         (ILL_ILLADR): Likewise.
33775         (ILL_ILLTRP): Likewise.
33776         (ILL_PRVOPC): Likewise.
33777         (ILL_PRVREG): Likewise.
33778         (ILL_COPROC): Likewise.
33779         (ILL_BADSTK): Likewise.
33780         (FPE_INTDIV): Likewise.
33781         (FPE_INTOVF): Likewise.
33782         (FPE_FLTDIV): Likewise.
33783         (FPE_FLTOVF): Likewise.
33784         (FPE_FLTUND): Likewise.
33785         (FPE_FLTRES): Likewise.
33786         (FPE_FLTINV): Likewise.
33787         (FPE_FLTSUB): Likewise.
33788         (SEGV_MAPERR): Likewise.
33789         (SEGV_ACCERR): Likewise.
33790         (BUS_ADRALN): Likewise.
33791         (BUS_ADRERR): Likewise.
33792         (BUS_OBJERR): Likewise.
33793         (BUS_MCEERR_AR): Likewise.
33794         (BUS_MCEERR_AO): Likewise.
33795         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33796         (TRAP_TRACE): Likewise.
33797         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33798         __USE_XOPEN2K8].
33799         (CLD_KILLED): Likewise.
33800         (CLD_DUMPED): Likewise.
33801         (CLD_TRAPPED): Likewise.
33802         (CLD_STOPPED): Likewise.
33803         (CLD_CONTINUED): Likewise.
33804         (POLL_IN): Likewise.
33805         (POLL_OUT): Likewise.
33806         (POLL_MSG): Likewise.
33807         (POLL_ERR): Likewise.
33808         (POLL_PRI): Likewise.
33809         (POLL_HUP): Likewise.
33810         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
33811         (ILL_ILLOPN): Likewise.
33812         (ILL_ILLADR): Likewise.
33813         (ILL_ILLTRP): Likewise.
33814         (ILL_PRVOPC): Likewise.
33815         (ILL_PRVREG): Likewise.
33816         (ILL_COPROC): Likewise.
33817         (ILL_BADSTK): Likewise.
33818         (FPE_INTDIV): Likewise.
33819         (FPE_INTOVF): Likewise.
33820         (FPE_FLTDIV): Likewise.
33821         (FPE_FLTOVF): Likewise.
33822         (FPE_FLTUND): Likewise.
33823         (FPE_FLTRES): Likewise.
33824         (FPE_FLTINV): Likewise.
33825         (FPE_FLTSUB): Likewise.
33826         (SEGV_MAPERR): Likewise.
33827         (SEGV_ACCERR): Likewise.
33828         (BUS_ADRALN): Likewise.
33829         (BUS_ADRERR): Likewise.
33830         (BUS_OBJERR): Likewise.
33831         (BUS_MCEERR_AR): Likewise.
33832         (BUS_MCEERR_AO): Likewise.
33833         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33834         (TRAP_TRACE): Likewise.
33835         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33836         __USE_XOPEN2K8].
33837         (CLD_KILLED): Likewise.
33838         (CLD_DUMPED): Likewise.
33839         (CLD_TRAPPED): Likewise.
33840         (CLD_STOPPED): Likewise.
33841         (CLD_CONTINUED): Likewise.
33842         (POLL_IN): Likewise.
33843         (POLL_OUT): Likewise.
33844         (POLL_MSG): Likewise.
33845         (POLL_ERR): Likewise.
33846         (POLL_PRI): Likewise.
33847         (POLL_HUP): Likewise.
33848         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
33849         (ILL_ILLOPN): Likewise.
33850         (ILL_ILLADR): Likewise.
33851         (ILL_ILLTRP): Likewise.
33852         (ILL_PRVOPC): Likewise.
33853         (ILL_PRVREG): Likewise.
33854         (ILL_COPROC): Likewise.
33855         (ILL_BADSTK): Likewise.
33856         (FPE_INTDIV): Likewise.
33857         (FPE_INTOVF): Likewise.
33858         (FPE_FLTDIV): Likewise.
33859         (FPE_FLTOVF): Likewise.
33860         (FPE_FLTUND): Likewise.
33861         (FPE_FLTRES): Likewise.
33862         (FPE_FLTINV): Likewise.
33863         (FPE_FLTSUB): Likewise.
33864         (SEGV_MAPERR): Likewise.
33865         (SEGV_ACCERR): Likewise.
33866         (BUS_ADRALN): Likewise.
33867         (BUS_ADRERR): Likewise.
33868         (BUS_OBJERR): Likewise.
33869         (BUS_MCEERR_AR): Likewise.
33870         (BUS_MCEERR_AO): Likewise.
33871         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33872         (TRAP_TRACE): Likewise.
33873         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33874         __USE_XOPEN2K8].
33875         (CLD_KILLED): Likewise.
33876         (CLD_DUMPED): Likewise.
33877         (CLD_TRAPPED): Likewise.
33878         (CLD_STOPPED): Likewise.
33879         (CLD_CONTINUED): Likewise.
33880         (POLL_IN): Likewise.
33881         (POLL_OUT): Likewise.
33882         (POLL_MSG): Likewise.
33883         (POLL_ERR): Likewise.
33884         (POLL_PRI): Likewise.
33885         (POLL_HUP): Likewise.
33886         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
33887         (ILL_ILLOPN): Likewise.
33888         (ILL_ILLADR): Likewise.
33889         (ILL_ILLTRP): Likewise.
33890         (ILL_PRVOPC): Likewise.
33891         (ILL_PRVREG): Likewise.
33892         (ILL_COPROC): Likewise.
33893         (ILL_BADSTK): Likewise.
33894         (ILL_DBLFLT): Likewise.
33895         (ILL_HARDWALL): Likewise.
33896         (FPE_INTDIV): Likewise.
33897         (FPE_INTOVF): Likewise.
33898         (FPE_FLTDIV): Likewise.
33899         (FPE_FLTOVF): Likewise.
33900         (FPE_FLTUND): Likewise.
33901         (FPE_FLTRES): Likewise.
33902         (FPE_FLTINV): Likewise.
33903         (FPE_FLTSUB): Likewise.
33904         (SEGV_MAPERR): Likewise.
33905         (SEGV_ACCERR): Likewise.
33906         (BUS_ADRALN): Likewise.
33907         (BUS_ADRERR): Likewise.
33908         (BUS_OBJERR): Likewise.
33909         (BUS_MCEERR_AR): Likewise.
33910         (BUS_MCEERR_AO): Likewise.
33911         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33912         (TRAP_TRACE): Likewise.
33913         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33914         __USE_XOPEN2K8].
33915         (CLD_KILLED): Likewise.
33916         (CLD_DUMPED): Likewise.
33917         (CLD_TRAPPED): Likewise.
33918         (CLD_STOPPED): Likewise.
33919         (CLD_CONTINUED): Likewise.
33920         (POLL_IN): Likewise.
33921         (POLL_OUT): Likewise.
33922         (POLL_MSG): Likewise.
33923         (POLL_ERR): Likewise.
33924         (POLL_PRI): Likewise.
33925         (POLL_HUP): Likewise.
33926         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
33927         (ILL_ILLOPN): Likewise.
33928         (ILL_ILLADR): Likewise.
33929         (ILL_ILLTRP): Likewise.
33930         (ILL_PRVOPC): Likewise.
33931         (ILL_PRVREG): Likewise.
33932         (ILL_COPROC): Likewise.
33933         (ILL_BADSTK): Likewise.
33934         (FPE_INTDIV): Likewise.
33935         (FPE_INTOVF): Likewise.
33936         (FPE_FLTDIV): Likewise.
33937         (FPE_FLTOVF): Likewise.
33938         (FPE_FLTUND): Likewise.
33939         (FPE_FLTRES): Likewise.
33940         (FPE_FLTINV): Likewise.
33941         (FPE_FLTSUB): Likewise.
33942         (SEGV_MAPERR): Likewise.
33943         (SEGV_ACCERR): Likewise.
33944         (BUS_ADRALN): Likewise.
33945         (BUS_ADRERR): Likewise.
33946         (BUS_OBJERR): Likewise.
33947         (BUS_MCEERR_AR): Likewise.
33948         (BUS_MCEERR_AO): Likewise.
33949         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33950         (TRAP_TRACE): Likewise.
33951         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33952         __USE_XOPEN2K8].
33953         (CLD_KILLED): Likewise.
33954         (CLD_DUMPED): Likewise.
33955         (CLD_TRAPPED): Likewise.
33956         (CLD_STOPPED): Likewise.
33957         (CLD_CONTINUED): Likewise.
33958         (POLL_IN): Likewise.
33959         (POLL_OUT): Likewise.
33960         (POLL_MSG): Likewise.
33961         (POLL_ERR): Likewise.
33962         (POLL_PRI): Likewise.
33963         (POLL_HUP): Likewise.
33964         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
33965         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33967         [BZ #16670]
33968         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
33969         before #include of <time.h>.
33970         [!__USE_XOPEN2K] (__need_timespec): Likewise.
33971         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
33972         (test-xfail-UNIX98/sched.h/conform): Likewise.
33974 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33976         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
33977         error absence of trapping exception support.
33978         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33980 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33982         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
33983         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
33984         * timezone/Makefile (testdata): Move definition above include of
33985         Rules.
33986         (test-zones): New variable.
33987         (tests-special): Add zone files.
33988         (build-testdata): Use $(evaluate-test).
33990         * elf/Makefile (tests-special): Rename tests to end with .out.
33991         ($(objpfx)noload-mem): Likewise.
33992         ($(objpfx)tst-leaks1-mem): Likewise.
33993         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
33994         * iconv/Makefile (xtests-special): Change test-iconvconfig to
33995         $(objpfx)test-iconvconfig.out.
33996         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
33997         set -e inside subshell and redirect output to file.
33998         * iconvdata/Makefile (generated): Rename tests to end with .out.
33999         Correct type.
34000         (tests-special): Rename tests to end with .out.
34001         ($(objpfx)mtrace-tst-loading): Likewise.
34002         * intl/Makefile (generated): Likewise.
34003         (tests-special): Likewise.
34004         ($(objpfx)mtrace-tst-gettext): Likewise.
34005         * misc/Makefile (generated): Likewise.
34006         (tests-special): Likewise.
34007         ($(objpfx)tst-error1-mem): Likewise.
34008         * nptl/Makefile (tests-special): Likewise.
34009         ($(objpfx)tst-stack3-mem): Likewise.
34010         (generated): Likewise.
34011         * posix/Makefile (generated): Likewise.
34012         (tests-special): Likewise.
34013         (xtests-special): Likewise.
34014         ($(objpfx)tst-fnmatch-mem): Likewise.
34015         ($(objpfx)bug-regex2-mem): Likewise.
34016         ($(objpfx)bug-regex14-mem): Likewise.
34017         ($(objpfx)bug-regex21-mem): Likewise.
34018         ($(objpfx)bug-regex31-mem): Likewise.
34019         ($(objpfx)tst-vfork3-mem): Likewise.
34020         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34021         ($(objpfx)tst-pcre-mem): Likewise.
34022         ($(objpfx)tst-boost-mem): Likewise.
34023         ($(objpfx)bug-ga2-mem): Likewise.
34024         ($(objpfx)bug-glob2-mem): Likewise.
34025         * resolv/Makefile (generate): Likewise.
34026         (tests-special): Likewise.
34027         (xtests-special): Likewise.
34028         (generated): Likewise.
34029         ($(objpfx)mtrace-tst-leaks): Likewise.
34030         ($(objpfx)mtrace-tst-leaks2): Likewise.
34032         * scripts/merge-test-results.sh: New file.
34033         * Makefile (tests-special-notdir): New variable.
34034         (tests): Run merge-test-results.sh.
34035         (xtests): Likewise.
34036         * Rules (tests-special-notdir): New variable.
34037         (xtests-special-notdir): Likewise.
34038         (tests): Run merge-test-results.sh
34039         (xtests): Likewise.
34041         * Makeconfig (test-xfail-name): New variable.
34042         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
34043         compute variable name for expected failures.
34044         * conform/Makefile (conformtest-headers-data): New variable.
34045         (conformtest-standards): Likewise.
34046         (conformtest-headers-ISO): Likewise.
34047         (conformtest-headers-ISO99): Likewise.
34048         (conformtest-headers-ISO11): Likewise.
34049         (conformtest-headers-POSIX): Likewise.
34050         (conformtest-headers-XPG3): Likewise.
34051         (conformtest-headers-XPG4): Likewise.
34052         (conformtest-headers-UNIX98): Likewise.
34053         (conformtest-headers-XOPEN2K): Likewise.
34054         (conformtest-headers-POSIX2008): Likewise.
34055         (conformtest-headers-XOPEN2K8): Likewise.
34056         (conformtest-header-list-base): Likewise.
34057         (conformtest-header-list-tests): Likewise.
34058         (conformtest-header-base): Likewise.
34059         (conformtest-header-tests): Likewise.
34060         (tests-special): Add $(conformtest-header-list-tests).  If
34061         [$(fast-check) && !$(cross-compiling)], add
34062         $(conformtest-header-tests) instead of
34063         $(objpfx)run-conformtest.out.
34064         (generated): Add $(conformtest-header-list-base).  If
34065         [$(fast-check) && !$(cross-compiling)], add
34066         $(conformtest-header-base).  Remove previous setting.
34067         ($(conformtest-header-list-tests)): New target.
34068         (test-xfail-run-conformtest): Remove variable.
34069         ($(objpfx)run-conformtest.out): Remove target.
34070         (test-xfail-ISO11/complex.h/conform): New variable.
34071         (test-xfail-ISO11/stdalign.h/conform): Likewise.
34072         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
34073         (test-xfail-XPG3/varargs.h/conform): Likewise.
34074         (test-xfail-XPG4/varargs.h/conform): Likewise.
34075         (test-xfail-UNIX98/varargs.h/conform): Likewise.
34076         (test-xfail-XPG4/ndbm.h/conform): Likewise.
34077         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
34078         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
34079         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
34080         (test-xfail-XPG3/fcntl.h/conform): Likewise.
34081         (test-xfail-XPG3/ftw.h/conform): Likewise.
34082         (test-xfail-XPG3/grp.h/conform): Likewise.
34083         (test-xfail-XPG3/langinfo.h/conform): Likewise.
34084         (test-xfail-XPG3/limits.h/conform): Likewise.
34085         (test-xfail-XPG3/pwd.h/conform): Likewise.
34086         (test-xfail-XPG3/search.h/conform): Likewise.
34087         (test-xfail-XPG3/signal.h/conform): Likewise.
34088         (test-xfail-XPG3/stdio.h/conform): Likewise.
34089         (test-xfail-XPG3/stdlib.h/conform): Likewise.
34090         (test-xfail-XPG3/string.h/conform): Likewise.
34091         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
34092         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
34093         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34094         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34095         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
34096         (test-xfail-XPG3/sys/types.h/conform): Likewise.
34097         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
34098         (test-xfail-XPG3/termios.h/conform): Likewise.
34099         (test-xfail-XPG3/time.h/conform): Likewise.
34100         (test-xfail-XPG3/unistd.h/conform): Likewise.
34101         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
34102         (test-xfail-XPG4/fcntl.h/conform): Likewise.
34103         (test-xfail-XPG4/langinfo.h/conform): Likewise.
34104         (test-xfail-XPG4/netdb.h/conform): Likewise.
34105         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
34106         (test-xfail-XPG4/signal.h/conform): Likewise.
34107         (test-xfail-XPG4/stdio.h/conform): Likewise.
34108         (test-xfail-XPG4/stdlib.h/conform): Likewise.
34109         (test-xfail-XPG4/stropts.h/conform): Likewise.
34110         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34111         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34112         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34113         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34114         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34115         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
34116         (test-xfail-XPG4/sys/time.h/conform): Likewise.
34117         (test-xfail-XPG4/sys/types.h/conform): Likewise.
34118         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
34119         (test-xfail-XPG4/termios.h/conform): Likewise.
34120         (test-xfail-XPG4/ucontext.h/conform): Likewise.
34121         (test-xfail-XPG4/unistd.h/conform): Likewise.
34122         (test-xfail-XPG4/utmpx.h/conform): Likewise.
34123         (test-xfail-POSIX/sched.h/conform): Likewise.
34124         (test-xfail-POSIX/signal.h/conform): Likewise.
34125         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34126         (test-xfail-POSIX/tar.h/conform): Likewise.
34127         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34128         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34129         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34130         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34131         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34132         (test-xfail-UNIX98/sched.h/conform): Likewise.
34133         (test-xfail-UNIX98/signal.h/conform): Likewise.
34134         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34135         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34136         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34137         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34138         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34139         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34140         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34141         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34142         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34143         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34144         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34145         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34146         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34147         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34148         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34149         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34150         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34151         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34152         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34153         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34154         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34155         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34156         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34157         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34158         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34159         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34160         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34161         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34162         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34163         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34164         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34165         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34166         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34167         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34168         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34169         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34170         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34171         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34172         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34173         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34174         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34175         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34176         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34177         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34178         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34179         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34180         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34181         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34182         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34183         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34184         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34185         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34186         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34187         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34188         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34189         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34190         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34191         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34192         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34193         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34194         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34195         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34196         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34197         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34198         (conformtest-cc-flags): Likewise.
34199         ($(conformtest-header-tests): New target.
34200         * conform/check-header-lists.sh: New file.
34201         * conform/run-conformtest.sh: Remove.
34203         * conform/conformtest.pl: Allow ' and \ in values given for
34204         constants.
34205         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34206         inclusion.
34207         [POSIX] (sys/types.h): Likewise.
34208         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34209         inclusion.
34210         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34211         inclusion.
34212         * conform/data/signal.h-data (SIGIO): Remove expectation.
34213         [XPG3] (SIGBUS): Do not expect.
34214         [POSIX || XPG3] (SIGPOLL): Likewise.
34215         [POSIX || XPG3] (SIGPROF): Likewise.
34216         [POSIX || XPG3] (SIGSYS): Likewise.
34217         [XPG3] (SIGTRAP): Likewise.
34218         [POSIX || XPG3] (SIGURG): Likewise.
34219         [POSIX || XPG3] (SIGVTALRM): Likewise.
34220         [POSIX || XPG3] (SIGXCPU): Likewise.
34221         [POSIX || XPG3] (SIGXFSZ): Likewise.
34222         [POSIX] (SA_SIGINFO): Expect.
34223         [XPG3] (siginfo_t): Do not expect type or contents.
34224         [POSIX] (si_pid): Do not expect element.
34225         [POSIX] (si_uid): Likewise.
34226         [POSIX] (si_addr): Likewise.
34227         [POSIX] (si_status): Likewise.
34228         [POSIX] (si_band): Likewise.
34229         [XPG4] (si_value): Likewise.
34230         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34231         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34232         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34233         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34234         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34235         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34236         [POSIX || XPG3] (ILL_COPROC): Likewise.
34237         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34238         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34239         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34240         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34241         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34242         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34243         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34244         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34245         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34246         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34247         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34248         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34249         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34250         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34251         [POSIX || XPG3] (CLD_EXITED): Likewise.
34252         [POSIX || XPG3] (CLD_KILLED): Likewise.
34253         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34254         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34255         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34256         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34257         [POSIX || XPG3] (POLL_IN): Likewise.
34258         [POSIX || XPG3] (POLL_OUT): Likewise.
34259         [POSIX || XPG3] (POLL_MSG): Likewise.
34260         [POSIX || XPG3] (POLL_ERR): Likewise.
34261         [POSIX || XPG3] (POLL_PRI): Likewise.
34262         [POSIX || XPG3] (POLL_HUP): Likewise.
34263         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34264         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34265         (SIG*): Do not allow.
34266         [XPG3] (si_*): Likewise.
34267         [XPG3] (SI_*): Likewise.
34268         [XPG3 || XPG4] (sigev_*): Likewise.
34269         [XPG3 || XPG4] (SIGEV_*): Likewise.
34270         [XPG3 || XPG4] (sival_*): Likewise.
34271         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34272         [POSIX || XPG3] (BUS_*): Likewise.
34273         [POSIX || XPG3] (CLD_*): Likewise.
34274         [POSIX || XPG3] (FPE_*): Likewise.
34275         [POSIX || XPG3] (ILL_*): Likewise.
34276         [POSIX || XPG3] (POLL_*): Likewise.
34277         [POSIX || XPG3] (SEGV_*): Likewise.
34278         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34279         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34280         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34281         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34282         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34283         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34284         Specify type and value.
34285         (TVERSLEN): Likewise.
34286         (REGTYPE): Likewise.
34287         (AREGTYPE): Likewise.
34288         (LNKTYPE): Likewise.
34289         (SYMTYPE): Likewise.
34290         (CHRTYPE): Likewise.
34291         (BLKTYPE): Likewise.
34292         (DIRTYPE): Likewise.
34293         (FIFOTYPE): Likewise.
34294         (CONTTYPE): Likewise.
34295         (TSUID): Likewise.
34296         (TSGID): Likewise.
34297         (TSVTX): Likewise.
34298         (TUREAD): Likewise.
34299         (TUWRITE): Likewise.
34300         (TUEXEC): Likewise.
34301         (TGREAD): Likewise.
34302         (TGWRITE): Likewise.
34303         (TGEXEC): Likewise.
34304         (TOREAD): Likewise.
34305         (TOWRITE): Likewise.
34306         (TOEXEC): Likewise.
34307         [POSIX] (TSVTX): Expect constant.
34309 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34311         * Makefile (tests): Change dependencies to ....
34312         (tests-special): ... additions to this variable.
34313         (tests): Depend on $(tests-special).
34314         * Makerules (check-abi-list): New variable.
34315         (check-abi): Depend on $(check-abi-list).
34316         [$(subdir) = elf] (tests-special): Add
34317         $(objpfx)check-abi-libc.out.
34318         [$(build-shared) = yes && subdir] (tests-special): Add
34319         $(check-abi-list).
34320         [$(build-shared) = yes && subdir] (tests): Do not depend on
34321         check-abi.
34322         * Rules (tests): Depend on $(tests-special).
34323         (xtests): Depend on $(xtests-special).
34324         * catgets/Makefile (tests): Change dependencies to ....
34325         (tests-special): ... additions to this variable.
34326         * conform/Makefile (tests): Change dependencies to ....
34327         (tests-special): ... additions to this variable.
34328         * elf/Makefile (tests): Change dependencies to ....
34329         (tests-special): ... additions to this variable.
34330         * grp/Makefile (tests): Change dependencies to ....
34331         (tests-special): ... additions to this variable.
34332         * iconv/Makefile (xtests): Change dependencies to ....
34333         (xtests-special): ... additions to this variable.
34334         * iconvdata/Makefile (tests): Change dependencies to ....
34335         (tests-special): ... additions to this variable.
34336         * intl/Makefile (tests): Change dependencies to ....
34337         (tests-special): ... additions to this variable.  Also add
34338         $(objpfx)tst-gettext.out.
34339         * io/Makefile (tests): Change dependencies to ....
34340         (tests-special): ... additions to this variable.
34341         * libio/Makefile (tests): Change dependencies to ....
34342         (tests-special): ... additions to this variable.
34343         * malloc/Makefile (tests): Change dependencies to ....
34344         (tests-special): ... additions to this variable.
34345         * misc/Makefile (tests): Change dependencies to ....
34346         (tests-special): ... additions to this variable.
34347         * nptl/Makefile (tests): Change dependencies to ....
34348         (tests-special): ... additions to this variable.
34349         * nptl_db/Makefile (tests): Change dependencies to ....
34350         (tests-special): ... additions to this variable.
34351         * posix/Makefile (tests): Change dependencies to ....
34352         (tests-special): ... additions to this variable.
34353         (xtests): Change dependencies to ....
34354         (xtests-special): ... additions to this variable.
34355         * resolv/Makefile (tests): Change dependencies to ....
34356         (tests-special): ... additions to this variable.
34357         (xtests): Change dependencies to ....
34358         (xtests-special): ... additions to this variable.
34359         * stdio-common/Makefile (tests): Change dependencies to ....
34360         (tests-special): ... additions to this variable.
34361         (do-tst-unbputc): Remove target.
34362         (do-tst-printf): Likewise.
34363         * stdlib/Makefile (tests): Change dependencies to ....
34364         (tests-special): ... additions to this variable.
34365         * string/Makefile (tests): Change dependencies to ....
34366         (tests-special): ... additions to this variable.
34367         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34368         (tests-special): ... additions to this variable.
34370         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34371         whole file.
34372         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34373         whole file.
34374         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34375         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34377         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34378         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34379         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34380         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34381         * conform/data/libgen.h-data [XPG3]: Likewise.
34382         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34383         * conform/data/ndbm.h-data [XPG3]: Likewise.
34384         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34385         * conform/data/netdb.h-data [XPG3]: Likewise.
34386         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34387         * conform/data/poll.h-data [XPG3]: Likewise.
34388         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34389         * conform/data/strings.h-data [XPG3]: Likewise.
34390         * conform/data/stropts.h-data [XPG3]: Likewise.
34391         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34392         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34393         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34394         Likewise.
34395         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34396         * conform/data/sys/time.h-data [XPG3]: Likewise.
34397         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34398         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34399         * conform/data/sys/un.h-data [XPG3]: Likewise.
34400         * conform/data/syslog.h-data [XPG3]: Likewise.
34401         * conform/data/ucontext.h-data [XPG3]: Likewise.
34402         * conform/data/utmpx.h-data [XPG3]: Likewise.
34403         * conform/data/varargs.h-data [UNIX98]: Enable file.
34405         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34407         * math/libm-test.inc (struct test_f_f_data): Move expected results
34408         into structure for each rounding mode.
34409         (struct test_ff_f_data): Likewise.
34410         (struct test_ff_f_data_nexttoward): Likewise.
34411         (struct test_fi_f_data): Likewise.
34412         (struct test_fl_f_data): Likewise.
34413         (struct test_if_f_data): Likewise.
34414         (struct test_fff_f_data): Likewise.
34415         (struct test_c_f_data): Likewise.
34416         (struct test_f_f1_data): Likewise.
34417         (struct test_fF_f1_data): Likewise.
34418         (struct test_ffI_f1_data): Likewise.
34419         (struct test_c_c_data): Likewise.
34420         (struct test_cc_c_data): Likewise.
34421         (struct test_f_i_data): Likewise.
34422         (struct test_ff_i_data): Likewise.
34423         (struct test_f_l_data): Likewise.
34424         (struct test_f_L_data): Likewise.
34425         (struct test_fFF_11_data): Likewise.
34426         (RM_): New macro.
34427         (RM_FE_DOWNWARD): Likewise.
34428         (RM_FE_TONEAREST): Likewise.
34429         (RM_FE_TOWARDZERO): Likewise.
34430         (RM_FE_UPWARD): Likewise.
34431         (RUN_TEST_LOOP_f_f): Update references to expected results.
34432         (RUN_TEST_LOOP_2_f): Likewise.
34433         (RUN_TEST_LOOP_fff_f): Likewise.
34434         (RUN_TEST_LOOP_c_f): Likewise.
34435         (RUN_TEST_LOOP_f_f1): Likewise.
34436         (RUN_TEST_LOOP_fF_f1): Likewise.
34437         (RUN_TEST_LOOP_fI_f1): Likewise.
34438         (RUN_TEST_LOOP_ffI_f1): Likewise.
34439         (RUN_TEST_LOOP_c_c): Likewise.
34440         (RUN_TEST_LOOP_cc_c): Likewise.
34441         (RUN_TEST_LOOP_f_i): Likewise.
34442         (RUN_TEST_LOOP_f_i_tg): Likewise.
34443         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34444         (RUN_TEST_LOOP_f_b): Likewise.
34445         (RUN_TEST_LOOP_f_b_tg): Likewise.
34446         (RUN_TEST_LOOP_f_l): Likewise.
34447         (RUN_TEST_LOOP_f_L): Likewise.
34448         (RUN_TEST_LOOP_fFF_11): Likewise.
34449         * math/gen-libm-test.pl (parse_args): Output four copies of
34450         expected results for each test.
34452         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34453         (__ASSUME_UTIMES): Remove.
34454         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34455         (__ASSUME_UTIMES): Likewise.
34457         * math/gen-auto-libm-tests.c: Update comment on output format.
34458         (output_for_one_input_case): Generate before-rounding and
34459         after-rounding information as conditions on output flags not
34460         floating-point format.
34461         * math/auto-libm-test-out: Regenerated.
34462         * math/gen-libm-test.pl (cond_value): New function.
34463         (or_cond_value): Use cond_value.
34464         (generate_testfile): Handle conditional exceptions.
34466 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34468         * math/libm-test.inc (max_valid_error): New variable.
34469         (init_max_error): Take new argument specifying whether function
34470         results are exactly determined.  Set max_valid_error and bound
34471         other variables for errors based on this argument.
34472         (set_max_error): Do not record results above max_valid_error.
34473         (check_float_internal): Only accept errors of up to 0.5ulps if
34474         also at most max_valid_error.
34475         (START): Take new argument EXACT and pass it to init_max_error.
34476         (acos_test): Update call to START.
34477         (acos_test_tonearest): Likewise.
34478         (acos_test_towardzero): Likewise.
34479         (acos_test_downward): Likewise.
34480         (acos_test_upward): Likewise.
34481         (acosh_test): Likewise.
34482         (asin_test): Likewise.
34483         (asin_test_tonearest): Likewise.
34484         (asin_test_towardzero): Likewise.
34485         (asin_test_downward): Likewise.
34486         (asin_test_upward): Likewise.
34487         (asinh_test): Likewise.
34488         (atan_test): Likewise.
34489         (atanh_test): Likewise.
34490         (atan2_test): Likewise.
34491         (cabs_test): Likewise.
34492         (cacos_test): Likewise.
34493         (cacosh_test): Likewise.
34494         (carg_test): Likewise.
34495         (casin_test): Likewise.
34496         (casinh_test): Likewise.
34497         (catan_test): Likewise.
34498         (catanh_test): Likewise.
34499         (cbrt_test): Likewise.
34500         (ccos_test): Likewise.
34501         (ccosh_test): Likewise.
34502         (ceil_test): Likewise.
34503         (cexp_test): Likewise.
34504         (cimag_test): Likewise.
34505         (clog_test): Likewise.
34506         (clog10_test): Likewise.
34507         (conj_test): Likewise.
34508         (copysign_test): Likewise.
34509         (cos_test): Likewise.
34510         (cos_test_tonearest): Likewise.
34511         (cos_test_towardzero): Likewise.
34512         (cos_test_downward): Likewise.
34513         (cos_test_upward): Likewise.
34514         (cosh_test): Likewise.
34515         (cosh_test_tonearest): Likewise.
34516         (cosh_test_towardzero): Likewise.
34517         (cosh_test_downward): Likewise.
34518         (cosh_test_upward): Likewise.
34519         (cpow_test): Likewise.
34520         (cproj_test): Likewise.
34521         (creal_test): Likewise.
34522         (csin_test): Likewise.
34523         (csinh_test): Likewise.
34524         (csqrt_test): Likewise.
34525         (ctan_test): Likewise.
34526         (ctan_test_tonearest): Likewise.
34527         (ctan_test_towardzero): Likewise.
34528         (ctan_test_downward): Likewise.
34529         (ctan_test_upward): Likewise.
34530         (ctanh_test): Likewise.
34531         (ctanh_test_tonearest): Likewise.
34532         (ctanh_test_towardzero): Likewise.
34533         (ctanh_test_downward): Likewise.
34534         (ctanh_test_upward): Likewise.
34535         (erf_test): Likewise.
34536         (erfc_test): Likewise.
34537         (exp_test): Likewise.
34538         (exp_test_tonearest): Likewise.
34539         (exp_test_towardzero): Likewise.
34540         (exp_test_downward): Likewise.
34541         (exp_test_upward): Likewise.
34542         (exp10_test): Likewise.
34543         (exp10_test_tonearest): Likewise.
34544         (exp10_test_towardzero): Likewise.
34545         (exp10_test_downward): Likewise.
34546         (exp10_test_upward): Likewise.
34547         (pow10_test): Likewise.
34548         (exp2_test): Likewise.
34549         (expm1_test): Likewise.
34550         (expm1_test_tonearest): Likewise.
34551         (expm1_test_towardzero): Likewise.
34552         (expm1_test_downward): Likewise.
34553         (expm1_test_upward): Likewise.
34554         (fabs_test): Likewise.
34555         (fdim_test): Likewise.
34556         (floor_test): Likewise.
34557         (fma_test): Likewise.
34558         (fma_test_towardzero): Likewise.
34559         (fma_test_downward): Likewise.
34560         (fma_test_upward): Likewise.
34561         (fmax_test): Likewise.
34562         (fmin_test): Likewise.
34563         (fmod_test): Likewise.
34564         (fpclassify_test): Likewise.
34565         (frexp_test): Likewise.
34566         (hypot_test): Likewise.
34567         (ilogb_test): Likewise.
34568         (isfinite_test): Likewise.
34569         (finite_test): Likewise.
34570         (isgreater_test): Likewise.
34571         (isgreaterequal_test): Likewise.
34572         (isinf_test): Likewise.
34573         (isless_test): Likewise.
34574         (islessequal_test): Likewise.
34575         (islessgreater_test): Likewise.
34576         (isnan_test): Likewise.
34577         (isnormal_test): Likewise.
34578         (issignaling_test): Likewise.
34579         (isunordered_test): Likewise.
34580         (j0_test): Likewise.
34581         (j1_test): Likewise.
34582         (jn_test): Likewise.
34583         (ldexp_test): Likewise.
34584         (lgamma_test): Likewise.
34585         (gamma_test): Likewise.
34586         (lrint_test): Likewise.
34587         (lrint_test_tonearest): Likewise.
34588         (lrint_test_towardzero): Likewise.
34589         (lrint_test_downward): Likewise.
34590         (lrint_test_upward): Likewise.
34591         (llrint_test): Likewise.
34592         (llrint_test_tonearest): Likewise.
34593         (llrint_test_towardzero): Likewise.
34594         (llrint_test_downward): Likewise.
34595         (llrint_test_upward): Likewise.
34596         (log_test): Likewise.
34597         (log10_test): Likewise.
34598         (log1p_test): Likewise.
34599         (log2_test): Likewise.
34600         (logb_test): Likewise.
34601         (logb_test_downward): Likewise.
34602         (lround_test): Likewise.
34603         (llround_test): Likewise.
34604         (modf_test): Likewise.
34605         (nearbyint_test): Likewise.
34606         (nextafter_test): Likewise.
34607         (nexttoward_test): Likewise.
34608         (pow_test): Likewise.
34609         (pow_test_tonearest): Likewise.
34610         (pow_test_towardzero): Likewise.
34611         (pow_test_downward): Likewise.
34612         (pow_test_upward): Likewise.
34613         (remainder_test): Likewise.
34614         (drem_test): Likewise.
34615         (remainder_test_tonearest): Likewise.
34616         (drem_test_tonearest): Likewise.
34617         (remainder_test_towardzero): Likewise.
34618         (drem_test_towardzero): Likewise.
34619         (remainder_test_downward): Likewise.
34620         (drem_test_downward): Likewise.
34621         (remainder_test_upward): Likewise.
34622         (drem_test_upward): Likewise.
34623         (remquo_test): Likewise.
34624         (rint_test): Likewise.
34625         (rint_test_tonearest): Likewise.
34626         (rint_test_towardzero): Likewise.
34627         (rint_test_downward): Likewise.
34628         (rint_test_upward): Likewise.
34629         (round_test): Likewise.
34630         (scalb_test): Likewise.
34631         (scalbn_test): Likewise.
34632         (scalbln_test): Likewise.
34633         (signbit_test): Likewise.
34634         (sin_test): Likewise.
34635         (sin_test_tonearest): Likewise.
34636         (sin_test_towardzero): Likewise.
34637         (sin_test_downward): Likewise.
34638         (sin_test_upward): Likewise.
34639         (sincos_test): Likewise.
34640         (sinh_test): Likewise.
34641         (sinh_test_tonearest): Likewise.
34642         (sinh_test_towardzero): Likewise.
34643         (sinh_test_downward): Likewise.
34644         (sinh_test_upward): Likewise.
34645         (sqrt_test): Likewise.
34646         (sqrt_test_tonearest): Likewise.
34647         (sqrt_test_towardzero): Likewise.
34648         (sqrt_test_downward): Likewise.
34649         (sqrt_test_upward): Likewise.
34650         (tan_test): Likewise.
34651         (tan_test_tonearest): Likewise.
34652         (tan_test_towardzero): Likewise.
34653         (tan_test_downward): Likewise.
34654         (tan_test_upward): Likewise.
34655         (tanh_test): Likewise.
34656         (tgamma_test): Likewise.
34657         (trunc_test): Likewise.
34658         (y0_test): Likewise.
34659         (y1_test): Likewise.
34660         (yn_test): Likewise.
34661         (significand_test): Likewise.
34663         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
34664         individual tests in comment.
34665         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
34666         (prev_max_error): New variable.
34667         (prev_real_max_error): Likewise.
34668         (prev_imag_max_error): Likewise.
34669         (compare_ulp_data): Don't refer to test names in comment.
34670         (find_test_ulps): Remove function.
34671         (find_function_ulps): Likewise.
34672         (find_complex_function_ulps): Likewise.
34673         (init_max_error): Take function name as argument.  Look up ulps
34674         for that function.
34675         (print_ulps): Remove function.
34676         (print_max_error): Use prev_max_error instead of calling
34677         find_function_ulps.
34678         (print_complex_max_error): Use prev_real_max_error and
34679         prev_imag_max_error instead of calling find_complex_function_ulps.
34680         (check_float_internal): Take max_ulp parameter instead of calling
34681         find_test_ulps.  Don't call print_ulps.
34682         (check_float): Update call to check_float_internal.
34683         (check_complex): Update calls to check_float_internal.
34684         (START): Pass argument to init_max_error.
34685         * math/gen-libm-test.pl (%results): Don't include "kind"
34686         information.
34687         (parse_ulps): Don't handle ulps of individual tests.
34688         (print_ulps_file): Likewise.
34689         (output_ulps): Likewise.
34690         * math/README.libm-test: Update.
34691         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
34692         individual tests.
34693         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
34694         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34695         * sysdeps/arm/libm-test-ulps: Likewise.
34696         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34697         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
34698         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
34699         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
34700         * sysdeps/microblaze/libm-test-ulps: Likewise.
34701         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34702         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34703         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34704         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34705         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34706         * sysdeps/sh/libm-test-ulps: Likewise.
34707         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34708         * sysdeps/tile/libm-test-ulps: Likewise.
34709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34711 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
34713         * math/libm-test.inc (print_complex_max_error): Check separately
34714         whether real and imaginary errors are within allowed range and
34715         pass 0 to print_complex_function_ulps instead of value within
34716         allowed range.
34718 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34720         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
34721         formatting.
34722         (get_handles_fopen): Likewise.
34723         (do_write_test): Likewise.
34725         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
34727         * libio/fileops.c (do_ftell): Use cached offset when
34728         available.
34729         * libio/iofwide.c (do_ftell_wide): Likewise.
34730         * libio/iofdopen.c (_IO_new_fdopen): Don't use
34731         _IO_file_attach.
34732         * libio/wfileops.c (_IO_fwide): Don't cache offset.
34734         [BZ #16532]
34735         * libio/libioP.h (get_file_offset): New function.
34736         * libio/fileops.c (get_file_offset): Likewise.
34737         (do_ftell): Likewise.
34738         (_IO_new_file_seekoff): Split out ftell logic.
34739         * libio/wfileops.c (do_ftell_wide): Likewise.
34740         (_IO_wfile_seekoff): Split out ftell logic.
34741         * libio/tst-ftell-active-handler.c: New test case.
34742         * libio/Makefile (tests): Add it.
34744 2014-03-03  Roland McGrath  <roland@hack.frob.com>
34746         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
34747         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
34749 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34751         [BZ #16639]
34752         * nscd/connections.c (nscd_init): Call do_exit.
34753         (start_threads): Call do_exit and notify_parent.
34754         (begin_drop_privileges): Call do_exit.
34755         (finish_drop_privileges): Likewise.
34756         * nscd/selinux.c (preserve_capabilities): Likewise.
34757         (install_real_capabilities): Likewise.
34758         (nscd_selinux_enabled): Likewise.
34759         (avc_create_thread): Likewise.
34760         (avc_alloc_lock): Likewise.
34761         (nscd_avc_init): Likewise.
34762         * nscd/nscd.c (parent_fd): New static variable.
34763         (main): Create a pipe between parent and child processes.
34764         Skip closing parent_fd.
34765         (monitor_child): New function.
34766         (do_exit): Likewise.
34767         (notify_parent): Likewise.
34768         * nscd/nscd.h (notify_parent): Likewise.
34769         (do_exit): Likewise.
34771 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
34773         * malloc/malloc.c (__libc_calloc): Revert last change.
34775 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34779 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34781         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
34782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
34783         implementation.
34784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34785         (__libc_ifunc_impl_list): Likewise.
34786         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
34787         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
34788         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
34789         * string/strrchr.c: Define STRRCHR.
34791 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
34793         * benchtest/bench-strtok.c (simple_strtok): Delete.
34794         (strtok_string): Use as benchmark.
34795         * string/strtok (STRTOK): New macro.
34797 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
34799         * manual/threads.texi: Add header and standard comments to all
34800         functions.
34802         * elf/dl-lookup.c (check_match): New function.
34803         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
34804         (do_lookup_x): Remove nested function check_match. Use non-nested
34805         function check_match.
34807 2014-02-28  Roland McGrath  <roland@hack.frob.com>
34809         * csu/Makefile (generated, before-compile): Use += rather than =.
34810         * catgets/Makefile (generated, generated-dirs): Likewise.
34811         * debug/Makefile (generated): Likewise.
34812         * dlfcn/Makefile (generated): Likewise.
34813         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
34814         * iconvdata/Makefile (before-compile, generated): Likewise.
34815         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
34816         * libio/Makefile (generated): Likewise.
34817         * malloc/Makefile (generated): Likewise.
34818         * manual/Makefile (generated, generated-dirs): Likewise.
34819         * misc/Makefile (generated): Likewise.
34820         * posix/Makefile (generated): Likewise.
34821         * resolv/Makefile (generated): Likewise.
34822         * sunrpc/Makefile (generated, generated-dirs): Likewise.
34823         * timezone/Makefile (generated, generated-dirs): Likewise.
34825         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
34827 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34830         power8 implementation.
34831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
34832         file: POWER8 llround ifunc implementation.
34833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
34834         (__lllround): Add POWER8 implementation.
34835         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
34836         POWER8 llround implementation.
34838         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
34839         power8 implementation.
34840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
34841         file: POWER8 llrint ifunc implementation.
34842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
34843         Add POWER8 implementation.
34844         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
34845         POWER8 llrint implementation.
34847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
34848         power8 implementation.
34849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
34850         file: POWER8 finite ifunc implementation.
34851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
34852         Add POWER8 implementation.
34853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
34854         Likewise.
34855         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
34856         POWER8 finite implementation.
34857         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
34859         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
34860         power8 implementation.
34861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
34862         file: POWER8 isinf ifunc implementation.
34863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
34864         POWER8 implementation.
34865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
34866         Likewise.
34867         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
34868         isinf implementation.
34869         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
34871         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
34872         (INIT_ARCH): Add hwcap2 initialization.
34873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34874         power8 implementation.
34875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
34876         file: POWER8 isnan ifunc implementation.
34877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
34878         POWER8 implementation.
34879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
34880         Likewise.
34881         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
34882         isnan implementation.
34883         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
34885 2014-02-27  Joey Ye  <joey.ye@arm.com>
34887         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34888         (_FP_NANFRAC_Q): Set to zero.
34890 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34892         [BZ #16623]
34893         * math/auto-libm-test-in: New test inputs.
34894         * math/auto-libm-test-out: Regenerate.
34895         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
34896         and DA.
34897         (__cos): Likewise.
34898         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34900 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
34902         * scripts/evaluate-test.sh: Take new argument indicating whether
34903         failure is expected.
34904         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
34905         indicating whether failure is expected.
34906         * conform/Makefile (test-xfail-run-conformtest): New variable.
34907         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
34908         level.
34909         * posix/Makefile (test-xfail-annexc): New variable.
34910         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
34912 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
34914         * argp/Makefile: Include Makeconfig immediately after defining
34915         subdir.
34916         * assert/Makefile: Likewise.
34917         * benchtests/Makefile: Likewise.
34918         * catgets/Makefile: Likewise.
34919         * conform/Makefile: Likewise.
34920         * crypt/Makefile: Likewise.
34921         * csu/Makefile: Likewise.
34922         (all): Remove target.
34923         * ctype/Makefile: Include Makeconfig immediately after defining
34924         subdir.
34925         * debug/Makefile: Likewise.
34926         * dirent/Makefile: Likewise.
34927         * dlfcn/Makefile: Likewise.
34928         * gmon/Makefile: Likewise.
34929         * gnulib/Makefile: Likewise.
34930         * grp/Makefile: Likewise.
34931         * gshadow/Makefile: Likewise.
34932         * hesiod/Makefile: Likewise.
34933         * hurd/Makefile: Likewise.
34934         (all): Remove target.
34935         * iconvdata/Makefile: Include Makeconfig immediately after
34936         defining subdir.
34937         * inet/Makefile: Likewise.
34938         * intl/Makefile: Likewise.
34939         * io/Makefile: Likewise.
34940         * libio/Makefile: Likewise.
34941         (all): Remove target.
34942         * locale/Makefile: Include Makeconfig immediately after defining
34943         subdir.
34944         * login/Makefile: Likewise.
34945         * mach/Makefile: Likewise.
34946         (all): Remove target.
34947         * malloc/Makefile: Include Makeconfig immediately after defining
34948         subdir.
34949         (all): Remove target.
34950         * manual/Makefile: Include Makeconfig immediately after defining
34951         subdir.
34952         * math/Makefile: Likewise.
34953         * misc/Makefile: Likewise.
34954         * nis/Makefile: Likewise.
34955         * nss/Makefile: Likewise.
34956         * po/Makefile: Likewise.
34957         (all): Remove target.
34958         * posix/Makefile: Include Makeconfig immediately after defining
34959         subdir.
34960         * pwd/Makefile: Likewise.
34961         * resolv/Makefile: Likewise.
34962         * resource/Makefile: Likewise.
34963         * rt/Makefile: Likewise.
34964         * setjmp/Makefile: Likewise.
34965         * shadow/Makefile: Likewise.
34966         * signal/Makefile: Likewise.
34967         * socket/Makefile: Likewise.
34968         * soft-fp/Makefile: Likewise.
34969         * stdio-common/Makefile: Likewise.
34970         * stdlib/Makefile: Likewise.
34971         * streams/Makefile: Likewise.
34972         * string/Makefile: Likewise.
34973         * sunrpc/Makefile: Likewise.
34974         (all): Remove target.
34975         * sysvipc/Makefile: Include Makeconfig immediately after defining
34976         subdir.
34977         * termios/Makefile: Likewise.
34978         * time/Makefile: Likewise.
34979         * timezone/Makefile: Likewise.
34980         (all): Remove target.
34981         * wcsmbs/Makefile: Include Makeconfig immediately after defining
34982         subdir.
34983         * wctype/Makefile: Likewise.
34985 2014-02-26  Steve Ellcey  <sellcey@mips.com>
34987         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
34988         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
34989         (libc_feholdexcept_setround_mips): Ditto.
34990         (libc_feholdsetround): New.
34991         (libc_feholdsetroundf): New.
34992         (libc_feholdsetroundl): New.
34993         (libc_feupdateenv_test_mips): New.
34994         (libc_feupdateenv_test): New.
34995         (libc_feupdateenv_testf): New.
34996         (libc_feupdateenv_testl): New.
34997         (libc_feresetround): New.
34998         (libc_feresetroundf): New.
34999         (libc_feresetroundl): New.
35000         (libc_fetestexcept_mips): New.
35001         (libc_fetestexcept): New.
35002         (libc_fetestexceptf): New.
35003         (libc_fetestexceptl): New.
35004         (HAVE_RM_CTX): New.
35005         (libc_feholdexcept_setround_mips_ctx): New.
35006         (libc_feholdexcept_setround_ctx): New.
35007         (libc_feholdexcept_setroundf_ctx): New.
35008         (libc_feholdexcept_setroundl_ctx): New.
35009         (libc_fesetenv_mips_ctx): New.
35010         (libc_fesetenv_ctx): New.
35011         (libc_fesetenv_ctxf): New.
35012         (libc_fesetenv_ctxl): New.
35013         (libc_feupdateenv_mips_ctx): New.
35014         (libc_feupdateenv_ctx): New.
35015         (libc_feupdateenvf_ctx): New.
35016         (libc_feupdateenvl_ctx): New.
35017         (libc_feholdsetround_mips_ctx): New.
35018         (libc_feholdsetround_ctx): New.
35019         (libc_feholdsetroundf_ctx): New.
35020         (libc_feholdsetroundl_ctx): New.
35021         (libc_feresetround_mips_ctx): New.
35022         (libc_feresetround_ctx): New.
35023         (libc_feresetroundf_ctx): New.
35024         (libc_feresetroundl_ctx): New.
35026 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
35028         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
35030         * manual/ipc.texi: New file.
35031         * manual/Makefile (chapters): Add ipc.
35032         * manual/job.texi: Add "Inter-Process Communication" to next.
35033         * manual/process.texi: Add "Inter-Process Communication" to prev.
35035 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35039 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
35041         * malloc/malloc.c (__libc_calloc): Simplify implementation.
35043         * manual/arith.texi: Fix spaces after sentences.
35044         * manual/charset.texi: Likewise.
35045         * manual/errno.texi: Likewise.
35046         * manual/install.texi: Likewise.
35047         * manual/llio.texi: Likewise.
35048         * manual/locale.texi: Likewise.
35049         * manual/maint.texi: Likewise.
35050         * manual/math.texi: Likewise.
35051         * manual/memory.texi: Likewise.
35052         * manual/message.texi: Likewise.
35053         * manual/probes.texi: Likewise.
35054         * manual/resource.texi: Likewise.
35055         * manual/signal.texi: Likewise.
35056         * manual/socket.texi: Likewise.
35057         * manual/stdio.texi: Likewise.
35058         * manual/string.texi: Likewise.
35059         * manual/time.texi: Likewise.
35060         * manual/users.texi: Likewise.
35062 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
35064         [BZ #16632]
35065         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
35066         _DEFAULT_SOURCE is defined.
35068 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
35069             Carlos O'Donell  <carlos@redhat.com>
35071         [BZ #16613]
35072         * elf/dl-tls.c (_dl_count_modids): New function.
35073         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
35074         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
35075         audit library and increment generation counter.
35076         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
35077         * elf/tst-audit9.c: New file.
35078         * elf/tst-auditmod9a.c: New file.
35079         * elf/tst-auditmod9b.c: New file.
35080         * elf/Makefile: Add rules to build and run tst-audit9.
35082 2014-02-25  Florian Weimer  <fweimer@redhat.com>
35084         [BZ #15347]
35085         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
35087 2014-02-25  Will Newton  <will.newton@linaro.org>
35089         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
35090         (__longjmp): Restore sp and lr before restoring callee
35091         saved registers.  Add longjmp and longjmp_target
35092         SystemTap probe point.
35093         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
35094         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
35095         Define to zero to match jmpbuf layout.
35096         * sysdeps/arm/setjmp.S: Include stap-probe.h.
35097         (__sigsetjmp): Save sp and lr before saving callee
35098         saved registers.  Add setjmp SystemTap probe point.
35100 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35102         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35104 2014-02-24  Andreas Schwab  <schwab@suse.de>
35106         [BZ #15804]
35107         * elf/pldd.c (wait_for_ptrace_stop): New function.
35108         (main): Call it after attaching.
35110 2014-02-22  Roland McGrath  <roland@hack.frob.com>
35112         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
35113         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
35114         Versions files is now verboten.
35115         * hurd/Versions (libc: GLIBC_2.0):
35116         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
35117         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
35118         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
35119         * mach/Versions: Likewise.
35121         * csu/Versions: Remove unused %include.
35122         * resolv/Versions: Likewise.
35124 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35126         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35127         ($(objpfx)check-local-headers.out): Likewise.
35128         ($(objpfx)begin-end-check.out): Likewise.
35129         * Makerules (check-abi-%.out): Likewise.
35130         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35131         ($(objpfx)test2.cat): Likewise.
35132         ($(objpfx)de/libc.cat): Likewise.
35133         ($(objpfx)test-gencat.out): Likewise.
35134         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35135         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35136         ($(objpfx)noload-mem): Likewise.
35137         ($(objpfx)tst-pathopt.out): Likewise.
35138         ($(objpfx)tst-rtld-load-self.out): Likewise.
35139         ($(objpfx)tst-array1-cmp.out): Likewise.
35140         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35141         ($(objpfx)tst-array2-cmp.out): Likewise.
35142         ($(objpfx)tst-array3-cmp.out): Likewise.
35143         ($(objpfx)tst-array4-cmp.out): Likewise.
35144         ($(objpfx)tst-array5-cmp.out): Likewise.
35145         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35146         ($(objpfx)check-textrel.out): Likewise.
35147         ($(objpfx)check-execstack.out): Likewise.
35148         ($(objpfx)check-localplt.out): Likewise.
35149         ($(objpfx)order2-cmp.out): Likewise.
35150         ($(objpfx)tst-leaks1-mem): Likewise.
35151         ($(objpfx)tst-leaks1-static-mem): Likewise.
35152         ($(objpfx)tst-initorder-cmp.out): Likewise.
35153         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35154         ($(objpfx)tst-unused-dep.out): Likewise.
35155         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35156         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35157         * iconv/Makefile (test-iconvconfig): Likewise.
35158         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35159         ($(objpfx)iconv-test.out): Likewise.
35160         ($(objpfx)tst-tables.out): Likewise.
35161         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35162         ($(objpfx)tst-gettext.out): Likewise.
35163         ($(objpfx)tst-translit.out): Likewise.
35164         ($(objpfx)tst-gettext2.out): Likewise.
35165         ($(objpfx)tst-gettext4.out): Likewise.
35166         ($(objpfx)tst-gettext6.out): Likewise.
35167         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35168         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35169         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35170         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35171         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35172         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35173         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35174         ($(objpfx)wordexp-tst.out): Likewise.
35175         ($(objpfx)annexc.out): Likewise.
35176         ($(objpfx)tst-fnmatch-mem): Likewise.
35177         ($(objpfx)bug-regex2-mem): Likewise.
35178         ($(objpfx)bug-regex14-mem): Likewise.
35179         ($(objpfx)bug-regex21-mem): Likewise.
35180         ($(objpfx)bug-regex31-mem): Likewise.
35181         ($(objpfx)tst-vfork3-mem): Likewise.
35182         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35183         ($(objpfx)tst-pcre-mem): Likewise.
35184         ($(objpfx)tst-boost-mem): Likewise.
35185         ($(objpfx)tst-getconf.out): Likewise.
35186         ($(objpfx)bug-ga2-mem): Likewise.
35187         ($(objpfx)bug-glob2-mem): Likewise.
35188         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35189         ($(objpfx)mtrace-tst-leaks2): Likewise.
35190         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35191         ($(objpfx)tst-printf.out): Likewise.
35192         ($(objpfx)tst-setvbuf1.out): Likewise.
35193         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35194         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35195         ($(objpfx)tst-fmtmsg.out): Likewise.
35196         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35197         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35199         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35200         * bits/sigaction.h [__USE_MISC]: Likewise.
35201         * bits/waitstatus.h: Update #endif comments.
35202         * ctype/ctype.h: Likewise.
35203         * dirent/dirent.h: Likewise.
35204         [__USE_MISC]: Remove redundant conditionals.
35205         * grp/grp.h: Update #endif comments.
35206         [__USE_GNU]: Remove redundant conditionals.
35207         [__USE_MISC]: Likewise.
35208         * inet/netinet/in.h [__USE_GNU]: Likewise.
35209         * io/sys/stat.h [__USE_MISC]: Likewise.
35210         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35211         * libio/bits/stdio.h: Update #endif comments.
35212         [__USE_MISC]: Remove redundant conditionals.
35213         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35214         * libio/stdio.h: Update #endif comments.
35215         [__USE_MISC]: Remove redundant conditionals.
35216         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35217         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35218         * math/math.h: Update #else and #endif comments.
35219         [__USE_MISC]: Remove redundant conditionals.
35220         * misc/sys/uio.h: Update #endif comments.
35221         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35222         * posix/glob.h [__USE_MISC]: Likewise.
35223         * posix/sys/types.h: Update #endif comments.
35224         [__USE_MISC]: Remove redundant conditionals.
35225         * posix/sys/wait.h: Update #endif comments.
35226         [__USE_MISC]: Remove redundant conditionals.
35227         * posix/unistd.h: Update #endif comments.
35228         [__USE_MISC]: Remove redundant conditionals.
35229         * pwd/pwd.h [__USE_GNU]: Likewise.
35230         [__USE_MISC]: Likewise.
35231         * resolv/netdb.h [__USE_GNU]: Likewise.
35232         * signal/signal.h: Update #endif comments.
35233         [__USE_MISC]: Remove redundant conditionals.
35234         * stdlib/stdlib.h: Update #else and #endif comments.
35235         [__USE_MISC]: Remove redundant conditionals.
35236         [__USE_GNU]: Likewise.
35237         * string/bits/string2.h [__USE_MISC]: Likewise.
35238         * string/string.h: Update #endif comments.
35239         [__USE_MISC]: Remove redundant conditionals.
35240         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35241         Likewise.
35242         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35243         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35244         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35245         Likewise.
35246         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35247         Likewise.
35248         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35249         comments.
35250         [__USE_MISC]: Remove redundant conditionals.
35251         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35252         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35253         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35254         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35255         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35256         Likewise.
35257         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35258         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35259         Likewise.
35260         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35261         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35262         Likewise.
35263         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35264         Likewise.
35265         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35266         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35267         Likewise.
35268         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35269         Likewise.
35270         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35271         * sysdeps/x86/bits/string.h: Update #endif comments.
35272         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35273         conditionals.
35274         * time/sys/time.h: Update #endif comments.
35275         * time/time.h: Likewise.
35276         [__USE_MISC]: Remove redundant conditionals.
35278 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35280         [BZ #16600]
35281         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35283 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35285         * Versions.def (librt): Add GLIBC_2.17.
35287 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35289         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35290         synonym for _SYS_AUXV_H to allow direct inclusion.
35291         * sysdeps/sparc/bits/hwcap.h: Likewise.
35292         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35293         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35294         * sysdeps/sparc/sysdep.h: Likewise.
35296 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35298         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35300 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35302         * benchtests/bench-strrchr.c: Print length instead of position.
35304 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35306         [BZ #16611]
35307         * sysdeps/unix/sysv/linux/kernel-features.h
35308         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35309         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35310         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35311         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35312         Likewise.
35313         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35314         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35315         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35316         (__ASSUME_SENDMMSG): Define instead of using previous
35317         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35318         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35319         (__ASSUME_SENDMMSG_SYSCALL): Define.
35320         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35321         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35322         Likewise.
35323         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35324         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35325         Likewise.
35326         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35327         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35328         Likewise.
35329         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35330         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35331         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35332         [__ASSUME_SENDMMSG]: Change conditionals to
35333         [__ASSUME_SENDMMSG_SOCKETCALL].
35334         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35335         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35336         Define.
35337         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35338         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35339         Likewise.
35340         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35341         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35342         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35343         [!__ASSUME_SENDMMSG]: Change conditional to
35344         [!__ASSUME_SENDMMSG_SOCKETCALL].
35345         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35346         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35347         Define.
35349         [BZ #16610]
35350         * sysdeps/unix/sysv/linux/kernel-features.h
35351         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35352         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35353         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35354         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35355         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35356         [__i386__ || __sparc__]
35357         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35358         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35359         (__ASSUME_RECVMMSG): Define instead of using previous
35360         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35361         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35362         (__ASSUME_RECVMMSG_SYSCALL): Define.
35363         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35364         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35365         Likewise.
35366         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35367         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35368         Likewise.
35369         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35370         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35371         Likewise.
35372         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35373         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35374         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35375         [__ASSUME_RECVMMSG]: Change condition to
35376         [__ASSUME_RECVMMSG_SOCKETCALL].
35377         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35378         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35379         Define.
35380         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35381         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35382         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35383         Likewise.
35384         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35385         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35386         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35387         [!__ASSUME_RECVMMSG]: Change condition to
35388         [!__ASSUME_RECVMMSG_SOCKETCALL].
35389         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35390         (__ASSUME_RECVMMSG_SYSCALL): Define.
35392         [BZ #16609]
35393         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35394         __powerpc__ || __s390__ || __sh__ || __sparc__]
35395         (__ASSUME_SOCKETCALL): Define.
35396         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35397         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35398         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35399         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35400         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35401         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35402         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35403         (__ASSUME_ACCEPT4): Define instead of using previous
35404         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35405         __powerpc__ || __sparc__ || __s390__)] condition.
35406         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35407         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35408         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35409         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35410         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35411         [!__ASSUME_ACCEPT4]: Change condition to
35412         [!__ASSUME_ACCEPT4_SOCKETCALL].
35413         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35414         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35415         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35416         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35417         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35418         __ASSUME_ACCEPT4_SYSCALL.
35419         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35420         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35421         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35422         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35423         __ASSUME_ACCEPT4_SYSCALL.
35424         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35425         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35426         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35427         [__ASSUME_ACCEPT4]: Change condition to
35428         [__ASSUME_ACCEPT4_SOCKETCALL].
35429         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35430         (__ASSUME_SOCKETCALL): Define.
35431         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35432         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35433         (__ASSUME_SOCKETCALL): Define.
35434         (__ASSUME_ACCEPT4): Remove.
35435         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35436         Define.
35437         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35438         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35439         Likewise.
35440         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35441         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35443         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35444         macro.
35445         (HWCAP_ARM_LPAE): Likewise.
35446         (HWCAP_ARM_EVTSTRM): Likewise.
35447         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35448         Add vpfd32, lpae and evtstrm.
35449         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35450         Increase to 22.
35452 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35454         * math/auto-libm-test-in: Add tests of clog10.
35455         * math/auto-libm-test-out: Regenerated.
35456         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35457         * sysdeps/i386/fpu/libm-test-ulps: Update.
35458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35460 2014-02-18  Andreas Schwab  <schwab@suse.de>
35462         [BZ #16574]
35463         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35464         Store non-zero if the second buffer was newly allocated.
35465         (send_dg): Likewise.
35466         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35467         to send_vc and send_dg.
35468         (res_nsend): Pass NULL for ansp2_malloced.
35469         * resolv/res_query.c (__libc_res_nquery): Add parameter
35470         answerp2_malloced and pass it down to __libc_res_nsend.
35471         (res_nquery): Pass additional NULL to __libc_res_nquery.
35472         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35473         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35474         second answer buffer if answerp2_malloced was set.
35475         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35476         (__libc_res_nquerydomain): Add parameter
35477         answerp2_malloced and pass it down to __libc_res_nquery.
35478         (res_nquerydomain): Pass additional NULL to
35479         __libc_res_nquerydomain.
35480         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35481         additional NULL to __libc_res_nsend and __libc_res_nquery.
35482         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35483         additional NULL to __libc_res_nsearch.
35484         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35485         parameter of __libc_res_nsearch to check for separately allocated
35486         second buffer.
35487         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35488         __libc_res_nquery.
35489         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35490         additional NULL to __libc_res_nquery.
35491         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
35492         __libc_res_nsearch.
35493         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35494         * include/resolv.h: Update prototypes of __libc_res_nquery,
35495         __libc_res_nsearch, __libc_res_nsend.
35497 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
35499         * math/auto-libm-test-in: Add tests of fma.
35500         * math/auto-libm-test-out: Regenerated.
35501         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
35502         (fma_towardzero_test_data): Likewise.
35503         (fma_downward_test_data): Likewise.
35504         (fma_upward_test_data): Likewise.
35505         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
35506         mpc_mode.
35507         (rounding_modes): Add values for new field.
35508         (func_calc_method): Add value mpfr_fff_f.
35509         (func_calc_desc): Add mpfr_fff_f union field.
35510         (test_function): Add field exact_args.
35511         (FUNC): Add macro argument EXACT_ARGS.
35512         (FUNC_mpfr_f_f): Update call to FUNC.
35513         (FUNC_mpfr_f_f): Likewise.
35514         (FUNC_mpfr_ff_f): Likewise.
35515         (FUNC_mpfr_if_f): Likewise.
35516         (FUNC_mpc_c_f): Likewise.
35517         (FUNC_mpc_c_c): Likewise.
35518         (test_functions): Add fma.  Update calls to FUNC.
35519         (handle_input_arg): Add argument exact_args.
35520         (add_test): Update call to handle_input_arg.
35521         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35522         (output_for_one_input_case): Update call to calc_generic_results.
35523         Recalculate exact zero results in each rounding mode.
35525         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35526         non-negative before setting low bit.
35527         * math/auto-libm-test-in: Mark one asin test possibly having
35528         spurious underflow.
35529         * math/auto-libm-test-out: Regenerated.
35530         * sysdeps/i386/fpu/libm-test-ulps: Update.
35531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35533 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
35535         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
35536         * sysdeps/unix/sysv/linux/microblaze: Move directory from
35537         ports/sysdeps/unix/sysv/linux/microblaze.
35538         * README: Add missing listing for microblaze*-*-linux-gnu.
35540 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
35542         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
35543         duplicate code
35545 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
35547         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
35548         * sysdeps/unix/sysv/linux/ia64: Move directory from
35549         ports/sysdeps/unix/sysv/linux/ia64.
35550         * README: Update listing for ia64-*-linux-gnu.
35552 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
35553             Joseph Myers  <joseph@codesourcery.com>
35555         * Makeconfig (test-name): New variable.
35556         (evaluate-test): Likewise.
35557         * Makerules (do-test-clean): Remove .test-result files.
35558         (common-mostlyclean): Likewise.
35559         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
35560         * scripts/evaluate-test.sh: New file.
35562 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
35564         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
35565         separate $(objpfx)tst-fopenloc-cmp.out and
35566         $(objpfx)tst-fopenloc-mem.out targets.
35567         (tests): Update dependencies.
35568         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
35569         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
35570         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
35571         (tst-rxspencer-no-utf8-ARGS): New variable.
35572         (tst-rxspencer-no-utf8-ENV): Likewise.
35573         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
35574         instead of $(objpfx)tst-rxspencer-mem.
35575         ($(objpfx)tst-rxspencer-mem): Change target to
35576         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
35577         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
35578         * posix/tst-rxspencer-no-utf8.c: New file.
35580         * elf/Makefile ($(objpfx)order.out): Remove rule.
35581         [$(run-built-tests) = yes] (tests): Depend on
35582         $(objpfx)order-cmp.out.
35583         ($(objpfx)order-cmp.out): New rule.
35584         [$(run-built-tests) = yes] (tests): Depend on
35585         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
35586         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
35587         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
35588         $(objpfx)tst-array5-static-cmp.out.
35589         ($(objpfx)tst-array1.out): Remove rule.
35590         ($(objpfx)tst-array1-cmp.out): New rule.
35591         ($(objpfx)tst-array1-static.out): Remove rule.
35592         ($(objpfx)tst-array1-static-cmp.out): New rule.
35593         ($(objpfx)tst-array2.out): Remove rule.
35594         ($(objpfx)tst-array2-cmp.out): New rule.
35595         ($(objpfx)tst-array3.out): Remove rule.
35596         ($(objpfx)tst-array3-cmp.out): New rule.
35597         ($(objpfx)tst-array4.out): Remove rule.
35598         ($(objpfx)tst-array4-cmp.out): New rule.
35599         ($(objpfx)tst-array5.out): Remove rule.
35600         ($(objpfx)tst-array5-cmp.out): New rule.
35601         ($(objpfx)tst-array5-static.out): Remove rule.
35602         ($(objpfx)tst-array5-static-cmp.out): New rule.
35603         [$(run-built-tests) = yes] (tests): Depend on
35604         $(objpfx)order2-cmp.out.
35605         ($(objpfx)order2.out): Remove rule.
35606         ($(objpfx)order2-cmp.out): New rule.
35607         ($(objpfx)tst-initorder.out): Remove rule.
35608         [$(run-built-tests) = yes] (tests): Depend on
35609         $(objpfx)tst-initorder-cmp.out.
35610         ($(objpfx)tst-initorder-cmp.out): New rule.
35611         ($(objpfx)tst-initorder2.out): Remove rule.
35612         [$(run-built-tests) = yes] (tests): Depend on
35613         $(objpfx)tst-initorder2-cmp.out.
35614         ($(objpfx)tst-initorder2-cmp.out): New rule.
35615         [$(run-built-tests) = yes] (tests): Depend on
35616         $(objpfx)tst-unused-dep-cmp.out.
35617         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
35618         ($(objpfx)tst-unused-dep-cmp.out): New rule.
35619         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
35620         on $(objpfx)tst-setvbuf1-cmp.out.
35621         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
35622         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
35623         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
35624         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
35625         ($(objpfx)tst-svc.out): Remove rule.
35626         ($(objpfx)tst-svc-cmp.out): New rule.
35628 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
35630         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
35631         * ctype/ctype.h [__USE_MISC]: Likewise.
35632         * dirent/dirent.h [__USE_MISC]: Likewise.
35633         * grp/grp.h [__USE_MISC]: Likewise.
35634         * io/fcntl.h [__USE_MISC]: Likewise.
35635         * io/sys/stat.h [__USE_MISC]: Likewise.
35636         * libio/stdio.h [__USE_MISC]: Likewise.
35637         * posix/unistd.h [__USE_MISC]: Likewise.
35638         * pwd/pwd.h [__USE_MISC]: Likewise.
35639         * stdlib.h [__USE_MISC]: Likewise.
35640         * string/bits/string2.h [__USE_MISC]: Likewise.
35641         * string/string.h [__USE_MISC]: Likewise.
35642         * time/time.h [__USE_MISC]: Likewise.
35644 2014-02-13  Andreas Schwab  <schwab@suse.de>
35646         [BZ #16574]
35647         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
35648         second answer buffer if it was separately allocated.
35650 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
35652         * sysdeps/mips/math-tests.h: Include <features.h>.
35653         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35654         (ROUNDING_TESTS_long_double): Do not define.
35655         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35656         (EXCEPTION_TESTS_long_double): Likewise.
35657         * sysdeps/mips/mips64/libm-test-ulps: Update.
35659         * include/features.h (__USE_BSD): Remove macro definitions.
35660         (__USE_SVID): Likewise.
35661         (_BSD_SOURCE): Likewise.
35662         (_SVID_SOURCE): Likewise.
35663         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
35664         from definition of _DEFAULT_SOURCE.
35665         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
35666         [_DEFAULT_SOURCE].
35667         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
35668         * bits/mman.h [__USE_BSD]: Likewise.
35669         * bits/termios.h [__USE_BSD]: Likewise.
35670         * bits/waitstatus.h [__USE_BSD]: Likewise.
35671         * ctype/ctype.h [__USE_SVID]: Likewise.
35672         * dirent/dirent.h [__USE_BSD]: Likewise.
35673         * grp/grp.h [__USE_SVID]: Likewise.
35674         [__USE_BSD]: Likewise.
35675         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
35676         * io/fcntl.h [__USE_BSD]: Likewise.
35677         * io/ftw.h [__USE_BSD]: Likewise.
35678         * io/sys/stat.h [__USE_BSD]: Likewise.
35679         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
35680         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
35681         * libio/stdio.h [__USE_SVID]: Likewise.
35682         [__USE_BSD]: Likewise.
35683         * math/math.h [__USE_SVID]: Likewise.
35684         [__USE_BSD]: Likewise.
35685         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
35686         * misc/bits/syslog.h [__USE_BSD]: Likewise.
35687         * misc/search.h [__USE_SVID]: Likewise.
35688         * misc/sys/mman.h [__USE_BSD]: Likewise.
35689         * misc/sys/syslog.h [__USE_BSD]: Likewise.
35690         * misc/sys/uio.h [__USE_BSD]: Likewise.
35691         * posix/bits/unistd.h [__USE_BSD]: Likewise.
35692         * posix/glob.h [__USE_BSD]: Likewise.
35693         * posix/regex.h [__USE_BSD]: Likewise.
35694         * posix/sys/types.h [__USE_BSD]: Likewise.
35695         [__USE_SVID]: Likewise.
35696         * posix/sys/utsname.h [__USE_SVID]: Likewise.
35697         * posix/sys/wait.h [__USE_BSD]: Likewise.
35698         [__USE_SVID]: Likewise.
35699         * posix/unistd.h [__USE_BSD]: Likewise.
35700         [__USE_SVID]: Likewise.
35701         * pwd/pwd.h [__USE_SVID]: Likewise.
35702         * resolv/netdb.h [__USE_BSD]: Likewise.
35703         * setjmp/setjmp.h [__USE_BSD]: Likewise.
35704         * signal/signal.h [__USE_BSD]: Likewise.
35705         [__USE_SVID]: Likewise.
35706         * socket/sys/socket.h [__USE_BSD]: Likewise.
35707         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
35708         * stdlib/stdlib.h [__USE_BSD]: Likewise.
35709         [__USE_SVID]: Likewise.
35710         * string/bits/string2.h [__USE_BSD]: Likewise.
35711         [__USE_SVID]: Likewise.
35712         * string/bits/string3.h [__USE_BSD]: Likewise.
35713         * string/endian.h [__USE_BSD]: Likewise.
35714         * string/string.h [__USE_SVID]: Likewise.
35715         [__USE_BSD]: Likewise.
35716         * string/strings.h [__USE_BSD]: Likewise.
35717         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
35718         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
35719         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
35720         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
35721         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
35722         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
35723         Likewise.
35724         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
35725         Likewise.
35726         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
35727         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
35728         Likewise.
35729         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
35730         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
35731         Likewise.
35732         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
35733         Likewise.
35734         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
35735         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
35736         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
35737         Likewise.
35738         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
35739         Likewise.
35740         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
35741         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
35742         * termios/termios.h [__USE_BSD]: Likewise.
35743         * time/sys/time.h [__USE_BSD]: Likewise.
35744         * time/time.h [__USE_BSD]: Likewise.
35745         [__USE_SVID]: Likewise.
35747         * Makefile (subdir_targets): Remove subdir_lint.out.
35749         * stdio-common/Makefile (do-tst-unbputc): Remove target.
35750         (do-tst-printf): Likewise.
35751         (tests): Depend directly on $(objpfx)tst-unbputc.out and
35752         $(objpfx)tst-printf.out.
35754         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
35756         * Makerules (check-abi-%): Change target to
35757         $(objpfx)check-abi-%.out.
35758         (check-abi target): Update dependencies.
35759         (check-abi-pattern variable): Redirect output of diff to $@.
35760         (check-abi variable): Likewise.
35761         * elf/Makefile (check-abi): Update dependencies.
35763         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
35764         unused.
35765         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
35766         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
35767         subnormal range.
35768         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
35769         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
35770         value has largest subnormal exponent.
35771         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
35772         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
35773         * sysdeps/aarch64/soft-fp/sfp-machine.h
35774         (_FP_TININESS_AFTER_ROUNDING): New macro.
35775         * sysdeps/alpha/soft-fp/sfp-machine.h
35776         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35777         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35778         Likewise.
35779         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
35780         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35781         * sysdeps/mips/soft-fp/sfp-machine.h
35782         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35783         * sysdeps/powerpc/soft-fp/sfp-machine.h
35784         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35785         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35786         Likewise.
35787         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35788         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35789         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35790         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35791         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35792         Likewise.
35794 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
35796         [BZ #16545]
35797         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
35798         model 1.
35800 2014-02-12  Richard Henderson  <rth@redhat.com>
35802         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
35803         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
35804         * sysdeps/unix/sysv/linux/alpha: Move directory from
35805         ports/sysdeps/unix/sysv/linux/alpha.
35806         * README: Update listing for alpha-*-linux-gnu.
35808 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
35810         * include/features.h: Update comment documenting feature test
35811         macros.
35812         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
35813         _DEFAULT_SOURCE.
35814         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
35815         (_SVID_SOURCE): Likewise.
35816         (_DEFAULT_SOURCE): Update description of default features.
35817         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
35818         with _GNU_SOURCE.
35819         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
35820         (S_ISVTX): Likewise.
35821         * manual/math.texi (Mathematical Constants): Likewise.
35822         * manual/signal.texi (Interrupted Primitives): Likewise.
35823         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
35824         * math/test-matherr.c (_SVID_SOURCE): Do not define.
35825         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
35826         Don't refer to _SVID_SOURCE in warning text.
35828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35830         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
35831         already defined.
35832         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
35833         * sysdeps/mips/dl-lookup.c: Remove.
35834         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
35836 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35838         [BZ #16447]
35839         * math/auto-libm-test-in: Add testcase for expl.
35840         * math/auto-libm-test-out: Regenerate.
35841         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
35842         calculation of unsafe.
35843         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
35845 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35847         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
35848         * sysdeps/unix/sysv/linux/aarch64: Move directory from
35849         ports/sysdeps/unix/sysv/linux/aarch64.
35850         * README: Update listing for aarch64*-*-linux-gnu.
35852 2014-02-11  Will Newton  <will.newton@linaro.org>
35854         * manual/probes.texi (Mathematical Function Probes): Use
35855         "triggered" instead of "hit".
35857         * manual/probes.texi (Internal Probes): Add documentation
35858         of setjmp, longjmp and longjmp_target probes.
35860         * include/stap-probe.h: Add comment about probe argument
35861         format.
35863         * malloc/mtrace.c (attribute_hidden): Remove unused macro
35864         definition.  (tr_where, tr_freehook, tr_mallochook,
35865         tr_reallochook, tr_memalignhook): Use ANSI protoype.
35867 2014-02-11  David S. Miller  <davem@davemloft.net>
35869         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
35870         processing int_tests.
35872 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
35874         * sysdeps/mips: Move directory from ports/sysdeps/mips.
35875         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
35876         * sysdeps/unix/sysv/linux/mips: Move directory from
35877         ports/sysdeps/unix/sysv/linux/mips.
35878         * README: Update listing for mips-*-linux-gnu and
35879         mips64-*-linux-gnu.
35881 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
35883         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
35884         * sysdeps/unix/sysv/linux/m68k: Move directory from
35885         ports/sysdeps/unix/sysv/linux/m68k.
35886         * README: Update listing for m68k-*-linux-gnu.
35888 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
35890         * sysdeps/tile: Move directory from ports/sysdeps/tile.
35891         * sysdeps/unix/sysv/linux/generic: Move directory from
35892         ports/sysdeps/unix/sysv/linux/generic.
35893         * sysdeps/unix/sysv/linux/tile: Move directory from
35894         ports/sysdeps/unix/sysv/linux/tile.
35895         * README: Update listing for tile*-*-linux-gnu.
35897 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
35899         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
35900         __builtin_expect.
35901         * benchtests/bench-memmem.c (simple_memmem): Likewise.
35902         * catgets/open_catalog.c (__open_catalog): Likewise.
35903         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
35904         * debug/confstr_chk.c: Likewise.
35905         * debug/fread_chk.c (__fread_chk): Likewise.
35906         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35907         * debug/getgroups_chk.c: Likewise.
35908         * debug/mbsnrtowcs_chk.c: Likewise.
35909         * debug/mbsrtowcs_chk.c: Likewise.
35910         * debug/mbstowcs_chk.c: Likewise.
35911         * debug/memcpy_chk.c: Likewise.
35912         * debug/memmove_chk.c: Likewise.
35913         * debug/mempcpy_chk.c: Likewise.
35914         * debug/memset_chk.c: Likewise.
35915         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35916         * debug/strcat_chk.c (__strcat_chk): Likewise.
35917         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
35918         * debug/strncat_chk.c (__strncat_chk): Likewise.
35919         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
35920         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
35921         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
35922         * debug/wcpncpy_chk.c: Likewise.
35923         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35924         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
35925         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
35926         * debug/wcsncpy_chk.c: Likewise.
35927         * debug/wcsnrtombs_chk.c: Likewise.
35928         * debug/wcsrtombs_chk.c: Likewise.
35929         * debug/wcstombs_chk.c: Likewise.
35930         * debug/wmemcpy_chk.c: Likewise.
35931         * debug/wmemmove_chk.c: Likewise.
35932         * debug/wmempcpy_chk.c: Likewise.
35933         * debug/wmemset_chk.c: Likewise.
35934         * dirent/scandirat.c (SCANDIRAT): Likewise.
35935         * dlfcn/dladdr1.c (dladdr1): Likewise.
35936         * dlfcn/dladdr.c (dladdr): Likewise.
35937         * dlfcn/dlclose.c (dlclose_doit): Likewise.
35938         * dlfcn/dlerror.c (__dlerror): Likewise.
35939         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
35940         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
35941         * dlfcn/dlopen.c (dlopen_doit): Likewise.
35942         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
35943         * dlfcn/dlsym.c (dlsym_doit): Likewise.
35944         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
35945         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
35946         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
35947         Likewise.
35948         * elf/dl-conflict.c: Likewise.
35949         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35950         * elf/dl-dst.h: Likewise.
35951         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
35952         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
35953         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35954         * elf/dl-init.c (call_init, _dl_init): Likewise.
35955         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
35956         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
35957         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
35958         Likewise.
35959         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
35960         Likewise.
35961         * elf/dl-minimal.c (__libc_memalign): Likewise.
35962         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
35963         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35964         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
35965         * elf/dl-sym.c (do_sym): Likewise.
35966         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
35967         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
35968         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
35969         * elf/dl-writev.h (_dl_writev): Likewise.
35970         * elf/ldconfig.c (search_dir): Likewise.
35971         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
35972         (dl_main): Likewise.
35973         * elf/setup-vdso.h (setup_vdso): Likewise.
35974         * grp/compat-initgroups.c (compat_call): Likewise.
35975         * grp/fgetgrent.c (fgetgrent): Likewise.
35976         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
35977         * grp/putgrent.c (putgrent): Likewise.
35978         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35979         Likewise.
35980         * hurd/hurdinit.c: Likewise.
35981         * iconvdata/8bit-gap.c (struct): Likewise.
35982         * iconvdata/ansi_x3.110.c : Likewise.
35983         * iconvdata/big5.c : Likewise.
35984         * iconvdata/big5hkscs.c : Likewise.
35985         * iconvdata/cp1255.c: Likewise.
35986         * iconvdata/cp1258.c : Likewise.
35987         * iconvdata/cp932.c : Likewise.
35988         * iconvdata/euc-cn.c: Likewise.
35989         * iconvdata/euc-jisx0213.c : Likewise.
35990         * iconvdata/euc-jp.c: Likewise.
35991         * iconvdata/euc-jp-ms.c : Likewise.
35992         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
35993         * iconvdata/gb18030.c : Likewise.
35994         * iconvdata/gbbig5.c (const): Likewise.
35995         * iconvdata/gbgbk.c: Likewise.
35996         * iconvdata/gbk.c : Likewise.
35997         * iconvdata/ibm1364.c : Likewise.
35998         * iconvdata/ibm930.c : Likewise.
35999         * iconvdata/ibm932.c: Likewise.
36000         * iconvdata/ibm933.c : Likewise.
36001         * iconvdata/ibm935.c : Likewise.
36002         * iconvdata/ibm937.c : Likewise.
36003         * iconvdata/ibm939.c : Likewise.
36004         * iconvdata/ibm943.c: Likewise.
36005         * iconvdata/iso_11548-1.c: Likewise.
36006         * iconvdata/iso-2022-cn.c : Likewise.
36007         * iconvdata/iso-2022-cn-ext.c : Likewise.
36008         * iconvdata/iso-2022-jp-3.c: Likewise.
36009         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
36010         * iconvdata/iso-2022-kr.c : Likewise.
36011         * iconvdata/iso646.c (gconv_end): Likewise.
36012         * iconvdata/iso_6937-2.c : Likewise.
36013         * iconvdata/iso_6937.c : Likewise.
36014         * iconvdata/iso8859-1.c: Likewise.
36015         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
36016         * iconvdata/shift_jisx0213.c : Likewise.
36017         * iconvdata/sjis.c : Likewise.
36018         * iconvdata/t.61.c : Likewise.
36019         * iconvdata/tcvn5712-1.c : Likewise.
36020         * iconvdata/tscii.c: Likewise.
36021         * iconvdata/uhc.c : Likewise.
36022         * iconvdata/unicode.c (gconv_end): Likewise.
36023         * iconvdata/utf-16.c (gconv_end): Likewise.
36024         * iconvdata/utf-32.c (gconv_end): Likewise.
36025         * iconvdata/utf-7.c (base64): Likewise.
36026         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36027         * iconv/gconv_close.c (__gconv_close): Likewise.
36028         * iconv/gconv_open.c (__gconv_open): Likewise.
36029         * iconv/gconv_simple.c (internal_ucs4_loop_single)
36030         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
36031         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
36032         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
36033         (ucs4le_internal_loop_single): Likewise.
36034         * iconv/iconv.c (iconv): Likewise.
36035         * iconv/iconv_close.c: Likewise.
36036         * iconv/loop.c (SINGLE): Likewise.
36037         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
36038         * include/atomic.h: Likewise.
36039         * inet/inet6_option.c (option_alloc): Likewise.
36040         * intl/bindtextdom.c (set_binding_values): Likewise.
36041         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
36042         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
36043         * intl/localealias.c (read_alias_file): Likewise.
36044         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
36045         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
36046         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
36047         * libio/fmemopen.c (fmemopen): Likewise.
36048         * libio/iofgets.c (_IO_fgets): Likewise.
36049         * libio/iofgets_u.c (fgets_unlocked): Likewise.
36050         * libio/iofgetws.c (fgetws): Likewise.
36051         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
36052         * libio/iogetdelim.c (_IO_getdelim): Likewise.
36053         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
36054         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
36055         * locale/findlocale.c (_nl_find_locale): Likewise.
36056         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36057         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
36058         Likewise.
36059         * locale/setlocale.c (setlocale): Likewise.
36060         * login/programs/pt_chown.c (main): Likewise.
36061         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
36062         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
36063         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
36064         (mmap, mmap64, mremap, munmap): Likewise.
36065         * math/e_exp2l.c: Likewise.
36066         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
36067         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
36068         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
36069         * math/s_catan.c (__catan): Likewise.
36070         * math/s_catanf.c (__catanf): Likewise.
36071         * math/s_catanh.c (__catanh): Likewise.
36072         * math/s_catanhf.c (__catanhf): Likewise.
36073         * math/s_catanhl.c (__catanhl): Likewise.
36074         * math/s_catanl.c (__catanl): Likewise.
36075         * math/s_ccosh.c (__ccosh): Likewise.
36076         * math/s_ccoshf.c (__ccoshf): Likewise.
36077         * math/s_ccoshl.c (__ccoshl): Likewise.
36078         * math/s_cexp.c (__cexp): Likewise.
36079         * math/s_cexpf.c (__cexpf): Likewise.
36080         * math/s_cexpl.c (__cexpl): Likewise.
36081         * math/s_clog10.c (__clog10): Likewise.
36082         * math/s_clog10f.c (__clog10f): Likewise.
36083         * math/s_clog10l.c (__clog10l): Likewise.
36084         * math/s_clog.c (__clog): Likewise.
36085         * math/s_clogf.c (__clogf): Likewise.
36086         * math/s_clogl.c (__clogl): Likewise.
36087         * math/s_csin.c (__csin): Likewise.
36088         * math/s_csinf.c (__csinf): Likewise.
36089         * math/s_csinh.c (__csinh): Likewise.
36090         * math/s_csinhf.c (__csinhf): Likewise.
36091         * math/s_csinhl.c (__csinhl): Likewise.
36092         * math/s_csinl.c (__csinl): Likewise.
36093         * math/s_csqrt.c (__csqrt): Likewise.
36094         * math/s_csqrtf.c (__csqrtf): Likewise.
36095         * math/s_csqrtl.c (__csqrtl): Likewise.
36096         * math/s_ctan.c (__ctan): Likewise.
36097         * math/s_ctanf.c (__ctanf): Likewise.
36098         * math/s_ctanh.c (__ctanh): Likewise.
36099         * math/s_ctanhf.c (__ctanhf): Likewise.
36100         * math/s_ctanhl.c (__ctanhl): Likewise.
36101         * math/s_ctanl.c (__ctanl): Likewise.
36102         * math/w_pow.c: Likewise.
36103         * math/w_powf.c: Likewise.
36104         * math/w_powl.c: Likewise.
36105         * math/w_scalb.c (sysv_scalb): Likewise.
36106         * math/w_scalbf.c (sysv_scalbf): Likewise.
36107         * math/w_scalbl.c (sysv_scalbl): Likewise.
36108         * misc/error.c (error_tail): Likewise.
36109         * misc/pselect.c (__pselect): Likewise.
36110         * nis/nis_callback.c (__nis_create_callback): Likewise.
36111         * nis/nis_call.c (__nisfind_server): Likewise.
36112         * nis/nis_creategroup.c (nis_creategroup): Likewise.
36113         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
36114         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
36115         * nis/nis_getservlist.c (nis_getservlist): Likewise.
36116         * nis/nis_lookup.c (nis_lookup): Likewise.
36117         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
36118         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
36119         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
36120         * nis/nis_xdr.c (xdr_endpoint): Likewise.
36121         * nis/nss_compat/compat-grp.c (getgrent_next_file)
36122         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
36123         * nis/nss_compat/compat-initgroups.c (add_group)
36124         (internal_getgrent_r): Likewise.
36125         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36126         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36127         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36128         (internal_getspnam_r): Likewise.
36129         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36130         (_nss_nis_getaliasbyname_r): Likewise.
36131         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36132         (_nss_nis_getntohost_r): Likewise.
36133         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36134         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36135         (_nss_nis_getgrgid_r): Likewise.
36136         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36137         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36138         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36139         (_nss_nis_gethostbyname4_r): Likewise.
36140         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36141         (initgroups_netid): Likewise.
36142         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36143         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36144         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36145         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36146         (_nss_nis_getprotobynumber_r): Likewise.
36147         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36148         (_nss_nis_getsecretkey): Likewise.
36149         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36150         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36151         (_nss_nis_getpwuid_r): Likewise.
36152         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36153         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36154         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36155         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36156         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36157         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36158         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36159         Likewise.
36160         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36161         (_nss_nisplus_getntohost_r): Likewise.
36162         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36163         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36164         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36165         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36166         Likewise.
36167         * nis/nss_nisplus/nisplus-initgroups.c
36168         (_nss_nisplus_initgroups_dyn): Likewise.
36169         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36170         (_nss_nisplus_getnetbyaddr_r): Likewise.
36171         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36172         (_nss_nisplus_getprotobynumber_r): Likewise.
36173         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36174         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36175         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36176         Likewise.
36177         * nis/nss_nisplus/nisplus-service.c
36178         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36179         (_nss_nisplus_getservbyport_r): Likewise.
36180         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36181         (_nss_nisplus_getspnam_r): Likewise.
36182         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36183         Likewise.
36184         * nscd/aicache.c (addhstaiX): Likewise.
36185         * nscd/cache.c (cache_search, prune_cache): Likewise.
36186         * nscd/connections.c (register_traced_file, send_ro_fd)
36187         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36188         (main_loop_epoll): Likewise.
36189         * nscd/grpcache.c (addgrbyX): Likewise.
36190         * nscd/hstcache.c (addhstbyX): Likewise.
36191         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36192         * nscd/mem.c (gc, mempool_alloc): Likewise.
36193         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36194         (addinnetgrX): Likewise.
36195         * nscd/nscd-client.h (__nscd_acquire_maplock)
36196         (__nscd_drop_map_ref): Likewise.
36197         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36198         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36199         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36200         Likewise.
36201         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36202         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36203         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36204         (__nscd_get_map_ref): Likewise.
36205         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36206         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36207         Likewise.
36208         * nscd/pwdcache.c (addpwbyX): Likewise.
36209         * nscd/selinux.c (preserve_capabilities): Likewise.
36210         * nscd/servicescache.c (addservbyX): Likewise.
36211         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36212         * posix/fnmatch.c (fnmatch): Likewise.
36213         * posix/getopt.c (_getopt_internal_r): Likewise.
36214         * posix/glob.c (glob, glob_in_dir): Likewise.
36215         * posix/wordexp.c (exec_comm_child): Likewise.
36216         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36217         (getanswer_r, gaih_getanswer_slice): Likewise.
36218         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36219         * resolv/res_init.c: Likewise.
36220         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36221         * resolv/res_query.c (__libc_res_nquery): Likewise.
36222         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36223         Likewise.
36224         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36225         * stdio-common/perror.c (perror): Likewise.
36226         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36227         * stdio-common/tmpnam.c (tmpnam): Likewise.
36228         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36229         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36230         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36231         Likewise.
36232         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36233         * stdlib/putenv.c (putenv): Likewise.
36234         * stdlib/setenv.c (__add_to_environ): Likewise.
36235         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36236         * stdlib/strtol_l.c (INTERNAL): Likewise.
36237         * string/memmem.c (memmem): Likewise.
36238         * string/strerror.c (strerror): Likewise.
36239         * string/strnlen.c (__strnlen): Likewise.
36240         * string/test-memmem.c (simple_memmem): Likewise.
36241         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36242         * sunrpc/pm_getport.c (__get_socket): Likewise.
36243         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36244         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36245         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36246         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36247         Likewise.
36248         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36249         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36250         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36251         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36252         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36253         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36254         Likewise.
36255         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36256         Likewise.
36257         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36258         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36259         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36260         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36261         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36263         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36264         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36265         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36266         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36267         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36268         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36269         Likewise.
36270         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36271         Likewise.
36272         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36273         Likewise.
36274         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36275         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36276         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36277         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36278         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36279         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36280         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36281         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36282         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36283         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36284         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36285         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36286         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36287         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36288         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36289         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36290         Likewise.
36291         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36292         Likewise.
36293         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36294         Likewise.
36295         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36296         Likewise.
36297         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36298         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36299         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36300         Likewise.
36301         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36302         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36303         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36304         * sysdeps/posix/sleep.c: Likewise.
36305         * sysdeps/posix/tempname.c: Likewise.
36306         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36307         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36308         Likewise.
36309         * sysdeps/powerpc/powerpc32/dl-machine.h
36310         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36311         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36312         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36313         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36314         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36315         Likewise.
36316         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36317         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36318         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36319         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36320         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36321         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36322         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36323         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36324         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36325         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36326         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36327         (elf_machine_lazy_rel): Likewise.
36328         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36329         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36330         (elf_machine_lazy_rel): Likewise.
36331         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36332         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36333         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36334         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36335         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36336         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36337         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36338         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36339         Likewise.
36340         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36341         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36342         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36343         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36344         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36345         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36346         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36347         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36348         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36349         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36350         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36351         Likewise.
36352         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36353         (__posix_fallocate64_l64): Likewise.
36354         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36355         (posix_fallocate): Likewise.
36356         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36357         Likewise.
36358         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36359         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36360         (getifaddrs_internal): Likewise.
36361         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36362         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36363         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36364         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36365         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36366         (__posix_fallocate64_l64): Likewise.
36367         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36368         Likewise.
36369         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36370         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36371         (__get_clockfreq): Likewise.
36372         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36373         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36374         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36375         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36376         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36377         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36378         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36379         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36380         Likewise.
36381         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36382         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36383         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36384         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36385         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36386         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36387         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36388         Likewise.
36389         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36390         (posix_fallocate): Likewise.
36391         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36392         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36393         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36394         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36395         (elf_machine_rela, elf_machine_rela_relative)
36396         (elf_machine_lazy_rel): Likewise.
36397         * time/asctime.c (asctime_internal): Likewise.
36398         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36399         * time/tzset.c (__tzset_parse_tz): Likewise.
36400         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36401         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36402         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36403         * wcsmbs/wcsmbsload.h: Likewise.
36405         [BZ #15894]
36406         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36408         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36409         (arena_get2): Remove THREAD_STATS conditionals.
36410         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36411         (__malloc_stats, int): Likewise.
36413 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36415         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36416         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36418         * manual/setjmp.texi: Fix typos/grammar errors.
36420         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36421         Only return early when n is <= 0.  Delete unused return statement.
36423         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36424         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36425         * debug/tst-longjmp_chk3.c: New file.
36427         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36428         (test_main): Replace code with set_fortify_handler call.
36429         * debug/test-strcpy_chk.c: Likewise.
36430         * debug/tst-chk1.c: Likewise.
36431         * debug/tst-longjmp_chk.c: Likewise.
36432         * test-skeleton.c: Include fcntl.h & paths.h
36433         (set_fortify_handler): Define.
36435         * debug/tst-longjmp_chk.c: Add header comment and include
36436         ../test-skeleton.c.
36437         (do_test): Mark static.
36438         (TEST_FUNCTION): Define.
36440         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36441         (IP_PMTUDISC_INTERFACE): Likewise.
36442         (IP_MULTICAST_IF): Likewise.
36443         (IP_MULTICAST_TTL): Likewise.
36444         (IP_MULTICAST_LOOP): Likewise.
36445         (IP_ADD_MEMBERSHIP): Likewise.
36446         (IP_DROP_MEMBERSHIP): Likewise.
36447         (IP_UNBLOCK_SOURCE): Likewise.
36448         (IP_BLOCK_SOURCE): Likewise.
36449         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36450         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36451         (IP_MSFILTER): Likewise.
36452         (MCAST_JOIN_GROUP): Likewise.
36453         (MCAST_BLOCK_SOURCE): Likewise.
36454         (MCAST_UNBLOCK_SOURCE): Likewise.
36455         (MCAST_LEAVE_GROUP): Likewise.
36456         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36457         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36458         (MCAST_MSFILTER): Likewise.
36459         (IP_MULTICAST_ALL): Likewise.
36460         (IP_UNICAST_IF): Likewise.
36462         * timezone/Makefile: Delete $(have-ksh) check.
36463         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36464         * timezone/tzselect.ksh: Add +x mode bits.
36466         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36467         (ANON_INODE_FS_MAGIC): Likewise.
36468         (BDEVFS_MAGIC): Likewise.
36469         (BINFMTFS_MAGIC): Likewise.
36470         (BTRFS_TEST_MAGIC): Likewise.
36471         (CRAMFS_MAGIC_WEND): Likewise.
36472         (DEBUGFS_MAGIC): Likewise.
36473         (ECRYPTFS_SUPER_MAGIC): Likewise.
36474         (EXT3_SUPER_MAGIC): Likewise.
36475         (EXT4_SUPER_MAGIC): Likewise.
36476         (FUTEXFS_SUPER_MAGIC): Likewise.
36477         (HOSTFS_SUPER_MAGIC): Likewise.
36478         (HUGETLBFS_MAGIC): Likewise.
36479         (MINIX3_SUPER_MAGIC): Likewise.
36480         (MTD_INODE_FS_MAGIC): Likewise.
36481         (NILFS_SUPER_MAGIC): Likewise.
36482         (OPENPROM_SUPER_MAGIC): Likewise.
36483         (PIPEFS_MAGIC): Likewise.
36484         (PSTOREFS_MAGIC): Likewise.
36485         (QNX6_SUPER_MAGIC): Likewise.
36486         (RAMFS_MAGIC): Likewise.
36487         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36488         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36489         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36490         (SECURITYFS_MAGIC): Likewise.
36491         (SELINUX_MAGIC): Likewise.
36492         (SMACK_MAGIC): Likewise.
36493         (SOCKFS_MAGIC): Likewise.
36494         (SQUASHFS_MAGIC): Likewise.
36495         (STACK_END_MAGIC): Likewise.
36496         (TMPFS_MAGIC): Likewise.
36497         (USBDEVICE_SUPER_MAGIC): Likewise.
36498         (V9FS_MAGIC): Likewise.
36499         (XENFS_SUPER_MAGIC): Likewise.
36500         (CRAMFS_MAGIC): Fix typo in comment.
36501         (EXT2_SUPER_MAGIC): Update comment.
36502         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
36504 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
36506         * sysdeps/arm: Move directory from ports/sysdeps/arm.
36507         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36508         * sysdeps/unix/sysv/linux/arm: Move directory from
36509         ports/sysdeps/unix/sysv/linux/arm.
36510         * README: Update listing for arm-*-linux-gnueabi.
36512         * README: Remove mention of am33.
36514 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36516         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36517         than the comma operator, to avoid "rhs of comma has no effect"
36518         compiler warnings.
36519         (__sigfillset, __sigandset, __sigorset): Likewise.
36520         * include/signal.h (__sigemptyset): Likewise.
36521         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36523 2014-02-07  Allan McRae  <allan@archlinux.org>
36525         * version.h (RELEASE): Set to "development".
36526         (VERSION): Set to "2.19.90"
36527         * NEWS: Add 2.20 section.
36529 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
36531         [BZ #16529]
36532         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
36534 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36536         * manual/contrib.texi: Update entry for Carlos O'Donell,
36537         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
36539 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
36541         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
36543         * sysdeps/unix/sysv/linux/kernel-features.h
36544         [__LINUX_KERNEL_VERSION >= 0x020621]
36545         (__ASSUME_PROC_PID_TASK_COMM): Define.
36547 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36549         [BZ #16398]
36550         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
36551         conversion when destination buffer does not have enough space.
36552         * libio/tst-ftell-partial-wide.c: New test case.
36553         * libio/Makefile (tests): Add tst-ftell-partial-wide.
36555         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
36556         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
36557         Leonard and Allan McRae.
36559 2014-02-04  David S. Miller  <davem@davemloft.net>
36561         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
36562         32-bit.
36564 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36567         New file
36568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36569         New file
36570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36571         New file.
36572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36573         New file.
36574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36575         New file.
36576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36577         New file.
36578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36579         New file.
36580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36581         New file.
36582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36583         New file.
36584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36585         New file.
36586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36587         New file.
36588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36589         New file.
36590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36591         New file.
36593 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36595         * nptl/shlib-versions: Change powerpc*le start to 2.17.
36596         * shlib-versions: Likewise.
36598 2014-02-04  Roland McGrath  <roland@hack.frob.com>
36599             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36601         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
36602         (abilist-pattern): New variable, set to %-le.abilist.
36604         * Makerules (abilist-pattern): New variable.
36605         (vpath): Use $(abilist-pattern) in place of %.abilist.
36606         (check-abi-% pattern rule): Likewise.
36607         (check-abi, update-abi): Likewise.
36609 2014-02-04  Eric Wong  <normalperson@yhbt.net>
36611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36613 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
36615         * manual/startup.texi: Add next, previous, and top entries for
36616         the `Program Arguments' and `Environment Variables' nodes.
36618 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
36620         * manual/macros.texi: Add comments before MTASC-safety macros.
36622         * manual/users.texi: Document MTASC-safety properties.
36624         * manual/threads.texi (pthread_key_create, pthread_key_delete)
36625         (pthread_getspecific, pthread_setspecific): Format with
36626         @deftypefun, and add @safety note.
36627         * manual/signal.texi: Move comments that analyze the above
36628         functions to their home place.
36630 2014-02-03  Allan McRae  <allan@archlinux.org>
36632         * po/sl.po: Update Slovenian translation from translation project.
36634 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
36636         * manual/time.texi (timegm): Add missing blank after @c.
36637         Reported by Joseph Myers <joseph@codesourcery.com>.
36639 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
36641         * manual/check-safety.sh: New.
36642         * manual/Makefile ($(objpfx)stamp-summary): Run it.
36644         * manual/terminal.texi: Document MTASC-safety properties.
36646         * manual/filesys.texi: Document MTASC-safety properties.
36648         * manual/errno.texi: Document MTASC-safety properties.
36650         * manual/intro.texi: Document safety identifiers and
36651         conditionals.
36653         * manual/string.texi (wcstok): Fix prototype.
36654         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
36656         * manual/time.texi: Document MTASC-safety properties.
36658         * manual/string.texi: Document MTASC-safety properties.
36660         * manual/threads.texi: Document MTASC-safety properties.
36662         * manual/stdio.texi: Document MTASC-safety properties.
36664         * manual/syslog.texi: Document MTASC-safety properties.
36666         * manual/sysinfo.texi: Document MTASC-safety properties.
36668         * manual/startup.texi: Document MTASC-safety properties.
36670         * manual/socket.texi: Document MTASC-safety properties.
36672         * manual/signal.texi: Document MTASC-safety properties.
36674 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
36676         * manual/setjmp.texi: Document MTASC-safety properties.
36678         * manual/search.texi: Document MTASC-safety properties.
36680         * manual/resource.texi: Document MTASC-safety properties.
36682         * manual/process.texi: Document MTASC-safety properties.
36684         * manual/platform.texi: Document MTASC-safety properties.
36686         * manual/pipe.texi: Document MTASC-safety properties.
36688         * manual/pattern.texi: Document MTASC-safety properties.
36690         * manual/message.texi: Document MTASC-safety properties.
36692         [BZ #12751]
36693         * manual/memory.texi: Document MTASC-safety properties.
36695         * manual/math.texi: Document MTASC-safety properties.
36697         * manual/locale.texi: Document MTASC-safety properties.
36699         * manual/llio.texi: Document MTASC-safety properties.
36701         * manual/libdl.texi: New.
36703         * manual/lang.texi: Document MTASC-safety properties.
36705         * manual/job.texi: Document MTASC-safety properties.
36707         * manual/getopt.texi: Document MTASC-safety properties.
36709         * manual/ctype.texi: Document MTASC-safety properties.
36711 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
36713         [BZ #16046]
36714         * csu/libc-tls.c (static_map): Remove variable.
36715         (__libc_setup_tls): Use main executable's link map for TLS data.
36716         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
36717         casing for LM_ID_BASE and GL(dl_nns).
36718         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
36719         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
36720         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
36721         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
36722         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
36723         member.
36724         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
36725         l_phnum members.
36727 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
36729         * manual/debug.texi: Document MTASC-safety properties.
36731 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
36733         [BZ #16510]
36734         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
36735         of __x86_64__ when disabling x87 inline functions.
36737 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
36739         * manual/charset.texi: Document MTASC-safety properties.
36741         * manual/crypt.texi: Document MTASC-safety properties.
36743         * manual/conf.texi: Document MTASC-safety properties.
36745         * manual/arith.texi: Document MTASC-safety properties.
36747         * manual/argp.texi: Document MTASC-safety properties.
36749         * manual/macros.texi: Introduce macros to document multi
36750         thread, asynchronous signal and asynchronous cancellation
36751         safety properties.
36752         * manual/intro.texi: Introduce the properties themselves.
36754 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36756         * sysdeps/sh/sh4/Makefile: New file.
36758 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
36760         * math/gen-libm-test.pl ($srcdir): New variable.
36761         ($auto_input): Use it.
36763 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36765         [BZ #16506]
36766         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
36767         access beyond array bounds when parsing netgroups file.
36769         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
36770         the old buffer before realloc.
36772 2014-01-27  Allan McRae  <allan@archlinux.org>
36774         * po/fr.po: Update French translation from translation project.
36776 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36778         * sysdeps/sh/libm-test-ulps: Regenerate.
36780 2014-01-24  David S. Miller  <davem@davemloft.net>
36782         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
36784 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36786         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
36787         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
36789 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36791         [BZ #16474]
36792         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
36793         string pointers after reallocation.
36795 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36797         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
36798         __SH4A__ instead of __SH_FPU_ANY__.
36800 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36802         * sysdeps/sh/fpu_control.h: New file.
36803         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
36804         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
36805         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
36806         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
36807         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
36808         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
36809         * sysdeps/sh/sys/ucontext.h: Remove.
36810         * sysdeps/sh/sys: Remove directory.
36812 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36814         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
36815         s390/sys/ucontext.h.
36816         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
36817         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
36819 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
36821         [BZ #15605]
36822         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
36824 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36826         [BZ#16431]
36827         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36828         Adjust the vDSO correctly for internal calls.
36829         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
36831 2014-01-20  Allan McRae  <allan@archlinux.org>
36833         * po/ca.po: Update Catalan translation from translation project.
36835 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
36837         * sysdeps/s390/sotruss-lib.c: New file.
36839 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36841         [BZ#16430]
36842         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
36843         (__GI___gettimeofday): Alias for a different internal symbol to avoid
36844         local calls issues by not having a PLT stub required for IFUNC calls.
36845         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
36847 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
36849         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
36850         * math/test-fpucw-static.c: Likewise.
36852 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36854         [BZ #16453]
36855         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
36857 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36859         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
36860         implementation for powerpc.
36862 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
36864         [BZ #14782]
36865         * sysdeps/posix/system.c (__libc_system): Do not enable
36866         asynchronous cancellation.
36868 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36870         [BZ #16427]
36871         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
36872         handling only for numbers special also in the IEEE case.
36874 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36876         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36878 2014-01-11  Allan McRae  <allan@archlinux.org>
36880         * po/bg.po: Update Bulgarian translation from translation project.
36882         * po/de.po: Update German translation from translation project.
36884 2014-01-10  Roland McGrath  <roland@hack.frob.com>
36886         * sysdeps/generic/gcc-compat.h: New file.
36888 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36890         * benchtests/asin-inputs: Correct slow inputs.
36891         * benchtests/acos-inputs: Likewise.
36893 2014-01-10  Allan McRae  <allan@archlinux.org>
36895         * po:sv.po: Update Swedish translation from translation project.
36897         * po/vi.po: Update Vietnamese translation from translation project.
36899         * po/eo.po: Update Esperanto translation from translation project.
36901         * po/cs.po: Update Czech translation from translation project.
36903         * po/nl.po: Update Dutch translation from translation project.
36905         * po/pl.po: Update Polish translation from translation project.
36907         * po/ru.po: Update Russian translation from translation project.
36909         * po/uk.po: Update Ukrainian translation from translation project.
36911 2014-01-08  Brooks Moses  <bmoses@google.com>
36913         * elf/dl-load.c: Fix comment typo.
36915 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
36917         * po/header.pot: Rename to...
36918         * po/pot.header: ... this.
36919         * po/Makefile: Use pot.header.
36921 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
36922             Maxim Kuvyrkov  <maxim@kugelworks.com>
36924         [BZ #16394]
36925         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
36926         SRC and DEST against LEN.
36928 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36930         [BZ #16414]
36931         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
36932         implementation.
36933         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
36935 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36939 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
36941         [BZ #16408]
36942         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
36943         for large positive arguments.
36945 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
36947         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36949         * math/auto-libm-test-in: Mark various tests with
36950         xfail-rounding:ldbl-128ibm.
36951         * math/auto-libm-test-out: Regenerated.
36953         [BZ #16407]
36954         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36955         Increase overflow threshold.
36957 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
36959         [BZ #14286]
36960         * stdio-common/vfprintf.c: Check for integer overflow.
36962 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36964         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
36965         the first argument and return value of __tls_get_addr_internal.
36967 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36969         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
36970         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
36972 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36974         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
36975         * sysdeps/s390/rtld-global-offsets.sym: New file.
36976         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
36977         GLIBC_2.19 symbol.
36978         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
36979         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
36980         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36981         ... this.
36982         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
36983         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36984         ... this.
36985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36986         Regenerate.
36987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36988         Regenerate.
36989         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
36990         halfs of GPRs for high_gprs contexts.
36991         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
36992         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
36993         field.
36994         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
36995         uc_flags field.
36996         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36997         64 bit versions:
36998         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
36999         for high GPRs (uc_high_gprs) and for future extensions
37000         (__reserved).
37001         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
37002         for future extensions (__reserved).
37003         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
37004         64 bit versions:
37005         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
37006         SC_HIGHGPRS offset definition.
37007         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
37008         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
37010         * Versions.def: Add GLIBC_2.19 for libpthread.
37011         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
37012         siglongjmp for libpthread with GLIBC_2.19 symver.
37013         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
37014         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
37015         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
37016         * sysdeps/s390/__longjmp.c: New file.
37017         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
37018         * sysdeps/s390/longjmp.c: New file.
37019         * sysdeps/s390/setjmp.S: New file.
37020         * sysdeps/s390/sigjmp.S: New file.
37021         * sysdeps/s390/v1-longjmp.c: New file.
37022         * sysdeps/s390/v1-setjmp.h: New file.
37023         * sysdeps/s390/v1-sigjmp.c: New file.
37024         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
37025         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
37026         GLIBC_2.19 version.
37027         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
37028         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
37029         versioned symbols for ____longjmp_chk.
37030         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37031         Likewise.
37032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37033         Regenerate.
37034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37035         Regenerate.
37036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37037         Regenerate.
37038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37039         Regenerate.
37040         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
37041         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
37042         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
37043         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
37044         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
37045         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
37046         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
37047         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
37048         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
37049         * sysdeps/s390/rtld-__longjmp.c: New file.
37050         * sysdeps/s390/rtld-setjmp.S: New file.
37052 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
37054         [BZ #16400]
37055         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37056         Return -__logl (x) for small positive arguments without evaluating
37057         a polynomial.
37059 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
37061         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
37062         Rename to ...
37063         (__ptrace_peeksiginfo_args): ... this.
37064         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37065         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37066         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37068 2014-01-06  Allan McRae  <allan@archlinux.org>
37070         * inet/netinet/in.h: Fix typo in comment.
37072 2014-01-05  Andreas Jaeger  <aj@suse.de>
37074         * sysdeps/i386/fpu/libm-test-ulps: Update.
37076 2014-01-05  Allan McRae  <allan@archlinux.org>
37078         * po/libc.pot: Regenerated.
37080         * malloc/memusagestat.c: Fix gettext call formatting.
37082 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
37084         * nscd/nscd.c: Improve usage() output.
37086 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
37088         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
37089         * sysdeps/unix/sysv/linux/configure: Regenerated.
37090         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
37091         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
37093 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37095         [BZ #16390]
37096         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37097         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
37099 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37101         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
37102         extra tokens at end of #undef directive.
37103         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37104         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
37105         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37107 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37109         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37111         * math/auto-libm-test-in: Mark various tests with
37112         xfail-rounding:ldbl-128ibm.
37113         * math/auto-libm-test-out: Regenerated.
37115 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
37117         [BZ #16386]
37118         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
37119         numbers with subnormal high part when calculating exponent.
37121         [BZ #16385]
37122         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37123         fabs.
37125         [BZ #16384]
37126         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37127         M_LN2l.
37128         (__ieee754_acoshl): Use __log1pl not __log1p.
37130 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37132         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37133         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37134         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37135         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37136         (reused_arena, arena_get2): Convert to GNU style.
37137         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37138         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37139         (memalign_check, __malloc_set_state): Likewise.
37140         * malloc/mallocbug.c (main): Likewise.
37141         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37142         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37143         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37144         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37145         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37146         (__posix_memalign, malloc_info): Likewise.
37147         * malloc/malloc.h: Likewise.
37148         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37149         (mallochook, memalignhook, reallochook, mabort): Likewise.
37150         * malloc/mcheck.h: Likewise.
37151         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37152         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37153         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37154         * malloc/morecore.c (__default_morecore): Likewise.
37155         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37156         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37157         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37158         (print_and_abort): Likewise.
37159         * malloc/obstack.h: Likewise.
37160         * malloc/set-freeres.c (__libc_freeres): Likewise.
37161         * malloc/tst-mallocstate.c (main): Likewise.
37162         * malloc/tst-mtrace.c (main): Likewise.
37163         * malloc/tst-realloc.c (do_test): Likewise.
37165 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37167         [BZ #16366]
37168         * nscd/netgroupcache.c (do_notfound): New function.
37169         (addgetnetgrentX): Use it.
37171         [BZ # 16365]
37172         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37173         NSS_STATUS_NOTFOUND.
37175 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37177         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37180 2014-01-01  Allan McRae  <allan@archlinux.org>
37182         * scripts/update-copyrights: Update configure input file suffix.
37184         * NEWS: Update copyright year.
37185         * catgets/gencat.c: Likewise.
37186         * csu/version.c: Likewise.
37187         * debug/catchsegv.sh: Likewise.
37188         * debug/pcprofiledump.c: Likewise.
37189         * debug/xtrace.sh: Likewise.
37190         * elf/ldconfig.c: Likewise.
37191         * elf/ldd.bash.in: Likewise.
37192         * elf/pldd.c: Likewise.
37193         * elf/sotruss.ksh: Likewise.
37194         * elf/sprof.c: Likewise.
37195         * iconv/iconv_prog.c: Likewise.
37196         * iconv/iconvconfig.c: Likewise.
37197         * locale/programs/locale.c: Likewise.
37198         * locale/programs/localedef.c: Likewise.
37199         * login/programs/pt_chown.c: Likewise.
37200         * malloc/memusage.sh: Likewise.
37201         * malloc/memusagestat.c: Likewise.
37202         * malloc/mtrace.pl: Likewise.
37203         * manual/libc.texinfo: Likewise.
37204         * nscd/nscd.c: Likewise.
37205         * nss/getent.c: Likewise.
37206         * nss/makedb.c: Likewise.
37207         * posix/getconf.c: Likewise.
37208         * scripts/test-installation.pl: Likewise.
37210         * All files with FSF copyright notices: Update copyright dates
37211         using scripts/update-copyrights.
37212         * intl/plural.c: Regenerated.
37213         * locale/programs/charmap-kw.h: Likewise.
37214         * locale/programs/locfile-kw.h: Likewise.
37216 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37218         * sysdeps/unix/sysv/linux/configure: Regenerated.
37219         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37220         the linux/fanotify.h header.
37221         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37222         HAVE_LINUX_FANOTIFY_H is defined.
37224 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37226         * benchtests/cos-inputs: New inputs.
37227         * benchtests/sin-inputs: Likewise.
37229         * benchtests/atan-inputs: New inputs. Fix name of multiple
37230         precision fallback inputs.
37232         * benchtests/atanh-inputs: New inputs.
37233         * benchtests/tanh-inputs: Likewise.
37235         * benchtests/acosh-inputs: New inputs.
37236         * benchtests/asinh-inputs: Likewise.
37238         * benchtests/cosh-inputs: New inputs.
37239         * benchtests/sinh-inputs: Likewise.
37241         * benchtests/acos-inputs: Add more inputs.
37242         * benchtests/asin-inputs: Likewise.
37244 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37246         [BZ #16375]
37247         * manual/arith.texi: Fix spelling.
37248         * manual/charset.texi: Likewise.
37249         * manual/errno.texi: Likewise.
37250         * manual/filesys.texi: Likewise.
37251         * manual/lang.texi: Likewise.
37252         * manual/llio.texi: Likewise.
37253         * manual/locale.texi: Likewise.
37254         * manual/message.texi: Likewise.
37255         * manual/resource.texi: Likewise.
37256         * manual/search.texi: Likewise.
37257         * manual/setjmp.texi: Likewise.
37258         * manual/stdio.texi: Likewise.
37259         * manual/string.texi: Likewise.
37260         * manual/sysinfo.texi: Likewise.
37261         * manual/time.texi: Likewise.
37263 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37265         * po/sl.po: New file.
37267 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37269         * .gitignore: Add core/.gdbinit/.gdb_history.
37271 2013-12-27  Allan McRae  <allan@archlinux.org>
37273         [BZ #16369]
37274         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37275         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37277 2013-12-24  Brooks Moses  <bmoses@google.com>
37279         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37280         all compilers that claim C++98 compliance, not just GCC.
37281         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37282         Likewise.
37284 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37286         * NEWS: Restore accidentally deleted bug-fix entries.
37288 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37289             Ondřej Bílka  <neleai@seznam.cz>
37291         [BZ #15073]
37292         * malloc/malloc.c (_int_free): Perform sanity check only if we
37293         have_lock.
37295 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37297         [BZ #12986]
37298         * manual/stdio.texi (String Input Conversions): Clarify that character
37299         classes are not supported.
37301 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37305 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37307         [BZ #16337]
37308         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37309         Calculate results for small negative arguments directly rather
37310         than using reflection formula with special underflow handling.
37312         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37313         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37314         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37315         (fchflags): Likewise.
37316         (revoke): Likewise.
37317         (setlogin): Likewise.
37318         (sigaltstack): Likewise.
37319         (wait4): Likewise.
37320         (sigblock): Remove.
37321         (sigsetmask): Likewise.
37322         (wait3): Likewise.
37323         (waitpid): Likewise.
37324         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37325         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37326         file.
37327         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37328         * sysdeps/unix/bsd/Makefile: ... here.
37329         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37330         * sysdeps/unix/bsd/Versions: ... here.
37331         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37332         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37333         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37334         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37335         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37336         * sysdeps/unix/bsd/sigblock.c: ... here.
37337         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37338         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37339         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37340         * sysdeps/unix/bsd/sigvec.c: ... here.
37341         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37342         * sysdeps/unix/bsd/tcdrain.c: ... here.
37343         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37344         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37345         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37346         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37347         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37348         * sysdeps/unix/bsd/wait.c: ... here.
37349         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37350         * sysdeps/unix/bsd/wait3.c: ... here.
37351         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37352         * sysdeps/unix/bsd/waitpid.c: ... here.
37354 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37356         [BZ #16356]
37357         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37358         round-to-nearest for [!USE_AS_EXPM1L].
37359         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37360         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37361         more tests of exp and exp10.  Expect some exp10 tests to miss
37362         exceptions or fail in directed rounding modes.
37363         * math/auto-libm-test-out: Regenerated.
37364         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37365         (exp10_test_tonearest): New function.
37366         (exp10_towardzero_test_data): New array.
37367         (exp10_test_towardzero): New function.
37368         (exp10_downward_test_data): New array.
37369         (exp10_test_downward): New function.
37370         (exp10_upward_test_data): New array.
37371         (exp10_test_upward): New function.
37372         (main): Call the new functions.
37373         * sysdeps/i386/fpu/libm-test-ulps: Update.
37374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37376 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37378         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37379         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37380         * math/auto-libm-test-out: Regenerated.
37381         * math/libm-test.inc (acosh_test_data): Add more tests.
37382         (atanh_test_data): Likewise.
37383         (ceil_test_data): Likewise.
37384         (copysign_test_data): Likewise.
37385         * sysdeps/i386/fpu/libm-test-ulps: Update.
37386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37388         * timezone/checktab.awk: Update from tzcode 2013i.
37389         * timezone/private.h: Likewise.
37390         * timezone/scheck.c: Likewise.
37391         * timezone/tzfile.h: Likewise.
37392         * timezone/tzselect.ksh: Likewise.
37393         * timezone/zdump.c: Likewise.
37394         * timezone/zic.c: Likewise.
37396         * math/auto-libm-test-in: Add tests of cpow.
37397         * math/auto-libm-test-out: Regenerated.
37398         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37399         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37400         mpc_cc_c.
37401         (func_calc_desc): Add mpc_cc_c union field.
37402         (test_functions): Add cpow.
37403         (special_fill_2pi): New function.
37404         (special_real_inputs): Add 2pi.
37405         (calc_generic_results): Handle mpc_cc_c.
37406         * sysdeps/i386/fpu/libm-test-ulps: Update.
37407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37409         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37410         csqrt, ctan and ctanh.
37411         * math/auto-libm-test-out: Regenerated.
37412         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37413         (TEST_COND_x86): Likewise.
37414         (ccos_test_data): Use AUTO_TESTS_c_c.
37415         (ccosh_test_data): Likewise.
37416         (cexp_test_data): Likewise.
37417         (clog_test_data): Likewise.
37418         (csqrt_test_data): Likewise.
37419         (ctan_test_data): Likewise.
37420         (ctan_tonearest_test_data): Likewise.
37421         (ctan_towardzero_test_data): Likewise.
37422         (ctan_downward_test_data): Likewise.
37423         (ctan_upward_test_data): Likewise.
37424         (ctanh_test_data): Likewise.
37425         (ctanh_tonearest_test_data): Likewise.
37426         (ctanh_towardzero_test_data): Likewise.
37427         (ctanh_downward_test_data): Likewise.
37428         (ctanh_upward_test_data): Likewise.
37429         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37430         mpc_c_c.
37431         (func_calc_desc): Add mpc_c_c union field.
37432         (FUNC_mpc_c_c): New macro.
37433         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37434         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37435         ctanh.
37436         (special_fill_min_subnorm_p120): New function.
37437         (special_real_inputs): Add min_subnorm_p120.
37438         (calc_generic_results): Handle mpc_c_c.
37439         * sysdeps/i386/fpu/libm-test-ulps: Update.
37440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37442 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37444         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37445         (do_sin_slow): New functions.
37446         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37447         (cslow2, csloww1, csloww2): Use the new functions.
37449         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37450         Use M to change sign of result instead of X.  Assume X is
37451         positive.
37452         (csloww1): Likewise.
37453         (__sin): Adjust.
37454         (__cos): Adjust.
37456         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37457         arguments A and DA.
37458         (__sin): Adjust.
37459         (__cos): Likewise.
37461         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37462         (__cos): Likewise.
37463         (sloww1): Don't adjust sign of DX.
37464         (csloww1): Likewise.
37465         (sloww2): Use X directly and don't adjust sign of DX.
37466         (csloww2): Likewise.
37468 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37470         * math/auto-libm-test-in: Add tests of cabs and carg.
37471         * math/auto-libm-test-out: Regenerated.
37472         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37473         (carg_test_data): Likewise.
37474         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37475         mpc_c_f.
37476         (func_calc_desc): Add mpc_c_f union field.
37477         (test_functions): Add cabs and carg.
37478         (calc_generic_results): Handle mpc_c_f.
37480         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37481         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37482         as a macro and a compat symbol.
37483         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37484         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37485         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37486         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37487         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37488         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37489         not use .hidden.
37490         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37491         Likewise.
37492         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
37493         Likewise.
37494         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
37495         Likewise.
37496         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
37497         Likewise.
37498         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
37499         Likewise.
37500         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
37501         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
37502         from GLIBC_2.3.2.
37504 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37508 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37510         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37511         trailing whitespace removed.
37512         * scripts/config.guess: Update to version 2013-11-29.
37513         * scripts/config.sub: Update to version 2013-10-01.
37515         * math/auto-libm-test-in: Add tests of sincos.
37516         * math/auto-libm-test-out: Regenerated.
37517         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37518         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37519         mpfr_f_11.
37520         (func_calc_desc): Add mpfr_f_11 union field.
37521         (test_functions): Add sincos.
37522         (calc_generic_results): Handle mpfr_f_11.
37523         * sysdeps/i386/fpu/libm-test-ulps: Update.
37524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37526 2013-12-19  Andreas Schwab  <schwab@suse.de>
37528         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
37529         CALL_MCOUNT.
37530         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37531         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
37532         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
37534 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37536         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
37537         * sysdeps/i386/fpu/libm-test-ulps: Update.
37538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37540         [BZ #16293]
37541         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
37542         round-to-nearest mode when using frndint.
37543         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
37544         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37545         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37546         Likewise.
37547         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
37548         sinh test to fail.
37549         * math/auto-libm-test-out: Regenerated.
37550         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
37551         (TEST_COND_x86): Likewise.
37552         (expm1_tonearest_test_data): New array.
37553         (expm1_test_tonearest): New function.
37554         (expm1_towardzero_test_data): New array.
37555         (expm1_test_towardzero): New function.
37556         (expm1_downward_test_data): New array.
37557         (expm1_test_downward): New function.
37558         (expm1_upward_test_data): New array.
37559         (expm1_test_upward): New function.
37560         (main): Run the new test functions.
37561         * sysdeps/i386/fpu/libm-test-ulps: Update.
37562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37564         * include/features.h: Update comment documenting feature test
37565         macros.  Mention _DEFAULT_SOURCE in comment.
37566         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
37567         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
37568         _BSD_SOURCE and _SVID_SOURCE.
37569         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
37570         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
37571         !_SVID_SOURCE]: Likewise.
37572         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37573         (__USE_POSIX_IMPLICITLY): Define.
37574         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37575         (_POSIX_SOURCE): Undefine and redefine.
37576         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37577         (_POSIX_C_SOURCE): Likewise.
37578         * manual/creature.texi (_DEFAULT_SOURCE): Document.
37579         (Feature Test Macros): Update documentation of default features.
37581 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37583         * benchtests/Makefile: Add bench-strtok.
37584         * benchtests/bench-strtok.c: New file: strtok benchtest.
37586 2013-12-19  Allan McRae  <allan@archlinux.org>
37588         * manual/install.texi: Suppress menu for plain text output.
37589         * INSTALL: Regenerated.
37591 2013-12-18  Brooks Moses  <bmoses@google.com>
37593         [BZ #15846]
37594         * misc/getauxval.c: Include errno.h.
37595         (__getauxval): Set errno to ENOENT if the requested type is not
37596         found.
37597         * misc/sys/auxv.h (getauxval): Document that it may set errno;
37598         don't declare with __attribute_const__.
37599         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
37600         * manual/startup.texi: Document that getauxval sets errno.
37602 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37604         * math/auto-libm-test-in: Add tests of jn and yn.
37605         * math/auto-libm-test-out: Regenerated.
37606         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
37607         (yn_test_data): Likewise.
37608         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37609         mpfr_if_f.
37610         (func_calc_desc): Add mpfr_if_f union field.
37611         (FUNC_mpfr_if_f): New macro.
37612         (test_functions): Add jn and yn.
37613         (calc_generic_results): Assert type of second input for
37614         mpfr_ff_f.  Handle mpfr_if_f.
37615         (output_for_one_input_case): Disable all checking for arguments
37616         fitting floating-point types in case of an integer argument.
37617         * sysdeps/i386/fpu/libm-test-ulps: Update.
37618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37621         Don't expect fegetround reference in libm.so.
37623 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37625         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
37626         $(config-cflags-nofma).
37628 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37630         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
37631         * math/auto-libm-test-out: Regenerated.
37633         [BZ #16338]
37634         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
37635         to determine exponent and adjust argument to have exponent of -1.
37636         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
37637         log2.
37638         * math/auto-libm-test-out: Regenerated.
37639         * sysdeps/i386/fpu/libm-test-ulps: Update.
37640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37642 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
37644         * manual/probes.texi: Remove cases when per-thread arenas are
37645         disabled.
37647 2013-12-18  Andreas Schwab  <schwab@suse.de>
37649         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
37650         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
37651         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
37652         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
37653         * sysdeps/i386/i686/multiarch/Makefile: Update.
37654         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
37656 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37658         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
37659         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
37661 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
37663         [BZ #15968]
37664         Support TZ transition times < 00:00:00.
37665         This is needed for version-3 tz-format files; it supports time
37666         stamps past 2037 for America/Godthab (the only entry in the tz
37667         database for which this change is relevant).
37668         * manual/time.texi (TZ Variable): Document transition times
37669         from -167:59:59 through -00:00:01.
37670         * time/tzset.c (tz_rule): Time of day is now signed.
37671         (__tzset_parse_tz): Parse negative time of day.
37673         Document TZ transition times >= 25:00:00.
37674         * manual/time.texi (TZ Variable): Document transition times from
37675         25:00:00 through 167:59:59.  These are already supported, and this
37676         support will help with version-3 tz-format files.
37678         * manual/time.texi (TZ Variable): Modernize North America example
37679         to reflect current (i.e., 2007-and-later) daylight saving rules.
37681         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
37683 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37685         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
37686         * sysdeps/unix/bsd/bits/stat.h: Likewise.
37687         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
37688         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37689         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
37690         * sysdeps/unix/bsd/bsdstat.h: Likewise.
37691         * sysdeps/unix/bsd/clock.c: Likewise.
37692         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
37693         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
37694         * sysdeps/unix/bsd/init-posix.c: Likewise.
37695         * sysdeps/unix/bsd/poll.c: Likewise.
37696         * sysdeps/unix/bsd/ptsname.c: Likewise.
37697         * sysdeps/unix/bsd/seekdir.c: Likewise.
37698         * sysdeps/unix/bsd/setegid.c: Likewise.
37699         * sysdeps/unix/bsd/seteuid.c: Likewise.
37700         * sysdeps/unix/bsd/setgid.c: Likewise.
37701         * sysdeps/unix/bsd/setrgid.c: Likewise.
37702         * sysdeps/unix/bsd/setruid.c: Likewise.
37703         * sysdeps/unix/bsd/setsid.c: Likewise.
37704         * sysdeps/unix/bsd/setuid.c: Likewise.
37705         * sysdeps/unix/bsd/sigaction.c: Likewise.
37706         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
37707         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
37708         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
37709         * sysdeps/unix/bsd/telldir.c: Likewise.
37710         * sysdeps/unix/bsd/times.c: Likewise.
37711         * sysdeps/unix/bsd/usleep.c: Likewise.
37713         * misc/Makefile (install-lib): Remove libbsd-compat.a.
37714         ($(objpfx)libbsd-compat.a): Remove rule.
37716         * include/features.h (__FAVOR_BSD): Do not define.
37717         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
37718         features conflicting with POSIX.
37719         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
37720         (_BSD_SOURCE): Remove description of not being a subset of other
37721         feature test macros.
37722         * manual/job.texi (getpgrp): Do not document BSD version.
37723         (getpgid): Do not document by reference to BSD getpgrp.
37724         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
37725         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
37726         * signal/signal.h [__FAVOR_BSD]: Likewise.
37727         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
37728         instead of making contents conditional on [__FAVOR_BSD].
37729         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
37731 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37735 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37737         [BZ #16314]
37738         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
37739         values below 2**-450, not 2**-500.
37740         * math/auto-libm-test-in: Don't allow spurious underflow from
37741         hypot.
37742         * math/auto-libm-test-out: Regenerated.
37744         [BZ #16316]
37745         [BZ #16330]
37746         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
37747         values of ha and hb and sort them after adjusting subnormal
37748         arguments.
37749         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37750         Likewise.
37751         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
37752         values of ea and eb and sort them after adjusting subnormal
37753         arguments.
37754         * math/auto-libm-test-in: Do not expect some hypot tests of
37755         subnormals to fail.  Add more hypot tests.
37756         * math/auto-libm-test-out: Regenerated.
37758 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37760         [BZ #13304]
37761         * sysdeps/sh/s_fma.c: New file.
37762         * sysdeps/sh/s_fmaf.c: New file.
37763         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
37764         version.
37765         * sysdeps/sh/Implies: Add sh/soft-fp.
37767 2013-12-16  Roland McGrath  <roland@hack.frob.com>
37769         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
37770         level of indirection to members `objname', `errstring', `malloced'.
37771         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
37772         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
37773         it as the __longjmp argument (just pass 1 instead).
37774         (_dl_catch_error): Initialize C with argument pointers and address of
37775         volatile local ERRCODE rather than copying values out of C at return.
37777 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
37779         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
37780         * math/auto-libm-test-out: Regenerated.
37781         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
37782         (hypot_test_data): Likewise.
37783         (pow_test_data): Likewise.
37784         (pow_tonearest_test_data): Likewise.
37785         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37786         mpfr_ff_f.
37787         (func_calc_desc): Add mpfr_ff_f union field.
37788         (FUNC_mpfr_ff_f): New macro.
37789         (test_functions): Add atan2, hypot and pow.
37790         (special_fill_min): New function.
37791         (special_fill_minus_min): Likewise.
37792         (special_fill_min_subnorm): Likewise.
37793         (special_fill_minus_min_subnorm): Likewise.
37794         (special_real_inputs): Add min, -min, min_subnorm and
37795         -min_subnorm.
37796         (calc_generic_results): Handle mpfr_ff_f.
37797         * sysdeps/i386/fpu/libm-test-ulps: Update.
37798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37800 2013-12-16  Will Newton  <will.newton@linaro.org>
37802         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
37803         (Aligned Memory Blocks): Add documentation for aligned_alloc
37804         and suggest it as an alternative to posix_memalign.
37805         (Hooks for Malloc): Document __memalign_hook is also called
37806         for aligned_alloc.  (Summary of Malloc): Add summary for
37807         aligned alloc.  Document __memalign_hook is also called
37808         for aligned_alloc.
37810 2013-12-16  Will Newton  <will.newton@linaro.org>
37812         * manual/memory.texi (Malloc Examples): Clarify default
37813         alignment documentation.  Suggest posix_memalign rather
37814         than memalign or valloc.
37815         (Aligned Memory Blocks): Remove suggestion to use memalign
37816         or valloc.  Remove obsolete comment about BSD.
37817         Document memalign errno values and mark the function obsolete.
37818         Document posix_memalign returned error codes.  Mark valloc
37819         as obsolete.  (Hooks for Malloc): __memalign_hook is also
37820         called for posix_memalign and valloc.
37821         (Summary of Malloc): Add posix_memalign to function summary.
37822         __memalign_hook is also called for posix_memalign and valloc.
37824 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37826         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
37827         TAYLOR_SIN.
37828         (__sin): Adjust.
37829         (__cos): Likewise.
37830         (sloww): Use mynumber union.  Expand ternary operator into
37831         if-else statements.
37832         (cslow): use mynumber union.
37834 2013-12-16  Allan McRae  <allan@archlinux.org>
37836         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
37837         * configure: Regenerated.
37839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
37841         [BZ #14120]
37842         * configure.ac: Added --enable-maintainer-mode. Check for
37843         autoconf when enabled.
37844         * configure: Regenerated.
37846         * nscd/nscd.service: New file.
37847         * nscd/nscd.tmpfiles: New file.
37849 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
37851         [BZ #12100]
37852         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
37853         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
37854         * sysdeps/x86_64/multiarch/strstr.c: ... here.
37855         (strstr): Add __strstr_sse2_unaligned ifunc.
37856         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
37857         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
37858         (strcasestr): Remove __strcasestr_sse42 ifunc.
37859         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
37860         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37863 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37865         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
37866         * sysdeps/sh/bits/fenv.h: ... here.
37867         * sysdeps/sh/sh4/fpu/bits: Remove directory.
37869 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37871         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
37873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
37874         hypotf multiarch implementations.
37875         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
37876         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
37877         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
37878         multiarch hypot for PPC64.
37879         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
37880         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
37881         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
37882         multiarch hypotf for PPC64.
37884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
37885         modff multiarch implementations.
37886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
37887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
37888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
37889         multiarch modf for PPC64.
37890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
37891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
37892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
37893         multiarch modff for PPC64.
37895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
37896         and logl multiarch implementations.
37897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
37898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
37900         multiarch logb for PPC64.
37901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
37902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
37904         multiarch logb for PPC64.
37905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
37906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
37907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
37908         multiarch logb for PPC64.
37910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
37911         isinff multiarch implementation.
37912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
37913         file.
37914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
37915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
37916         multiarch isinf for PPC64.
37917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
37918         file.
37919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
37920         multiarch isinff for PPC64.
37922         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
37923         finitef multiarch implementation.
37924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
37925         file.
37926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
37927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
37928         multiarch finite for PPC64.
37929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
37930         file.
37931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
37932         multiarch finitef for PPC64.
37934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
37935         lrint multiarch implementation.
37936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
37937         file.
37938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
37939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
37940         multiarch llrint for PPC64.
37941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
37942         multiarch lrint for PPC64.
37944         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
37945         copysignf multiarch implementation.
37946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
37947         file.
37948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
37949         file.
37950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
37951         multiarch copysign for PPC64.
37952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
37953         multiarch copysignf for PPC64.
37955         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
37956         multiarch implementation.
37957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
37958         file.
37959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
37960         file.
37961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
37962         file.
37963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
37964         file.
37965         multiarch llround for PPC64.
37966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
37967         multiarch trunc for PPC64.
37968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
37969         multiarch truncf for PPC64.
37971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
37972         multiarch implementation.
37973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
37974         file.
37975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
37976         file.
37977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
37978         file.
37979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
37980         file.
37981         multiarch llround for PPC64.
37982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
37983         multiarch round for PPC64.
37984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
37985         multiarch roundf for PPC64.
37987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
37988         multiarch implementation.
37989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
37990         file.
37991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
37992         file.
37993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
37994         file.
37995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
37996         file.
37997         multiarch llround for PPC64.
37998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
37999         multiarch floor for PPC64.
38000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
38001         multiarch floorf for PPC64.
38003         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
38004         multiarch implementation.
38005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
38006         file.
38007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
38008         file.
38009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
38010         file.
38011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
38012         file.
38013         multiarch llround for PPC64.
38014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
38015         multiarch ceil for PPC64.
38016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
38017         multiarch ceilf for PPC64.
38019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38020         multiarch implementation.
38021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
38022         file.
38023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
38024         file.
38025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
38026         file.
38027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
38028         multiarch llround for PPC64.
38029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
38030         multiarch lround for PPC64.
38032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38033         multiarch implementation.
38034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
38035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
38036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
38037         file.
38038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
38039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
38040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
38041         multiarch isnan for PPC64.
38042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
38043         multiarch isnanf for PPC64.
38045         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
38046         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
38047         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
38048         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
38049         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
38050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
38052         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
38053         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38054         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38055         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
38058         multiarch implementations.
38059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38060         (__libc_ifunc_impl_list): Likewise.
38061         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
38062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
38063         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
38064         multiarch stpcpy for PPC64.
38066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
38067         multiarch implementations.
38068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38069         (__libc_ifunc_impl_list): Likewise.
38070         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
38071         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
38072         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
38073         multiarch strcpy for PPC64.
38075         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
38076         redefine function name.
38077         (_wordcopy_fwd_dest_aligned): Likewise.
38078         (_wordcopy_bwd_aligned): Likewise.
38079         (_wordcopy_bwd_dest_aligned): Likewise.
38080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
38081         multiarch implementations.
38082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38083         (__libc_ifunc_impl_list): Likewise.
38084         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
38085         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
38086         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
38087         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38088         multiarch wcscpy for PPC64.
38090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
38091         multiarch implementations.
38092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38093         (__libc_ifunc_impl_list): Likewise.
38094         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
38095         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
38096         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38097         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
38098         multiarch wcscpy for PPC64.
38100         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
38101         multiarch implementations.
38102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38103         (__libc_ifunc_impl_list): Likewise.
38104         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
38105         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
38106         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
38107         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
38108         multiarch wcsrchr for PPC64.
38110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
38111         multiarch implementations.
38112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38113         (__libc_ifunc_impl_list): Likewise.
38114         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
38115         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
38116         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
38117         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
38118         multiarch wcschr for PPC64.
38120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
38121         multiarch implementations.
38122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38123         (__libc_ifunc_impl_list): Likewise.
38124         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38125         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38126         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38127         multiarch strchrnul for PPC64.
38129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38130         implementations.
38131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38132         (__libc_ifunc_impl_list): Likewise.
38133         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38134         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38135         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38136         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38137         strchr for PPC64.
38139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38140         implementations.
38141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38142         (__libc_ifunc_impl_list): Likewise.
38143         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38144         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38145         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38146         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38147         strncmp for PPC64.
38149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38150         multiarch implementations.
38151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38152         (__libc_ifunc_impl_list): Likewise.
38153         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38154         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38155         strncasecmp for PPC64.
38156         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38157         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38158         multiarch strncasecmp_l for PPC64.
38160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38161         multiarch implementations.
38162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38163         (__libc_ifunc_impl_list): Likewise.
38164         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38165         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38166         multiarch strcasecmp for PPC64.
38167         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38168         file.
38169         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38170         multiarch strcasecmp_l for PPC64.
38172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38173         implementations.
38174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38175         (__libc_ifunc_impl_list): Likewise.
38176         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38177         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38178         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38179         strnlen for PPC64.
38181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38182         implementations.
38183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38184         (__libc_ifunc_impl_list): Likewise.
38185         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38186         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38187         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38188         strlen for PPC64.
38190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38191         implementations.
38192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38193         (__libc_ifunc_impl_list): Likewise.
38194         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38195         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38196         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38197         rawmemrchr for PPC64.
38199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38200         implementation.
38201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38202         (__libc_ifunc_impl_list): Likewise.
38203         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38204         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38205         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38206         memrchr for PPC64.
38208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38209         implementation.
38210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38211         (__libc_ifunc_impl_list): Likewise.
38212         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38213         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38214         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38215         memchr for PPC64.
38217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38218         implementation.
38219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38220         (__libc_ifunc_impl_list): Likewise.
38221         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38222         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38223         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38224         mempcpy for PPC64.
38226         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38227         avoid cretion of __bzero symbol.
38228         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38229         Likewise.
38230         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38231         Likewise.
38232         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38233         Likewise.
38234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38235         multiarch implementations.
38236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38237         (__libc_ifunc_impl_list): Likewise.
38238         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38239         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38240         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38241         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38242         bzero for PPC32.
38243         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38244         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38245         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38246         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38247         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38248         memset for PPC64.
38249         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38251         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38253         implementations.
38254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38255         (__libc_ifunc_impl_list): Likewise.
38256         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38257         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38258         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38259         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38260         memcmp for PPC64.
38262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38263         multiarch for POWER/PPC64.
38264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38265         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38266         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38267         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38268         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38269         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38270         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38271         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38272         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38273         memcpy for PPC64.
38275         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38276         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38277         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38278         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38279         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38280         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38281         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38282         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38283         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38284         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38285         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38286         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38287         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38288         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38289         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38298 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38300         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38302 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38304         * benchtests/Makefile (bench): Add exp2 and log2.
38305         (LDLIBS-bench-exp2): Add -lm.
38306         (LDLIBS-bench-log2): Likewise.
38307         * benchtests/exp2-inputs: New inputs file.
38308         * benchtests/log2-inputs: New inputs file.
38309         * benchtests/log-inputs: Add new inputs.
38310         * benchtests/tan-inputs: Likewise.
38312 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38314         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38315         definition...
38316         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38317         (csloww2): ... from here.
38319         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38320         instead of structures.
38321         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38322         (POLYNOMIAL): Likewise.
38323         (TAYLOR_SLOW): Likewise.
38324         (__sin): Likewise.
38325         (__cos): Likewise.
38326         (slow1): Likewise.
38327         (slow2): Likewise.
38328         (sloww): Likewise.
38329         (sloww1); Likewise.
38330         (sloww2): Likewise.
38331         (bsloww1): Likewise.
38332         (bsloww2): Likewise.
38333         (cslow2): Likewise.
38334         (csloww): Likewise.
38335         (csloww1): Likewise.
38336         (csloww2): Likewise.
38338 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38340         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38341         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38342         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38343         * malloc/hooks.c (realloc_check): Likewise.
38345         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38346         * malloc/arena.c: Remove PER_THREAD conditional.
38347         [!PER_THREAD]: Remove code.
38348         (ptmalloc_unlock_all2): Likewise.
38349         (ptmalloc_init): Likewise.
38350         (_int_new_arena): Likewise.
38351         (arena_get2): Likewise.
38352         * malloc/hooks.c (__malloc_get_state): Likewise.
38353         (__malloc_set_state): Likewise.
38354         * malloc/malloc.c: Likewise.
38355         (struct malloc_state): Likewise.
38356         (struct malloc_par): Likewise.
38357         (__libc_realloc): Likewise.
38358         (__libc_mallopt): Likewise.
38360 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38362         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38364 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38366         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38367         macro to a function.  Check for zero perturb_byte.
38368         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38370         * malloc/malloc.c: (force_reg): Remove.
38371         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38372         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38373         force_reg by atomic_forced_read.
38374         * malloc/arena.c (ptmalloc_init): Likewise.
38375         * malloc/hooks.c (top_check): Likewise.
38377 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38381 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38385 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38387         * math/auto-libm-test-in: Add tests of lgamma.
38388         * math/auto-libm-test-out: Regenerated.
38389         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38390         (M_LOG_2_SQRT_PIl): Likewise.
38391         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38392         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38393         mpfr_f_f1.
38394         (func_calc_desc): Add mpfr_f_f1 union field.
38395         (ARGS1): New macro.
38396         (ARGS2): Likewise.
38397         (ARGS3): Likewise.
38398         (ARGS4): Likewise.
38399         (RET1): Likewise.
38400         (RET2): Likewise.
38401         (CALC): Likewise.
38402         (FUNC): Likewise.
38403         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38404         (test_functions): Add lgamma.
38405         (calc_generic_results): Handle mpfr_f_f1.
38406         * sysdeps/i386/fpu/libm-test-ulps: Update.
38407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38409 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38411         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38412         __mpn_add_n for PowerPC64/POWER7.
38413         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38414         __mpn_sub_n for PowerPC64/POWER7.
38416         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38417         __mpn_addmul_1 for PowerPC64.
38418         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38419         __mpn_submul_1 for PowerPC64.
38420         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38421         for PowerPC64.
38422         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38423         for PowerPC64.
38425 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38427         [BZ #15089]
38428         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38430 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38432         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38434         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38435         add multiarch folders.
38436         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38437         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38438         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38439         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38440         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38441         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38442         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38443         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38444         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38445         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38446         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38455         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38457         New file.
38458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38459         New file.
38460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38461         multiarch __ieee754_hypot for PowerPC32.
38462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38463         New file.
38464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38465         New file.
38466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38467         multiarch __ieee754_hypotf for PowerPC32.
38469         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38470         long_double_symbol only if __logbl is defined.
38471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38472         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38473         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38474         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38475         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38476         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38477         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38478         path for implementation.
38479         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38480         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38482         logb, and logbl multiarch implementations for PowerPC32.
38483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38484         file.
38485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38486         file.
38487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38488         multiarch logb for PowerPC32.
38489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38490         file.
38491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
38492         file.
38493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
38494         multiarch logbf for PowerPC32.
38495         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
38496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
38497         file.
38498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
38499         multiarch logbl implementation for PowerPC32.
38501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
38502         and modff multiarch implementations.
38503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
38504         New file.
38505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
38506         New file.
38507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38508         multiarch modf for PowerPC32.
38509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38510         New file.
38511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38512         New file.
38513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38514         multiarch modff for PowerPC32.
38516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38517         and lrintf multiarch implementations.
38518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38519         New file.
38520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38521         New file.
38522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38523         multiarch lrint for PowerPC32.
38524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38525         file: multiarch lrintf for PowerPC32.
38527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
38528         and lroundf multiarch implementations.
38529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
38530         New file.
38531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
38532         New file.
38533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
38534         New file.
38535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
38536         multiarch lround for PowerPC32.
38537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
38538         file: multiarch lroundf for PowerPC32.
38540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38541         copysign and copysignf multiarch implementations.
38542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
38543         New file.
38544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
38545         New file.
38546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
38547         file: multiarch copysign for PowerPC32.
38548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
38549         file: multiarch copysignf for PowerPC32.
38551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
38552         and truncf multiarch implementations.
38553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
38554         New file.
38555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
38556         file.
38557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
38558         multiarch trunc for PowerPC32.
38559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
38560         New file.
38561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
38562         New file.
38563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
38564         multiarch truncf for PowerPC32.
38566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
38567         and roundf multiarch implementations.
38568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
38569         New file.
38570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
38571         file.
38572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
38573         multiarch round for PowerPC32.
38574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
38575         New file.
38576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
38577         New file.
38578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
38579         multiarch roundf for PowerPC32.
38581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
38582         and floorf multiarch implementations.
38583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
38584         New file.
38585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
38586         file.
38587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
38588         multiarch floor for PowerPC32.
38589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
38590         New file.
38591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
38592         New file.
38593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
38594         multiarch floorf for PowerPC32.
38596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
38597         and ceilf multiarch implementations.
38598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
38599         New file.
38600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
38601         file.
38602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
38603         multiarch ceil for PowerPC32.
38604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
38605         New file.
38606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
38607         file.
38608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
38609         multiarch ceilf for PowerPC32.
38611         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
38612         is defined.
38613         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
38614         FINITEF is defined.
38615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
38616         and finitef multiarch implementations.
38617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
38618         New file.
38619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
38620         file.
38621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
38622         multiarch finite for PowerPC32.
38623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
38624         New file.
38625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
38626         file: multiarch finitef for PowerPC32.
38628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
38629         and isinff multiarch implementations.
38630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
38631         file.
38632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
38633         file.
38634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
38635         multiarch isinf for PowerPC32.
38636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
38637         New file.
38638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
38639         multiarch isinff for PowerPC32.
38641         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
38642         alias when __isnan is defined.
38643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
38644         and isnanf multiarch implementations.
38645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
38646         file.
38647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
38648         file.
38649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
38650         file.
38651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
38652         file.
38653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
38654         multiarch isnan for PowerPC32.
38655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
38656         New file.
38657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
38658         New file.
38659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
38660         multiarch isnanf for PowerPC32.
38662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
38663         and sqrtf multiarch implementations.
38664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
38665         file.
38666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
38667         file.
38668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
38669         multiarch sqrt for PowerPC32.
38670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
38671         file.
38672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
38673         file.
38674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
38675         multiarch sqrtf for PowerPC32.
38677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
38678         and llroundf multiarch implementations.
38679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
38680         New file.
38681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
38682         New file.
38683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
38684         New file.
38685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
38686         file: multiarch llround for PowerPC32.
38687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
38688         file: multiarch llroundf for PowerPC32.
38690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
38691         multiarch PowerPC32 fpu implementations.
38692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
38693         New file.
38694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
38695         New file.
38696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
38697         multiarch llrint for PowerPC32.
38698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
38699         New file.
38700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
38701         New file.
38702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
38703         file.
38705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
38707         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
38708         file.
38709         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
38710         file.
38711         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
38712         file.
38713         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
38714         multiarch wordcopy for PPC32.
38715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38716         wordcopy objects.
38717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38718         (__libc_ifunc_impl_list): Likewise.
38719         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
38720         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
38721         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
38722         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
38723         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
38724         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
38726         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
38727         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
38728         file.
38729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
38730         file.
38731         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
38732         file.
38733         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
38734         multiarch wcscpy for PPC32.
38735         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38736         multiarch objects.
38737         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38738         (__libc_ifunc_impl_list): Likewise.
38739         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38740         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38741         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
38742         sysdeps/powerpc/power6/wcscpy.c.
38744         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
38745         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
38746         file.
38747         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
38748         file.
38749         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
38750         file.
38751         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
38752         multiarch wcsrchr for PPC32.
38753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38754         multiarch objects.
38755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38756         (__libc_ifunc_impl_list): Likewise.
38757         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38758         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38759         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
38760         sysdeps/powerpc/power6/wcsrchr.c.
38762         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
38763         file.
38764         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
38765         file.
38766         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
38767         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
38768         multiarch wcschr for PPc32.
38769         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38770         multiarch objects.
38771         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38772         (__libc_ifunc_impl_list): Likewise.
38773         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
38774         * sysdeps/powerpc/power6/wcschr.c: ... to here.
38775         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
38776         sysdeps/powerpc/power6/wcschr.c.
38778         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
38779         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
38780         file.
38781         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
38782         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
38783         file: multiarch strchr for PPC32.
38784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
38785         multiarch objects.
38786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38787         (__libc_ifunc_impl_list): Likewise.
38789         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
38790         name.
38791         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
38792         file.
38793         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
38794         file.
38795         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
38796         multiarch strchrnul for PPC32.
38797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
38798         multiarch objects.
38799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38800         (__libc_ifunc_impl_list): Likewise.
38802         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
38803         file.
38804         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
38805         multiarch strncasecmp for PPC32.
38806         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
38807         file.
38808         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
38809         multiarch strncasecmp_l for PPC32.
38810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
38811         strncasecmp multiarch objects.
38812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38813         (__libc_ifunc_impl_list): Likewise.
38815         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
38816         file.
38817         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
38818         multiarch strncasecmp for PPC32.
38819         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38820         New file.
38821         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
38822         multiarch strcasecmp_l for PPC32.
38823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
38824         multiarch objects.
38825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38826         (__libc_ifunc_impl_list): Likewise.
38828         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
38829         file.
38830         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
38831         file.
38832         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
38833         multiarch strncmp for PPC32.
38834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
38835         multiarch objects.
38836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38837         (__libc_ifunc_impl_list): Likewise.
38839         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
38840         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
38841         file.
38842         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
38843         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
38844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
38845         multiarch objects.
38846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38847         (__libc_ifunc_impl_list): Likewise.
38849         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
38850         file.
38851         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
38852         file.
38853         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
38854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
38855         multiarch objects.
38856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38857         (__libc_ifunc_impl_list): Likewise.
38859         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
38860         file.
38861         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
38862         file.
38863         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
38864         multiarch rawmemchr for PPC32.
38865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
38866         multiarch objects.
38867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38868         (__libc_ifunc_impl_list): Likewise.
38870         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
38871         file.
38872         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
38873         file.
38874         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
38875         file: memrchr multiarch for PPC32.
38876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
38877         multiarch objects.
38878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38879         (__libc_ifunc_impl_list): Likewise.
38881         * string/memchr.c (__memchr): Using macro to redefine symbol name.
38882         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
38883         file.
38884         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
38885         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
38886         multiarch memchr for PPC32.
38887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
38888         multiarch objects.
38889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38890         (__libc_ifunc_impl_list): Likewise.
38892         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
38893         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
38894         file.
38895         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
38896         file.
38897         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
38898         file: multiarch mempcpy for PPC32.
38899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
38900         multiarch objects.
38901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38902         (__libc_ifunc_impl_list): Likewise.
38904         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
38905         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
38906         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
38907         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
38908         multiarch bzero for PPC32.
38909         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
38910         file.
38911         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38912         file.
38913         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
38914         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
38915         file: multiarch memset for PPC32.
38916         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
38917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
38918         memset multiarch objects.
38919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38920         (__libc_ifunc_impl_list): Likewise.
38922         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38923         file.
38924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
38925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
38926         memcmp for PPC32.
38927         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
38928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
38929         multiarch objects.
38930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38931         (__libc_ifunc_impl_list): Likewise.
38933         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
38934         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
38935         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
38936         file.
38937         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
38938         file.
38939         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
38940         file.
38941         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
38942         multiarch memcpy for PPC32.
38943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
38944         multiarch objects.
38945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38946         (__libc_ifunc_impl_list): Likewise.
38948         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
38949         support multiarch for POWER/PPC32.
38950         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
38951         Likewise.
38952         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
38954         Implies file to make multiarch folder appers before the fpu and
38955         default folder for power4 configuration.
38957 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38959         * scripts/bench.pl: Append volatile keyword to type.
38961 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38963         * sysdeps/sh/sotruss-lib.c: New file.
38964         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
38966 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38970 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
38972         [BZ #6810]
38973         * math/w_tgamma.c: Include <errno.h>.
38974         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
38975         * math/w_tgammaf.c: Include <errno.h>.
38976         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
38977         * math/w_tgammal.c: Include <errno.h>.
38978         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
38979         * math/auto-libm-test-in: Do not allow missing errno on tgamma
38980         underflow.  Add more tgamma tests.
38981         * math/auto-libm-test-out: Regenerated.
38982         * sysdeps/i386/fpu/libm-test-ulps: Update.
38983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38985         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
38986         sin, sinh, tan, tanh, tgamma, y0 and y1.
38987         * math/auto-libm-test-out: Regenerated.
38988         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38989         (TEST_COND_x86): Likewise.
38990         (M_E2l): Remove macro.
38991         (M_E3l): Likewise.
38992         (M_2_SQRT_PIl): Likewise.
38993         (M_SQRT_PIl): Likewise.
38994         (M_1_DIV_El): Likewise.
38995         (log_test_data): Use AUTO_TESTS_f_f.
38996         (log10_test_data): Likewise.
38997         (log1p_test_data): Likewise.
38998         (log2_test_data): Likewise.
38999         (sin_test_data): Likewise.
39000         (sin_tonearest_test_data): Likewise.
39001         (sin_towardzero_test_data): Likewise.
39002         (sin_downward_test_data): Likewise.
39003         (sin_upward_test_data): Likewise.
39004         (sinh_test_data): Likewise.
39005         (sinh_tonearest_test_data): Likewise.
39006         (sinh_towardzero_test_data): Likewise.
39007         (sinh_downward_test_data): Likewise.
39008         (sinh_upward_test_data): Likewise.
39009         (tan_test_data): Likewise.
39010         (tan_tonearest_test_data): Likewise.
39011         (tan_towardzero_test_data): Likewise.
39012         (tan_downward_test_data): Likewise.
39013         (tan_upward_test_data): Likewise.
39014         (tanh_test_data): Likewise.
39015         (tgamma_test_data): Likewise.
39016         (y0_test_data): Likewise.
39017         (y1_test_data): Likewise.
39018         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
39019         (special_real_inputs): Add pi/4.
39020         * sysdeps/i386/fpu/libm-test-ulps: Update.
39021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39023 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39025         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
39026         "longjmp_target" static probes.
39027         (__longjmp): Rename to __longjmp_symbol.
39028         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39029         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
39030         on which longjmp to generate.
39031         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39032         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
39033         probe.
39034         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39035         (__sigjmp_save): Rename to __sigjmp_save_symbol.
39036         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39037         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
39038         and __sigjmp_save_symbol based on which sigsetjmp to generated.
39039         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
39041         __longjmp_symbol based on which __longjmp to generate.
39042         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
39043         probe.
39044         (setjmp): Rename to setjmp_symbol.
39045         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39046         (_setjmp): Rename to _setjmp_symbol.
39047         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39048         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
39049         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
39050         which setjmp to generate.
39051         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
39052         "longjmp_target" static probes.
39054 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39056         * benchtests/README: Add note about output arguments.
39057         * benchtests/bench-sincos.c: Remove file.
39058         * benchtests/sincos-inputs: New file.
39059         * scripts/bench.pl: Identify output arguments and define
39060         static variables for them.
39062         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
39064         [BZ #15941]
39065         * Makefile (INSTALL): Add install-plain.texi as the primary
39066         dependency.
39067         * manual/install-plain.texi: New file.
39068         * manual/install.texi: Include node directive only for
39069         non-plaintext output.
39071 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
39073         * stdlib/longlong.h: Update from GCC.
39075         [BZ #6807]
39076         [BZ #15901]
39077         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
39078         * math/w_j0f.c (y0f): Likewise.
39079         * math/w_j0l.c (__y0l): Likewise.
39080         * math/w_j1.c (y1): Likewise.
39081         * math/w_j1f.c (y1f): Likewise.
39082         * math/w_j1l.c (__y1l): Likewise.
39083         * math/w_jn.c (yn): Likewise.
39084         * math/w_jnf.c (ynf): Likewise.
39085         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
39086         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
39087         value for Bessel function domain errors outside _SVID_ mode.
39088         Adjust sign of return value for yn (negative integer, 0).
39089         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
39090         by zero in return for negative x and set sign appropriately for
39091         negative n.
39092         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
39093         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39094         * math/libm-test.inc (y0_test_data): Add more tests and adjust
39095         expectations in error cases.
39096         (y1_test_data): Likewise.
39097         (yn_test_data): Likewise.
39098         * sysdeps/i386/fpu/libm-test-ulps: Update.
39099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39101 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39103         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
39104         "64" to "64-v1".  Add "64-v2".
39105         (abi-64-options): Rename to ...
39106         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
39107         (abi-64-condition): Rename to ...
39108         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
39109         (abi-64-ld-soname): Rename to ...
39110         (abi-64-v1-ld-soname): ... this.
39111         (abi-64-v2-options): Define.
39112         (abi-64-v2-condition): Likewise.
39113         (abi-64-v2-ld-soname): Likewise.
39114         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
39115         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
39116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
39117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
39118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
39120 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39121             Alan Modra  <amodra@gmail.com>
39123         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39124         New versions for use with the ELFv2 ABI.
39125         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39126         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39127         declaration.
39128         (struct La_ppc64v2_retval): Likewise.
39129         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39130         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39131         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39132         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39133         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39134         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39135         Do not save or restore CR.
39136         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39137         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39138         return values for ELFv2 ABI.  Fix location of FPR return registers.
39139         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39140         updated values for _CALL_ELF == 2.
39141         (La_regs, La_retval, int_retval): Likewise.
39143 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39145         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39146         (FRAME_MIN_SIZE_PARM): Likewise.
39147         (FRAME_BACKCHAIN): Likewise.
39148         (FRAME_CR_SAVE): Likewise.
39149         (FRAME_LR_SAVE): Likewise.
39150         (FRAME_TOC_SAVE): Likewise.
39151         (FRAME_PARM_SAVE): Likewise.
39152         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39153         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39154         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39155         (call_mcount_parm_offset): New macro.
39156         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39157         (PROF): Use symbolic stack frame offsets.
39158         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39159         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39160         Redefine in terms of FRAME_MIN_SIZE.
39161         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39162         (_dl_profile_resolve): Likewise.  Update comment.
39163         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39164         symbols stack frame offsets.
39165         (__sigsetjmp): Likewise.
39166         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39167         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39168         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39169         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39172         (FRAME_BACKCHAIN): Remove.
39173         (FRAME_CR_SAVE): Likewise.
39174         (FRAME_LR_SAVE): Likewise.
39175         (FRAME_COMPILER_DW): Likewise.
39176         (FRAME_LINKER_DW): Likewise.
39177         (FRAME_TOC_SAVE): Likewise.
39178         (FRAME_PARM_SAVE): Likewise.
39179         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
39180         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
39181         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39183         (CHECK_SP): Use symbolic stack frame offsets.
39184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39185         zone" instead of caller's parameter save area for temp storage.
39186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39187         Likewise.  Also, use symbolic stack frame offsets.
39188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39189         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39190         our own stack frame instead of the caller's.
39191         (__socket): Use symbolic stack frame offsets.
39193 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39194             Alan Modra  <amodra@gmail.com>
39196         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39197         Define.
39198         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39199         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39200         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39201         New function.
39202         (elf_machine_fixup_plt): Call it.
39203         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39204         reloc arguments.
39205         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39206         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39207         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39208         r2 before calling target.
39210 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39211             Alan Modra  <amodra@gmail.com>
39213         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39214         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39215         versions of macros to support ELFv2 ABI.
39216         (LOCALENTRY): New macro.
39217         (ENTRY, EALIGN): Use it.
39218         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39219         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39220         fall through into ENTRY entry point.
39221         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39222         Only define if _CALL_ELF != 2.
39224         (elf_machine_matches_host): Verify ABI version matches.
39225         (RTLD_START): Use LOCALENTRY.
39226         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39227         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39228         (PLT_ENTRY_WORDS): New macro.
39229         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39230         (elf_machine_runtime_setup): Support ELFv2 ABI.
39231         (elf_machine_fixup_plt): Likewise.
39232         (elf_machine_plt_conflict): Likewise.
39233         (resolve_ifunc): Likewise.
39234         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39235         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39236         Likewise.
39237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39238         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39240         (makecontext): Support ELFv2 ABI.
39241         * elf/elf.h (EF_PPC64_ABI): Define.
39243 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39245         * sysdeps/powerpc/powerpc64/sysdep.h
39246         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39247         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39248         (ENTRY) [ASSEMBLER]: ... but instead here ...
39249         (EALIGN) [ASSEMBLER]: ... and here.
39250         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39251         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39252         (ENTRY_2) [!ASSEMBLER]: Use it.
39253         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39254         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39255         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39256         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39257         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39259         Use PPC64_LOAD_FUNCPTR.
39261         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39263 2013-12-04  Alan Modra  <amodra@gmail.com>
39265         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39266         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39267         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39268         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39270         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39271         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39272         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39273         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39274         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39275         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39277 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39280         (__makecontext): Fix incorrect CFI when backtracing out of
39281         context created via makecontext.
39282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39283         (__setcontext): Fix incorrect CFI during switch to new context.
39284         (__novec_setcontext): Likewise.
39286 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39288         [BZ #4772]
39289         * time/strptime_l.c (__strptime_internal): Allow modifiers
39290         in strptime.
39291         * time/tst-strptime.c (day_tests): Add testcase.
39293 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39295         * scripts/bench.pl: Skip over blank lines.
39297 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39299         [BZ #926]
39300         * manual/time.texi (Calendar Time): Clarify what timezone functions
39301         use.
39303 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39307 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39309         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39310         implementation.
39311         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39312         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39313         * debug/memset_chk.c (__memset_chk): Likewise.
39314         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39315         * debug/strncpy_chk.c: Likewise.
39317 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39319         [BZ #15268]
39320         [BZ #15425]
39321         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39322         (__ieee754_exp): For possibly underflowing results, check size of
39323         result and force underflow exception if required.
39324         * math/auto-libm-test-in: Add more tests of exp.
39325         * math/auto-libm-test-out: Regenerated.
39326         * sysdeps/i386/fpu/libm-test-ulps: Update.
39327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39329         [BZ #16283]
39330         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39331         * math/w_exp2f.c (__exp2f): Likewise.
39332         * math/w_exp2l.c (__exp2l): Likewise.
39333         * math/auto-libm-test-in: Do not allow missing errno on exp2
39334         underflow.
39335         * math/auto-libm-test-out: Regenerated.
39337 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39339         [BZ #16274]
39340         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39341         handle filename validation.
39342         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39343         (do_open): Delete.
39345 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39347         [BZ #6786]
39348         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39349         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39350         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39351         <float.h>.
39352         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39353         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39354         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39355         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39356         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39357         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39358         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39359         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39360         Add more erfc tests.
39361         * math/auto-libm-test-out: Regenerated.
39362         * sysdeps/i386/fpu/libm-test-ulps: Update.
39363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39365         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39366         exp2, expm1, j0 and j1.
39367         * math/auto-libm-test-out: Regenerated.
39368         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39369         (erfc_test_data): Likewise.
39370         (exp_test_data): Likewise.
39371         (exp_tonearest_test_data): Likewise.
39372         (exp_towardzero_test_data): Likewise.
39373         (exp_downward_test_data): Likewise.
39374         (exp_upward_test_data): Likewise.
39375         (exp10_test_data): Likewise.
39376         (exp2_test_data): Likewise.
39377         (expm1_test_data): Likewise.
39378         (j0_test_data): Likewise.
39379         (j1_test_data): Likewise.
39380         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39381         (input_flag_type): Add flag_xfail_rounding.
39382         (input_flags): Add xfail-rounding.
39383         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39384         (output_for_one_input_case): Handle flag_xfail_rounding.
39385         * sysdeps/i386/fpu/libm-test-ulps: Update.
39386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39388 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39390         [BZ #16289]
39391         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39392         division by 0.
39394 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39396         [BZ #16195]
39397         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39398         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39399         (STAP_PROBE0): New macro.
39400         (STAP_PROBE1): Likewise.
39401         (STAP_PROBE2): Likewise.
39402         (STAP_PROBE3): Likewise.
39403         (STAP_PROBE4): Likewise.
39405 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39407         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39409 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39411         * benchtests/Makefile (bench): Add sqrt.
39412         (LDLIBS-bench-sqrt): New.
39413         * benchtests/sqrt-input: New.
39415 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39417         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39418         (GAIH_EAI): Likewise.
39419         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39420         (gaih_inet): Likewise.
39421         (getaddrinfo): Don't use GAIH_EAI.
39423         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39424         (struct gaih): Remove definition.
39426 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39428         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39429         Use HERRNOP directly.
39431 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39435 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39437         * math/gen-auto-libm-tests.c (test_functions): Add more
39438         single-argument functions.
39439         (special_fill_pi_2): New function.
39440         (special_fill_minus_pi_2): Likewise.
39441         (special_fill_pi_6): Likewise.
39442         (special_fill_minus_pi_6): Likewise.
39443         (special_fill_pi_3): Likewise.
39444         (special_fill_2pi_3): Likewise.
39445         (special_fill_e): Likewise.
39446         (special_fill_1_e): Likewise.
39447         (special_fill_e_minus_1): Likewise.
39448         (special_real_inputs): Add more special inputs.
39449         (output_for_one_input_case): Do not require ERANGE on underflow to
39450         zero if round-to-nearest result does not underflow to zero, unless
39451         exact results required.
39452         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39453         atan, atanh, cbrt, cos and cosh.
39454         * math/auto-libm-test-out: Regenerated.
39455         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39456         (acos_tonearest_test_data): Likewise.
39457         (acos_towardzero_test_data): Likewise.
39458         (acos_downward_test_data): Likewise.
39459         (acos_upward_test_data): Likewise.
39460         (acosh_test_data): Likewise.
39461         (asin_test_data): Likewise.
39462         (asin_tonearest_test_data): Likewise.
39463         (asin_towardzero_test_data): Likewise.
39464         (asin_upward_test_data): Likewise.
39465         (asinh_test_data): Likewise.
39466         (atan_test_data): Likewise.
39467         (atanh_test_data): Likewise.
39468         (cbrt_test_data): Likewise.
39469         (cos_test_data): Likewise.
39470         (cos_tonearest_test_data): Likewise.
39471         (cos_towardzero_test_data): Likewise.
39472         (cos_downward_test_data): Likewise.
39473         (cos_upward_test_data): Likewise.
39474         (cosh_test_data): Likewise.
39475         (cosh_tonearest_test_data): Likewise.
39476         (cosh_towardzero_test_data): Likewise.
39477         (cosh_downward_test_data): Likewise.
39478         (cosh_upward_test_data): Likewise.
39479         * sysdeps/i386/fpu/libm-test-ulps: Update.
39480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39482 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39484         [BZ #6787]
39485         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39486         * math/w_exp10f.c (__exp10f): Likewise.
39487         * math/w_exp10l.c (__exp10l): Likewise.
39488         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39489         errno settings in existing tests.
39491         [BZ #14032]
39492         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
39493         precision control set to double precision.
39494         * sysdeps/i386/fpu/w_sqrt.c: New file.
39495         * math/auto-libm-test-in: Add more tests.
39496         * math/auto-libm-test-out: Update.
39498         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
39499         (sqrt_test_tonearest): New function.
39500         (sqrt_towardzero_test_data): New variable.
39501         (sqrt_test_towardzero): New function.
39502         (sqrt_downward_test_data): New variable.
39503         (sqrt_test_downward): New function.
39504         (sqrt_upward_test_data): New variable.
39505         (sqrt_test_upward): New function.
39506         (main): Call the new functions.
39508         * math/gen-auto-libm-tests.c: New file.
39509         * math/auto-libm-test-in: Likewise.
39510         * math/auto-libm-test-out: New generated file.
39511         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39512         variables.
39513         (%beautify): Add generated representations of zero.
39514         (top level): Set $auto_input and call parse_auto_input.
39515         (beautify): Remove trailing "f" from hex float constants.
39516         (parse_args): Handle XFAIL_TEST.
39517         (convert_condition): New function.
39518         (or_value): Likewise.
39519         (or_cond_value): Likewise.
39520         (generate_testfile): Handle AUTO_TESTS_* lines.
39521         (parse_auto_input): New function.
39522         * math/libm-test.inc (XFAIL_TEST): New macro.
39523         (ERRNO_UNCHANGED): Update value.
39524         (ERRNO_EDOM): Likewise.
39525         (ERRNO_ERANGE): Likewise.
39526         (IGNORE_RESULT): Likewise.
39527         (TEST_COND_flt_32): New macro.
39528         (TEST_COND_dbl_64): Likewise.
39529         (TEST_COND_ldbl_96_intel): Likewise.
39530         (TEST_COND_ldbl_96_m68k): Likewise.
39531         (TEST_COND_ldbl_128): Likewise.
39532         (TEST_COND_ldbl_128ibm): Likewise.
39533         (TEST_COND_long32): Likewise.
39534         (TEST_COND_long64): Likewise.
39535         (TEST_COND_before_rounding): Likewise.
39536         (TEST_COND_after_rounding): Likewise.
39537         (enable_test): Handle XFAIL_TEST flag.
39538         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
39539         with finite results.
39540         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
39541         auto-libm-test-out.
39543 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39544             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39546         [BZ #16214]
39547         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
39548         __tls_get_addr_internal instead of __tls_get_offset in order to
39549         avoid GOT pointer dependency.  Make rtld export
39550         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
39551         __tls_get_addr since we are a __tls_get_offset platform.
39552         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
39553         GOT pointer being set up before.
39554         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
39556 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
39558         * manual/math.texi (Errors in Math Functions): Document accuracy
39559         goals.
39561         [BZ #15004]
39562         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
39563         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
39564         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39565         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39566         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39567         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39568         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39569         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39570         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39571         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39572         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39573         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39574         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39575         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39576         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39577         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39579         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
39580         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
39581         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
39582         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
39583         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
39584         Likewise.
39585         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
39586         Likewise.
39587         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
39588         Likewise.
39589         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
39590         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
39591         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
39592         atomic-feupdateenv and flt-rounds.
39593         * sysdeps/powerpc/nofpu/Versions (libc): Add
39594         __atomic_feholdexcept, __atomic_feclearexcept,
39595         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
39596         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
39597         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
39598         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
39599         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
39600         here.
39601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39602         Update.
39604         * manual/arith.texi (FP Exceptions): Document that exceptions may
39605         not be raised when matherr is used.
39606         (Math Error Reporting): Document overflow in directed rounding
39607         modes.  Document that errno may not be set when finite values are
39608         returned on overflow.  Document intent to set errno on underflow
39609         only for underflow to zero.
39611         [BZ #16271]
39612         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
39613         round-to-nearest then adjust result for other rounding modes.
39614         * include/fenv.h (fegetround): Use libm_hidden_proto.
39615         * math/fegetround.c (fegetround): Use libm_hidden_def.
39616         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39617         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39618         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39619         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39620         Likewise.
39621         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
39622         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39623         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39624         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
39626 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39628         [BZ #16077]
39629         * nss/Versions (libnss_files): Add
39630         _nss_files_gethostbyname3_r.
39631         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
39632         New function.
39633         (HOST_DB_LOOKUP): Remove macro.
39634         (_nss_files_gethostbyname_r): Implement function without the
39635         HOST_DB_LOOKUP macro.
39636         (_nss_files_gethostbyname2_r): Likewise.
39638 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
39640         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
39642 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
39644         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
39645         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
39646         warning.
39648 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39650         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
39651         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
39652         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39653         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39654         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
39655         __fe_nomask_env_priv and attribute_hidden.
39656         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
39657         (libc_feupdateenv_test_ppc): Likewise.
39658         (libc_feresetround_ppc): Likewise.
39659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39660         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
39661         compat_symbol macro.
39662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39663         (__fe_nomask_env): Likewise.
39664         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
39666 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39668         * string/Makefile: Remove ifunc tests.
39669         * string/test-string.h: Define TEST_IFUNC.
39670         * string/test-bcopy-ifunc.c: Remove.
39671         * string/test-bzero-ifunc.c: Likewise.
39672         * string/test-memccpy-ifunc.c: Likewise.
39673         * string/test-memchr-ifunc.c: Likewise.
39674         * string/test-memcmp-ifunc.c: Likewise.
39675         * string/test-memcpy-ifunc.c: Likewise.
39676         * string/test-memmem-ifunc.c: Likewise.
39677         * string/test-memmove-ifunc.c: Likewise.
39678         * string/test-mempcpy-ifunc.c: Likewise.
39679         * string/test-memrchr-ifunc.c: Likewise.
39680         * string/test-memset-ifunc.c: Likewise.
39681         * string/test-rawmemchr-ifunc.c: Likewise.
39682         * string/test-stpcpy-ifunc.c: Likewise.
39683         * string/test-stpncpy-ifunc.c: Likewise.
39684         * string/test-strcasecmp-ifunc.c: Likewise.
39685         * string/test-strcasestr-ifunc.c: Likewise.
39686         * string/test-strcat-ifunc.c: Likewise.
39687         * string/test-strchr-ifunc.c: Likewise.
39688         * string/test-strchrnul-ifunc.c: Likewise.
39689         * string/test-strcmp-ifunc.c: Likewise.
39690         * string/test-strcpy-ifunc.c: Likewise.
39691         * string/test-strcspn-ifunc.c: Likewise.
39692         * string/test-strlen-ifunc.c: Likewise.
39693         * string/test-strncasecmp-ifunc.c: Likewise.
39694         * string/test-strncat-ifunc.c: Likewise.
39695         * string/test-strncmp-ifunc.c: Likewise.
39696         * string/test-strncpy-ifunc.c: Likewise.
39697         * string/test-strnlen-ifunc.c: Likewise.
39698         * string/test-strpbrk-ifunc.c: Likewise.
39699         * string/test-strrchr-ifunc.c: Likewise.
39700         * string/test-strspn-ifunc.c: Likewise.
39701         * string/test-strstr-ifunc.c: Likewise.
39703 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39705         * benchtests/Makefile: Remove ifunc tests.
39706         * benchtests/bench-string.h: Define TEST_IFUNC.
39707         * benchtests/bench-bcopy-ifunc.c: Remove.
39708         * benchtests/bench-bzero-ifunc.c: Likewise.
39709         * benchtests/bench-memccpy-ifunc.c: Likewise.
39710         * benchtests/bench-memchr-ifunc.c: Likewise.
39711         * benchtests/bench-memcmp-ifunc.c: Likewise.
39712         * benchtests/bench-memcpy-ifunc.c: Likewise.
39713         * benchtests/bench-memmem-ifunc.c: Likewise.
39714         * benchtests/bench-memmove-ifunc.c: Likewise.
39715         * benchtests/bench-mempcpy-ifunc.c: Likewise.
39716         * benchtests/bench-memrchr-ifunc.c: Likewise.
39717         * benchtests/bench-memset-ifunc.c: Likewise.
39718         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
39719         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
39720         * benchtests/bench-stpcpy-ifunc.c: Likewise.
39721         * benchtests/bench-stpncpy-ifunc.c: Likewise.
39722         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
39723         * benchtests/bench-strcasestr-ifunc.c: Likewise.
39724         * benchtests/bench-strcat-ifunc.c: Likewise.
39725         * benchtests/bench-strchr-ifunc.c: Likewise.
39726         * benchtests/bench-strchrnul-ifunc.c: Likewise.
39727         * benchtests/bench-strcmp-ifunc.c: Likewise.
39728         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
39729         * benchtests/bench-strcpy-ifunc.c: Likewise.
39730         * benchtests/bench-strcspn-ifunc.c: Likewise.
39731         * benchtests/bench-strlen-ifunc.c: Likewise.
39732         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
39733         * benchtests/bench-strncat-ifunc.c: Likewise.
39734         * benchtests/bench-strncmp-ifunc.c: Likewise.
39735         * benchtests/bench-strncpy-ifunc.c: Likewise.
39736         * benchtests/bench-strnlen-ifunc.c: Likewise.
39737         * benchtests/bench-strpbrk-ifunc.c: Likewise.
39738         * benchtests/bench-strrchr-ifunc.c: Likewise.
39739         * benchtests/bench-strsep-ifunc.c: Likewise.
39740         * benchtests/bench-strspn-ifunc.c: Likewise.
39741         * benchtests/bench-strstr-ifunc.c: Likewise.
39743 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39745         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
39747 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39749         * resolv/netdb.h: Use __glibc_reserved instead __unused.
39750         * rt/aio.h: Likewise.
39751         * sysdeps/gnu/bits/utmp.h: Likewise.
39752         * sysdeps/gnu/bits/utmpx.h: Likewise.
39753         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39754         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
39755         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
39756         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
39757         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
39758         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
39759         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
39760         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
39761         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
39762         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
39763         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
39764         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
39765         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
39766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
39767         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39768         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
39769         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
39770         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
39771         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
39772         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
39773         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
39774         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
39775         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
39776         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39777         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
39778         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39779         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
39780         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
39781         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
39782         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
39783         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
39784         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
39785         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
39786         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39787         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
39788         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
39789         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
39790         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
39791         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
39792         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
39793         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
39794         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39796 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
39798         [BZ #16245]
39799         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
39800         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
39802 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
39804         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
39805         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39806         Likewise.
39808 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39810         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
39811         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
39812         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
39813         (__fesetround): Remove define.
39814         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
39815         rounding and exceptions handling.
39816         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
39817         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
39818         (__fe_nomask_env): Likewise.
39819         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
39820         __fegetround instead of fegetround.
39821         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39822         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
39824 2013-11-21  Roland McGrath  <roland@hack.frob.com>
39826         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
39827         it's there.
39829         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
39831 2013-11-21  Meador Inge  <meadori@codesourcery.com>
39833         [BZ #11157]
39834         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
39835         (encrypt_r): Likewise.
39836         * malloc/obstack.h (obstack_free): Likewise.
39837         * posix/unistd.h (encrypt): Likewise.
39839 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
39841         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
39842         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
39843         DL_CALL_DT_FINI() that call the functions directly.
39844         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
39845         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
39846         * elf/dl-fini.c: Likewise.
39848 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
39850         * malloc/hooks.c (memalign_check): Add alignment rounding.
39851         * malloc/malloc.c (_mid_memalign): New function.
39852         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
39853         Implement by calling _mid_memalign.
39854         * manual/probes.texi (Memory Allocation Probes): Remove
39855         memory_valloc_retry and memory_pvalloc_retry.
39857 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39859         * locale/programs/locarchive.c (open_archive): Add const
39860         qualifier to ARCHIVEFNAME and copy default fname to
39861         DEFAULT_FNAME.
39863         [BZ #15601]
39864         * libio/tst-widetext.input: Rename Oriya to Odia.
39865         * locale/iso-639.def: Likewise.
39867         * manual/probes.texi (Mathematical Function Probes): Add
39868         documentation for sin, cos, asin and acos probes.
39869         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
39870         (__sin32): Add slowasin probe.
39871         (__cos32): Add slowacos probe.
39872         (__mpsin): Add slowsin probe.
39873         (__mpcos): Add slowcos probe.
39875 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
39877         [BZ #15483]
39878         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
39879         thread-local __sim_exceptions_thread and global
39880         __sim_exceptions_global.
39881         (__sim_disabled_exceptions): Change to thread-local
39882         __sim_disabled_exceptions_thread and global
39883         __sim_disabled_exceptions_global.
39884         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39885         and global __sim_round_mode_global.
39886         (__simulate_exceptions): Use thread-local floating-point state and
39887         set global state from it as needed.
39888         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
39889         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
39890         __sim_round_mode_thread.
39891         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
39892         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
39893         and global __sim_exceptions_global.
39894         (__sim_disabled_exceptions): Change to thread-local
39895         __sim_disabled_exceptions_thread and global
39896         __sim_disabled_exceptions_global.
39897         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39898         and global __sim_round_mode_global.
39899         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
39900         (SIM_SET_GLOBAL): Likewise.
39901         * sysdeps/powerpc/soft-fp/sfp-machine.h
39902         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
39903         __sim_round_mode_thread.
39904         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
39905         __sim_disabled_exceptions_thread.
39906         (__sim_exceptions): Change to __sim_exceptions_thread.
39907         (__sim_disabled_exceptions): Change to
39908         __sim_disabled_exceptions_thread.
39909         (__sim_round_mode): Change to __sim_round_mode_thread.
39910         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
39911         thread-local floating-point state and set global state from it as
39912         needed.
39913         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
39914         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
39915         (__sim_disabled_exceptions): Remove extern declaration.
39916         (feenableexcept): Use thread-local floating-point state and set
39917         global state from it as needed.
39918         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
39919         extern declaration.
39920         (__sim_disabled_exceptions): Likewise.
39921         (__sim_round_mode): Likewise.
39922         (__fegetenv): Use thread-local floating-point state.
39923         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
39924         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39925         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
39926         floating-point state and set global state from it as needed.
39927         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
39928         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39929         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
39930         Likewise.
39931         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39932         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
39933         Likewise.
39934         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
39935         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
39936         Use __sim_round_mode_thread.
39937         * math/test-fenv-tls.c: New file.
39938         * math/Makefile (tests): Add test-fenv-tls.
39939         ($(objpfx)test-fenv-tls): Depend on
39940         $(common-objpfx)nptl/libpthread.so.
39942 2013-11-19  Andreas Schwab  <schwab@suse.de>
39944         * locale/programs/locale.c (show_info): Decode wordarray elements.
39945         * locale/categories.def (LC_MONETARY): Add element for
39946         _NL_MONETARY_CRNCYSTR.
39947         * locale/C-monetary.c (conversion_rate): New variable.
39948         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
39949         element.
39951 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
39953         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
39954         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
39956 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39958         * elf/Makefile (tst-auxv): New test.
39959         * elf/tst-auxv.c: New
39960         * elf/rtld.c (dl_main): Adjust AT_EXECFN
39962 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
39964         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
39965         (hidden_proto): Caller changed.
39966         (hidden_tls_proto): New macro.
39967         (libc_hidden_tls_proto): Likewise.
39968         (rtld_hidden_tls_proto): Likewise.
39969         (libm_hidden_tls_proto): Likewise.
39970         (libresolv_hidden_tls_proto): Likewise.
39971         (librt_hidden_tls_proto): Likewise.
39972         (libdl_hidden_tls_proto): Likewise.
39973         (libnss_files_hidden_tls_proto): Likewise.
39974         (libnsl_hidden_tls_proto): Likewise.
39975         (libnss_nisplus_hidden_tls_proto): Likewise.
39976         (libutil_hidden_tls_proto): Likewise.
39978 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
39980         [BZ #10253]
39981         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
39982         (decompose_rpath): Defer expansion to fillin_rpath.
39983         (_dl_init_paths): Pass linkmap to fillin_rpath.
39985 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39987         * benchtests/Makefile: Add strsep.
39988         * benchtests/bench-strsep.c: New file: strsep benchtest.
39989         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
39991 2013-11-18  Andreas Schwab  <schwab@suse.de>
39993         * locale/programs/locale.c (show_info) [case byte]: Check for
39994         '\377' instead of '\177'.
39995         * locale/C-monetary.c (not_available): Always use "\377".
39996         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
39997         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
39998         detect unavailable sign_posn locale elements.
39999         * locale/localeconv.c (__localeconv): For grouping and
40000         mon_grouping handle "\177" and "\377" like no grouping.
40001         (INT_ELEM): New macro.  Use it to set all numeric members.
40002         * locale/programs/ld-monetary.c (monetary_read)
40003         <tok_mon_grouping>: Normalize single -1 to the empty string.
40004         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
40005         Likewise.
40007 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40009         [BZ #16055]
40010         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
40011         when we match (nil).
40012         * stdio-common/tst-sscanf.c (struct test): Add testcase.
40014 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
40016         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
40017         (NO_TEST_INLINE): Update value.
40018         (ERRNO_UNCHANGED): Likewise.
40019         (ERRNO_EDOM): Likewise.
40020         (ERRNO_ERANGE): Likewise.
40021         (IGNORE_RESULT): Likewise.
40022         (check_float_internal): Check signs of NaN results if
40023         TEST_NAN_SIGN used.
40024         (check_complex): Pass TEST_NAN_SIGN flag through to second
40025         check_float_internal call.
40026         (copysign_test_data): Add tests with quiet NaNs as second
40027         argument.  Use TEST_NAN_SIGN.
40028         (fabs_test_data): Add test of negative quiet NaN argument.  Use
40029         TEST_NAN_SIGN.
40030         (signbit_test_data): Add tests of quiet NaN argument.
40031         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
40033         * math/gen-libm-test.pl (show_exceptions): Take extra argument
40034         $ignore_result.
40035         (parse_args): Handle function results specified as IGNORE.
40036         * math/libm-test.inc (IGNORE_RESULT): New macro.
40037         (check_float_internal): Do not check numerical result if flag
40038         IGNORE_RESULT set.
40039         (check_complex): Pass through IGNORE_RESULT to second
40040         check_float_internal call.
40041         (check_int): Do not check numerical result if flag IGNORE_RESULT
40042         set.
40043         (check_long): Likewise.
40044         (check_bool): Likewise.
40045         (check_longlong): Likewise.
40046         (lrint_test_data): Add tests of infinite and NaN arguments.
40047         (lrint_tonearest_test_data): Likewise.
40048         (lrint_towardzero_test_data): Likewise.
40049         (lrint_downward_test_data): Likewise.
40050         (lrint_upward_test_data): Likewise.
40051         (llrint_test_data): Likewise.
40052         (llrint_tonearest_test_data): Likewise.
40053         (llrint_towardzero_test_data): Likewise.
40054         (llrint_downward_test_data): Likewise.
40055         (llrint_upward_test_data): Likewise.
40056         (lround_test_data): Likewise.
40057         (llround_test_data): Likewise.
40059         * math/libm-test.inc (NO_TEST_INLINE): New macro.
40060         (ERRNO_UNCHANGED): Update value.
40061         (ERRNO_EDOM): Likewise.
40062         (ERRNO_ERANGE): Likewise.
40063         (NO_TEST_INLINE_FLOAT): New macro.
40064         (NO_TEST_INLINE_DOUBLE): Likewise.
40065         (enable_test): New function.
40066         (RUN_TEST_f_f): Check enable_test before running test.
40067         (RUN_TEST_2_f): Likewise.
40068         (RUN_TEST_fff_f): Likewise.
40069         (RUN_TEST_c_f): Likewise.
40070         (RUN_TEST_f_f1): Likewise.
40071         (RUN_TEST_fF_f1): Likewise.
40072         (RUN_TEST_fI_f1): Likewise.
40073         (RUN_TEST_ffI_f1): Likewise.
40074         (RUN_TEST_c_c): Likewise.
40075         (RUN_TEST_cc_c): Likewise.
40076         (RUN_TEST_f_i): Likewise.
40077         (RUN_TEST_f_i_tg): Likewise.
40078         (RUN_TEST_ff_i_tg): Likewise.
40079         (RUN_TEST_f_b): Likewise.
40080         (RUN_TEST_f_b_tg): Likewise.
40081         (RUN_TEST_f_l): Likewise.
40082         (RUN_TEST_f_L): Likewise.
40083         (RUN_TEST_fFF_11): Likewise.
40084         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
40085         conditionals.
40086         (cosh_test_data): Likewise.
40087         (exp_test_data): Likewise.
40088         (expm1_test_data): Likewise.
40089         (hypot_test_data): Likewise.
40090         (pow_test_data): Likewise.
40091         (sinh_test_data): Likewise.
40092         (tanh_test_data): Likewise.
40093         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
40094         flags argument.
40096         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
40097         tests with quiet NaN input and output.
40098         (acosh_test_data): Likewise.
40099         (asin_test_data): Likewise.
40100         (asinh_test_data): Likewise.
40101         (atan_test_data): Likewise.
40102         (atanh_test_data): Likewise.
40103         (atan2_test_data): Likewise.
40104         (cbrt_test_data): Likewise.
40105         (cos_test_data): Likewise.
40106         (cosh_test_data): Likewise.
40107         (erf_test_data): Likewise.
40108         (erfc_test_data): Likewise.
40109         (exp_test_data): Likewise.
40110         (exp10_test_data): Likewise.
40111         (exp2_test_data): Likewise.
40112         (expm1_test_data): Likewise.
40113         (hypot_test_data): Likewise.
40114         (j0_test_data): Likewise.
40115         (j1_test_data): Likewise.
40116         (jn_test_data): Likewise.
40117         (lgamma_test_data): Likewise.
40118         (log_test_data): Likewise.
40119         (log10_test_data): Likewise.
40120         (log1p_test_data): Likewise.
40121         (log2_test_data): Likewise.
40122         (pow_test_data): Likewise.
40123         (scalb_test_data): Likewise.
40124         (sin_test_data): Likewise.
40125         (sincos_test_data): Likewise.
40126         (sinh_test_data): Likewise.
40127         (tan_test_data): Likewise.
40128         (tanh_test_data): Likewise.
40129         (tgamma_test_data): Likewise.
40130         (y0_test_data): Likewise.
40131         (y1_test_data): Likewise.
40132         (yn_test_data): Likewise.
40134         [BZ #16167]
40135         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40136         argument being NaN and avoid computations with second argument in
40137         that case.
40138         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40139         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40140         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40142 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40144         * locale/iso-639.def: Add Chitwani Tharu (the).
40146 2013-11-14  Andreas Schwab  <schwab@suse.de>
40148         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40149         word instead of empty string.
40151 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40154         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40156         (__fe_nomask_env): Likewise.
40158 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40160         * benchtests/bench-timing.h: Include time.h.
40162 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40164         [BZ #15997]
40165         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40166         to 3.4.0 for x32.
40167         * sysdeps/unix/sysv/linux/configure: Regenerated.
40169 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40171         [BZ #16151]
40172         * stdlib/strtod_l.c (round_and_return): Do not consider
40173         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40174         exponent one less than half the least subnormal exponent.
40175         * stdlib/test-strtod-round-data: Add more tests.
40176         * stdlib/tst-strtod-round.c (tests): Regenerated.
40178 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40180         [BZ #14143]
40181         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40182         (__fe_mask_env): Likewise.
40183         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40184         libm_hidden_proto and add function prototype.
40185         (__fe_mask_env): Add function prototype.
40186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40187         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40189         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40191         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40193 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40195         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40196         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40198 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40200         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40201         of htab_find_slot().
40203 2013-11-11  David S. Miller  <davem@davemloft.net>
40205         [BZ #16150]
40206         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40207         symbol in the non-vis3 case in static builds.
40208         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40209         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40210         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40211         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40213 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40215         [BZ #387]
40216         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40217         it is empty.
40219 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40221         * benchtests/Makefile: Add bench-strtod.
40222         * benchtests/bench-strtod.c: New file: strtod benchtest
40224 2013-11-11  Andreas Schwab  <schwab@suse.de>
40226         [BZ #16153]
40227         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40228         terminating NUL in key length.
40230 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40232         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40233         Add artificial ODP entry for vDSO symbol for PPC64.
40234         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40235         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40237 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40239         [BZ #15374]
40240         * nss/getent.c (services_keys): Recognize services starting with digit.
40242 2013-11-06  David S. Miller  <davem@davemloft.net>
40244         [BZ #15985]
40245         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40246         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40248 2013-11-06  Will Newton  <will.newton@linaro.org>
40250         * manual/memory.texi (Malloc Examples): Remove register
40251         keyword from examples.
40253 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40255         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40257 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40259         [BZ #6981]
40260         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40261         depending on [__GCC_IEC_559 > 0].
40262         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40263         depending on [__GCC_IEC_559_COMPLEX > 0].
40265 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40267         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40268         to iso-639.def.
40270 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40272         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40274 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40276         [BZ #16112]
40277         * malloc/malloc (malloc_info): Do not handle first bin as
40278         special case.
40280 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40282         * locale/iso-639.def: Add Central Nahuatl (nhn).
40284 2013-11-01  Bruno Haible  <bruno@clisp.org>
40286         [BZ #7003]
40287         * manual/math.texi (BSD Random): Specify range upper bound as
40288         in POSIX.
40290 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40292         * locale/iso-639.def: Add Meadow Mari (mhr).
40294 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40296         [BZ #14752], [BZ #15763]
40297         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40298         Validate name.
40299         * rt/tst_shm.c: Add test for escaping directory.
40301 2013-10-31  Andreas Schwab  <schwab@suse.de>
40303         [BZ #15917]
40304         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40305         followed by 'x' as part of digit sequence.
40306         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40308 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40310         [BZ #16037]
40311         * configure.ac: allow GNU Make 4.0 and greater.
40312         * configure: Regenerated.
40314 2013-10-30  Will Newton  <will.newton@linaro.org>
40316         [BZ #16038]
40317         * malloc/hooks.c (memalign_check): Limit alignment to the
40318         maximum representable power of two.
40319         * malloc/malloc.c (__libc_memalign): Likewise.
40320         * malloc/tst-memalign.c (do_test): Add test for very
40321         large alignment values.
40322         * malloc/tst-posix_memalign.c (do_test): Likewise.
40324 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40326         [BZ #11087]
40327         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40328         (munmap_chunk): Likewise.
40329         (mremap_chunk): Likewise.
40331 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40333         [BZ #15799]
40334         * stdlib/div.c (div): Remove obsolete code.
40335         * stdlib/ldiv.c (ldiv): Likewise.
40336         * stdlib/lldiv.c (lldiv): Likewise.
40338 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40340         [BZ #16071]
40341         * nss/nss_files/files-XXX.c (get_contents_ret): New
40342         enumerator.
40343         (get_contents): New function.
40344         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40346 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40348         * configure.in: Moved to ...
40349         * configure.ac: ... here. Change reference to configure.in
40350         to configure.ac.
40351         * sysdeps/arm/preconfigure.ac: ... here.
40352         configure.in to configure.ac.
40353         * sysdeps/gnu/configure.in: Moved to ...
40354         * sysdeps/gnu/configure.ac: ... here.
40355         * sysdeps/i386/configure.in: Moved to ...
40356         * sysdeps/i386/configure.ac: ... here.
40357         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40358         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40359         * sysdeps/mach/configure.in: Moved to ...
40360         * sysdeps/mach/configure.ac: ... here.
40361         * sysdeps/mach/hurd/configure.in: Moved to ...
40362         * sysdeps/mach/hurd/configure.ac: ... here.
40363         * sysdeps/powerpc/configure.in: Moved to ...
40364         * sysdeps/powerpc/configure.ac: ... here.
40365         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40366         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40367         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40368         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40369         * sysdeps/s390/s390-32/configure.in: Moved to ...
40370         * sysdeps/s390/s390-32/configure.ac: ... here.
40371         * sysdeps/s390/s390-64/configure.in: Moved to ...
40372         * sysdeps/s390/s390-64/configure.ac: ... here.
40373         * sysdeps/sh/configure.in: Moved to ...
40374         * sysdeps/sh/configure.ac: ... here.
40375         * sysdeps/sparc/configure.in: Moved to ...
40376         * sysdeps/sparc/configure.ac: ... here.
40377         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40378         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40379         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40380         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40381         * sysdeps/x86_64/configure.in: Moved to ...
40382         * sysdeps/x86_64/configure.ac: ... here.
40383         * sysdeps/x86_64/preconfigure.in: Moved to ...
40384         * sysdeps/x86_64/preconfigure.ac: ... here.
40385         * aclocal.m4: Change reference to configure.in to configure.ac.
40386         * config.h.in: Likewise.
40387         * manual/install.texi: Likewise.
40388         * manual/maint.texi: Likewise.
40389         * Makefile: Likewise.
40390         * malloc/Makefile: Likewise.
40391         * nscd/Makefile: Likewise.
40392         * Makeconfig: Change reference to configure.in and
40393         preconfigure.in to configure.ac and preconfigure.ac
40394         respectively.
40395         * INSTALL: Regenerated.
40396         * configure: Likewise.
40397         * sysdeps/gnu/configure: Likewise.
40398         * sysdeps/i386/configure: Likewise.
40399         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40400         * sysdeps/mach/configure: Likewise.
40401         * sysdeps/mach/hurd/configure: Likewise.
40402         * sysdeps/powerpc/configure: Likewise.
40403         * sysdeps/powerpc/powerpc32/configure: Likewise.
40404         * sysdeps/powerpc/powerpc64/configure: Likewise.
40405         * sysdeps/s390/s390-32/configure: Likewise.
40406         * sysdeps/s390/s390-64/configure: Likewise.
40407         * sysdeps/sh/configure: Likewise.
40408         * sysdeps/sparc/configure: Likewise.
40409         * sysdeps/unix/sysv/linux/configure: Likewise.
40410         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40411         * sysdeps/x86_64/configure: Likewise.
40412         * sysdeps/x86_64/preconfigure: Likewise.
40414 2013-10-29  Andreas Schwab  <schwab@suse.de>
40416         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40418 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40420         * benchtests/pow-inputs: Add new inputs.
40422         * benchtests/exp-inputs: Add new inputs.
40424         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40425         conditional check for return value.
40426         (__cos32): Likewise.
40428 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40430         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40431         to provide a boost for large inputs with word alignment.
40432         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40433         implementation based on optimized PPC64 strcpy.
40434         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40435         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40436         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40437         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40439 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40441         [BZ #2801]
40442         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40444 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40446         [BZ #14876]
40447         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40448         * time/tst-strptime.c (day_tests): Add testcase.
40450 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40452         [BZ #14029]
40453         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40455 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40457         [BZ #16074]
40458         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40459         MAP_FAILED on error.
40461 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40463         [BZ #16072]
40464         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40465         heap for large requests.
40467 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40469         [BZ #9954]
40470         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40471         result if the result has no associated interface.
40472         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40473         interface for all 127.X.Y.Z addresses.
40475 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40477         * locale/iso-639.def: Add Ligurian (lij)
40479 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40481         [BZ #15825]
40482         * sunrpc/rpc_main.c: Document rpcgen -5.
40484 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40486         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40488 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40490         [BZ #10278]
40491         * posix/glob.c: Match only directories when trailing slash is present.
40492         * posix/tst-gnuglob.c (my_opendir): Do not open files.
40493         (main): Add testcase.
40495 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40497         [BZ #15670]
40498         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
40500 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
40502         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
40503         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
40504         AUTH_DES and cindex for FIPS 140-2.
40505         (DES Encryption): Add cindex FIPS 46-3.
40507         * locale/locarchive.h (struct locarhandle): Add fname.
40508         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40509         if an optional argument was specified to --list-archive,
40510         otherwise NULL.
40511         * locale/programs/locarchive.c (show_archive_content): Take new
40512         argument fname and pass it via ah.fname to open_archive.
40513         * locale/programs/localedef.h: Update decl.
40514         (open_archive): If AH->fname is non-null, open that file
40515         rather than the default file name, and don't ignore ENOENT.
40516         (create_archive): Set AH.fname to NULL.
40517         (delete_locales_from_archive): Likewise.
40518         (add_locales_to_archive): Likewise.
40519         * locale/programs/locfile.c (write_all_categories): Likewise.
40521 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40522             Aldy Hernandez  <aldyh@redhat.com>
40524         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40525         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40526         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40527         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
40528         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
40529         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
40530         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
40531         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
40532         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
40533         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40534         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
40535         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
40536         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
40537         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
40538         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
40539         Likewise.
40540         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
40541         Likewise.
40542         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
40543         Likewise.
40544         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
40545         Likewise.
40546         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
40547         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
40548         Likewise.
40549         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
40550         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
40551         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
40552         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
40553         Likewise.
40554         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
40555         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
40556         * sysdeps/powerpc/preconfigure: Likewise.
40557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
40558         Likewise.
40559         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
40560         Replace contents of file by #include of <fenv_libc.h>.
40561         * sysdeps/powerpc/soft-fp/sfp-machine.h
40562         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
40563         and <sys/prctl.h>.
40564         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
40565         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
40566         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
40567         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
40568         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
40569         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
40570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
40571         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
40572         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
40573         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
40574         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
40575         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
40576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40577         Allow copysignl PLT reference to be missing.
40579 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
40580             Joseph Myers  <joseph@codesourcery.com
40582         [BZ #15948]
40583         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
40584         single character.
40585         (add_to_tablewc): Assert sequence of wide characters is nonempty.
40587 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40589         * elf/tst-tls-dlinfo.c: Don't include tls.h.
40590         * elf/tst-tls1.c: Likewise.
40591         * elf/tst-tls10.h: Likewise.
40592         * elf/tst-tls14.c: Likewise.
40593         * elf/tst-tls2.c: Likewise.
40594         * elf/tst-tls3.c: Likewise.
40595         * elf/tst-tls4.c: Likewise.
40596         * elf/tst-tls5.c: Likewise.
40597         * elf/tst-tls6.c: Likewise.
40598         * elf/tst-tls7.c: Likewise.
40599         * elf/tst-tls8.c: Likewise.
40600         * elf/tst-tls9.c: Likewise.
40601         * elf/tst-tlsmod1.c: Likewise.
40602         * elf/tst-tlsmod13.c: Likewise.
40603         * elf/tst-tlsmod13a.c: Likewise.
40604         * elf/tst-tlsmod14a.c: Likewise.
40605         * elf/tst-tlsmod16a.c: Likewise.
40606         * elf/tst-tlsmod16b.c: Likewise.
40607         * elf/tst-tlsmod2.c: Likewise.
40608         * elf/tst-tlsmod3.c: Likewise.
40609         * elf/tst-tlsmod4.c: Likewise.
40610         * elf/tst-tlsmod5.c: Likewise.
40611         * elf/tst-tlsmod6.c: Likewise.
40613 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
40615         [BZ #12486]
40616         * malloc/malloc.c: remove checks for statistics.
40618 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40620         [BZ #15277]
40621         * inet/inet_net.c (inet_network): Detect additional invalid strings.
40622         * inet/tst-network.c: Add testcase.
40624 2013-10-17  Andreas Schwab  <schwab@suse.de>
40626         [BZ #15218]
40627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
40628         to determine canonical name.
40630 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40632         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
40633         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
40634         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40635         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40636         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40637         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40638         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40639         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40640         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40641         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40642         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40643         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40644         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40645         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40646         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40647         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40648         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40649         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40650         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40651         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40652         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40653         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40654         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40655         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
40656         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
40657         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40658         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40659         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
40660         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40661         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
40662         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40663         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40664         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40665         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40666         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40667         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40668         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40669         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40670         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40671         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40672         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40673         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40674         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40675         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40676         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40677         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40678         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40679         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40680         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40681         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40682         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40683         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40684         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40685         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40686         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40687         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40688         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40689         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40691 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
40693         [BZ #16041]
40694         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
40695         make result into a quiet NaN.
40697 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
40699         * soft-fp/adddf3.c: Fix horizontal whitespace.
40700         * soft-fp/addsf3.c: Likewise.
40701         * soft-fp/addtf3.c: Likewise.
40702         * soft-fp/divdf3.c: Likewise.
40703         * soft-fp/divsf3.c: Likewise.
40704         * soft-fp/divtf3.c: Likewise.
40705         * soft-fp/double.h: Likewise.
40706         * soft-fp/eqdf2.c: Likewise.
40707         * soft-fp/eqsf2.c: Likewise.
40708         * soft-fp/eqtf2.c: Likewise.
40709         * soft-fp/extenddftf2.c: Likewise.
40710         * soft-fp/extended.h: Likewise.
40711         * soft-fp/extendsfdf2.c: Likewise.
40712         * soft-fp/extendsftf2.c: Likewise.
40713         * soft-fp/extendxftf2.c: Likewise.
40714         * soft-fp/fixdfdi.c: Likewise.
40715         * soft-fp/fixdfsi.c: Likewise.
40716         * soft-fp/fixdfti.c: Likewise.
40717         * soft-fp/fixsfdi.c: Likewise.
40718         * soft-fp/fixsfsi.c: Likewise.
40719         * soft-fp/fixsfti.c: Likewise.
40720         * soft-fp/fixtfdi.c: Likewise.
40721         * soft-fp/fixtfsi.c: Likewise.
40722         * soft-fp/fixtfti.c: Likewise.
40723         * soft-fp/fixunsdfdi.c: Likewise.
40724         * soft-fp/fixunsdfsi.c: Likewise.
40725         * soft-fp/fixunsdfti.c: Likewise.
40726         * soft-fp/fixunssfdi.c: Likewise.
40727         * soft-fp/fixunssfsi.c: Likewise.
40728         * soft-fp/fixunssfti.c: Likewise.
40729         * soft-fp/fixunstfdi.c: Likewise.
40730         * soft-fp/fixunstfsi.c: Likewise.
40731         * soft-fp/fixunstfti.c: Likewise.
40732         * soft-fp/floatdidf.c: Likewise.
40733         * soft-fp/floatdisf.c: Likewise.
40734         * soft-fp/floatditf.c: Likewise.
40735         * soft-fp/floatsidf.c: Likewise.
40736         * soft-fp/floatsisf.c: Likewise.
40737         * soft-fp/floatsitf.c: Likewise.
40738         * soft-fp/floattidf.c: Likewise.
40739         * soft-fp/floattisf.c: Likewise.
40740         * soft-fp/floattitf.c: Likewise.
40741         * soft-fp/floatundidf.c: Likewise.
40742         * soft-fp/floatundisf.c: Likewise.
40743         * soft-fp/floatunditf.c: Likewise.
40744         * soft-fp/floatunsidf.c: Likewise.
40745         * soft-fp/floatunsisf.c: Likewise.
40746         * soft-fp/floatunsitf.c: Likewise.
40747         * soft-fp/floatuntidf.c: Likewise.
40748         * soft-fp/floatuntisf.c: Likewise.
40749         * soft-fp/floatuntitf.c: Likewise.
40750         * soft-fp/fmadf4.c: Likewise.
40751         * soft-fp/fmasf4.c: Likewise.
40752         * soft-fp/fmatf4.c: Likewise.
40753         * soft-fp/gedf2.c: Likewise.
40754         * soft-fp/gesf2.c: Likewise.
40755         * soft-fp/getf2.c: Likewise.
40756         * soft-fp/ledf2.c: Likewise.
40757         * soft-fp/lesf2.c: Likewise.
40758         * soft-fp/letf2.c: Likewise.
40759         * soft-fp/muldf3.c: Likewise.
40760         * soft-fp/mulsf3.c: Likewise.
40761         * soft-fp/multf3.c: Likewise.
40762         * soft-fp/negdf2.c: Likewise.
40763         * soft-fp/negsf2.c: Likewise.
40764         * soft-fp/negtf2.c: Likewise.
40765         * soft-fp/op-1.h: Likewise.
40766         * soft-fp/op-2.h: Likewise.
40767         * soft-fp/op-4.h: Likewise.
40768         * soft-fp/op-8.h: Likewise.
40769         * soft-fp/op-common.h: Likewise.
40770         * soft-fp/quad.h: Likewise.
40771         * soft-fp/single.h: Likewise.
40772         * soft-fp/soft-fp.h: Likewise.
40773         * soft-fp/sqrtdf2.c: Likewise.
40774         * soft-fp/sqrtsf2.c: Likewise.
40775         * soft-fp/sqrttf2.c: Likewise.
40776         * soft-fp/subdf3.c: Likewise.
40777         * soft-fp/subsf3.c: Likewise.
40778         * soft-fp/subtf3.c: Likewise.
40779         * soft-fp/truncdfsf2.c: Likewise.
40780         * soft-fp/trunctfdf2.c: Likewise.
40781         * soft-fp/trunctfsf2.c: Likewise.
40782         * soft-fp/trunctfxf2.c: Likewise.
40783         * soft-fp/unorddf2.c: Likewise.
40784         * soft-fp/unordsf2.c: Likewise.
40785         * soft-fp/unordtf2.c: Likewise.
40787 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
40789         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
40790         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
40792 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
40794         * elf/dl-libc.c: Clear initfini list after freeing.
40796 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
40798         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
40799         * soft-fp/addsf3.c: Likewise.
40800         * soft-fp/addtf3.c: Likewise.
40801         * soft-fp/divdf3.c: Likewise.
40802         * soft-fp/divsf3.c: Likewise.
40803         * soft-fp/divtf3.c: Likewise.
40804         * soft-fp/double.h: Likewise.
40805         * soft-fp/eqdf2.c: Likewise.
40806         * soft-fp/eqsf2.c: Likewise.
40807         * soft-fp/eqtf2.c: Likewise.
40808         * soft-fp/extenddftf2.c: Likewise.
40809         * soft-fp/extended.h: Likewise.
40810         * soft-fp/extendsfdf2.c: Likewise.
40811         * soft-fp/extendsftf2.c: Likewise.
40812         * soft-fp/extendxftf2.c: Likewise.
40813         * soft-fp/fixdfdi.c: Likewise.
40814         * soft-fp/fixdfsi.c: Likewise.
40815         * soft-fp/fixdfti.c: Likewise.
40816         * soft-fp/fixsfdi.c: Likewise.
40817         * soft-fp/fixsfsi.c: Likewise.
40818         * soft-fp/fixsfti.c: Likewise.
40819         * soft-fp/fixtfdi.c: Likewise.
40820         * soft-fp/fixtfsi.c: Likewise.
40821         * soft-fp/fixtfti.c: Likewise.
40822         * soft-fp/fixunsdfdi.c: Likewise.
40823         * soft-fp/fixunsdfsi.c: Likewise.
40824         * soft-fp/fixunsdfti.c: Likewise.
40825         * soft-fp/fixunssfdi.c: Likewise.
40826         * soft-fp/fixunssfsi.c: Likewise.
40827         * soft-fp/fixunssfti.c: Likewise.
40828         * soft-fp/fixunstfdi.c: Likewise.
40829         * soft-fp/fixunstfsi.c: Likewise.
40830         * soft-fp/fixunstfti.c: Likewise.
40831         * soft-fp/floatdidf.c: Likewise.
40832         * soft-fp/floatdisf.c: Likewise.
40833         * soft-fp/floatditf.c: Likewise.
40834         * soft-fp/floatsidf.c: Likewise.
40835         * soft-fp/floatsisf.c: Likewise.
40836         * soft-fp/floatsitf.c: Likewise.
40837         * soft-fp/floattidf.c: Likewise.
40838         * soft-fp/floattisf.c: Likewise.
40839         * soft-fp/floattitf.c: Likewise.
40840         * soft-fp/floatundidf.c: Likewise.
40841         * soft-fp/floatundisf.c: Likewise.
40842         * soft-fp/floatunsidf.c: Likewise.
40843         * soft-fp/floatunsisf.c: Likewise.
40844         * soft-fp/floatuntidf.c: Likewise.
40845         * soft-fp/floatuntisf.c: Likewise.
40846         * soft-fp/floatuntitf.c: Likewise.
40847         * soft-fp/fmadf4.c: Likewise.
40848         * soft-fp/fmasf4.c: Likewise.
40849         * soft-fp/fmatf4.c: Likewise.
40850         * soft-fp/gedf2.c: Likewise.
40851         * soft-fp/gesf2.c: Likewise.
40852         * soft-fp/getf2.c: Likewise.
40853         * soft-fp/ledf2.c: Likewise.
40854         * soft-fp/lesf2.c: Likewise.
40855         * soft-fp/letf2.c: Likewise.
40856         * soft-fp/muldf3.c: Likewise.
40857         * soft-fp/mulsf3.c: Likewise.
40858         * soft-fp/multf3.c: Likewise.
40859         * soft-fp/negdf2.c: Likewise.
40860         * soft-fp/negsf2.c: Likewise.
40861         * soft-fp/negtf2.c: Likewise.
40862         * soft-fp/op-1.h: Likewise.
40863         * soft-fp/op-2.h: Likewise.
40864         * soft-fp/op-4.h: Likewise.
40865         * soft-fp/op-8.h: Likewise.
40866         * soft-fp/op-common.h: Likewise.
40867         * soft-fp/quad.h: Likewise.
40868         * soft-fp/single.h: Likewise.
40869         * soft-fp/soft-fp.h: Likewise.
40870         * soft-fp/sqrtdf2.c: Likewise.
40871         * soft-fp/sqrtsf2.c: Likewise.
40872         * soft-fp/sqrttf2.c: Likewise.
40873         * soft-fp/subdf3.c: Likewise.
40874         * soft-fp/subsf3.c: Likewise.
40875         * soft-fp/subtf3.c: Likewise.
40876         * soft-fp/truncdfsf2.c: Likewise.
40877         * soft-fp/trunctfdf2.c: Likewise.
40878         * soft-fp/trunctfsf2.c: Likewise.
40879         * soft-fp/trunctfxf2.c: Likewise.
40880         * soft-fp/unorddf2.c: Likewise.
40881         * soft-fp/unordsf2.c: Likewise.
40882         * soft-fp/unordtf2.c: Likewise.
40884 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
40886         [BZ #15672]
40887         * misc/error.c (error_tail): Fix possible buffer overflow.
40889 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
40891         [BZ #13028]
40892         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
40893         address.
40895 2013-10-14  P. J. McDermott  <pj@pehjota.net>
40897         [BZ #832]
40898         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
40899         testing pipefail option.
40901 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40903         * soft-fp/double.h: Indent preprocessor directives inside #if.
40904         * soft-fp/extended.h: Likewise.
40905         * soft-fp/op-2.h: Likewise.
40906         * soft-fp/op-4.h: Likewise.
40907         * soft-fp/op-common.h: Likewise.
40908         * soft-fp/quad.h: Likewise.
40909         * soft-fp/single.h: Likewise.
40910         * soft-fp/soft-fp.h: Likewise.
40912 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
40914         * iconv/iconv_prog.c: Fix typos.
40915         * stdio-common/psiginfo-data.h: Likewise.
40917 2013-10-12   Reuben Thomas <rrt@sc3d.org>
40919         [BZ #15764]
40920         * locale/setlocale.c: Fix typo.
40922 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40924         [BZ #16036]
40925         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
40926         signaling NaN arguments.
40927         * soft-fp/unordsf2.c (__unordsf2): Likewise.
40928         * soft-fp/unordtf2.c (__unordtf2): Likewise.
40930         [BZ #14910]
40931         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
40932         unordered operands.
40933         * soft-fp/gesf2.c (__gesf2): Likewise.
40934         * soft-fp/getf2.c (__getf2): Likewise.
40935         * soft-fp/ledf2.c (__ledf2): Likewise.
40936         * soft-fp/lesf2.c (__lesf2): Likewise.
40937         * soft-fp/letf2.c (__letf2): Likewise.
40939         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40940         * soft-fp/eqsf2.c (__eqsf2): Likewise.
40941         * soft-fp/eqtf2.c (__eqtf2): Likewise.
40942         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
40943         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
40944         * soft-fp/fixdfti.c (__fixdfti): Likewise.
40945         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
40946         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
40947         * soft-fp/fixsfti.c (__fixsfti): Likewise.
40948         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
40949         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
40950         * soft-fp/fixtfti.c (__fixtfti): Likewise.
40951         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
40952         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
40953         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
40954         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
40955         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
40956         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
40957         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
40958         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
40959         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
40960         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
40961         * soft-fp/floatdisf.c (__floatdisf): Likewise.
40962         * soft-fp/floatsisf.c (__floatsisf): Likewise.
40963         * soft-fp/floattidf.c (__floattidf): Likewise.
40964         * soft-fp/floattisf.c (__floattisf): Likewise.
40965         * soft-fp/floattitf.c (__floattitf): Likewise.
40966         * soft-fp/floatundidf.c (__floatundidf): Likewise.
40967         * soft-fp/floatundisf.c (__floatundisf): Likewise.
40968         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
40969         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
40970         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
40971         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
40972         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
40973         * soft-fp/gesf2.c (__gesf2): Likewise.
40974         * soft-fp/getf2.c (__getf2): Likewise.
40975         * soft-fp/ledf2.c (__ledf2): Likewise.
40976         * soft-fp/lesf2.c (__lesf2): Likewise.
40977         * soft-fp/letf2.c (__letf2): Likewise.
40979         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
40980         Undefine and redefine.
40981         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
40982         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
40983         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
40984         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
40985         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40986         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
40987         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40988         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
40989         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40990         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
40991         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40992         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
40993         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40994         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
40995         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40997         [BZ #16032]
40998         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
40999         without decrementing exponent if mantissa >= that for the
41000         denominator, not >.
41001         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
41002         denominator, not >.  Decrement exponent in < case instead of
41003         incrementing in >= case.
41004         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
41005         without decrementing exponent if mantissa >= that for the
41006         denominator, not >.
41008         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
41009         computing saturated result for unsigned overflow.
41011 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41012             Jeff Law  <law@redhat.com>
41014         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
41015         (atan2Mp): Add systemtap probe marker.
41016         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
41017         (__ieee754_log): Add systemtap probe marker.
41018         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
41019         (atanMp): Add systemtap probe marker.
41020         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
41021         (tanMp): Add systemtap probe marker.
41022         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
41023         (__slowexp): Add systemtap probe marker.
41024         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
41025         (__slowpow): Add systemtap probe marker.
41026         * manual/probes.texi: Document probes.
41028 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
41030         [BZ #15362]
41031         * libio/fileops.c (_IO_new_file_write): Return count of bytes
41032         written.
41033         (_IO_new_file_xsputn): Don't return EOF if nothing has been
41034         written.
41035         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
41036         written to buffer but not flushed.
41037         * libio/iofwrite_u.c:  Likewise.
41038         * libio/iopadn.c:  Return bytes returned even if EOF was
41039         encountered.
41040         * libio/iowpadn.c:  Likewise.
41041         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
41042         if _IO_padn does not write the whole buffer.
41043         [!COMPILE_WPRINTF] (PAD): Likewise.
41045 2013-10-10  David S. Miller  <davem@davemloft.net>
41047         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
41048         directory block.
41050 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41052         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
41053         instead of FSF address.
41054         * soft-fp/fixdfti.c: Likewise.
41055         * soft-fp/fixsfti.c: Likewise.
41056         * soft-fp/fixtfti.c: Likewise.
41057         * soft-fp/fixunsdfti.c: Likewise.
41058         * soft-fp/fixunssfti.c: Likewise.
41059         * soft-fp/fixunstfti.c: Likewise.
41060         * soft-fp/floattidf.c: Likewise.
41061         * soft-fp/floattisf.c: Likewise.
41062         * soft-fp/floattitf.c: Likewise.
41063         * soft-fp/floatuntidf.c: Likewise.
41064         * soft-fp/floatuntisf.c: Likewise.
41065         * soft-fp/floatuntitf.c: Likewise.
41066         * soft-fp/trunctfxf2.c: Likewise.
41068         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
41069         * soft-fp/fixdfti.c: Likewise.
41070         * soft-fp/fixsfti.c: Likewise.
41071         * soft-fp/fixtfti.c: Likewise.
41072         * soft-fp/fixunsdfti.c: Likewise.
41073         * soft-fp/fixunssfti.c: Likewise.
41074         * soft-fp/fixunstfti.c: Likewise.
41075         * soft-fp/floattidf.c: Likewise.
41076         * soft-fp/floattisf.c: Likewise.
41077         * soft-fp/floattitf.c: Likewise.
41078         * soft-fp/floatuntidf.c: Likewise.
41079         * soft-fp/floatuntisf.c: Likewise.
41080         * soft-fp/floatuntitf.c: Likewise.
41081         * soft-fp/trunctfxf2.c: Likewise.
41083 2013-10-10  David S. Miller  <davem@davemloft.net>
41085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41087 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
41089         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41090         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
41091         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
41092         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
41093         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
41094         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
41095         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
41097         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
41098         for NaNs before doing comparisons on argument.
41099         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
41100         Likewise.
41102 2013-10-10  Will Newton  <will.newton@linaro.org>
41104         * malloc/hooks.c (memalign_check): Ensure the value of bytes
41105         passed to _int_memalign does not overflow.
41107 2013-10-10  Torvald Riegel  <triegel@redhat.com>
41109         * scripts/bench.pl: Add include-sources directive.
41110         * benchtests/README: Update documentation.
41112 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41114         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
41115         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
41116         instead of FP_INIT_ROUNDMODE.
41117         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
41118         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
41120         [BZ #16034]
41121         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
41122         copy class of input value.
41123         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41124         not handle exceptions.
41125         * soft-fp/negsf2.c (__negsf2): Likewise.
41126         * soft-fp/negtf2.c (__negtf2): Likewise.
41127         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41129 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41131         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41132         semicolon.  From Linux kernel.
41134 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41136         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41138 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41140         [BZ #156]
41141         * manual/socket.texi: Added statement about buffer
41142         for gethostbyname2_r.
41144 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41146         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41147         Use .p2align directive instead, throughout.
41148         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41149         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41150         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41151         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41152         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41153         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41154         * sysdeps/x86_64/strchr.S: Likewise.
41155         * sysdeps/x86_64/strrchr.S: Likewise.
41157 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41159         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41161         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41163         * sysdeps/generic/math_private.h (__mpsin1): Remove
41164         declaration.
41165         (__mpcos1): Likewise.
41166         (__mpsin): New argument __range_reduce.
41167         (__mpcos): Likewise.
41168         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41169         (slow): Use __mpsin and __mpcos.
41170         (slow1): Likewise.
41171         (slow2): Likewise.
41172         (sloww): Likewise.
41173         (sloww1): Likewise.
41174         (sloww2): Likewise.
41175         (bsloww): Likewise.
41176         (bsloww1): Likewise.
41177         (bsloww2): Likewise.
41178         (cslow2): Likewise.
41179         (csloww): Likewise.
41180         (csloww1): Likewise.
41181         (csloww2): Likewise.
41182         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41183         range_reduce.  Merge in __mpsin1.
41184         (__mpcos): Likewise.
41185         (__mpsin1): Remove.
41186         (__mpcos1): Likewise.
41188 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41190         * locale/loadlocale.c (_nl_intern_locale_data): Use
41191         LOCFILE_ALIGNED_P.
41192         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41193         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41194         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41195         obstack data is appropriately aligned.
41196         (obstack_int32_grow_fast): Likewise.
41197         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41198         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41199         (add_locale_uint32_array): Likewise.
41201 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41203         * benchtests/Makefile: Remove ARGLIST and RET variables.
41204         ($(objpfx)bench-%.c): Pass only function name to the script.
41205         * benchtests/README: Update documentation.
41206         * benchtests/acos-inputs: Add new directives.
41207         * benchtests/acosh-inputs: Likewise.
41208         * benchtests/asin-inputs: Likewise.
41209         * benchtests/asinh-inputs: Likewise.
41210         * benchtests/atan-inputs: Likewise.
41211         * benchtests/atanh-inputs: Likewise.
41212         * benchtests/cos-inputs: Likewise.
41213         * benchtests/cosh-inputs: Likewise.
41214         * benchtests/exp-inputs: Likewise.
41215         * benchtests/log-inputs: Likewise.
41216         * benchtests/pow-inputs: Likewise.
41217         * benchtests/rint-inputs: Likewise.
41218         * benchtests/sin-inputs: Likewise.
41219         * benchtests/sinh-inputs: Likewise.
41220         * benchtests/tan-inputs: Likewise.
41221         * benchtests/tanh-inputs: Likewise.
41222         * scripts/bench.pl: Add support for new directives.
41224 2013-10-07  Alan Modra  <amodra@gmail.com>
41226         * README: Fix careless merge.
41228 2013-10-05  Alan Modra  <amodra@gmail.com>
41230         * NEWS: Mention powerpc64le support and bugs fixed.
41231         * README: Both big-endian and little-endian powerpc64 supported.
41233 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41235         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41236         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41237         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41238         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41240 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41242         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41243         match prototype.
41245 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41247         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41248         Move -mhard-float appending from
41249         ports/sysdeps/powerpc/powerpc32/Makefile.
41250         [$(with-fp) = yes] (ASFLAGS): Likewise.
41251         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41252         * sysdeps/powerpc/nofpu: Move directory from
41253         ports/sysdeps/powerpc/nofpu.
41254         * sysdeps/powerpc/soft-fp: Move directory from
41255         ports/sysdeps/powerpc/soft-fp.
41256         * sysdeps/powerpc/powerpc32/405: Move directory from
41257         ports/sysdeps/powerpc/powerpc32/405.
41258         * sysdeps/powerpc/powerpc32/440: Move directory from
41259         ports/sysdeps/powerpc/powerpc32/440.
41260         * sysdeps/powerpc/powerpc32/464: Move directory from
41261         ports/sysdeps/powerpc/powerpc32/464.
41262         * sysdeps/powerpc/powerpc32/476: Move directory from
41263         ports/sysdeps/powerpc/powerpc32/476.
41264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41265         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41267         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41269         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41271         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41273         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41274         * README: Update for powerpc-*-linux-gnu software floating point
41275         support in libc.
41277         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41278         case to powerpc/powerpc32*.
41279         * sysdeps/unix/sysv/linux/configure: Regenerated.
41281         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41282         (_FPU_MASK_OM): Define as 0x04.
41283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41285         0x00c10080.
41286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41287         0x0000003c.
41288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41291         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41292         getcontext_e500.
41293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41294         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41295         setcontext_e500.
41296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41297         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41298         and setcontext_e500.
41300 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41302         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41304 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41306         * manual/threads.texi (Default Thread Attributes): Fix typo.
41308 2013-10-04  Will Newton  <will.newton@linaro.org>
41310         * malloc/Makefile: Add tst-memalign.
41311         * malloc/tst-memalign.c: New file.
41313         * malloc/tst-posix_memalign.c: Add comments.
41314         (do_test): Add comments and call free on all potentially
41315         allocated pointers. Add space after cast.
41317         * malloc/tst-pvalloc.c: Add comments.
41318         (do_test): Add comments and call free on all potentially
41319         allocated pointers. Remove duplicate check for NULL pointer.
41320         Add space after cast.
41322         * malloc/tst-valloc.c: Add comments.
41323         (do_test): Add comments and call free on all potentially
41324         allocated pointers. Remove duplicate check for NULL pointer.
41325         Add space after cast.
41327 2013-10-04  Alan Modra  <amodra@gmail.com>
41329         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41330         Use stdint types in rather than __attribute__((mode())).
41331         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41333 2013-10-04  Alan Modra  <amodra@gmail.com>
41335         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41336         Correct handling of unaligned relocs for little-endian.
41337         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41339 2013-10-04  Alan Modra  <amodra@gmail.com>
41341         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41342         * configure: Regenerate.
41343         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41344         * shlib-versions: Likewise.
41346 2013-10-04  Alan Modra  <amodra@gmail.com>
41348         * string/tester.c (test_memrchr): Increment reported test cycle.
41350 2013-10-04  Alan Modra  <amodra@gmail.com>
41352         * string/test-memcpy.c (do_one_test): When reporting errors, print
41353         string address and don't overrun end of string.
41355 2013-10-04  Alan Modra  <amodra@gmail.com>
41357         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41358         insrdi.  Make better use of reg selection to speed exit slightly.
41359         Schedule entry path a little better.  Remove useless "are we done"
41360         checks on entry to main loop.  Handle wrapping around zero address.
41361         Correct main loop count.  Handle single left-over word from main
41362         loop inline rather than by using loop_small.  Remove extra word
41363         case in loop_small caused by wrong loop count.  Add little-endian
41364         support.
41365         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41366         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41367         cache hint.
41368         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41369         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41370         support.  Avoid rlwimi.
41371         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41373 2013-10-04  Alan Modra  <amodra@gmail.com>
41375         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41376         insrdi.  Formatting.
41377         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41378         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41379         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41380         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41381         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41382         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41384 2013-10-04  Alan Modra  <amodra@gmail.com>
41386         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41387         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41388         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41389         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41390         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41391         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41392         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41393         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41394         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41395         use of regs.  Use power7 mtocrf.  Tidy function tails.
41397 2013-10-04  Alan Modra  <amodra@gmail.com>
41399         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41400         Formatting.  Consistently use rXXX register defines or rN defines.
41401         Use early exit labels that avoid restoring unused non-volatile regs.
41402         Make cr field use more consistent with rWORDn compares.  Rename
41403         regs used as shift registers for unaligned loop, using rN defines
41404         for short lifetime/multiple use regs.
41405         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41406         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41407         addi 1,1,64 to pop stack frame.  Simplify return value code.
41408         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41410 2013-10-04  Alan Modra  <amodra@gmail.com>
41412         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41413         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41414         rather than rlwimi.
41415         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41416         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41417         little-endian support.  Correct typos.
41418         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41419         rather than rlwimi.
41420         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41421         in loop and entry code to keep "and." results.
41422         (strchr): Add little-endian support.  Comment.  Move cntlzd
41423         earlier in tail.
41424         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41426 2013-10-04  Alan Modra  <amodra@gmail.com>
41428         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41429         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41430         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41431         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41433 2013-10-04  Alan Modra  <amodra@gmail.com>
41435         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41436         (rTMP): Define as r11.
41437         (strcmp): Add little-endian support.  Optimise tail.
41438         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41439         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41440         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41441         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41442         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41443         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41444         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41446 2013-10-04  Alan Modra  <amodra@gmail.com>
41448         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41449         little-endian support.  Remove unnecessary "are we done" tests.
41450         Handle "s" wrapping around zero and extremely large "size".
41451         Correct main loop count.  Handle single left-over word from main
41452         loop inline rather than by using small_loop.  Correct comments.
41453         Delete "zero" tail, use "end_max" instead.
41454         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41456 2013-10-04  Alan Modra  <amodra@gmail.com>
41458         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41459         support.  Don't branch over align.
41460         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41461         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41462         support.  Rearrange tmp reg use to suit.  Comment.
41463         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41465 2013-10-04  Alan Modra  <amodra@gmail.com>
41467         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41469 2013-10-04  Alan Modra  <amodra@gmail.com>
41471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41472         conditional form of branch and link when obtaining pc.
41473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41475 2013-10-04  Alan Modra  <amodra@gmail.com>
41477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41478         HIWORD/LOWORD.
41479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41482 2013-10-04  Alan Modra  <amodra@gmail.com>
41484         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41485         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41486         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41487         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41488         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41489         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41490         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41491         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41492         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41493         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
41495 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41496             Alistair Popple <alistair@ozlabs.au.ibm.com>
41497             Alan Modra <amodra@gmail.com>
41499         [BZ #15723]
41500         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
41501         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
41502         _dl_hwcap access for little-endian.
41503         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
41504         destroy vmx regs when saving unaligned.
41505         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
41506         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
41507         destroy vmx regs when saving unaligned.
41509 2013-10-04  Alan Modra  <amodra@gmail.com>
41511         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41512         Don't use a union to pack hi/low value.
41514 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41516         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41517         for little-endian.
41518         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41519         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41520         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41521         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41522         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41524 2013-10-04  Alan Modra  <amodra@gmail.com>
41526         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41527         constants to usual value for .cst8 section, and remove redundant
41528         high address load.
41529         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
41530         constant for 0x1p52.  Load little-endian words of double from
41531         correct stack offsets.
41533 2013-10-04  Alan Modra  <amodra@gmail.com>
41535         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
41536         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
41537         words of double from correct stack offsets.
41538         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41539         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
41540         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41541         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41542         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41543         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41544         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41545         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41546         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41547         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41548         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41549         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41550         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41551         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41552         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41553         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
41554         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41556 2013-10-04  Alan Modra  <amodra@gmail.com>
41558         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
41559         64-bit int/double union.
41560         (_FPU_SETCW): Likewise.
41561         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
41562         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
41564 2013-10-04  Alan Modra  <amodra@gmail.com>
41566         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
41567         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
41569 2013-10-04  Alan Modra  <amodra@gmail.com>
41571         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
41572         use vector int constants.
41573         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
41575 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41577         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
41578         array with long long.
41579         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
41580         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
41581         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
41582         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
41583         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
41584         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
41585         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
41586         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
41587         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
41588         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
41589         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
41590         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
41591         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
41593 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41595         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
41596         (__signbit): Likewise.  Correct for little-endian.
41597         (__signbitl): Call __signbit.
41598         (lrint): Correct for little-endian.
41599         (lrintf): Call lrint.
41601 2013-10-04  Alan Modra  <amodra@gmail.com>
41603         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
41604         union 32-bit int array member with 64-bit int array.
41605         (t515, tm256): Double rather than long double.
41606         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
41608 2013-10-04  Alan Modra  <amodra@gmail.com>
41610         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
41611         Delete.
41612         (IEEE854_LONG_DOUBLE_BIAS): Delete.
41613         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
41614         version of math_ldbl.h.
41616 2013-10-04  Alan Modra  <amodra@gmail.com>
41618         [BZ #15734], [BZ #15735]
41619         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
41620         all uses of ieee875 long double macros and unions.  Simplify test
41621         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
41622         ldbl_extract_mantissa value for ix,iy exponents.  Properly
41623         normalize after ldbl_extract_mantissa, and don't add hidden bit
41624         already handled.  Don't treat low word of ieee854 mantissa like
41625         low word of IBM long double and mask off bit when testing for
41626         zero.
41627         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
41628         all uses of ieee875 long double macros and unions.  Simplify tests
41629         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
41630         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
41631         two1022, instead use their values.  Recognise that tests for large
41632         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
41633         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
41634         Rewrite all uses of ieee875 long double macros and unions.  Simplify
41635         test for 0.0L and nan.  Correct negation.
41636         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
41637         ieee875 long double macros and unions.  Correct output for large
41638         magnitude x.  Correct absolute value calculation.
41639         (__erfcl): Likewise.
41640         * math/libm-test.inc: Add tests for errors discovered in IBM long
41641         double versions of fmodl, remainderl, erfl and erfcl.
41643 2013-10-04  Alan Modra  <amodra@gmail.com>
41645         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
41646         all uses of ieee854 long double macros and unions.  Simplify tests
41647         for long doubles that are fully specified by the high double.
41648         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
41649         Likewise.
41650         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
41651         Remove dead code too.
41652         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
41653         (__ieee754_ynl): Likewise.
41654         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
41655         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
41656         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
41657         Remove dead code too.
41658         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
41659         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
41660         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
41661         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
41662         Simplify.
41663         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
41664         Simplify.
41665         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
41666         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
41667         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
41668         Comment on variable precision.
41669         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
41670         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41671         Likewise.
41672         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
41673         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41674         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41675         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
41676         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
41678 2013-10-04  Alan Modra  <amodra@gmail.com>
41680         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
41681         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
41682         all uses of ieee854 long double macros and unions.
41683         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
41684         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41685         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
41686         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
41687         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
41688         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41689         Likewise.
41690         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
41691         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41692         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
41693         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41694         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
41695         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
41696         Simplify sign and nan test too.
41697         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
41698         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
41699         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
41700         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
41701         Likewise.
41702         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41703         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
41704         Likewise.
41705         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41706         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
41707         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
41708         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
41709         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
41710         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
41712 2013-10-04  Alan Modra  <amodra@gmail.com>
41714         * stdio-common/printf_size.c (__printf_size): Don't use
41715         union ieee854_long_double in fpnum union.
41716         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
41717         signbit macro to retrieve sign from long double.
41718         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
41719         retrieve sign from long double.
41720         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
41721         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
41722         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
41723         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41724         * math/test-misc.c (main): Don't use union ieee854_long_double.
41726 2013-10-04  Alan Modra  <amodra@gmail.com>
41728         [BZ #15680]
41729         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
41730         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
41731         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
41732         calculation.  Remove unnecessary test for denormal exponent.
41733         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
41734         Correct handling of denormals.  Avoid undefined shift behaviour.
41735         Correct normalisation of low mantissa when low double is denormal.
41736         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
41737         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
41738         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
41739         Correct normalisation of low mantissa.  Test for overflow of high
41740         mantissa and normalise.
41741         (ldbl_nearbyint): Use more readable constant for two52.
41742         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
41743         (__mpn_construct_long_double): Fix test for overflow of high
41744         mantissa and correct normalisation.  Avoid undefined shift.
41746 2013-10-04  Alan Modra  <amodra@gmail.com>
41748         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41749         (union ibm_extended_long_double): Define as an array of ieee754_double.
41750         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
41751         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
41752         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
41753         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41754         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41755         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
41756         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41757         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41758         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41759         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
41760         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41762 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
41764         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
41765         page size instead of calling getpagesize.
41767         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
41768         (LOCFILE_ALIGN_MASK): Likewise.
41769         (LOCFILE_ALIGN_UP): Likewise.
41770         (LOCFILE_ALIGNED_P): Likewise.
41771         * locale/programs/ld-collate.c (collate_output): Use the new
41772         macros instead of __alignof__ (int32_t).
41773         * locale/weight.h (findidx): Likewise.
41775 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
41777         [BZ #431]
41778         * manual/string.texi: Fix strncat and wcsncat.
41780 2013-10-03  Brooks Moses  <bmoses@google.com>
41782         [BZ #15915]
41783         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
41784         * Makerules: ...here, and adjust associated comments.
41786 2013-10-02  Will Newton  <will.newton@linaro.org>
41788         * malloc/Makefile: Add tst-pvalloc.
41789         * malloc/tst-pvalloc.c: New file.
41791 2013-10-02  Will Newton  <will.newton@linaro.org>
41793         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
41794         improve test coverage.
41796 2013-10-02  Will Newton  <will.newton@linaro.org>
41798         * malloc/Makefile: Add tst-posix_memalign.
41799         * malloc/tst-posix_memalign.c: New file.
41801 2013-10-01  Eric Blake  <eblake@redhat.com>
41803         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
41804         Use __THROWNL rather than __THROW on static functions.
41806 2013-09-30  Petr Machata  <pmachata@redhat.com>
41808         * elf/elf.h (R_AARCH64_ABS16): New macro.
41809         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
41810         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
41811         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
41812         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
41813         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
41814         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
41815         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
41816         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
41817         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
41818         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
41819         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
41820         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
41821         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
41822         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
41823         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
41824         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
41825         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
41826         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
41827         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
41828         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
41829         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
41830         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
41831         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
41832         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
41833         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
41834         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
41835         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
41836         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
41837         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
41838         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
41839         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
41840         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
41841         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
41842         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
41843         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
41844         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
41845         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
41846         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
41847         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
41848         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
41849         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
41850         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
41851         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
41852         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
41853         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
41854         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
41855         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
41856         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
41857         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
41858         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
41859         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
41860         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
41861         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
41862         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
41863         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
41864         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
41865         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
41866         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
41867         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
41868         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
41869         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
41870         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
41871         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
41872         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
41873         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
41874         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
41875         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
41876         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
41877         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
41878         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
41879         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
41880         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
41881         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
41882         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
41883         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
41884         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
41885         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
41886         (R_AARCH64_TLSDESC_LDR): Likewise.
41887         (R_AARCH64_TLSDESC_ADD): Likewise.
41888         (R_AARCH64_TLSDESC_CALL): Likewise.
41890 2013-09-30  Andreas Schwab  <schwab@suse.de>
41892         [BZ #15048]
41893         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
41894         the nss database lookup.
41895         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41898 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
41900         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
41902 2013-09-28  P. J. McDermott  <pj@pehjota.net>
41904         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
41905         ${Bash-specific parameter/pattern/string} parameter expansion.
41906         * sysdeps/unix/make-syscalls.sh: Likewise.
41908 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41910         * sysdeps/sh/stackguard-macros.h: New file.
41912 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
41914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
41916         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
41917         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
41918         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41919         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
41921 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41923         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
41924         Fix thread ID register.
41926 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
41928         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
41929         [POSIX || UNIX98]: Require rather than permitting all symbols from
41930         <time.h>.
41931         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
41932         element of struct sched_param.
41933         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
41934         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
41935         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
41936         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
41937         constant.
41939 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
41941         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
41942         argument calculation.
41944 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41946         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
41947         Expect macro.
41948         [POSIX] (pthread_attr_t): Do not require type.
41949         [POSIX] (pthread_cond_t): Likewise.
41950         [POSIX] (pthread_condattr_t): Likewise.
41951         [POSIX] (pthread_key_t): Likewise.
41952         [POSIX] (pthread_mutex_t): Likewise.
41953         [POSIX] (pthread_mutexattr_t): Likewise.
41954         [POSIX] (pthread_once_t): Likewise.
41955         [POSIX] (pthread_t): Likewise.
41956         [POSIX-based standards] (pthread_atfork): Expect function.
41958 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41959             Richard Sandiford  <richard@codesourcery.com>
41961         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
41962         (swap_endianness_p): New extern variable.
41963         (set_big_endian): New inline function.
41964         (maybe_swap_uint32): Likewise.
41965         (maybe_swap_uint32_array): Likewise.
41966         (maybe_swap_uint32_obstack): Likewise.
41967         * locale/programs/locfile.c: Include <stdbool.h>.
41968         (swap_endianness_p): New variable.
41969         (add_locale_uint32): Call maybe_swap_uint32.
41970         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
41971         (write_locale_data): Call maybe_swap_uint32_array.
41972         * locale/programs/ld-collate.c (obstack_int32_grow): Call
41973         maybe_swap_uint32.
41974         (obstack_int32_grow_fast): Likewise.
41975         (output_weightwc): Call maybe_swap_uint32_obstack.
41976         (collate_output): Likewise.
41977         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
41978         (OPT_LITTLE_ENDIAN): Likewise.
41979         (options): Add --little-endian and --big-endian options.
41980         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
41981         * locale/programs/locarchive.c: Include "locfile.h".
41982         (GET): New macro.
41983         (SET): Likewise.
41984         (INC): Likewise.
41985         (create_archive): Use the new macros to access fields of
41986         structures directly mapped from or written to locale archives.
41987         (oldlocrecentcmp): Likewise.
41988         (enlarge_archive): Likewise.
41989         (insert_name): Likewise.
41990         (add_alias): Likewise.
41991         (add_locale): Likewise.
41992         (delete_locales_from_archive): Likewise.
41993         (show_archive_content): Likewise.
41994         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
41995         locale data.
41997 2013-09-24  Roland McGrath  <roland@hack.frob.com>
41999         * manual/freemanuals.texi: Updated from (newly) canonical copy at
42000         http://www.gnu.org/doc/freemanuals.texi.
42001         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
42003 2013-09-24  Will Newton  <will.newton@linaro.org>
42005         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
42006         macro.
42008 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
42010         * locale/hashval.h (compute_hashval): Interpret bytes of key as
42011         unsigned char.
42013 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
42015         * manual/threads.texi (POSIX Threads): Fix a typo.
42017 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42019         [BZ #14547]
42020         * string/tst-strcoll-overflow.c: New test case.
42021         * string/Makefile (xtests): Add tst-strcoll-overflow.
42022         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
42023         cache if string sizes may cause integer overflow.
42025         [BZ #14547]
42026         * string/strcoll_l.c (coll_seq): New members rule, idx,
42027         save_idx and back_us.
42028         (get_next_seq_nocache): New function.
42029         (do_compare_nocache): New function.
42030         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
42031         when malloc fails.
42033 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
42035         [BZ #15754]
42036         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
42037         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
42038         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
42040         [BZ #15754]
42041         * elf/Makefile (tests): Add tst-ptrguard1.
42042         (tests-static): Add tst-ptrguard1-static.
42043         (tst-ptrguard1-ARGS): Define.
42044         (tst-ptrguard1-static-ARGS): Define.
42045         * elf/tst-ptrguard1.c: New file.
42046         * elf/tst-ptrguard1-static.c: New file.
42047         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
42048         * sysdeps/i386/stackguard-macros.h: Likewise.
42049         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42050         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42051         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42052         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42053         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42054         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42056 2013-09-23  Hector Marco  <hecmargi@upv.es>
42057             Ismael Ripoll  <iripoll@disca.upv.es>
42058             Carlos O'Donell  <carlos@redhat.com>
42060         [BZ #15754]
42061         * sysdeps/generic/stackguard-macros.h: Define
42062         __pointer_chk_guard_local and POINTER_CHK_GUARD.
42063         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
42064         Define __pointer_chk_guard_local.
42065         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
42066         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
42068 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
42070         [BZ #15859]
42071         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
42073 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
42075         * include/string.h (__ffs): Declare as hidden.
42076         * string/ffs.c (__ffs): Define as hidden.
42077         * sysdeps/i386/ffs.c (__ffs): Likewise.
42078         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42079         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
42080         * sysdeps/s390/ffs.c (__ffs): Likewise.
42081         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
42083 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
42085         * NEWS: Mention malloc probes.
42087         * malloc/arena.c (new_heap): New memory_heap_new probe.
42088         (grow_heap): New memory_heap_more probe.
42089         (shrink_heap): New memory_heap_less probe.
42090         (heap_trim): New memory_heap_free probe.
42091         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
42092         (systrim): New memory_sbrk_less probe.
42093         * manual/probes.texi: Document them.
42095         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
42096         * manual/probes.texi: Document it.
42098         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
42099         (__libc_realloc): Add memory_realloc_retry probe.
42100         (__libc_memalign): Add memory_memalign_retry probe.
42101         (__libc_valloc): Add memory_valloc_retry probe.
42102         (__libc_pvalloc): Add memory_pvalloc_retry probe.
42103         (__libc_calloc): Add memory_calloc_retry probe.
42104         * manual/probes.texi: Document them.
42106         * malloc/arena.c (get_free_list): Add probe
42107         memory_arena_reuse_free_list.
42108         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
42109         and memory_arena_reuse.
42110         (arena_get2) [!PER_THREAD]: Likewise.
42111         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
42112         memory_arena_reuse_realloc.
42113         * manual/probes.texi: Document them.
42115         * malloc/malloc.c (__libc_free): Add
42116         memory_mallopt_free_dyn_thresholds probe.
42117         (__libc_mallopt): Add multiple memory_mallopt probes.
42118         * manual/probes.texi: Document them.
42120         * malloc/malloc.c: Include stap-probe.h.
42121         (__libc_mallopt): Add memory_mallopt probe.
42122         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
42123         * manual/probes.texi: New.
42124         * manual/Makefile (chapters): Add probes.
42125         * manual/threads.texi: Set next node.
42127 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42129         [BZ #15963, #13985]
42130         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42131         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42132         Add `Chinese' to `nan' entry name.
42134 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42136         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42137         (POLYNOMIAL): Likewise.
42138         (TAYLOR_SINCOS): Likewise.
42139         (TAYLOR_SLOW): Likewise.
42140         (__sin): Use TAYLOR_SINCOS.
42141         (__cos): Likewise.
42142         (slow): Use TAYLOR_SLOW.
42143         (sloww): Likewise.
42144         (bsloww): Likewise.
42145         (csloww): Likewise.
42147 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42149         * stdlib/strtod_l.c: Fix buffer overrun.
42151 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42153         * benchtests/Makefile (bench): Add sincos.
42154         * benchtests/bench-sincos.c: New file.
42156         * math/libm-test.inc (cos_test_data): New test inputs.
42157         (sin_test_data): Likewise.
42159         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42160         macro.
42161         (__sin): Use it.
42162         (__cos): Likewise.
42163         (slow1): Likewise.
42164         (slow2): Likewise.
42165         (sloww1): Likewise.
42166         (sloww2): Likewise.
42167         (bsloww1): Likewise.
42168         (bsloww2): Likewise.
42169         (cslow2): Likewise.
42170         (csloww1): Likewise.
42171         (csloww2): Likewise.
42173         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42174         function.
42175         (__sin): Use it.
42176         (__cos): Likewise.
42178         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42179         gotos.
42180         (__cos): Likewise.
42182 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42184         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42185         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42186         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42187         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42188         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42189         * elf/cache.c (print_entry): Handle the new cache flags.
42191 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42192             Aldy Hernandez  <aldyh@redhat.com>
42194         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42195         Change condition to [_SOFT_FLOAT].
42196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42202         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42208         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42211         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42212         declaration.
42214 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42216         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42217         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42218         (__longjmp): Use LOAD_GP to load saved GPRs.
42219         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42220         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42221         (__sigsetjmp): Use SAVE_GP to save GPRs.
42223         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42224         Do not append -msoft-float.
42225         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42227 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42229         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42231 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42233         [BZ #15966]
42234         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42235         (_FPU_GETCW): Use initial "__" on variable and field names but not
42236         on macro parameter name.
42237         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42238         parentheses around reference to macro parameter.
42240 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42242         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42243         prototype.
42244         (ctype_startup): Use uint32_t in cast and sizeof for
42245         ctype->charnames.
42247 2013-09-11  Jia Liu  <proljc@gmail.com>
42249         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42250         __daddr_t_defined.
42251         [__FreeBSD__]: Likewise.
42253 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42255         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42256         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42257         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42258         (strchr): Remove __strchr_sse42 ifunc selection.
42259         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42260         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42262 2013-09-11  Will Newton  <will.newton@linaro.org>
42264         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42265         parameter to RES. Remove hardcoded 1000 value.
42266         * benchtests/bench-skeleton.c (main): Pass RES parameter
42267         to TIMING_INIT and multiply result by 1000.
42269 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42273 2013-09-11  Andreas Schwab  <schwab@suse.de>
42275         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42276         if not defined.
42277         (O_TMPFILE) [__USE_GNU]: Define.
42278         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42279         Define.
42281 2013-09-11  Will Newton  <will.newton@linaro.org>
42283         [BZ #15857]
42284         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42285         does not overflow.
42287 2013-09-11  Will Newton  <will.newton@linaro.org>
42289         [BZ #15856]
42290         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42291         does not overflow.
42293 2013-09-11  Will Newton  <will.newton@linaro.org>
42295         [BZ #15855]
42296         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42297         does not overflow.
42299 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42301         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42302         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42303         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42304         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42305         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42307 2013-09-10  Allan McRae  <allan@archlinux.org>
42309         [BZ #15748]
42310         * manual/arith.texi (Parsing of Floats): Clarify
42311         cross-reference.
42313         [BZ #15849]
42314         * manual/install.texi (Running make install): Mention
42315         --enable-pt-chown.
42316         * INSTALL: Regenerated.
42318 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42320         * csu/init-first.c (_init): Remove the !SHARED condition around
42321         FPU control word initialization.
42322         * elf/dl-support.c (_dl_fpu_control): New variable.
42323         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42324         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42325         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42326         * math/test-fpucw-static.c: New file.
42327         * math/test-fpucw-ieee.c: New file.
42328         * math/test-fpucw-ieee-static.c: New file.
42329         * math/Makefile (tests): Add `test-fpucw-ieee' and
42330         `$(tests-static)'.
42331         (tests-static): New variable.
42332         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42333         dependency to...
42334         [($(build-shared),yes)]
42335         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42336         ... this.
42337         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42338         New dependency.
42340 2013-09-09  Allan McRae  <allan@archlinux.org>
42342         [BZ #15939]
42343         * manual/string.texi (Collation Functions): Fix typo in
42344         strcoll example.
42345         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42347         [BZ #15893]
42348         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42350         [BZ #15892]
42351         * libio/memstream.c (open_memstream): Fix memory leak.
42352         * libio/wmemstream.c (open_wmemstream): Likewise.
42354         [BZ #15895]
42355         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42357 2013-09-09  Will Newton  <will.newton@linaro.org>
42359         * malloc/Makefile: Add tst-realloc to tests.
42360         * malloc/tst-realloc.c: New file.
42362 2013-09-09  Allan McRae  <allan@archlinux.org>
42364         [BZ #15844]
42365         * COPYING: Update from GNU website to fix FSF address.
42366         * COPYING.LIB: Likewise.
42368 2013-09-06  David S. Miller  <davem@davemloft.net>
42370         * po/zh_TW.po: Update Chinese (traditional) translation from
42371         translation project.
42373 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42374             Joseph Myers  <joseph@codesourcery.com>
42376         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42377         "localeinfo.h".
42378         (obstack_chunk_alloc): New macro.
42379         (obstack_chunk_free): Likewise.
42380         (record_offset): New function.
42381         (init_locale_data): Likewise.
42382         (align_locale_data): Likewise.
42383         (add_locale_empty): Likewise.
42384         (add_locale_raw_data): Likewise.
42385         (add_locale_raw_obstack): Likewise.
42386         (add_locale_string): Likewise.
42387         (add_locale_wstring): Likewise.
42388         (add_locale_uint32): Likewise.
42389         (add_locale_uint32_array): Likewise.
42390         (add_locale_char): Likewise.
42391         (start_locale_structure): Likewise.
42392         (end_locale_structure): Likewise.
42393         (start_locale_prelude): Likewise.
42394         (end_locale_prelude): Likewise.
42395         (write_locale_data): Take locale_file structure rather than an
42396         iovec.
42397         * locale/programs/locfile.h: Include "obstack.h".
42398         (struct locale_file): Change to store locale file contents instead
42399         of header.
42400         (init_locale_data): New prototype.
42401         (align_locale_data): Likewise.
42402         (add_locale_empty): Likewise.
42403         (add_locale_raw_data): Likewise.
42404         (add_locale_raw_obstack): Likewise.
42405         (add_locale_string): Likewise.
42406         (add_locale_wstring): Likewise.
42407         (add_locale_uint32): Likewise.
42408         (add_locale_uint32_array): Likewise.
42409         (add_locale_char): Likewise.
42410         (start_locale_structure): Likewise.
42411         (end_locale_structure): Likewise.
42412         (start_locale_prelude): Likewise.
42413         (end_locale_prelude): Likewise.
42414         (write_locale_data): Update prototype.
42415         * locale/programs/3level.h (struct TABLE): Remove result field.
42416         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42417         Use new locale_file interface.
42418         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42419         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42420         * locale/programs/ld-address.c (address_output): Use new
42421         locale_file interface.
42422         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42423         NO_ADD_LOCALE.
42424         (collate_finish): Don't call collseq_table_finalize.
42425         (collate_output): Use new locale_file interface.
42426         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42427         in file.
42428         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42429         (TABLE): Move defines earlier in file.
42430         (ELEMENT): Likewise.
42431         (DEFAULT): Likewise.
42432         (wctrans_table_add): Move macro and inline function earlier in
42433         file.
42434         (struct wctype_table): Move type earlier in file.
42435         (add_locale_wctype_table): New static prototype.
42436         (struct locale_ctype_t): Use logical types instead of struct iovec
42437         pointers for members.
42438         (ctype_output): Use new locale_file interface.
42439         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42440         new locale_file interface.
42441         (allocate_arrays): Update for use of new locale_file interface.
42442         * locale/programs/ld-identification.c (identification_output): Use
42443         new locale_file interface.
42444         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42445         * locale/programs/ld-messages.c (messages_output): Likewise.
42446         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42447         * locale/programs/ld-name.c (name_output): Likewise.
42448         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42449         * locale/programs/ld-paper.c (paper_output): Likewise.
42450         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42451         * locale/programs/ld-time.c (time_output): Likewise.
42453 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42455         * benchtests/Makefile: Add memrchr benchmark.
42456         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42457         benchmark as memrchr.
42458         * benchtests/bench-memrchr-ifunc.c: New file.
42459         * benchtests/bench-memrchr.c: New file.
42461 2013-09-06   Will Newton  <will.newton@linaro.org>
42463         * benchtests/Makefile (string-bench): Add memcpy.
42465 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42466             Cong Wang  <amwang@redhat.com>
42468         [BZ #15850]
42469         * sysdeps/unix/sysv/linux/bits/in.h
42470         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42471         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42472         before __USE_KERNEL_IPV6_DEFS uses.
42473         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42474         IPPROTO_BEETPH.
42475         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42476         sockaddr_in6, or ipv6_mreq.
42478 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42480         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42481         memory access for final bytes in some large inputs.
42482         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42484 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42486         * string/test-memrchr.c: New file.
42487         * string/test-memrchr-ifunc.c: New file.
42488         * string/Makefile: Add new memrchr testcase.
42490 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
42492         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
42493         fanotify_init returns EPERM.
42495 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42497         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
42498         errors.
42499         (top level): Treat second token from macro or constant entries for
42500         allowed headers as allowed.
42501         * include/complex.h: Condition internal declarations on
42502         [!_ISOMAC].
42503         * include/fenv.h: Condition include of <stdbool.h> and internal
42504         declarations on [!_ISOMAC].
42506 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42508         [BZ #15923]
42509         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42511 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42513         * configure.in (--enable-versioning): Remove configure option.
42514         (libc_cv_asm_symver_directive): Remove configure test.
42515         (libc_cv_ld_version_script_option): Likewise.
42516         (VERSIONING): Remove variable and AC_SUBST.
42517         (DO_VERSIONING): Remove AC_DEFINE.
42518         * configure: Regenerated.
42519         * config.h.in (DO_VERSIONING): Remove macro.
42520         * Makerules [$(versioning) = yes]: Change conditionals to
42521         [$(build-shared) = yes].
42522         * config.make.in (versioning): Remove variable.
42523         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42524         [$(build-shared) = yes].
42525         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42526         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42527         * elf/Makefile [$(versioning) = yes]: Change conditionals to
42528         [$(build-shared) = yes].
42529         * extra-lib.mk [$(versioning) = yes]: Likewise.
42530         * hurd/Makefile [$(versioning) = yes]: Likewise.
42531         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
42532         [SHARED].
42533         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
42534         [SHARED].
42535         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42536         [SHARED && !NO_HIDDEN].
42537         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
42538         [SHARED].
42539         [SHARED && DO_VERSIONING]: Likewise..
42540         * libio/Makefile [$(versioning) = yes]: Change conditionals to
42541         [$(build-shared) = yes].
42542         * manual/install.texi (--disable-versioning): Remove
42543         documentation.
42544         * INSTALL: Regenerated.
42545         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
42546         to [SHARED].
42547         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
42548         [$(build-shared) = yes].
42549         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
42550         * sysdeps/i386/i686/multiarch/strstr-c.c
42551         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42552         [SHARED && !NO_HIDDEN].
42553         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
42554         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
42555         * sysdeps/powerpc/powerpc32/dl-machine.c
42556         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
42557         * sysdeps/powerpc/powerpc32/sysdep.h
42558         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
42559         to [SHARED && PIC && !NO_HIDDEN].
42560         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
42561         conditional to [SHARED].
42563 2013-09-04   Will Newton  <will.newton@linaro.org>
42565         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
42566         * benchtests/bench-string.h: Include bench-timing.h instead
42567         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
42568         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
42569         call to HP_TIMING_DIFF_INIT.
42570         * benchtests/bench-memccpy.c: Use bench-timing.h macros
42571         instead of hp-timing.h macros.
42572         * benchtests/bench-memchr.c: Likewise.
42573         * benchtests/bench-memcmp.c: Likewise.
42574         * benchtests/bench-memcpy.c: Likewise.
42575         * benchtests/bench-memmem.c: Likewise.
42576         * benchtests/bench-memmove.c: Likewise.
42577         * benchtests/bench-memset.c: Likewise.
42578         * benchtests/bench-rawmemchr.c: Likewise.
42579         * benchtests/bench-strcasecmp.c: Likewise.
42580         * benchtests/bench-strcasestr.c: Likewise.
42581         * benchtests/bench-strcat.c: Likewise.
42582         * benchtests/bench-strchr.c: Likewise.
42583         * benchtests/bench-strcmp.c: Likewise.
42584         * benchtests/bench-strcpy.c: Likewise.
42585         * benchtests/bench-strcpy_chk.c: Likewise.
42586         * benchtests/bench-strlen.c: Likewise.
42587         * benchtests/bench-strncasecmp.c: Likewise.
42588         * benchtests/bench-strncat.c: Likewise.
42589         * benchtests/bench-strncmp.c: Likewise.
42590         * benchtests/bench-strncpy.c: Likewise.
42591         * benchtests/bench-strnlen.c: Likewise.
42592         * benchtests/bench-strpbrk.c: Likewise.
42593         * benchtests/bench-strrchr.c: Likewise.
42594         * benchtests/bench-strspn.c: Likewise.
42595         * benchtests/bench-strstr.c: Likewise.
42597 2013-09-04  Will Newton  <will.newton@linaro.org>
42599         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
42601 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
42603         [BZ #15427]
42604         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
42605         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
42606         * math/libm-test.inc (lgamma_test_data): Add more tests.
42607         * sysdeps/i386/fpu/libm-test-ulps: Update.
42608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42610 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
42612         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
42613         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42614         Add ifunc.
42615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42616         Add strcmp-sse2-unaligned
42617         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
42619 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42621         * Versions.def (libc): Add GLIBC_2.19.
42623 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42625         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
42626         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
42628 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
42630         [BZ #14155]
42631         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
42632         intermediate calculations in recurrence.
42633         (__ieee754_ynf): Likewise.
42634         * math/libm-test.inc (jn_test_data): Do not allow spurious
42635         underflow exception.  Add more tests.
42636         (yn_test_data): Add more tests.
42637         * sysdeps/i386/fpu/libm-test-ulps: Update.
42638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42640 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
42642         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
42644 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42646         * csu/init-first.c: Fix then/than typos.
42647         * locale/programs/ld-collate.c: Likewise.
42648         * locale/programs/linereader.h: Likewise.
42649         * manual/charset.texi: Likewise.
42650         * manual/filesys.texi: Likewise.
42651         * manual/stdio.texi: Likewise.
42652         * manual/string.texi: Likewise.
42653         * stdlib/fmtmsg.c: Likewise.
42654         * sysdeps/i386/stpncpy.S: Likewise.
42655         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42656         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42657         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42658         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42660 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42662         * elf/dl-open.c: Fix typos.
42663         * iconvdata/gbbig5.c: Likewise.
42664         * iconvdata/iso-2022-jp.c: Likewise.
42665         * iconv/gconv_int.h: Likewise.
42666         * iconv/loop.c: Likewise.
42667         * nis/rpcsvc/nis.h: Likewise.
42668         * resolv/ns_name.c: Likewise.
42669         * stdio-common/vfscanf.c: Likewise.
42670         * streams/stropts.h: Likewise.
42671         * sunrpc/rpc_thread.c: Likewise.
42672         * sysdeps/i386/strpbrk.S: Likewise.
42673         * sysdeps/ieee754/k_standard.c: Likewise.
42674         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42675         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42676         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
42677         * sysdeps/mach/hurd/profil.c: Likewise.
42678         * sysdeps/s390/dl-procinfo.h: Likewise.
42679         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
42680         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42681         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
42682         * sysdeps/x86_64/dl-trampoline.S: Likewise.
42683         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42685 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
42687         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
42688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
42690 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
42692         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
42693         aix specific files.
42694         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
42695         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
42696         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
42697         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
42698         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
42699         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
42700         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
42701         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
42703 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42704             Roland McGrath  <roland@hack.frob.com>
42706         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
42707         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
42709 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42711         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
42712         __executable_start symbol instead of _start.
42714 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42716         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
42717         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
42718         Move macros to...
42719         * sysdeps/gnu/ldsodefs.h: ... this new file.
42721         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
42722         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
42723         instead of ELFOSABI_LINUX.
42725         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
42726         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
42727         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
42728         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
42729         Likewise.
42730         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
42731         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
42732         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
42733         Likewise.
42734         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42735         (ibm_extended_long_double): Add ieee_nan member.
42736         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
42737         (do_test): New function.
42739         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
42740         TEST_TRUNC.
42741         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
42742         functions, renamed from truncdfsf_test, trunctfsf_test,
42743         trunctfdf_test.
42744         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
42745         functions.
42746         (do_test): Run all these.
42748 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
42750         * argp/argp-help.c: Fix typos.
42751         * argp/argp-parse.c: Likewise.
42752         * debug/backtracesyms.c: Likewise.
42753         * elf/elf.h: Likewise.
42754         * malloc/malloc.c: Likewise.
42755         * nis/nis_print.c: Likewise.
42756         * resolv/res_comp.c: Likewise.
42757         * stdlib/stdlib.h: Likewise.
42758         * sunrpc/clnt_tcp.c: Likewise.
42759         * sunrpc/clnt_udp.c: Likewise.
42760         * sunrpc/clnt_unix.c: Likewise.
42761         * sysdeps/unix/bsd/ptsname.c: Likewise.
42762         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42763         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
42764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
42765         Likewise.
42766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
42767         Likewise.
42768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
42769         Likewise.
42770         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42772 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42774         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
42775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42777 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
42779         [BZ #15897]
42780         * dlfcn/Makefile (tests): Add bug-dl-leaf.
42781         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
42782         ($(objpfx)bug-dl-leaf): New rule.
42783         ($(objpfx)bug-dl-leaf.so): Likewise.
42784         ($(objpfx)bug-dl-leaf.out): Likewise.
42785         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
42786         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
42787         * dlfcn/bug-dl-leaf.c: New test.
42788         * dlfcn/bug-dl-leaf-lib.c: Likewise.
42789         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
42790         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
42791         (dlclose): Likewise.
42792         (dlmopen): Likewise.
42794 2013-08-27  Roland McGrath  <roland@hack.frob.com>
42796         * include/netdb.h [!_ISOMAC]:
42797         Don't include <tls.h>.
42798         (h_errno, __libc_h_errno): Move declaration and macros out of
42799         [_LIBC_REENTRANT].
42801         * include/resolv.h [_RESOLV_H_]:
42802         Don't include <tls.h>.
42803         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
42804         * resolv/res_libc.c: Don't include <tls.h>.
42805         (_res): Use __attribute__ ((nocommon)) in place of
42806         __attribute__ ((section (".bss"))).
42808         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
42809         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
42811         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
42813         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
42814         only under [SIOCGIFCONF && SIOCGIFNETMASK].
42816         * resolv/res_mkquery.c: Include <sys/time.h>.
42818         * inet/ifreq.c: Moved to ...
42819         * sysdeps/unix/ifreq.c: ... here.
42820         * inet/ifreq.c: New file, true stub version.
42822         * socket/sa_len.c: New file.
42823         * socket/Makefile (aux): Add it.
42824         * sysdeps/unix/sysv/linux/Makefile
42825         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
42826         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
42827         and #include <socket/sa_len.c>.
42828         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
42829         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
42831         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
42832         * bits/socket.h: ... here.
42834         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
42835         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
42836         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
42838 2013-08-27  Andreas Schwab  <schwab@suse.de>
42840         [BZ #15736]
42841         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
42842         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
42843         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
42844         * string/test-strcasecmp.c (test_main): Run tests in several
42845         locales.
42846         * string/test-strncasecmp.c (test_main): Likewise.
42848         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
42849         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
42850         to __strcasecmp_nonascii and __strncasecmp_nonascii.
42851         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
42852         (__strncasecmp_ssse3) [PIC]: Likewise.
42854 2013-08-26  Roland McGrath  <roland@hack.frob.com>
42856         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
42858         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
42859         instead of explicitly declaring xdecrypt.
42860         * nis/nss_nis/nis-publickey.c: Likewise.
42862 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42864         [BZ #15890]
42865         * nscd/aicache.c: Include res_hconf.h.
42866         (addhstaiX): Initialize res_hconf.
42868 2013-08-26  Andreas Schwab  <schwab@suse.de>
42870         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
42871         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
42873 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42875         * nscd/aicache.c (addhstaiX): Fix indentation.
42877 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
42879         * configure.ac: Quote $build_pt_chown test.
42880         * configure: Regenerated.
42882 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
42884         [BZ #15532]
42885         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
42886         * math/s_cexpf.c (__cexpf): Likewise.
42887         * math/s_cexpl.c (__cexpl): Likewise.
42888         * math/libm-test.inc (cexp_test_data): Correct expected return
42889         value for NaN + i0.  Add another test.
42891 2013-08-22  David S. Miller  <davem@davemloft.net>
42893         * po/ca.po: Update Catalan translation from translation project.
42894         * po/uk.po: Add Ukrainian translations from translation project.
42896 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
42898         [BZ #15797]
42899         * math/s_fdim.c (__fdim): Check for infinite arguments if result
42900         is infinite, not alongside NaN test.
42901         * math/s_fdimf.c (__fdimf): Likewise.
42902         * math/s_fdiml.c (__fdiml): Likewise.
42903         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
42904         errno is unchanged.
42906 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
42908         * argp/argp-help.c: Fix typos.
42909         * crypt/speeds.c: Likewise.
42910         * csu/check_fds.c: Likewise.
42911         * elf/dl-load.c: Likewise.
42912         * elf/dl-open.c: Likewise.
42913         * elf/reldep3.c: Likewise.
42914         * elf/reldep.c: Likewise.
42915         * elf/sprof.c: Likewise.
42916         * iconv/iconv_charmap.c: Likewise.
42917         * iconv/skeleton.c: Likewise.
42918         * iconv/strtab.c: Likewise.
42919         * io/lockf64.c: Likewise.
42920         * libio/libioP.h: Likewise.
42921         * resolv/gai_notify.c: Likewise.
42922         * resolv/ns_name.c: Likewise.
42923         * resolv/ns_samedomain.c: Likewise.
42924         * resolv/res_send.c: Likewise.
42925         * stdlib/random.c: Likewise.
42926         * sunrpc/rpc/xdr.h: Likewise.
42927         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
42928         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42929         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42930         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42931         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42932         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42933         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42934         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42935         * sysdeps/mach/hurd/check_fds.c: Likewise.
42936         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42937         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42938         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42939         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42940         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42941         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42942         * sysdeps/pthread/aio_notify.c: Likewise.
42943         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
42944         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
42945         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
42946         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42947         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42949 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42951         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
42952         version if bit_Slow_SSE4_2 is set.
42953         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42954         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42956 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42958         [BZ #15867]
42959         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
42960         trampoline stack frame information.
42961         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
42962         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
42963         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
42964         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
42965         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
42966         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42967         (_libc_vdso_platform_setup): Initialize the signal trampolines.
42968         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
42969         sa_flags value.
42970         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
42971         interrupting a syscall and set with option SA_SIGINFO.
42973 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42975         [BZ #15531]
42976         * math/s_cproj.c (__cproj): Only return an infinity if one part of
42977         argument is infinite.
42978         * math/s_cprojf.c (__cprojf): Likewise.
42979         * math/s_cprojl.c (__cprojl): Likewise.
42980         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
42981         * math/libm-test.inc (cproj_test_data): Add more tests.
42983         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
42985         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
42986         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
42987         size.  Use __ffs to determine corresponding shift.
42989 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42990             Roland McGrath  <roland@hack.frob.com>
42992         * Makefile (INSTALL): Remove trailing blank lines from output of
42993         makeinfo.
42995 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42997         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
42998         Align 32 bit compat elf_greg to 8 bytes.
43000 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
43002         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
43004 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43006         * string/strcoll_l.c (coll_seq): New structure.
43007         (get_next_seq_cached): New function.
43008         (get_next_seq): New function.
43009         (do_compare): New function.
43010         (STRCOLL): Use GNU style definition.  Simplify implementation
43011         by using get_next_seq, get_next_seq_cached and do_compare.
43013 2013-08-16  Florian Weimer  <fweimer@redhat.com>
43015         [BZ #14699]
43016         CVE-2013-4237
43017         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
43018         member.
43019         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
43020         member.
43021         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
43022         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
43023         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
43024         conditional.
43025         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
43026         GETDENTS_64BIT_ALIGNED.
43027         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43028         * manual/filesys.texi (Reading/Closing Directory): Document
43029         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
43030         strongly.
43031         * manual/conf.texi (Limits for Files): Add portability note to
43032         NAME_MAX, PATH_MAX.
43033         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
43035 2013-08-13  Andreas Schwab  <schwab@suse.de>
43037         [BZ #15749]
43038         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
43039         of fabs.
43040         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
43041         LDBL_MAX_EXP >= 16384]: Add tests for it.
43043 2013-08-12  David S. Miller  <davem@davemloft.net>
43045         * version.h (RELEASE): Set to "development".
43046         (VERSION): Set to "2.18.90".
43047         * NEWS: Add 2.19 section.
43049 2013-08-03  David S. Miller  <davem@davemloft.net>
43051         * po/ko.po: Update Korean translation from translation project.
43053 2013-08-01  David S. Miller  <davem@davemloft.net>
43055         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
43056         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
43057         Bilka.
43059 2013-07-30  David S. Miller  <davem@davemloft.net>
43061         * po/fr.po: Update French translation from translation project.
43063 2013-07-28  David S. Miller  <davem@davemloft.net>
43065         * po/cs.po: Update Czech translation from translation project.
43067         * po/sv.po: Update Swedish translation from translation project.
43069 2013-07-27  David S. Miller  <davem@davemloft.net>
43071         * po/eo.po: Update Esperanto translation from translation project.
43073         * po/vi.po: Update Vietnamese translation from translation project.
43075         * po/de.po: Update German translation from translation project.
43077 2013-07-26  David S. Miller  <davem@davemloft.net>
43079         * po/bg.po: Update Bulgarian translation from translation project.
43081         * po/nl.po: Update Dutch translation from translation project.
43082         * po/pl.po: Update Polish translation from translation project.
43083         * po/ru.po: Update Russian translation from translation project.
43085 2013-07-24  David S. Miller  <davem@davemloft.net>
43087         * po/libc.pot: Update.
43089 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43091         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
43092         variable page size.
43093         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
43094         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43095         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
43097 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43099         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
43101 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43102             Andreas Schwab  <schwab@suse.de>
43103             Roland McGrath  <roland@hack.frob.com>
43104             Joseph Myers  <joseph@codesourcery.com>
43105             Carlos O'Donell  <carlos@redhat.com>
43107         [BZ #15755]
43108         * config.h.in: Define HAVE_PT_CHOWN.
43109         * config.make.in (build-pt-chown): New variable.
43110         * configure.in (--enable-pt_chown): New configure option.
43111         * configure: Regenerate.
43112         * login/Makefile: Include Makeconfig.  Build pt_chown only if
43113         build-pt-chown is enabled.
43114         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
43115         pt_chown to fix pty ownership.
43116         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
43117         CLOSE_ALL_FDS.
43118         * manual/install.texi (Configuring and compiling): Mention
43119         --enable-pt_chown. Add @findex for grantpt.
43120         * INSTALL: Regenerate.
43122 2013-07-20  David S. Miller  <davem@davemloft.net>
43124         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43125         difference between 32-bit and 64-bit.
43127 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43129         [BZ #15711]
43130         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43131         Avoid system header dependency with -ffreestanding.
43132         ($(objpfx)bits/syscall%d): Likewise.
43134 2013-07-13  David S. Miller  <davem@davemloft.net>
43136         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43137         underflows from atanl/atan2l due to bug 15319.
43138         (casinh_test_data): Likewise.
43140 2013-07-07  David S. Miller  <davem@davemloft.net>
43142         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43144 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43146         * sysdeps/i386/fpu/libm-test-ulps: Update.
43147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43149 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43151         * configure.in (--enable-lock-elision): Fix message text.
43152         * INSTALL: Regenerate.
43153         * configure: Regenerate.
43155 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43159 2013-07-03  Andreas Jaeger  <aj@suse.de>
43161         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43162         define.
43163         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43164         (ptrace_peeksiginfo_args): Add.
43165         (__ptrace_peeksiginfo_flags): Add.
43166         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43167         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43168         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43170 2013-07-03  Allan McRae  <allan@archlinux.org>
43172         * sysdeps/i386/fpu/libm-test-ulps: Update.
43174 2013-07-02  David S. Miller  <davem@davemloft.net>
43176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43178 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43182 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43184         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43187 2013-07-02  Andi Kleen <ak@linux.intel.com>
43189         * config.h.in (ENABLE_LOCK_ELISION): Add.
43190         * configure.in (--enable-lock-elision): Add option.
43191         * manual/install.texi: Document --enable lock elision.
43192         * configure: Regenerate
43193         * INSTALL: Regenerate.
43195 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43197         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43198         SSE4.2 strcasecmp for libc.a.
43199         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43201 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43203         [BZ #13304]
43204         * soft-fp/op-common.h (_FP_FMA): New macro.
43205         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43206         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43207         (_FP_MUL_MEAT_1_imm): ... here.
43208         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43209         (_FP_MUL_MEAT_1_wide): ... here.
43210         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43211         (_FP_MUL_MEAT_1_hard): ... here.
43212         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43213         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43214         (_FP_MUL_MEAT_2_wide): ... here.
43215         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43216         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43217         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43218         (_FP_MUL_MEAT_2_gmp): ... here.
43219         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43220         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43221         (_FP_MUL_MEAT_4_wide): ... here.
43222         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43223         (_FP_MUL_MEAT_4_gmp): ... here.
43224         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43225         (_FP_WFRACBITS_DW_S): Likewise.
43226         (_FP_WFRACXBITS_DW_S): Likewise.
43227         (_FP_HIGHBIT_DW_S): Likewise.
43228         (FP_FMA_S): Likewise.
43229         (_FP_FRAC_HIGH_DW_S): Likewise.
43230         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43231         (_FP_WFRACBITS_DW_D): Likewise.
43232         (_FP_WFRACXBITS_DW_D): Likewise.
43233         (_FP_HIGHBIT_DW_D): Likewise.
43234         (FP_FMA_D): Likewise.
43235         (_FP_FRAC_HIGH_DW_D): Likewise.
43236         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43237         (_FP_WFRACBITS_DW_E): Likewise.
43238         (_FP_WFRACXBITS_DW_E): Likewise.
43239         (_FP_HIGHBIT_DW_E): Likewise.
43240         (FP_FMA_E): Likewise.
43241         (_FP_FRAC_HIGH_DW_E): Likewise.
43242         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43243         (_FP_WFRACBITS_DW_Q): Likewise.
43244         (_FP_WFRACXBITS_DW_Q): Likewise.
43245         (_FP_HIGHBIT_DW_Q): Likewise.
43246         (FP_FMA_Q): Likewise.
43247         (_FP_FRAC_HIGH_DW_Q): Likewise.
43248         * soft-fp/fmasf4.c: New file.
43249         * soft-fp/fmadf4.c: Likewise.
43250         * soft-fp/fmatf4.c: Likewise.
43252 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43255         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43256         Silvermont.
43257         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43258         macro.
43259         (index_Slow_SSE4_2): Likewise.
43260         (index_Prefer_PMINUB_for_stringop): Likewise.
43261         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43262         bit_Slow_SSE4_2 is set.
43263         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43264         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43266 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43268         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43269         rtld_global._dl_hwcap2.
43270         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43271         POWER8.
43272         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43273         POWER8 feature descriptions defined in _dl_hwcap2.
43274         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43275         string handling for POWER8 feature bits.
43276         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43277         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43278         _dl_powerpc_cap_flags.
43279         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43280         * sysdeps/powerpc/rtld-global-offsets.sym
43281         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43282         _dl_hwcap2 in the rtld_global_ro structure.
43284 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43286         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43287         hardware capabilities in support of AT_HWCAP2.
43288         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43289         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43290         GLRO(dl_hwcap2).
43291         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43292         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43293         explicitly the unknown a_type display mechanism is used.
43294         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43295         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43296         struct member.
43297         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43298         to macro prototype for AT_HWCAP2 support.
43299         * sysdeps/i386/dl-procinfo.h: Likewise.
43300         * sysdeps/s390/dl-procinfo.h: Likewise.
43301         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43302         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43303         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43304         return -1 for unknown a_type display fallback.
43305         * sysdeps/sparc/dl-procinfo.h: Likewise.
43306         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43307         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43309 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43311         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43312         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43314 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43316         [BZ #12492]
43317         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43318         mprotect making __stack_prot writable.
43320 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43321             Joseph Myers  <joseph@codesourcery.com>
43323         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43324         as being properly aligned.
43326 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43328         * dlfcn/modstatic5.c: New file.
43329         * dlfcn/tststatic5.c: New file.
43330         * dlfcn/Makefile (tests): Add tststatic5.
43331         (tests-static): Likewise.
43332         (modules-names): Add modstatic5.
43333         (tststatic5-ENV): New variable.
43334         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43336         [BZ #15022]
43337         * elf/dl-support.c (_dl_main_map): New variable.
43338         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43339         (_dl_nns, _dl_load_adds): Set to 1.
43340         (_dl_initial_searchlist): Refer to _dl_main_map.
43341         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43342         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43343         call to _dl_get_origin.
43344         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43345         around call_map.
43346         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43347         * dlfcn/modstatic3.c: New file.
43348         * dlfcn/tststatic3.c: New file.
43349         * dlfcn/tststatic4.c: New file.
43350         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43351         (tests-static): Likewise.
43352         (modules-names): Add modstatic3.
43353         (tststatic3-ENV, tststatic4-ENV): New variables.
43354         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43355         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43357 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43359         * configure.in (CC): Require GCC version 4.4 or later.
43360         * configure: Regenerated.
43361         * manual/install.texi (Tools for Compilation): Update GCC version
43362         requirement.
43363         * INSTALL: Regenerated.
43365 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43367         [BZ #15674]
43368         * string/test-memcmp.c (check2): New.
43369         (main): Call check2.
43371         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43373 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43375         [BZ #15022]
43376         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43377         over to...
43378         (dl_open_worker) [!SHARED]: ... here.
43380 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43382         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43384 2013-06-25  Richard Henderson  <rth@redhat.com>
43386         * locale/programs/locarchive.c: Include <libc-internal.h>
43388 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43390         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43391         trailing whitespace removed.
43393 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43395         [BZ #10283]
43396         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43397         * locale/programs/locarchive.c: Include libc-mmap.h.
43398         (prepare_address_space): Take two new outputs (the mmap base and len).
43399         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43400         values.
43401         (create_archive): Declare new mmap base and len values for
43402         prepare_address_space, and store the result in ah.
43403         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43404         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43405         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43406         Declare new mmap base and len values for
43407         prepare_address_space, and store the result in new_ah.
43408         (open_archive): Declare new mmap base and len values for
43409         prepare_address_space, and store the result in ah.
43410         (close_archive): If ah->mmap_base is not NULL, use that and
43411         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43412         * sysdeps/generic/libc-mmap.h: New file.
43414 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43416         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43417         (ALIGN_UP): Likewise.
43418         (PTR_ALIGN_DOWN): Likewise.
43419         (PTR_ALIGN_UP): Likewise.
43421 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43423         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43424         entry mapped to PPC_PLATFORM_POWER8.
43425         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43426         POWER8.
43427         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43428         (_dl_string_platform): Add case for exporting platform position for
43429         POWER8.
43430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43431         search path to sysdeps/powerpc/powerpc32/power8 directory.
43432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43433         search path to sysdeps/powerpc/powerpc64/power8 directory.
43434         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43435         power7 directories.
43436         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43437         power7 directories.
43439 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43441         * INSTALL: Regenerate.
43443         * nscd/connections.c (nscd_init): Fix comment.
43445 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43447         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43449         [BZ #15667]
43450         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43451         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43453 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43455         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43456         DL_DST_REQ_STATIC.
43457         (DL_DST_REQ_STATIC): Remove macro.
43459 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43461         [BZ #7006]
43462         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43463         with a shift of 0 bits.
43465 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43467         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43468         $(tststatic-ENV).
43470 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43472         [BZ #15655]
43473         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43475 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43477         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43478         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43479         accepts -fno-tree-loop-distribute-patterns.
43480         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43481         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43482         recursive call.
43483         * string/memset.c (memset): Likewise.
43484         * string/test-memmove.c (simple_memmove): Disable loop transformation
43485         to library calls.
43486         * string/test-memset.c (simple_memset): Likewise.
43487         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43488         * benchtests/bench-memset.c (simple_memset): Likewise.
43489         * configure: Regenerated.
43491 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
43493         * math/test-misc.c (main): Ignore fesetround failure when failures
43494         of subsequent rounding tests would be ignored.
43496         [BZ #15654]
43497         * math/fedisblxcpt.c (fedisableexcept): Return 0.
43498         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
43499         * math/fegetenv.c (__fegetenv): Return 0.
43500         * math/fegetexcept.c (fegetexcept): Return 0.
43501         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
43502         FE_TONEAREST.
43503         * math/feholdexcpt.c (feholdexcept): Return 0.
43504         * math/fesetenv.c (__fesetenv): Return 0.
43505         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
43506         argument FE_TONEAREST.
43507         * math/feupdateenv.c (__feupdateenv): Return 0.
43508         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43510 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43512         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43513         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43514         ($(objpfx)rtld-%.os rules): Use them.
43516 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43518         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43519         fields.
43521 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43523         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43524         length of target pattern, then descending length of dependency pattern.
43525         * configure.in (AWK): Require gawk 3.1.2 or newer.
43526         * manual/install.texi (Tools for Compilation): Say that we do.
43527         * configure: Regenerated.
43529         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
43530         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
43531         * scripts/sysd-rules.awk: ... this new script.
43532         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
43533         than a glob-style pattern.
43535 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
43537         * math/test-misc.c (main): Do not treat incorrectly rounded
43538         conversions as failure unless ROUNDING_TESTS passes.
43540 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
43542         [BZ #15631]
43543         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
43544         restore exception state around main square root computation, then
43545         check for inexactness explicitly.
43547         * math/libm-test.inc (fma_test_data): Add another test.
43549 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43551         * manual/threads.texi (Non-POSIX Extensions): New document
43552         node.  Document pthread_getattr_default_np and
43553         pthread_setattr_default_np.
43555         * Versions.def (libpthread): Add GLIBC_2.18.
43556         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
43557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43558         Likewise.
43559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43560         Likewise.
43561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43562         Likewise.
43563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43564         Likewise.
43565         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
43566         Likewise.
43567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43568         Likewise.
43569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43570         Likewise.
43571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43572         Likewise.
43573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43574         Likewise.
43576 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43579         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
43581 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43582             H.J. Lu  <hjl.tools@gmail.com>
43584         [BZ #15627]
43585         * sysdeps/x86_64/rtld-memset.c: Remove file.
43586         * sysdeps/x86_64/rtld-memset.S: New file.
43588 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
43590         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
43591         (test_in_one_mode): Take arguments for whether the rounding mode
43592         is supported for each floating-point type.
43593         (do_test): Pass new arguments to test_in_one_mode using
43594         ROUNDING_TESTS.
43596 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43598         * posix/tst-waitid.c (do_test): Distinguish different instances of
43599         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
43600         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
43601         before entering the kernel for waitpid.
43603 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43605         * NEWS: Fix note on clock function precision.  Text by Roland
43606         McGrath.
43608 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43610         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
43611         it into place only when and if the sanity check passes.
43613 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
43615         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
43616         output for whether conversion result is exact.  Take argument
43617         indicating whether type is IBM long double.
43618         (round_for_all): Change need_exact field to ibm_ld.
43619         * stdlib/tst-strtod-round.c (struct exactness): New type.
43620         (struct test): Change bool ld_ok field to struct exactness exact.
43621         (TEST): Update all definitions for change to field.
43622         (tests): Regenerate array contents.
43623         (test_in_one_mode): Take pointer to new field instead of old ld_ok
43624         field value.  Check for IBM long double here.
43625         (do_test): Update calls to test_in_one_mode.
43627 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43629         [BZ #12515]
43630         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
43631         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
43633 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43635         [BZ #15605]
43636         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
43637         generated by the compiler on loop optimizations.
43638         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
43639         general definitions.
43641 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
43643         * math/bug-nextafter.c: Include <math-tests.h>.
43644         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43645         the relevant type.
43646         * math/bug-nexttoward.c: Include <math-tests.h>.
43647         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43648         the relevant type.
43649         * math/test-misc.c: Include <math-tests.h>.
43650         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43651         the relevant type.
43653 2013-06-12  Andreas Jaeger  <aj@suse.de>
43655         * po/ia.po: Update Interlingua translation from translation
43656         project.
43658 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43660         * include/fenv.h: Include stdbool.h.
43661         (struct rm_ctx): New structure.
43662         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
43663         Define macro.
43664         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
43665         (SET_RESTORE_ROUNDF): Likewise.
43666         (SET_RESTORE_ROUNDL): Likewise.
43667         (SET_RESTORE_ROUND_NOEX): Likewise.
43668         (SET_RESTORE_ROUND_NOEXF): Likewise.
43669         (SET_RESTORE_ROUND_NOEXL): Likewise.
43670         (SET_RESTORE_ROUND_53BIT): Likewise.
43671         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
43672         (libc_feresetround_noexf_ctx): Likewise.
43673         (libc_feresetround_noexl_ctx): Likewise.
43674         (libc_feholdsetround_53bit_ctx): Likewise.
43675         (libc_feresetround_53bit_ctx): Likewise.
43676         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
43677         (libc_feholdexcept_setround_sse_ctx): New function.
43678         (libc_fesetenv_sse_ctx): Likewise.
43679         (libc_feupdateenv_sse_ctx): Likewise.
43680         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
43681         (libc_feholdexcept_setround_387_ctx): Likewise.
43682         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
43683         (libc_feholdsetround_387_prec_ctx): Likewise.
43684         (libc_feholdsetround_387_ctx): Likewise.
43685         (libc_feholdsetround_387_53bit_ctx): Likewise.
43686         (libc_feholdsetround_sse_ctx): Likewise.
43687         (libc_feresetround_sse_ctx): Likewise.
43688         (libc_feresetround_387_ctx): Likewise.
43689         (libc_feupdateenv_387_ctx): Likewise.
43690         (libc_feholdexcept_setroundf_ctx): Define macro.
43691         (libc_fesetenvf_ctx): Likewise.
43692         (libc_feupdateenvf_ctx): Likewise.
43693         (libc_feholdsetroundf_ctx): Likewise.
43694         (libc_feresetroundf_ctx): Likewise.
43695         (libc_feholdexcept_setround_ctx): Likewise.
43696         (libc_fesetenv_ctx): Likewise.
43697         (libc_feupdateenv_ctx): Likewise.
43698         (libc_feholdsetround_ctx): Likewise.
43699         (libc_feresetround_ctx): Likewise.
43700         (libc_feholdexcept_setroundl_ctx): Likewise.
43701         (libc_feupdateenvl_ctx): Likewise.
43702         (libc_feholdsetroundl_ctx): Likewise.
43703         (libc_feresetroundl_ctx): Likewise.
43704         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
43705         (libc_feresetround_53bit_ctx): Likewise.
43707 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43709         * locale/iso-639.def: Convert to UTF-8.
43711 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
43713         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
43714         (EXCEPTION_TESTS_double): Likewise.
43715         (EXCEPTION_TESTS_long_double): Likewise.
43716         (EXCEPTION_TESTS): Likewise.
43717         * math/libm-test.inc (test_exceptions): Only test exceptions if
43718         EXCEPTION_TESTS (FLOAT).
43720 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43722         * benchtests/Makefile (string-bench): Add strcpy_chk and
43723         stpcpy_chk.
43724         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
43725         * benchtests/bench-stpcpy_chk.c: New file.
43726         * benchtests/bench-strcpy_chk-ifunc.c: New file.
43727         * benchtests/bench-strcpy_chk.c: New file.
43728         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
43729         code.
43730         (do_test): Likewise.
43732 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43734         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
43735         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
43736         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
43737         with tabs where appropriate.
43738         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
43739         dl-procinfo.h.
43740         [PPC_PLATFORM_PPC440]: Likewise.
43741         [PPC_PLATFORM_PPC464]: Likewise.
43742         [PPC_PLATFORM_PPC476]: Likewise.
43743         (_dl_string_platform): Add support for detecting ppc405, ppc440,
43744         ppc464, and ppc476 platform strings merging from ports/
43745         dl-procinfo.h.
43747 2013-06-11  Andreas Schwab  <schwab@suse.de>
43749         [BZ #14991]
43750         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
43751         (from_ucs4_idx): Regenerate.
43752         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
43753         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
43754         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
43755         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
43756         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
43757         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
43758         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
43759         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
43760         from FROM_LOOP and TO_LOOP specific macros.
43761         (BODY): Handle combining characters.
43762         * iconvdata/BIG5HKSCS.irreversible: Update.
43763         * iconvdata/BIG5HKSCS.precomposed: New file.
43764         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
43765         characters.
43766         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
43768 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43770         * include/sys/time.h: Fix indentation and add copyright header.
43772         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
43773         (do_test): Likewise.
43774         * string/test-memchr.c (do_one_test): Likewise.
43775         (do_test): Likewise.
43776         * string/test-memcmp.c (do_one_test): Likewise.
43777         (do_test): Likewise.
43778         * string/test-memcpy.c (do_one_test): Likewise.
43779         (do_test): Likewise.
43780         * string/test-memmem.c (do_one_test): Likewise.
43781         (do_test): Likewise.
43782         (do_random_tests): Likewise.
43783         * string/test-memmove.c (do_one_test): Likewise.
43784         (do_test): Likewise.
43785         * string/test-memset.c (do_one_test): Likewise.
43786         (do_test): Likewise.
43787         * string/test-rawmemchr.c (do_one_test): Likewise.
43788         (do_test): Likewise.
43789         * string/test-strcasecmp.c (do_one_test): Likewise.
43790         (do_test): Likewise.
43791         * string/test-strcasestr.c (do_one_test): Likewise.
43792         (do_test): Likewise.
43793         * string/test-strcat.c (do_one_test): Likewise.
43794         (do_test): Likewise.
43795         * string/test-strchr.c (do_one_test): Likewise.
43796         (do_test): Likewise.
43797         * string/test-strcmp.c (do_one_test): Likewise.
43798         (do_test): Likewise.
43799         * string/test-strcpy.c (do_one_test): Likewise.
43800         (do_test): Likewise.
43801         * string/test-string.h: Likewise.
43802         (test_init): Likewise.
43803         * string/test-strlen.c (do_one_test): Likewise.
43804         (do_test): Likewise.
43805         * string/test-strncasecmp.c (do_one_test): Likewise.
43806         (do_test): Likewise.
43807         * string/test-strncat.c (do_one_test): Likewise.
43808         (do_test): Likewise.
43809         * string/test-strncmp.c (do_one_test): Likewise.
43810         (do_test_limit): Likewise.
43811         (do_test): Likewise.
43812         * string/test-strncpy.c (do_one_test): Likewise.
43813         (do_test): Likewise.
43814         * string/test-strnlen.c (do_one_test): Likewise.
43815         (do_test): Likewise.
43816         * string/test-strpbrk.c (do_one_test): Likewise.
43817         (do_test): Likewise.
43818         * string/test-strrchr.c (do_one_test): Likewise.
43819         (do_test): Likewise.
43820         * string/test-strspn.c (do_one_test): Likewise.
43821         (do_test): Likewise.
43822         * string/test-strstr.c (do_one_test): Likewise.
43823         (do_test): Likewise.
43825         * benchtests/Makefile (string-bench): Add string benchmarks.
43826         * benchtests/bench-bcopy-ifunc.c: New file.
43827         * benchtests/bench-bcopy.c: New file.
43828         * benchtests/bench-bzero-ifunc.c: New file.
43829         * benchtests/bench-bzero.c: New file.
43830         * benchtests/bench-memccpy-ifunc.c: New file.
43831         * benchtests/bench-memccpy.c: New file.
43832         * benchtests/bench-memchr-ifunc.c: New file.
43833         * benchtests/bench-memchr.c: New file.
43834         * benchtests/bench-memcmp-ifunc.c: New file.
43835         * benchtests/bench-memcmp.c: New file.
43836         * benchtests/bench-memmem-ifunc.c: New file.
43837         * benchtests/bench-memmem.c: New file.
43838         * benchtests/bench-memmove-ifunc.c: New file.
43839         * benchtests/bench-memmove.c: New file.
43840         * benchtests/bench-mempcpy-ifunc.c: New file.
43841         * benchtests/bench-mempcpy.c: New file.
43842         * benchtests/bench-memset-ifunc.c: New file.
43843         * benchtests/bench-memset.c: New file.
43844         * benchtests/bench-rawmemchr-ifunc.c: New file.
43845         * benchtests/bench-rawmemchr.c: New file.
43846         * benchtests/bench-stpcpy-ifunc.c: New file.
43847         * benchtests/bench-stpcpy.c: New file.
43848         * benchtests/bench-stpncpy-ifunc.c: New file.
43849         * benchtests/bench-stpncpy.c: New file.
43850         * benchtests/bench-strcasecmp-ifunc.c: New file.
43851         * benchtests/bench-strcasecmp.c: New file.
43852         * benchtests/bench-strcasestr-ifunc.c: New file.
43853         * benchtests/bench-strcasestr.c: New file.
43854         * benchtests/bench-strcat-ifunc.c: New file.
43855         * benchtests/bench-strcat.c: New file.
43856         * benchtests/bench-strchr-ifunc.c: New file.
43857         * benchtests/bench-strchr.c: New file.
43858         * benchtests/bench-strchrnul-ifunc.c: New file.
43859         * benchtests/bench-strchrnul.c: New file.
43860         * benchtests/bench-strcmp-ifunc.c: New file.
43861         * benchtests/bench-strcmp.c: New file.
43862         * benchtests/bench-strcpy-ifunc.c: New file.
43863         * benchtests/bench-strcpy.c: New file.
43864         * benchtests/bench-strcspn-ifunc.c: New file.
43865         * benchtests/bench-strcspn.c: New file.
43866         * benchtests/bench-strlen-ifunc.c: New file.
43867         * benchtests/bench-strlen.c: New file.
43868         * benchtests/bench-strncasecmp-ifunc.c: New file.
43869         * benchtests/bench-strncasecmp.c: New file.
43870         * benchtests/bench-strncat-ifunc.c: New file.
43871         * benchtests/bench-strncat.c: New file.
43872         * benchtests/bench-strncmp-ifunc.c: New file.
43873         * benchtests/bench-strncmp.c: New file.
43874         * benchtests/bench-strncpy-ifunc.c: New file.
43875         * benchtests/bench-strncpy.c: New file.
43876         * benchtests/bench-strnlen-ifunc.c: New file.
43877         * benchtests/bench-strnlen.c: New file.
43878         * benchtests/bench-strpbrk-ifunc.c: New file.
43879         * benchtests/bench-strpbrk.c: New file.
43880         * benchtests/bench-strrchr-ifunc.c: New file.
43881         * benchtests/bench-strrchr.c: New file.
43882         * benchtests/bench-strspn-ifunc.c: New file.
43883         * benchtests/bench-strspn.c: New file.
43884         * benchtests/bench-strstr-ifunc.c: New file.
43885         * benchtests/bench-strstr.c: New file.
43887         * benchtests/Makefile: Disable parallel execution of targets.
43888         (string-bench): Add memcpy.
43889         (benchset): New variable to store a list of benchmark sets.
43890         (bench-func): Renamed from bench.
43891         (bench-set): New target.
43892         (bench): Depend on bench-func and bench-set.
43893         * benchtests/README: Add section on benchmark sets.
43894         * benchtests/bench-memcpy-ifunc.c: New file.
43895         * benchtests/bench-memcpy.c: New file.
43896         * benchtests/bench-string.h: New file.
43898 2013-06-11  Andreas Schwab  <schwab@suse.de>
43900         [BZ #15577]
43901         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
43902         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
43903         values in the triple.
43904         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
43905         terminator in the group key.
43907 2013-06-11  Andreas Jaeger  <aj@suse.de>
43909         * po/zh_TW.po: Update Chinese (traditional) translation from
43910         translation project.
43912 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43914         * include/time.h (__clock_gettime): Add libc_hidden_proto.
43915         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
43916         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
43917         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43918         (clock_getcpuclockid): Likewise.
43919         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
43920         Add weak_alias and libc_hidden_def.
43921         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
43922         * rt/clock_gettime.c (clock_gettime): Rename to
43923         __clock_gettime.  Add weak_alias and libc_hidden_def.
43924         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
43925         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
43926         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
43927         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
43928         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
43929         Likewise.
43930         * rt/clock_settime.c (clock_settime): Rename to
43931         __clock_settime.  Add weak_alias and libc_hidden_def.
43932         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
43934 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
43936         * mach/err_boot.sub: Remove trailing whitespace.
43937         * mach/err_ipc.sub: Likewise.
43938         * mach/err_mach.sub: Likewise.
43940         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
43941         (ROUNDING_TESTS_double): Likewise.
43942         (ROUNDING_TESTS_long_double): Likewise.
43943         (ROUNDING_TESTS): Likewise.
43944         * math/libm-test.inc: Include <math-tests.h>.
43945         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
43946         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43947         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43948         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43950 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43952         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
43953         of assigning.
43955 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
43957         * sysdeps/gnu/errlist.awk: Do not generate space at end of
43958         otherwise empty TRANS lines.
43959         * sysdeps/gnu/errlist.c: Regenerated.
43961         * catgets/gencat.c (error_print): Use (void) in function
43962         definition.
43963         * crypt/crypt_util.c (__init_des): Likewise.
43964         * crypt/speeds.c (Stop): Likewise.
43965         (main): Likewise.
43966         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
43967         * inet/ruserpass.c (token): Likewise.
43968         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
43969         * intl/localealias.c (extend_alias_table): Likewise.
43970         * intl/plural-exp.c (init_germanic_plural): Likewise.
43971         * libio/fcloseall.c (__fcloseall): Likewise.
43972         * libio/genops.c (_IO_flush_all): Likewise.
43973         (_IO_flush_all_linebuffered): Likewise.
43974         (_IO_cleanup): Likewise.
43975         (_IO_iter_begin): Likewise.
43976         (_IO_iter_end): Likewise.
43977         (_IO_list_lock): Likewise.
43978         (_IO_list_unlock): Likewise.
43979         (_IO_list_resetlock): Likewise.
43980         * libio/getchar.c (getchar): Likewise.
43981         * libio/getchar_u.c (getchar_unlocked): Likewise.
43982         * libio/getwchar.c (getwchar): Likewise.
43983         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
43984         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
43985         * login/getpt.c (__getpt): Likewise.
43986         * login/tst-utmp.c (main): Likewise.
43987         * malloc/hooks.c (__malloc_check_init): Likewise.
43988         * malloc/malloc.c (__malloc_stats): Likewise.
43989         * malloc/mtrace.c (tr_break): Likewise.
43990         (mtrace): Likewise.
43991         (muntrace): Likewise.
43992         * misc/fstab.c (endfsent): Likewise.
43993         * misc/getclktck.c (__getclktck): Likewise.
43994         * misc/getdtsz.c (__getdtablesize): Likewise.
43995         * misc/gethostid.c (gethostid): Likewise.
43996         * misc/getpagesize.c (__getpagesize): Likewise.
43997         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
43998         (__get_nprocs): Likewise.
43999         (__get_phys_pages): Likewise.
44000         (__get_avphys_pages): Likewise.
44001         * misc/getttyent.c (getttyent): Likewise.
44002         (setttyent): Likewise.
44003         (endttyent): Likewise.
44004         * misc/getusershell.c (getusershell): Likewise.
44005         (endusershell): Likewise.
44006         (setusershell): Likewise.
44007         (initshells): Likewise.
44008         * misc/hsearch.c (__hdestroy): Likewise.
44009         * misc/sync.c (sync): Likewise.
44010         * misc/syslog.c (closelog_internal): Likewise.
44011         (closelog): Likewise.
44012         * misc/ttyslot.c (ttyslot): Likewise.
44013         * misc/vhangup.c (vhangup): Likewise.
44014         * posix/fork.c (__fork): Likewise.
44015         * posix/getegid.c (__getegid): Likewise.
44016         * posix/geteuid.c (__geteuid): Likewise.
44017         * posix/getgid.c (__getgid): Likewise.
44018         * posix/getpid.c (__getpid): Likewise.
44019         * posix/getppid.c (__getppid): Likewise.
44020         * posix/getuid.c (__getuid): Likewise.
44021         * posix/pause.c (pause): Likewise.
44022         * posix/setpgrp.c (setpgrp): Likewise.
44023         * posix/setsid.c (__setsid): Likewise.
44024         * posix/test-vfork.c (noop): Likewise.
44025         * resolv/gethnamaddr.c (_endhtent): Likewise.
44026         (_gethtent): Likewise.
44027         (ht_endhostent): Likewise.
44028         (gethostent): Likewise.
44029         (dns_service): Likewise.
44030         * stdlib/drand48.c (drand48): Likewise.
44031         * stdlib/lrand48.c (lrand48): Likewise.
44032         * stdlib/mrand48.c (mrand48): Likewise.
44033         * stdlib/rand.c (rand): Likewise.
44034         * stdlib/random.c (__random): Likewise.
44035         * stdlib/setenv.c (clearenv): Likewise.
44036         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
44037         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
44038         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
44039         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
44040         (__get_nprocs): Likewise.
44041         (__get_phys_pages): Likewise.
44042         (__get_avphys_pages): Likewise.
44043         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
44044         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
44045         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
44046         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
44047         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
44048         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
44049         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
44050         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
44051         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
44052         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
44053         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
44054         * sysdeps/mach/hurd/sync.c (sync): Likewise.
44055         * sysdeps/posix/clock.c (clock): Likewise.
44056         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
44057         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
44058         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
44059         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
44060         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
44061         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
44062         (__get_nprocs_conf): Likewise.
44063         (__get_phys_pages): Likewise.
44064         (__get_avphys_pages): Likewise.
44065         * time/clock.c (clock): Likewise.
44066         * time/tzset.c (__tzname_max): Likewise.
44068 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
44070         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
44071         (__bswap_32): Do not use "register".
44072         * crypt/crypt.c (_ufc_doit_r): Likewise.
44073         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44074         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44075         * gmon/gmon.c (__monstartup): Likewise.
44076         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
44077         * hurd/hurdmalloc.c (more_memory): Likewise.
44078         (malloc): Likewise.
44079         (free): Likewise.
44080         (realloc): Likewise.
44081         (malloc_fork_prepare): Likewise.
44082         (malloc_fork_parent): Likewise.
44083         (malloc_fork_child): Likewise.
44084         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
44085         (_svcauth_des): Likewise.
44086         * inet/inet_lnaof.c (inet_lnaof): Likewise.
44087         * inet/inet_net.c (inet_network): Likewise.
44088         * inet/inet_netof.c (inet_netof): Likewise.
44089         * inet/rcmd.c (__validuser2_sa): Likewise.
44090         * io/fts.c (fts_open): Likewise.
44091         (fts_load): Likewise.
44092         (fts_close): Likewise.
44093         (fts_read): Likewise.
44094         (fts_children): Likewise.
44095         (fts_build): Likewise.
44096         (fts_stat): Likewise.
44097         (fts_sort): Likewise.
44098         (fts_alloc): Likewise.
44099         (fts_lfree): Likewise.
44100         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
44101         (_IO_file_xsgetn): Likewise.
44102         (_IO_file_xsgetn_mmap): Likewise.
44103         * libio/iofopncook.c (_IO_cookie_read): Likewise.
44104         (_IO_cookie_write): Likewise.
44105         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
44106         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
44107         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
44108         * malloc/obstack.c (_obstack_begin): Likewise.
44109         (_obstack_begin_1): Likewise.
44110         (_obstack_newchunk): Likewise.
44111         (_obstack_allocated_p): Likewise.
44112         (obstack_free): Likewise.
44113         (_obstack_memory_used): Likewise.
44114         * misc/getttyent.c (getttynam): Likewise.
44115         (getttyent): Likewise.
44116         (skip): Likewise.
44117         (value): Likewise.
44118         * misc/getusershell.c (initshells): Likewise.
44119         * misc/syslog.c (__vsyslog_chk): Likewise.
44120         * misc/ttyslot.c (ttyslot): Likewise.
44121         * nis/nis_hash.c (__nis_hash): Likewise.
44122         * posix/fnmatch_loop.c (FCT): Likewise.
44123         * posix/getconf.c (print_all): Likewise.
44124         (main): Likewise.
44125         * posix/getopt.c (exchange): Likewise.
44126         * posix/glob.c (globfree): Likewise.
44127         (prefix_array): Likewise.
44128         (__glob_pattern_type): Likewise.
44129         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44130         (NS_GET32): Likewise.
44131         (NS_PUT16): Likewise.
44132         (NS_PUT32): Likewise.
44133         * resolv/gethnamaddr.c (getanswer): Likewise.
44134         (gethostbyname2): Likewise.
44135         (gethostbyaddr): Likewise.
44136         (_gethtent): Likewise.
44137         (_gethtbyname2): Likewise.
44138         (_gethtbyaddr): Likewise.
44139         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44140         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44141         * resolv/res_init.c (__res_vinit): Likewise.
44142         (net_mask): Likewise.
44143         * resolv/res_mkquery.c (outchar): Likewise.
44144         (PRINT): Likewise.
44145         * stdio-common/printf_fp.c (outchar): Likewise.
44146         (PRINT): Likewise.
44147         * stdio-common/printf_fphex.c (outchar): Likewise.
44148         (PRINT): Likewise.
44149         * stdio-common/printf_size.c (outchar): Likewise.
44150         (PRINT): Likewise.
44151         * stdio-common/test_rdwr.c (main): Likewise.
44152         * stdio-common/tfformat.c (matches): Likewise.
44153         * stdio-common/vfprintf.c (outchar): Likewise.
44154         (printf_unknown): Likewise.
44155         (buffered_vfprintf): Likewise.
44156         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44157         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44158         (ReadFile): Likewise.
44159         * stdlib/qsort.c (SWAP): Likewise.
44160         (_quicksort): Likewise.
44161         * stdlib/setenv.c (__add_to_environ): Likewise.
44162         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44163         * stdlib/strtol_l.c (__strtol_l): Likewise.
44164         * stdlib/tst-strtod.c (main): Likewise.
44165         * stdlib/tst-strtol.c (main): Likewise.
44166         * stdlib/tst-strtoll.c (main): Likewise.
44167         * string/bits/string2.h (__strcmp_cc): Likewise.
44168         (__strcmp_cg): Likewise.
44169         (__strcspn_c1): Likewise.
44170         (__strcspn_c2): Likewise.
44171         (__strcspn_c3): Likewise.
44172         (__strspn_c1): Likewise.
44173         (__strspn_c2): Likewise.
44174         (__strspn_c3): Likewise.
44175         (__strsep_1c): Likewise.
44176         (__strsep_2c): Likewise.
44177         (__strsep_3c): Likewise.
44178         * string/memccpy.c (__memccpy): Likewise.
44179         * string/stpcpy.c (__stpcpy): Likewise.
44180         * string/strcmp.c (strcmp): Likewise.
44181         * string/strrchr.c (strrchr): Likewise.
44182         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44183         Likewise.
44184         * sysdeps/mach/hurd/getcwd.c
44185         (_hurd_canonicalize_directory_name_internal): Likewise.
44186         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44187         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44188         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44189         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44190         Likewise, in both definitions.
44191         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44192         definitions.
44193         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44194         64] (__bswap_64): Likewise.
44195         * time/test_time.c (main): Likewise.
44196         * time/tzfile.c (__tzfile_read): Likewise.
44197         (__tzfile_compute): Likewise.
44198         * time/tzset.c (__tzset_parse_tz): Likewise.
44199         (tzset_internal): Likewise.
44200         (compute_change): Likewise.
44201         * wcsmbs/wcscat.c (__wcscat): Likewise.
44202         * wcsmbs/wcschr.c (wcschr): Likewise.
44203         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44204         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44205         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44206         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44207         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44208         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44209         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44210         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44211         * wcsmbs/wmemset.c (wmemset): Likewise.
44213 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44215         * scripts/config.guess: Update to version 2013-05-16.
44216         * scripts/config.sub: Update to version 2013-04-24.
44217         * scripts/install-sh: Update to version 2011-11-20.07.
44218         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44219         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44221 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44223         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44224         * elf/sln.c: Likewise.
44225         * hurd/hurd/ioctl.h: Likewise.
44226         * hurd/hurdmalloc.c: Likewise.
44227         * hurd/xattr.c: Likewise.
44228         * include/shlib-compat.h: Likewise.
44229         * inet/ruserpass.c: Likewise.
44230         * libio/iofgets_u.c: Likewise.
44231         * libio/iofgetws_u.c: Likewise.
44232         * locale/programs/ld-identification.c: Likewise.
44233         * locale/programs/ld-time.c: Likewise.
44234         * mach/msg-destroy.c: Likewise.
44235         * nss/nss_files/files-netgrp.c: Likewise.
44236         * resolv/res_data.c: Likewise.
44237         * soft-fp/op-1.h: Likewise.
44238         * soft-fp/op-2.h: Likewise.
44239         * soft-fp/op-4.h: Likewise.
44240         * soft-fp/op-common.h: Likewise.
44241         * stdio-common/printf_fphex.c: Likewise.
44242         * stdlib/strtod_l.c: Likewise.
44243         * sunrpc/rpc/clnt.h: Likewise.
44244         * sysdeps/generic/framestate.c: Likewise.
44245         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44246         * sysdeps/i386/bsd-setjmp.S: Likewise.
44247         * sysdeps/i386/__longjmp.S: Likewise.
44248         * sysdeps/i386/setjmp.S: Likewise.
44249         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44250         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44251         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44252         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44253         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44254         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44255         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44256         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44257         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44258         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44259         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44260         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44261         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44262         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44263         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44264         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44265         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44266         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44267         * sysdeps/ieee754/support.c: Likewise.
44268         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44269         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44270         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44271         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44272         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44273         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44274         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44275         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44276         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44277         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44278         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44279         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44280         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44281         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44282         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44283         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44284         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44287 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44289         * posix/transbug.c: Remove executable mode.
44291 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44293         * crypt/speeds.c: Remove trailing whitespace.
44294         * dlfcn/default.c: Likewise.
44295         * elf/ifuncdep2.c: Likewise.
44296         * elf/ifuncmain1.c: Likewise.
44297         * elf/ifuncmain1vis.c: Likewise.
44298         * elf/testobj.h: Likewise.
44299         * elf/tst-stackguard1.c: Likewise.
44300         * gmon/sys/gmon.h: Likewise.
44301         * hurd/hurdmsg.c: Likewise.
44302         * hurd/new-fd.c: Likewise.
44303         * hurd/ports-get.c: Likewise.
44304         * iconvdata/ibm1008_420.c: Likewise.
44305         * inet/tst-getni1.c: Likewise.
44306         * inet/tst-getni2.c: Likewise.
44307         * libio/ioungetc.c: Likewise.
44308         * libio/wfiledoalloc.c: Likewise.
44309         * manual/libm-err-tab.pl: Likewise.
44310         * math/w_dremf.c: Likewise.
44311         * misc/ftruncate.c: Likewise.
44312         * posix/bug-glob2.c: Likewise.
44313         * posix/tst-pcre.c: Likewise.
44314         * posix/wait4.c: Likewise.
44315         * resolv/README: Likewise.
44316         * resolv/res_debug.h: Likewise.
44317         * resolv/tst-inet_ntop.c: Likewise.
44318         * setjmp/bug269-setjmp.c: Likewise.
44319         * soft-fp/extended.h: Likewise.
44320         * soft-fp/op-1.h: Likewise.
44321         * soft-fp/op-2.h: Likewise.
44322         * soft-fp/op-4.h: Likewise.
44323         * soft-fp/op-8.h: Likewise.
44324         * soft-fp/testit.c: Likewise.
44325         * stdio-common/bug16.c: Likewise.
44326         * stdlib/random.c: Likewise.
44327         * sunrpc/rpcsvc/rquota.x: Likewise.
44328         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44329         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44330         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44331         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44332         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44333         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44334         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44335         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44336         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44337         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44338         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44339         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44340         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44341         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44342         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44343         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44344         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44345         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44346         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44347         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44348         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44349         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44350         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44351         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44352         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44353         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44354         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44355         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44356         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44357         * sysdeps/ieee754/s_lib_version.c: Likewise.
44358         * sysdeps/mach/hurd/check_fds.c: Likewise.
44359         * sysdeps/mach/hurd/getsockname.c: Likewise.
44360         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44361         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44362         * sysdeps/powerpc/bits/link.h: Likewise.
44363         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44364         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44365         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44366         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44367         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44368         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44369         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44370         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44371         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44372         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44373         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44374         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44375         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44376         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44377         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44378         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44379         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44380         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44381         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44382         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44383         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44384         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44385         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44386         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44387         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44388         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44389         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44390         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44391         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44392         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44393         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44394         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44395         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44396         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44397         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44398         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44399         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44400         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44401         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44402         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44403         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44404         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44405         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44406         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44407         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44408         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44409         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44410         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44411         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44412         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44413         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44414         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44415         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44416         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44417         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44418         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44419         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44420         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44421         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44422         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44423         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44424         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44425         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44426         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44427         * sysdeps/powerpc/sysdep.h: Likewise.
44428         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44429         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44430         * sysdeps/sh/dl-trampoline.S: Likewise.
44431         * sysdeps/sh/memset.S: Likewise.
44432         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44433         * sysdeps/sh/strlen.S: Likewise.
44434         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44435         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44436         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44437         * sysdeps/sparc/sparc32/rem.S: Likewise.
44438         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44439         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44440         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44441         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44442         * sysdeps/sparc/sparc32/urem.S: Likewise.
44443         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44444         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44445         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44446         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44447         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44448         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44449         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44450         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44451         * sysdeps/unix/bsd/times.c: Likewise.
44452         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44453         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44457         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44458         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44459         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44460         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44461         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44462         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44463         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44464         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44465         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44466         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44467         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44468         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44469         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44470         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44471         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44472         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44473         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44474         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44475         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44476         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44477         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44478         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44479         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44480         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44481         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44482         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44483         * sysdeps/x86_64/strcspn.S: Likewise.
44485 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44487         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44488         generated file.  Regenerate properly from gen-translit.pl.
44489         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44490         locale/C-translit.h.
44492 2013-06-05  Andreas Schwab  <schwab@suse.de>
44494         [BZ #15100]
44495         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
44496         week as 6 instead of -1.
44497         * time/tst-strptime.c (day_tests): Add test case.
44499 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44501         * sysdeps/generic/math_private.h
44502         (libc_feholdexcept_setround_53bit): Replace with
44503         libc_feholdsetround_53bit.
44504         (libc_feupdateenv_53bit): Replace with
44505         libc_feresetround_53bit.
44506         (SET_RESTORE_ROUND_53BIT): Adjust.
44508 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44510         * string/test-strchrnul.c: Add copyright header.
44512         * posix/tst-getaddrinfo4.c: Increase test timeout.
44514 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44516         [BZ #15536]
44517         * math/libm-test.inc (MAX_EXP): Remove
44518         (MIN_EXP): Define.
44519         (ulp): Use MIN_EXP - MANT_DIG.
44520         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44522 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44524         * po/be.po: Revert last change.
44525         * po/zh_CN.po: Likewise.
44526         * po/header.pot: Likewise.
44528 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
44530         * Makefile ($(common-objpfx)linkobj/libc.so): Define
44531         link-libc-deps to empty as target-specific variable.
44532         * Makerules (link-libc-args): New variable.
44533         (libc-for-link): Likewise.
44534         (link-libc-deps): Likewise.
44535         (lib%.so): Depend on $(link-libc-deps).  Link with
44536         $(link-libc-args).
44537         (build-module): Link with $(link-libc-args).
44538         (build-module-asneeded): Likewise.
44539         (build-module-helper-objlist): Filter out $(link-libc-deps) from
44540         list of objects.
44541         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
44542         target-specific variable.
44543         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
44544         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
44545         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
44546         libc.
44547         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
44548         libc and ld.so.
44549         ($(objpfx)libpcprofile.so): Likewise.
44550         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
44551         libc_nonshared.a.
44552         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
44553         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
44554         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
44555         $(link-libc-deps).
44556         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
44557         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
44558         * login/Makefile ($(objpfx)libutil.so): Likewise.
44559         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
44560         * math/Makefile ($(objpfx)libm.so): Likewise.
44561         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
44562         $(objpfx)libnsl.so): Define libc-for-link as target-specific
44563         variable instead of depending directly on libc.
44564         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
44565         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
44566         $(link-libc-deps).
44567         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
44568         libc.
44569         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
44570         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
44571         ($(objpfx)libanl.so): Likewise.
44572         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
44573         ld.so.
44574         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
44575         $(link-libc-deps).
44576         * sysdeps/i386/fpu/Makefile: Remove file.
44577         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
44578         ($(objpfx)libm.so): Remove dependency on ld.so.
44580 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
44582         [BZ # 15553]
44583         * nis/yp_xdr.c (XDRMAXNAME): Define.
44584         (XDRMAXRECORD): Define.
44585         (xdr_domainname): Use XDRMAXNAME.
44586         (xdr_mapname): Likewise.
44587         (xdr_peername): Likewise.
44588         (xdr_keydat): Use XDRMAXRECORD.
44589         (xdr_valdat): Likewise.
44591 2013-05-30  Jeff Law  <law@redhat.com>
44593         [BZ #14256]
44594         * manual/errno.texi (ESTALE): Update to account for more than
44595         just NFS file systems.
44596         * sysdeps/gnu/errlist.c: Regenerated.
44598 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44600         [BZ #15465]
44601         * elf/Makefile (tests): Add tst-null-argv.
44602         (modules-names):  Add tst-null-argv-lib.
44603         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
44604         (tst-null-argv-ENV): Set environment for tst-null-argv.
44605         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
44606         (RTLD_PROGNAME): New macro.
44607         * elf/tst-null-argv.c: New test case.
44608         * elf/tst-null-argv-lib.c: Library for test case.
44609         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
44610         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
44611         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
44612         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
44613         * elf/dl-init.c (call_init): Likewise.
44614         (_dl_init): Likewise.
44615         * elf/dl-load.c (print_search_path): Likewise.
44616         (_dl_map_object): Likewise.
44617         * elf/dl-lookup.c (do_lookup_x): Likewise.
44618         (add_dependency): Likewise.
44619         (_dl_lookup_symbol_x): Likewise.
44620         (_dl_debug_bindings): Likewise.
44621         * elf/dl-open.c (_dl_show_scope): Likewise.
44622         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44623         * elf/dl-version.c (match_symbol): Likewise.
44624         (_dl_check_map_versions): Likewise.
44625         * elf/rtld.c (dl_main): Likewise.
44626         (print_unresolved): Use RTLD_PROGNAME.
44627         (print_missing_version): Likewise.
44628         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
44629         (elf_machine_rela): Likewise.
44630         * sysdeps/powerpc/powerpc32/dl-machine.c
44631         (__process_machine_rela): Likewise.
44632         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44633         Likewise.
44634         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44635         Likewise.
44636         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44637         Likewise.
44638         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44639         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
44640         Likewise.
44641         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
44642         Likewise.
44643         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44645 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
44647         * po/be.po: Add descriptive title.
44648         * po/zh_CN.po: Likewise.
44649         * po/header.pot: Likewise.
44651 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
44653         * locale/programs/locarchive.c (create_archive): Inlucde fname in
44654         error message.
44655         (enlarge_archive): Likewise.
44657 2013-05-28  Ben North  <ben@redfrontdoor.org>
44659         * manual/arith.texi (frexp): It is the magnitude of the return
44660         value which lies in [0.5, 1), not the return value itself.
44662 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44666 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
44668         * stdio-common/bug26.c (main): Correct fscanf template.
44670         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
44671         declare _dl_skip_args.
44673         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
44674         Don't declare.
44676         * manual/platform.texi: Add missing @end deftypefun.
44678 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44680         [BZ #15529]
44681         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
44682         bit of mantissa of 2^16382.
44683         * math/libm-test.inc (hypot_test_data): Add more tests.
44685         * math/libm-test.inc: Add drem and pow10 to list of tested
44686         functions.
44687         (pow10_test): New function.
44688         (drem_test): Likewise.
44689         (drem_test_tonearest): Likewise.
44690         (drem_test_towardzero): Likewise.
44691         (drem_test_downward): Likewise.
44692         (drem_test_upward): Likewise.
44693         (main): Call the new functions.
44695         * math/libm-test.inc (finite_test_data): Remove.
44696         (finite_test): Run tests from isfinite_test_data.
44697         (gamma_test_data): Remove.
44698         (gamma_test): Run tests from lgamma_test_data.
44699         * sysdeps/i386/fpu/libm-test-ulps: Update.
44700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44702 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44704         * manual/platform.texi: Add PowerPC PPR function set documentation.
44705         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
44706         implementation.
44708 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
44710         * math/libm-test.inc (MAX_EXP): Define.
44711         (ULPDIFF): Define.
44712         (ulp): New function.
44713         (check_float_internal): Use ULPDIFF.
44714         (cpow_test): Disable failing test.
44715         (check_ulp): Test ulp() implemetnation.
44716         (main): Call check_ulp before starting tests.
44718 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44720         * math/gen-libm-test.pl (generate_testfile): Do not handle
44721         START_DATA and END_DATA.
44722         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
44723         END_DATA.
44724         (acos_tonearest_test_data): Likewise.
44725         (acos_towardzero_test_data): Likewise.
44726         (acos_downward_test_data): Likewise.
44727         (acos_upward_test_data): Likewise.
44728         (acosh_test_data): Likewise.
44729         (asin_test_data): Likewise.
44730         (asin_tonearest_test_data): Likewise.
44731         (asin_towardzero_test_data): Likewise.
44732         (asin_downward_test_data): Likewise.
44733         (asin_upward_test_data): Likewise.
44734         (asinh_test_data): Likewise.
44735         (atan_test_data): Likewise.
44736         (atanh_test_data): Likewise.
44737         (atan2_test_data): Likewise.
44738         (cabs_test_data): Likewise.
44739         (cacos_test_data): Likewise.
44740         (cacosh_test_data): Likewise.
44741         (carg_test_data): Likewise.
44742         (casin_test_data): Likewise.
44743         (casinh_test_data): Likewise.
44744         (catan_test_data): Likewise.
44745         (catanh_test_data): Likewise.
44746         (cbrt_test_data): Likewise.
44747         (ccos_test_data): Likewise.
44748         (ccosh_test_data): Likewise.
44749         (ceil_test_data): Likewise.
44750         (cexp_test_data): Likewise.
44751         (cimag_test_data): Likewise.
44752         (clog_test_data): Likewise.
44753         (clog10_test_data): Likewise.
44754         (conj_test_data): Likewise.
44755         (copysign_test_data): Likewise.
44756         (cos_test_data): Likewise.
44757         (cos_tonearest_test_data): Likewise.
44758         (cos_towardzero_test_data): Likewise.
44759         (cos_downward_test_data): Likewise.
44760         (cos_upward_test_data): Likewise.
44761         (cosh_test_data): Likewise.
44762         (cosh_tonearest_test_data): Likewise.
44763         (cosh_towardzero_test_data): Likewise.
44764         (cosh_downward_test_data): Likewise.
44765         (cosh_upward_test_data): Likewise.
44766         (cpow_test_data): Likewise.
44767         (cproj_test_data): Likewise.
44768         (creal_test_data): Likewise.
44769         (csin_test_data): Likewise.
44770         (csinh_test_data): Likewise.
44771         (csqrt_test_data): Likewise.
44772         (ctan_test_data): Likewise.
44773         (ctan_tonearest_test_data): Likewise.
44774         (ctan_towardzero_test_data): Likewise.
44775         (ctan_downward_test_data): Likewise.
44776         (ctan_upward_test_data): Likewise.
44777         (ctanh_test_data): Likewise.
44778         (ctanh_tonearest_test_data): Likewise.
44779         (ctanh_towardzero_test_data): Likewise.
44780         (ctanh_downward_test_data): Likewise.
44781         (ctanh_upward_test_data): Likewise.
44782         (erf_test_data): Likewise.
44783         (erfc_test_data): Likewise.
44784         (exp_test_data): Likewise.
44785         (exp_tonearest_test_data): Likewise.
44786         (exp_towardzero_test_data): Likewise.
44787         (exp_downward_test_data): Likewise.
44788         (exp_upward_test_data): Likewise.
44789         (exp10_test_data): Likewise.
44790         (exp2_test_data): Likewise.
44791         (expm1_test_data): Likewise.
44792         (fabs_test_data): Likewise.
44793         (fdim_test_data): Likewise.
44794         (finite_test_data): Likewise.
44795         (floor_test_data): Likewise.
44796         (fma_test_data): Likewise.
44797         (fma_towardzero_test_data): Likewise.
44798         (fma_downward_test_data): Likewise.
44799         (fma_upward_test_data): Likewise.
44800         (fmax_test_data): Likewise.
44801         (fmin_test_data): Likewise.
44802         (fmod_test_data): Likewise.
44803         (fpclassify_test_data): Likewise.
44804         (frexp_test_data): Likewise.
44805         (gamma_test_data): Likewise.
44806         (hypot_test_data): Likewise.
44807         (ilogb_test_data): Likewise.
44808         (isfinite_test_data): Likewise.
44809         (isgreater_test_data): Likewise.
44810         (isgreaterequal_test_data): Likewise.
44811         (isinf_test_data): Likewise.
44812         (isless_test_data): Likewise.
44813         (islessequal_test_data): Likewise.
44814         (islessgreater_test_data): Likewise.
44815         (isnan_test_data): Likewise.
44816         (isnormal_test_data): Likewise.
44817         (issignaling_test_data): Likewise.
44818         (isunordered_test_data): Likewise.
44819         (j0_test_data): Likewise.
44820         (j1_test_data): Likewise.
44821         (jn_test_data): Likewise.
44822         (ldexp_test_data): Likewise.
44823         (lgamma_test_data): Likewise.
44824         (lrint_test_data): Likewise.
44825         (lrint_tonearest_test_data): Likewise.
44826         (lrint_towardzero_test_data): Likewise.
44827         (lrint_downward_test_data): Likewise.
44828         (lrint_upward_test_data): Likewise.
44829         (llrint_test_data): Likewise.
44830         (llrint_tonearest_test_data): Likewise.
44831         (llrint_towardzero_test_data): Likewise.
44832         (llrint_downward_test_data): Likewise.
44833         (llrint_upward_test_data): Likewise.
44834         (log_test_data): Likewise.
44835         (log10_test_data): Likewise.
44836         (log1p_test_data): Likewise.
44837         (log2_test_data): Likewise.
44838         (logb_test_data): Likewise.
44839         (logb_downward_test_data): Likewise.
44840         (lround_test_data): Likewise.
44841         (llround_test_data): Likewise.
44842         (modf_test_data): Likewise.
44843         (nearbyint_test_data): Likewise.
44844         (nextafter_test_data): Likewise.
44845         (nexttoward_test_data): Likewise.
44846         (pow_test_data): Likewise.
44847         (pow_tonearest_test_data): Likewise.
44848         (pow_towardzero_test_data): Likewise.
44849         (pow_downward_test_data): Likewise.
44850         (pow_upward_test_data): Likewise.
44851         (remainder_test_data): Likewise.
44852         (remainder_tonearest_test_data): Likewise.
44853         (remainder_towardzero_test_data): Likewise.
44854         (remainder_downward_test_data): Likewise.
44855         (remainder_upward_test_data): Likewise.
44856         (remquo_test_data): Likewise.
44857         (rint_test_data): Likewise.
44858         (rint_tonearest_test_data): Likewise.
44859         (rint_towardzero_test_data): Likewise.
44860         (rint_downward_test_data): Likewise.
44861         (rint_upward_test_data): Likewise.
44862         (round_test_data): Likewise.
44863         (scalb_test_data): Likewise.
44864         (scalbn_test_data): Likewise.
44865         (scalbln_test_data): Likewise.
44866         (signbit_test_data): Likewise.
44867         (sin_test_data): Likewise.
44868         (sin_tonearest_test_data): Likewise.
44869         (sin_towardzero_test_data): Likewise.
44870         (sin_downward_test_data): Likewise.
44871         (sin_upward_test_data): Likewise.
44872         (sincos_test_data): Likewise.
44873         (sinh_test_data): Likewise.
44874         (sinh_tonearest_test_data): Likewise.
44875         (sinh_towardzero_test_data): Likewise.
44876         (sinh_downward_test_data): Likewise.
44877         (sinh_upward_test_data): Likewise.
44878         (sqrt_test_data): Likewise.
44879         (tan_test_data): Likewise.
44880         (tan_tonearest_test_data): Likewise.
44881         (tan_towardzero_test_data): Likewise.
44882         (tan_downward_test_data): Likewise.
44883         (tan_upward_test_data): Likewise.
44884         (tanh_test_data): Likewise.
44885         (tgamma_test_data): Likewise.
44886         (trunc_test_data): Likewise.
44887         (y0_test_data): Likewise.
44888         (y1_test_data): Likewise.
44889         (yn_test_data): Likewise.
44890         (significand_test_data): Likewise.
44892         * math/gen-libm-test.pl (@functions): Remove variable.
44893         (generate_testfile): Don't handle START and END lines.
44894         * math/libm-test.inc (START): New macro.
44895         (END): Likewise.
44896         (END_COMPLEX): Likewise.
44897         (acos_test): Use END macro without arguments.
44898         (acos_test_tonearest): Likewise.
44899         (acos_test_towardzero): Likewise.
44900         (acos_test_downward): Likewise.
44901         (acos_test_upward): Likewise.
44902         (acosh_test): Likewise.
44903         (asin_test): Likewise.
44904         (asin_test_tonearest): Likewise.
44905         (asin_test_towardzero): Likewise.
44906         (asin_test_downward): Likewise.
44907         (asin_test_upward): Likewise.
44908         (asinh_test): Likewise.
44909         (atan_test): Likewise.
44910         (atanh_test): Likewise.
44911         (atan2_test): Likewise.
44912         (cabs_test): Likewise.
44913         (cacos_test): Use END_COMPLEX macro without arguments.
44914         (cacosh_test): Likewise.
44915         (carg_test): Use END macro without arguments.
44916         (casin_test): Use END_COMPLEX macro without arguments.
44917         (casinh_test): Likewise.
44918         (catan_test): Likewise.
44919         (catanh_test): Likewise.
44920         (cbrt_test): Use END macro without arguments.
44921         (ccos_test): Use END_COMPLEX macro without arguments.
44922         (ccosh_test): Likewise.
44923         (ceil_test): Use END macro without arguments.
44924         (cexp_test): Use END_COMPLEX macro without arguments.
44925         (cimag_test): Use END macro without arguments.
44926         (clog_test): Use END_COMPLEX macro without arguments.
44927         (clog10_test): Likewise.
44928         (conj_test): Likewise.
44929         (copysign_test): Use END macro without arguments.
44930         (cos_test): Likewise.
44931         (cos_test_tonearest): Likewise.
44932         (cos_test_towardzero): Likewise.
44933         (cos_test_downward): Likewise.
44934         (cos_test_upward): Likewise.
44935         (cosh_test): Likewise.
44936         (cosh_test_tonearest): Likewise.
44937         (cosh_test_towardzero): Likewise.
44938         (cosh_test_downward): Likewise.
44939         (cosh_test_upward): Likewise.
44940         (cpow_test): Use END_COMPLEX macro without arguments.
44941         (cproj_test): Likewise.
44942         (creal_test): Use END macro without arguments.
44943         (csin_test): Use END_COMPLEX macro without arguments.
44944         (csinh_test): Likewise.
44945         (csqrt_test): Likewise.
44946         (ctan_test): Likewise.
44947         (ctan_test_tonearest): Likewise.
44948         (ctan_test_towardzero): Likewise.
44949         (ctan_test_downward): Likewise.
44950         (ctan_test_upward): Likewise.
44951         (ctanh_test): Likewise.
44952         (ctanh_test_tonearest): Likewise.
44953         (ctanh_test_towardzero): Likewise.
44954         (ctanh_test_downward): Likewise.
44955         (ctanh_test_upward): Likewise.
44956         (erf_test): Use END macro without arguments.
44957         (erfc_test): Likewise.
44958         (exp_test): Likewise.
44959         (exp_test_tonearest): Likewise.
44960         (exp_test_towardzero): Likewise.
44961         (exp_test_downward): Likewise.
44962         (exp_test_upward): Likewise.
44963         (exp10_test): Likewise.
44964         (exp2_test): Likewise.
44965         (expm1_test): Likewise.
44966         (fabs_test): Likewise.
44967         (fdim_test): Likewise.
44968         (finite_test): Likewise.
44969         (floor_test): Likewise.
44970         (fma_test): Likewise.
44971         (fma_test_towardzero): Likewise.
44972         (fma_test_downward): Likewise.
44973         (fma_test_upward): Likewise.
44974         (fmax_test): Likewise.
44975         (fmin_test): Likewise.
44976         (fmod_test): Likewise.
44977         (fpclassify_test): Likewise.
44978         (frexp_test): Likewise.
44979         (gamma_test): Likewise.
44980         (hypot_test): Likewise.
44981         (ilogb_test): Likewise.
44982         (isfinite_test): Likewise.
44983         (isgreater_test): Likewise.
44984         (isgreaterequal_test): Likewise.
44985         (isinf_test): Likewise.
44986         (isless_test): Likewise.
44987         (islessequal_test): Likewise.
44988         (islessgreater_test): Likewise.
44989         (isnan_test): Likewise.
44990         (isnormal_test): Likewise.
44991         (issignaling_test): Likewise.
44992         (isunordered_test): Likewise.
44993         (j0_test): Likewise.
44994         (j1_test): Likewise.
44995         (jn_test): Likewise.
44996         (ldexp_test): Likewise.
44997         (lgamma_test): Likewise.
44998         (lrint_test): Likewise.
44999         (lrint_test_tonearest): Likewise.
45000         (lrint_test_towardzero): Likewise.
45001         (lrint_test_downward): Likewise.
45002         (lrint_test_upward): Likewise.
45003         (llrint_test): Likewise.
45004         (llrint_test_tonearest): Likewise.
45005         (llrint_test_towardzero): Likewise.
45006         (llrint_test_downward): Likewise.
45007         (llrint_test_upward): Likewise.
45008         (log_test): Likewise.
45009         (log10_test): Likewise.
45010         (log1p_test): Likewise.
45011         (log2_test): Likewise.
45012         (logb_test): Likewise.
45013         (logb_test_downward): Likewise.
45014         (lround_test): Likewise.
45015         (llround_test): Likewise.
45016         (modf_test): Likewise.
45017         (nearbyint_test): Likewise.
45018         (nextafter_test): Likewise.
45019         (nexttoward_test): Likewise.
45020         (pow_test): Likewise.
45021         (pow_test_tonearest): Likewise.
45022         (pow_test_towardzero): Likewise.
45023         (pow_test_downward): Likewise.
45024         (pow_test_upward): Likewise.
45025         (remainder_test): Likewise.
45026         (remainder_test_tonearest): Likewise.
45027         (remainder_test_towardzero): Likewise.
45028         (remainder_test_downward): Likewise.
45029         (remainder_test_upward): Likewise.
45030         (remquo_test): Likewise.
45031         (rint_test): Likewise.
45032         (rint_test_tonearest): Likewise.
45033         (rint_test_towardzero): Likewise.
45034         (rint_test_downward): Likewise.
45035         (rint_test_upward): Likewise.
45036         (round_test): Likewise.
45037         (scalb_test): Likewise.
45038         (scalbn_test): Likewise.
45039         (scalbln_test): Likewise.
45040         (signbit_test): Likewise.
45041         (sin_test): Likewise.
45042         (sin_test_tonearest): Likewise.
45043         (sin_test_towardzero): Likewise.
45044         (sin_test_downward): Likewise.
45045         (sin_test_upward): Likewise.
45046         (sincos_test): Likewise.
45047         (sinh_test): Likewise.
45048         (sinh_test_tonearest): Likewise.
45049         (sinh_test_towardzero): Likewise.
45050         (sinh_test_downward): Likewise.
45051         (sinh_test_upward): Likewise.
45052         (sqrt_test): Likewise.
45053         (tan_test): Likewise.
45054         (tan_test_tonearest): Likewise.
45055         (tan_test_towardzero): Likewise.
45056         (tan_test_downward): Likewise.
45057         (tan_test_upward): Likewise.
45058         (tanh_test): Likewise.
45059         (tgamma_test): Likewise.
45060         (trunc_test): Likewise.
45061         (y0_test): Likewise.
45062         (y1_test): Likewise.
45063         (yn_test): Likewise.
45064         (significand_test): Likewise.
45066 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
45068         [BZ #15381]
45069         * libio/genops.c (_IO_no_init): Initialize wide struct info.
45071 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45073         [BZ #14894]
45074         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
45075         __ppc_mdoio and __ppc_mdoom.
45076         * manual/platform.texi: Document new functions __ppc_yield,
45077         __ppc_mdoio and __ppc_mdoom.
45079 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
45081         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
45082         (main): Mention "tls" pseudo-hwcap is legacy.
45083         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
45085 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45087         * math/gen-libm-test.pl (parse_args): Output only string of
45088         arguments as text for test name, not full call or descriptions of
45089         tests for extra outputs.
45090         (generate_testfile): Do not pass function name to parse_args.
45091         Generate this_func variable from START.
45092         * math/libm-test.inc (struct test_f_f_data): Rename test_name
45093         field to arg_str.
45094         (struct test_ff_f_data): Likewise.
45095         (test_ff_f_data_nexttoward): Likewise.
45096         (struct test_fi_f_data): Likewise.
45097         (struct test_fl_f_data): Likewise.
45098         (struct test_if_f_data): Likewise.
45099         (struct test_fff_f_data): Likewise.
45100         (struct test_c_f_data): Likewise.
45101         (struct test_f_f1_data): Likewise.  Remove field extra_name.
45102         (struct test_fF_f1_data): Likewise.
45103         (struct test_ffI_f1_data): Likewise.
45104         (struct test_c_c_data): Rename test_name field to arg_str.
45105         (struct test_cc_c_data): Likewise.
45106         (struct test_f_i_data): Likewise.
45107         (struct test_ff_i_data): Likewise.
45108         (struct test_f_l_data): Likewise.
45109         (struct test_f_L_data): Likewise.
45110         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
45111         and extra2_name.
45112         (COMMON_TEST_SETUP): New macro.
45113         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
45114         (COMMON_TEST_CLEANUP): Likewise.
45115         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
45116         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
45117         macros.
45118         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
45119         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
45120         macros.
45121         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
45122         (RUN_TEST_fff_f): Take argument string.  Call new setup and
45123         cleanup macros.
45124         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45125         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45126         macros.
45127         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45128         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45129         macros.
45130         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45131         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45132         cleanup macros.
45133         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45134         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45135         cleanup macros.
45136         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45137         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45138         cleanup macros.
45139         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45140         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45141         macros.
45142         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45143         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45144         macros.
45145         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45146         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45147         macros.
45148         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45149         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45150         cleanup macros.
45151         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45152         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45153         cleanup macros.
45154         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45155         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45156         macros.
45157         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45158         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45159         cleanup macros.
45160         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45161         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45162         macros.
45163         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45164         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45165         macros.
45166         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45167         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45168         cleanup macros.
45169         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45171 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45173         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45174         to _sifields.sigfault.
45175         (si_addr_lsb): Define new macro.
45176         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45177         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45178         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45180 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45182         [BZ #15441]
45183         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45184         returns -1.
45185         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45186         null return -1.
45187         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45188         loading the domain.
45190 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45192         * math/gen-libm-test.pl (parse_args): Do not include expected
45193         result in test name.
45194         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45195         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45196         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45197         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45198         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45201 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45203         * benchtests/Makefile: Sort function entries.
45205         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45206         tanh, asinh, acosh, atanh.
45207         * benchtests/acos-inputs: New file.
45208         * benchtests/acosh-inputs: New file.
45209         * benchtests/asin-inputs: New file.
45210         * benchtests/asinh-inputs: New file.
45211         * benchtests/atanh-inputs: New file.
45212         * benchtests/cosh-inputs: New file.
45213         * benchtests/log-inputs: New file.
45214         * benchtests/sinh-inputs: New file.
45215         * benchtests/tanh-inputs: New file.
45217 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45219         [BZ #15339]
45220         * posix/tst-getaddrinfo4.c: New test.
45221         * posix/Makefile (tests): Add it.
45223 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45225         [BZ #15339]
45226         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45227         when no services were used.
45228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45229         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45231 2013-05-21  Andreas Schwab  <schwab@suse.de>
45233         [BZ #15014]
45234         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45235         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45236         successful.
45237         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45238         redundant variable declarations and reallocation of buffer when
45239         parsing as IPv6 address.  Always set NSS status when called from
45240         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45241         buffer too small.  Correct computation of needed size.
45242         * nss/Makefile (tests): Add test-digits-dots.
45243         * nss/test-digits-dots.c: New test.
45245 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45247         * benchtests/Makefile: Remove instructions for adding
45248         benchmark tests.
45249         * benchtests/README: New file to explain how to execute and
45250         enhance the benchmark tests.
45252 2013-05-21  Andreas Schwab  <schwab@suse.de>
45254         [BZ #15493]
45255         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45256         * setjmp/tst-sigsetjmp.c: New test.
45258 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45260         * sysdeps/x86_64/memset.S (memset): New implementation.
45261         (__bzero): Likewise.
45262         (__memset_tail): New function.
45264 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45266         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45267         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45268         __memcpy_sse2_unaligned ifunc selection.
45269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45270         Add memcpy-sse2-unaligned.S.
45271         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45272         Add: __memcpy_sse2_unaligned.
45274 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45276         [BZ #15490]
45277         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45278         math_force_eval before restoring floating-point envrionment.
45279         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45280         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45281         Likewise.
45282         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45283         <math_private.h>.
45284         (__nearbyintl): Use math_force_eval before restoring
45285         floating-point environment.
45286         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45288         * math/gen-libm-test.pl (special_functions): Remove.
45289         (parse_args): Don't handle TEST_extra.  Handle functions with no
45290         return value.
45291         * math/libm-test.inc (struct test_sincos_data): Replace with
45292         struct test_fFF_11_data.
45293         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45294         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45295         (sincos_test_data): Change element type to struct
45296         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45297         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45298         RUN_TEST_LOOP_sincos.
45299         * math/README.libm-test: Don't mention special handling of
45300         individual functions.
45301         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45302         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45303         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45304         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45305         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45308         * math/gen-libm-test.pl (get_variable): Remove function.
45309         (parse_args): Don't show pointer parameters to call in test
45310         names.  Use "extra output N" in test names for extra outputs
45311         rather than naming variables.
45313 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45315         [BZ #15488]
45316         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45317         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45318         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45319         double tests.
45320         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45321         disable.
45322         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45323         check_long_double.
45325         * math/gen-libm-test.pl (@tests): Remove variable.
45326         ($count): Likewise.
45327         (new_test): Remove function.
45328         (show_exceptions): New function.
45329         (special_functions): Use show_exceptions instead of new_test.
45330         (parse_args): Likewise.
45331         (generate_testfile): Pass only function name in generated call to
45332         print_max_error or print_complex_max_error.
45333         (get_ulps): Do not handle complex tests specially.
45334         (output_test): Rename to ...
45335         (get_all_ulps_for_test): ... this.  Return a string rather than
45336         printing to a file.  Require ulps to be present.
45337         (output_ulps): Generate arrays rather than #defines.
45338         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45339         (struct ulp_data): New type.
45340         (BUILD_COMPLEX_ULP): Remove macro.
45341         (compare_ulp_data): New function.
45342         (find_ulps): Likewise.
45343         (find_test_ulps): Likewise.
45344         (find_function_ulps): Likewise.
45345         (find_complex_function_ulps): Likewise.
45346         (print_max_error): Determine allowed ulps using
45347         find_function_ulps.
45348         (print_complex_max_error): Determine allowed ulps using
45349         find_complex_function_ulps.
45350         (check_float_internal): Determine max ulps using find_test_ulps.
45351         (check_float): Do not take max_ulp parameter.  Update call to
45352         check_float_internal.
45353         (check_complex): Likewise.
45354         (check_int): Do not take max_ulp parameter.
45355         (check_long): Likewise.
45356         (check_bool): Likewise.
45357         (check_longlong): Likewise.
45358         (struct test_f_f_data): Remove max_ulp field.
45359         (struct test_ff_f_data): Likewise.
45360         (struct test_ff_f_data_nexttoward): Likewise.
45361         (struct test_fi_f_data): Likewise.
45362         (struct test_fl_f_data): Likewise.
45363         (struct test_if_f_data): Likewise.
45364         (struct test_fff_f_data): Likewise.
45365         (struct test_c_f_data): Likewise.
45366         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45367         (struct test_fF_f1_data): Likewise.
45368         (struct test_ffI_f1_data): Likewise.
45369         (struct test_c_c_data): Remove max_ulp field.
45370         (struct test_cc_c_data): Likewise.
45371         (struct test_f_i_data): Likewise.
45372         (struct test_ff_i_data): Likewise.
45373         (struct test_f_l_data): Likewise.
45374         (struct test_f_L_data): Likewise.
45375         (struct test_sincos_data): Likewise.
45376         (RUN_TEST_f_f): Do not handle ulps.
45377         (RUN_TEST_LOOP_f_f): Likewise.
45378         (RUN_TEST_2_f): Likewise.
45379         (RUN_TEST_LOOP_2_f): Likewise.
45380         (RUN_TEST_fff_f): Likewise.
45381         (RUN_TEST_LOOP_fff_f): Likewise.
45382         (RUN_TEST_c_f): Likewise.
45383         (RUN_TEST_LOOP_c_f): Likewise.
45384         (RUN_TEST_f_f1): Likewise.
45385         (RUN_TEST_LOOP_f_f1): Likewise.
45386         (RUN_TEST_fF_f1): Likewise.
45387         (RUN_TEST_LOOP_fF_f1): Likewise.
45388         (RUN_TEST_fI_f1): Likewise.
45389         (RUN_TEST_LOOP_fI_f1): Likewise.
45390         (RUN_TEST_ffI_f1): Likewise.
45391         (RUN_TEST_LOOP_ffI_f1): Likewise.
45392         (RUN_TEST_c_c): Likewise.
45393         (RUN_TEST_LOOP_c_c): Likewise.
45394         (RUN_TEST_cc_c): Likewise.
45395         (RUN_TEST_LOOP_cc_c): Likewise.
45396         (RUN_TEST_f_i): Likewise.
45397         (RUN_TEST_LOOP_f_i): Likewise.
45398         (RUN_TEST_f_i_tg): Likewise.
45399         (RUN_TEST_LOOP_f_i_tg): Likewise.
45400         (RUN_TEST_ff_i_tg): Likewise.
45401         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45402         (RUN_TEST_f_b): Likewise.
45403         (RUN_TEST_LOOP_f_b): Likewise.
45404         (RUN_TEST_f_b_tg): Likewise.
45405         (RUN_TEST_LOOP_f_b_tg): Likewise.
45406         (RUN_TEST_f_l): Likewise.
45407         (RUN_TEST_LOOP_f_l): Likewise.
45408         (RUN_TEST_f_L): Likewise.
45409         (RUN_TEST_LOOP_f_L): Likewise.
45410         (RUN_TEST_sincos): Likewise.
45411         (RUN_TEST_LOOP_sincos): Likewise.
45413 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45415         [BZ #15480]
45416         [BZ #15485]
45417         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45418         main case of finite arguments, set rounding mode to FE_TONEAREST
45419         and discard exceptions.
45420         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45421         exceptions.
45422         (remainder_tonearest_test_data): New variable.
45423         (remainder_test_tonearest): New function.
45424         (remainder_towardzero_test_data): New variable.
45425         (remainder_test_towardzero): New function.
45426         (remainder_downward_test_data): New variable.
45427         (remainder_test_downward): New function.
45428         (remainder_upward_test_data): New variable.
45429         (remainder_test_upward): New function.
45430         (main): Call the new test functions.
45432         * math/libm-test.inc (struct test_f_f1_data): Remove field
45433         extra_init.
45434         (struct test_fF_f1_data): Likewise.
45435         (struct test_ffI_f1_data): Likewise.
45436         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45437         based on value of EXTRA_EXPECTED.
45438         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45439         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45440         EXTRA_VAR based on value of EXTRA_EXPECTED.
45441         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45442         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45443         EXTRA_VAR based on value of EXTRA_EXPECTED.
45444         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45445         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45446         EXTRA_VAR based on value of EXTRA_EXPECTED.
45447         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45448         * math/gen-libm-test.pl (parse_args): Don't output initializers
45449         for extra output values.
45451         * math/libm-test.inc (check_int): Expect result to be exactly
45452         equal to expected value and do not handle ulps.
45453         (check_long): Likewise.
45454         (check_longlong): Likewise.
45456         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45457         exceptions.
45458         (cimag_test_data): Likewise.
45459         (conj_test_data): Likewise.
45460         (copysign_test_data): Likewise.
45461         (cproj_test_data): Likewise.
45462         (creal_test_data): Likewise.
45463         (fabs_test_data): Likewise.
45464         (fdim_test_data): Likewise.
45465         (finite_test_data): Likewise.
45466         (floor_test_data): Likewise.
45467         (fmax_test_data): Likewise.
45468         (fmin_test_data): Likewise.
45469         (fmod_test_data): Likewise.
45470         (fpclassify_test_data): Likewise.
45471         (frexp_test_data): Likewise.
45472         (ilogb_test_data): Likewise.
45473         (isfinite_test_data): Likewise.
45474         (isgreater_test_data): Likewise.
45475         (isgreaterequal_test_data): Likewise.
45476         (isinf_test_data): Likewise.
45477         (isless_test_data): Likewise.
45478         (islessequal_test_data): Likewise.
45479         (islessgreater_test_data): Likewise.
45480         (isnan_test_data): Likewise.
45481         (isnormal_test_data): Likewise.
45482         (issignaling_test_data): Likewise.
45483         (isunordered_test_data): Likewise.
45484         (ldexp_test_data): Likewise.
45485         (lrint_test_data): Likewise.
45486         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45487         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45488         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45489         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45490         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45491         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45492         test input.
45493         (lrint_towardzero_test_data): Test for "inexact" exceptions.
45494         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45495         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
45496         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
45497         that test input.
45498         (lrint_downward_test_data): Test for "inexact" exceptions.
45499         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45500         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
45501         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45502         test input.
45503         (lrint_upward_test_data): Test for "inexact" exceptions.
45504         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
45505         test input.
45506         (llrint_test_data): Test for "inexact" exceptions.
45507         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45508         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45509         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45510         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45511         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45512         (llrint_downward_test_data): Test for "inexact" exceptions.
45513         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45514         (llrint_upward_test_data): Test for "inexact" exceptions.
45515         (logb_test_data): Likewise.
45516         (logb_downward_test_data): Likewise.
45517         (nextafter_test_data): Likewise.
45518         (nexttoward_test_data): Likewise.
45519         (remainder_test_data): Likewise.
45520         (remquo_test_data): Likewise.
45521         (scalbn_test_data): Likewise.
45522         (scalbln_test_data): Likewise.
45523         (signbit_test_data): Likewise.
45524         (sqrt_test_data): Likewise.
45525         (significand_test_data): Likewise.
45527 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45529         [BZ #15424]
45530         * benchtests/bench-modf.c (struct args): Mark arg0 as
45531         volatile.
45532         * scripts/bench.pl: Mark members of struct args as volatile.
45534 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45536         [BZ # 15497]
45537         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
45538         negative infinity on POWER6 or lower.
45539         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
45541 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45543         [BZ #15442]
45544         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
45545         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
45546         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
45547         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
45548         (_FP_SETQNAN): New macro.
45549         (_FP_SETQNAN_SEMIRAW): Likewise.
45550         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
45551         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
45552         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
45553         (FP_EXTEND): Use _FP_FRAC_SNANP.
45554         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
45555         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
45556         into account.
45557         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45558         New macro.
45559         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45560         Likewise.
45562 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45564         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
45565         with DIVIDE_BY_ZERO_EXCEPTION.
45566         (gamma_test_data): Likewise.
45567         (lgamma_test_data): Likewise.
45568         (log_test_data): Likewise.
45569         (log10_test_data): Likewise.
45570         (log2_test_data): Likewise.
45571         (tgamma_test_data): Likewise.
45573         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
45574         (acos_test_tonearest): Likewise.
45575         (acos_test_towardzero): Likewise.
45576         (acos_test_downward): Likewise.
45577         (acos_test_upward): Likewise.
45578         (acosh_test): Likewise.
45579         (asin_test): Likewise.
45580         (asin_test_tonearest): Likewise.
45581         (asin_test_towardzero): Likewise.
45582         (asin_test_downward): Likewise.
45583         (asin_test_upward): Likewise.
45584         (asinh_test): Likewise.
45585         (atan_test): Likewise.
45586         (atanh_test): Likewise.
45587         (atan2_test): Likewise.
45588         (cabs_test): Likewise.
45589         (cacos_test): Likewise.
45590         (cacosh_test): Likewise.
45591         (casin_test): Likewise.
45592         (casinh_test): Likewise.
45593         (catan_test): Likewise.
45594         (catanh_test): Likewise.
45595         (cbrt_test): Likewise.
45596         (ccos_test): Likewise.
45597         (ccosh_test): Likewise.
45598         (cexp_test): Likewise.
45599         (clog_test): Likewise.
45600         (clog10_test): Likewise.
45601         (cos_test): Likewise.
45602         (cos_test_tonearest): Likewise.
45603         (cos_test_towardzero): Likewise.
45604         (cos_test_downward): Likewise.
45605         (cos_test_upward): Likewise.
45606         (cosh_test): Likewise.
45607         (cosh_test_tonearest): Likewise.
45608         (cosh_test_towardzero): Likewise.
45609         (cosh_test_downward): Likewise.
45610         (cosh_test_upward): Likewise.
45611         (cpow_test): Likewise.
45612         (csin_test): Likewise.
45613         (csinh_test): Likewise.
45614         (csqrt_test): Likewise.
45615         (ctan_test): Likewise.
45616         (ctan_test_tonearest): Likewise.
45617         (ctan_test_towardzero): Likewise.
45618         (ctan_test_downward): Likewise.
45619         (ctan_test_upward): Likewise.
45620         (ctanh_test): Likewise.
45621         (ctanh_test_tonearest): Likewise.
45622         (ctanh_test_towardzero): Likewise.
45623         (ctanh_test_downward): Likewise.
45624         (ctanh_test_upward): Likewise.
45625         (erf_test): Likewise.
45626         (erfc_test): Likewise.
45627         (exp_test): Likewise.
45628         (exp_test_tonearest): Likewise.
45629         (exp_test_towardzero): Likewise.
45630         (exp_test_downward): Likewise.
45631         (exp_test_upward): Likewise.
45632         (exp10_test): Likewise.
45633         (exp2_test): Likewise.
45634         (expm1_test): Likewise.
45635         (fmod_test): Likewise.
45636         (gamma_test): Likewise.
45637         (hypot_test): Likewise.
45638         (j0_test): Likewise.
45639         (j1_test): Likewise.
45640         (jn_test): Likewise.
45641         (lgamma_test): Likewise.
45642         (log_test): Likewise.
45643         (log10_test): Likewise.
45644         (log1p_test): Likewise.
45645         (log2_test): Likewise.
45646         (logb_test_downward): Likewise.
45647         (pow_test): Likewise.
45648         (pow_test_tonearest): Likewise.
45649         (pow_test_towardzero): Likewise.
45650         (pow_test_downward): Likewise.
45651         (pow_test_upward): Likewise.
45652         (remainder_test): Likewise.
45653         (remquo_test): Likewise.
45654         (sin_test): Likewise.
45655         (sin_test_tonearest): Likewise.
45656         (sin_test_towardzero): Likewise.
45657         (sin_test_downward): Likewise.
45658         (sin_test_upward): Likewise.
45659         (sincos_test): Likewise.
45660         (sinh_test): Likewise.
45661         (sinh_test_tonearest): Likewise.
45662         (sinh_test_towardzero): Likewise.
45663         (sinh_test_downward): Likewise.
45664         (sinh_test_upward): Likewise.
45665         (sqrt_test): Likewise.
45666         (tan_test): Likewise.
45667         (tan_test_tonearest): Likewise.
45668         (tan_test_towardzero): Likewise.
45669         (tan_test_downward): Likewise.
45670         (tan_test_upward): Likewise.
45671         (tanh_test): Likewise.
45672         (tgamma_test): Likewise.
45673         (y0_test): Likewise.
45674         (y1_test): Likewise.
45675         (yn_test): Likewise.
45677         * math/gen-libm-test.pl (adjust_arg): Remove function.
45678         (special_function): Remove argument $in_func.  Only handle
45679         generating output for tables of tests, not inside functions.
45680         (parse_args): Likewise.
45681         (generate_testfile): Remove variable $in_func.  Update call to
45682         parse_args.
45683         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
45684         (MINUS_ZERO_INIT): Rename macro to minus_zero.
45685         (PLUS_INFTY_INIT): Rename macro to plus_infty.
45686         (MINUS_INFTY_INIT): Rename macro to minus_infty.
45687         (QNAN_VALUE_INIT): Rename macro to qnan_value.
45688         (MAX_VALUE_INIT): Rename macro to max_value.
45689         (MIN_VALUE_INIT): Rename macro to min_value.
45690         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
45691         (plus_zero): Remove variable.
45692         (minus_zero): Likewise.
45693         (plus_infty): Likewise.
45694         (minus_infty): Likewise.
45695         (qnan_value): Likewise.
45696         (max_value): Likewise.
45697         (min_value): Likewise.
45698         (min_subnorm_value): Likewise.
45700 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45702         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
45703         uint64_t or uint32_t usage.
45704         * crypt/sha256-block.c: Likewise.
45705         * crypt/sha256-crypt.c: Likewise.
45706         * crypt/sha256.c: Likewise.
45707         * crypt/sha512-block.c: Likewise.
45708         * crypt/sha512-crypt.c: Likewise.
45709         * crypt/sha512.c: Likewise.
45710         * debug/backtrace-tst.c: Likewise.
45711         * debug/pcprofiledump.c: Likewise.
45712         * elf/cache.c: Likewise.
45713         * elf/dl-cache.c: Likewise.
45714         * elf/dl-misc.c: Likewise.
45715         * elf/dl-profile.c: Likewise.
45716         * elf/dl-support.c: Likewise.
45717         * elf/ldconfig.c: Likewise.
45718         * elf/sprof.c: Likewise.
45719         * iconv/dummy-repertoire.c: Likewise.
45720         * iconv/iconv_charmap.c: Likewise.
45721         * iconv/skeleton.c: Likewise.
45722         * iconvdata/8bit-generic.c: Likewise.
45723         * iconvdata/cp737.h: Likewise.
45724         * iconvdata/cp775.h: Likewise.
45725         * iconvdata/ibm1008.h: Likewise.
45726         * iconvdata/ibm1025.h: Likewise.
45727         * iconvdata/ibm1046.h: Likewise.
45728         * iconvdata/ibm1097.h: Likewise.
45729         * iconvdata/ibm1112.h: Likewise.
45730         * iconvdata/ibm1122.h: Likewise.
45731         * iconvdata/ibm1123.h: Likewise.
45732         * iconvdata/ibm1124.h: Likewise.
45733         * iconvdata/ibm1129.h: Likewise.
45734         * iconvdata/ibm1130.h: Likewise.
45735         * iconvdata/ibm1132.h: Likewise.
45736         * iconvdata/ibm1133.h: Likewise.
45737         * iconvdata/ibm1137.h: Likewise.
45738         * iconvdata/ibm1140.h: Likewise.
45739         * iconvdata/ibm1141.h: Likewise.
45740         * iconvdata/ibm1142.h: Likewise.
45741         * iconvdata/ibm1143.h: Likewise.
45742         * iconvdata/ibm1144.h: Likewise.
45743         * iconvdata/ibm1145.h: Likewise.
45744         * iconvdata/ibm1146.h: Likewise.
45745         * iconvdata/ibm1147.h: Likewise.
45746         * iconvdata/ibm1148.h: Likewise.
45747         * iconvdata/ibm1149.h: Likewise.
45748         * iconvdata/ibm1153.h: Likewise.
45749         * iconvdata/ibm1154.h: Likewise.
45750         * iconvdata/ibm1155.h: Likewise.
45751         * iconvdata/ibm1156.h: Likewise.
45752         * iconvdata/ibm1157.h: Likewise.
45753         * iconvdata/ibm1158.h: Likewise.
45754         * iconvdata/ibm1160.h: Likewise.
45755         * iconvdata/ibm1161.h: Likewise.
45756         * iconvdata/ibm1162.h: Likewise.
45757         * iconvdata/ibm1163.h: Likewise.
45758         * iconvdata/ibm1164.h: Likewise.
45759         * iconvdata/ibm1166.h: Likewise.
45760         * iconvdata/ibm1167.h: Likewise.
45761         * iconvdata/ibm12712.h: Likewise.
45762         * iconvdata/ibm1390.h: Likewise.
45763         * iconvdata/ibm1399.h: Likewise.
45764         * iconvdata/ibm16804.h: Likewise.
45765         * iconvdata/ibm4517.h: Likewise.
45766         * iconvdata/ibm4899.h: Likewise.
45767         * iconvdata/ibm4909.h: Likewise.
45768         * iconvdata/ibm4971.h: Likewise.
45769         * iconvdata/ibm5347.h: Likewise.
45770         * iconvdata/ibm803.h: Likewise.
45771         * iconvdata/ibm856.h: Likewise.
45772         * iconvdata/ibm901.h: Likewise.
45773         * iconvdata/ibm902.h: Likewise.
45774         * iconvdata/ibm9030.h: Likewise.
45775         * iconvdata/ibm9066.h: Likewise.
45776         * iconvdata/ibm921.h: Likewise.
45777         * iconvdata/ibm922.h: Likewise.
45778         * iconvdata/ibm9448.h: Likewise.
45779         * iconvdata/isiri-3342.h: Likewise.
45780         * iconvdata/jis0201.h: Likewise.
45781         * include/link.h: Likewise.
45782         * include/netdb.h: Likewise.
45783         * inet/check_native.c: Likewise.
45784         * inet/check_pf.c: Likewise.
45785         * inet/getipv4sourcefilter.c: Likewise.
45786         * inet/getnameinfo.c: Likewise.
45787         * inet/getsourcefilter.c: Likewise.
45788         * inet/htonl.c: Likewise.
45789         * inet/setipv4sourcefilter.c: Likewise.
45790         * inet/setsourcefilter.c: Likewise.
45791         * inet/test-inet6_opt.c: Likewise.
45792         * inet/tst-network.c: Likewise.
45793         * locale/C-collate.c: Likewise.
45794         * locale/C-ctype.c: Likewise.
45795         * locale/C-time.c: Likewise.
45796         * locale/C-translit.h: Likewise.
45797         * locale/loadarchive.c: Likewise.
45798         * locale/programs/3level.h: Likewise.
45799         * locale/programs/charmap.c: Likewise.
45800         * locale/programs/charmap.h: Likewise.
45801         * locale/programs/ld-address.c: Likewise.
45802         * locale/programs/ld-collate.c: Likewise.
45803         * locale/programs/ld-ctype.c: Likewise.
45804         * locale/programs/ld-identification.c: Likewise.
45805         * locale/programs/ld-measurement.c: Likewise.
45806         * locale/programs/ld-messages.c: Likewise.
45807         * locale/programs/ld-monetary.c: Likewise.
45808         * locale/programs/ld-name.c: Likewise.
45809         * locale/programs/ld-numeric.c: Likewise.
45810         * locale/programs/ld-paper.c: Likewise.
45811         * locale/programs/ld-telephone.c: Likewise.
45812         * locale/programs/ld-time.c: Likewise.
45813         * locale/programs/linereader.c: Likewise.
45814         * locale/programs/locale.c: Likewise.
45815         * locale/programs/locarchive.c: Likewise.
45816         * locale/programs/locfile.h: Likewise.
45817         * locale/programs/repertoire.c: Likewise.
45818         * locale/programs/simple-hash.c: Likewise.
45819         * locale/programs/simple-hash.h: Likewise.
45820         * malloc/memusage.c: Likewise.
45821         * malloc/memusagestat.c: Likewise.
45822         * nis/nis_defaults.c: Likewise.
45823         * nis/nis_hash.c: Likewise.
45824         * nis/nis_print.c: Likewise.
45825         * nis/nis_xdr.c: Likewise.
45826         * nscd/connections.c: Likewise.
45827         * nscd/hstcache.c: Likewise.
45828         * nscd/nscd_gethst_r.c: Likewise.
45829         * nscd/nscd_getserv_r.c: Likewise.
45830         * nscd/nscd_helper.c: Likewise.
45831         * nscd/servicescache.c: Likewise.
45832         * nss/makedb.c: Likewise.
45833         * nss/nss_db/db-XXX.c: Likewise.
45834         * nss/nss_db/db-initgroups.c: Likewise.
45835         * nss/nss_db/db-netgrp.c: Likewise.
45836         * nss/nss_files/files-network.c: Likewise.
45837         * nss/nss_files/files-parse.c: Likewise.
45838         * posix/bug-regex5.c: Likewise.
45839         * posix/fnmatch_loop.c: Likewise.
45840         * posix/regcomp.c: Likewise.
45841         * posix/regexec.c: Likewise.
45842         * posix/tst-rfc3484-2.c: Likewise.
45843         * posix/tst-rfc3484-3.c: Likewise.
45844         * posix/tst-rfc3484.c: Likewise.
45845         * resolv/nss_dns/dns-canon.c: Likewise.
45846         * resolv/nss_dns/dns-network.c: Likewise.
45847         * resolv/res_init.c: Likewise.
45848         * resolv/res_mkquery.c: Likewise.
45849         * resolv/tst-aton.c: Likewise.
45850         * stdlib/cxa_atexit.c: Likewise.
45851         * stdlib/cxa_finalize.c: Likewise.
45852         * stdlib/gen-fpioconst.c: Likewise.
45853         * stdlib/strtol_l.c: Likewise.
45854         * string/tst-endian.c: Likewise.
45855         * sunrpc/auth_des.c: Likewise.
45856         * sunrpc/clnt_udp.c: Likewise.
45857         * sunrpc/rtime.c: Likewise.
45858         * sunrpc/svcauth_des.c: Likewise.
45859         * sunrpc/xdr.c: Likewise.
45860         * sunrpc/xdr_intXX_t.c: Likewise.
45861         * sunrpc/xdr_rec.c: Likewise.
45862         * sysdeps/generic/ldconfig.h: Likewise.
45863         * sysdeps/generic/ldsodefs.h: Likewise.
45864         * sysdeps/generic/memusage.h: Likewise.
45865         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45866         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
45867         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
45868         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45869         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45870         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45871         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45872         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45873         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45874         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45875         * sysdeps/posix/getaddrinfo.c: Likewise.
45876         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45877         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45878         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45879         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45880         * sysdeps/powerpc/test-gettimebase.c: Likewise.
45881         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45882         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
45883         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
45884         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45885         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
45886         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45887         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45888         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
45889         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
45890         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
45891         * sysdeps/x86_64/dl-tls.h: Likewise.
45892         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
45893         * time/alt_digit.c: Likewise.
45894         * time/era.c: Likewise.
45895         * wcsmbs/tst-c16c32-1.c: Likewise.
45897 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45899         * math/libm-test.inc (struct test_sincos_data): New type.
45900         (RUN_TEST_LOOP_sincos): New macro.
45901         (sincos_test_data): New variable.
45902         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
45904 2013-05-16  Richard Henderson  <rth@redhat.com>
45906         * math/atest-exp2.c (LIMB64): New macro.
45907         (CONSTSZ): New macro.
45908         (mp_exp1, mp_exp_m1, mp_log2): New variables.
45909         (hexdig): Move ...
45910         (print_mpn_fp): ... to function scope.
45911         (read_mpn_hex): Remove.
45912         (get_log2): Remove.
45913         (exp2_mpn): Use mp_log2.
45914         (main): Use mp_exp1.
45916 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45918         * math/libm-test.inc: Remove comment about not testing "inexact"
45919         exceptions.
45920         (INEXACT_EXCEPTION): New macro.
45921         (NO_INEXACT_EXCEPTION): Likewise.
45922         (INVALID_EXCEPTION_OK): Update value.
45923         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45924         (OVERFLOW_EXCEPTION_OK): Likewise.
45925         (UNDERFLOW_EXCEPTION_OK): Likewise.
45926         (IGNORE_ZERO_INF_SIGN): Likewise.
45927         (ERRNO_UNCHANGED): Likewise.
45928         (ERRNO_EDOM): Likewise.
45929         (ERRNO_ERANGE): Likewise.
45930         (test_exceptions): Handle testing "inexact" exceptions.
45931         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
45932         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
45933         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
45934         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
45935         INEXACT_EXCEPTION.
45936         (rint_towardzero_test_data): Likewise.
45937         (rint_downward_test_data): Likewise.
45938         (rint_upward_test_data): Likewise.
45940         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45941         with OVERFLOW_EXCEPTION.
45942         (exp10_test_data): Likewise.
45943         (exp2_test_data): Likewise.
45944         (expm1_test_data): Likewise.
45945         (lgamma_test_data): Likewise.
45946         (pow_test_data): Likewise.
45947         (tgamma_test_data): Likewise.
45948         (yn_test_data): Remove duplicate test of overflow.
45950         * math/libm-test.inc (struct test_cc_c_data): New type.
45951         (RUN_TEST_LOOP_cc_c): New macro.
45952         (cpow_test_data): New variable.
45953         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
45955         * math/libm-test.inc (struct test_f_L_data): New type.
45956         (RUN_TEST_LOOP_f_L): New macro.
45957         (llrint_test_data): New variable.
45958         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
45959         (llrint_tonearest_test_data): New variable.
45960         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
45961         (llrint_towardzero_test_data): New variable.
45962         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
45963         (llrint_downward_test_data): New variable.
45964         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
45965         (llrint_upward_test_data): New variable.
45966         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
45967         (llround_test_data): New variable.
45968         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
45970 2013-05-13  Peter Collingbourne  <pcc@google.com>
45972         * math/atest-exp2.c (get_log2): Remove const attribute.
45974 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45976         * math/libm-test.inc (struct test_f_l_data): New type.
45977         (RUN_TEST_LOOP_f_l): New macro.
45978         (lrint_test_data): New variable.
45979         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
45980         (lrint_tonearest_test_data): New variable.
45981         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
45982         (lrint_towardzero_test_data): New variable.
45983         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
45984         (lrint_downward_test_data): New variable.
45985         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
45986         (lrint_upward_test_data): New variable.
45987         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
45988         (lround_test_data): New variable.
45989         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
45991 2013-05-15  Peter Collingbourne  <pcc@google.com>
45993         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
45994         (EXTRACT_WORDS64) Use where appropriate.
45995         (INSERT_WORDS64) Likewise.
45997         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
45998         constraints with x constraints.
45999         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
46001         * malloc/obstack.c (_obstack_compat): Add initializer.
46003 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46005         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
46006         si_trapno and add si_addr_lsb to _sifields.sigfault.
46007         (si_trapno): Remove macro.
46008         (si_addr_lsb): Define new macro.
46009         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46011 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46013         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
46014         instead of TEST_f_l.
46015         (llrint_test_tonearest): Likewise.
46016         (llrint_test_towardzero): Likewise.
46017         (llrint_test_downward): Likewise.
46018         (llrint_test_upward): Likewise.
46019         (llround_test): Likewise.
46021         * math/libm-test.inc (struct test_f_i_data): Add comment.
46022         (RUN_TEST_LOOP_f_b): New macro.
46023         (RUN_TEST_LOOP_f_b_tg): Likewise.
46024         (finite_test_data): New variable.
46025         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
46026         (isfinite_test_data): New variable.
46027         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46028         (isinf_test_data): New variable.
46029         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46030         (isnan_test_data): New variable.
46031         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46032         (isnormal_test_data): New variable.
46033         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46034         (issignaling_test_data): New variable.
46035         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46036         (signbit_test_data): New variable.
46037         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46039         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
46040         with INVALID_EXCEPTION.
46041         (acosh_test_data): Likewise.
46042         (asin_test_data): Likewise.
46043         (atanh_test_data): Likewise.
46044         (fmod_test_data): Likewise.
46045         (log_test_data): Likewise.
46046         (log10_test_data): Likewise.
46047         (log2_test_data): Likewise.
46048         (pow_test_data): Likewise.
46049         (sqrt_test_data): Likewise.
46050         (y0_test_data): Likewise.
46051         (y1_test_data): Likewise.
46052         (yn_test_data): Likewise.
46054         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
46055         function contents.
46057         * math/libm-test.inc (struct test_ff_i_data): New type.
46058         (RUN_TEST_LOOP_ff_i_tg): New macro.
46059         (isgreater_test_data): New variable.
46060         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46061         (isgreaterequal_test_data): New variable.
46062         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46063         (isless_test_data): New variable.
46064         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46065         (islessequal_test_data): New variable.
46066         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46067         (islessgreater_test_data): New variable.
46068         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46069         (isunordered_test_data): New variable.
46070         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46072 2013-05-14  David S. Miller  <davem@davemloft.net>
46074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46076 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
46078         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
46080         * math/libm-test.inc (struct test_fF_f1_data): Change type of
46081         extra_test to int.
46082         (struct test_f_i_data): Change type of max_ulp to int.
46084         * math/libm-test.inc (test_ffI_f1_data): New type.
46085         (RUN_TEST_LOOP_ffI_f1): New macro.
46086         (remquo_test_data): New variable.
46087         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
46089         * setjmp/tst-setjmp-fp.c: New file.
46090         * setjmp/Makefile (tests): Add tst-setjmp-fp.
46091         (link-libm): New variable.
46092         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
46094         * math/libm-test.inc (struct test_f_i_data): New type.
46095         (RUN_TEST_LOOP_f_i): New macro.
46096         (RUN_TEST_LOOP_f_i_tg): Likewise.
46097         (fpclassify_test_data): New variable.
46098         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
46099         (ilogb_test_data): New variable.
46100         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
46102         * math/libm-test.inc (scalbln_test): Correct function name in END
46103         call.
46105         * math/libm-test.inc (struct test_f_f1_data): Add comment.
46106         (RUN_TEST_LOOP_fI_f1): New macro.
46107         (frexp_test_data): New variable.
46108         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
46110         * math/libm-test.inc (struct test_fF_f1_data): New type.
46111         (RUN_TEST_LOOP_fF_f1): New macro.
46112         (modf_test_data): New variable.
46113         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
46115         * math/libm-test.inc (struct test_f_f1_data): New type.
46116         (RUN_TEST_LOOP_f_f1): New macro.
46117         (gamma_test_data): New variable.
46118         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46119         (lgamma_test_data): New variable.
46120         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46122 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46124         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46125         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46126         (main): Comment "tls" pseudo-hwcap.
46128 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46130         * math/libm-test.inc (struct test_fl_f_data): New type.
46131         (RUN_TEST_LOOP_fl_f): New variable.
46132         (scalbln_test_data): New variable.
46133         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46135         * math/libm-test.inc (struct test_fi_f_data): New type.
46136         (RUN_TEST_LOOP_fi_f): New macro.
46137         (ldexp_test_data): New variable.
46138         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46139         (scalbn_test_data): New variable.
46140         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46142         * math/libm-test.inc (struct test_c_f_data): New type.
46143         (RUN_TEST_LOOP_c_f): New macro.
46144         (cabs_test_data): New variable.
46145         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46146         (carg_test_data): New variable.
46147         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46148         (cimag_test_data): New variable.
46149         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46150         (creal_test_data): New variable.
46151         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46153         * math/libm-test.inc (struct test_if_f_data): New type.
46154         (RUN_TEST_LOOP_if_f): New macro.
46155         (jn_test_data): New variable.
46156         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46157         (yn_test_data): New variable.
46158         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46160         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46162 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46164         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46165         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46167 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46169         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46170         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46171         (bench-deps): Add bench-timing.h.
46172         * benchtests-bench-skeleton.c: Include bench-timing.h.
46173         (main): Use TIMING_* macros instead of clock_gettime.
46174         * benchtests/bench-timing.h: New file.
46176         [BZ #14582]
46177         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46178         Renamed from _LIB_VERSION.
46179         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46181 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46183         * math/libm-test.inc (struct test_fff_f_data): New type.
46184         (RUN_TEST_LOOP_fff_f): New macro.
46185         (fma_test_data): New variable.
46186         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46187         (fma_towardzero_test_data): New variable.
46188         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46189         (fma_downward_test_data): New variable.
46190         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46191         (fma_upward_test_data): New variable.
46192         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46194         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46195         (struct test_c_c_data): New type.
46196         (RUN_TEST_LOOP_c_c): New macro.
46197         (cacos_test_data): New variable.
46198         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46199         (cacosh_test_data): New variable.
46200         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46201         (casin_test_data): New variable.
46202         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46203         (casinh_test_data): New variable.
46204         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46205         (catan_test_data): New variable.
46206         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46207         (catanh_test_data): New variable.
46208         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46209         (ccos_test_data): New variable.
46210         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46211         (ccosh_test_data): New variable.
46212         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46213         (cexp_test_data): New variable.
46214         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46215         (clog_test_data): New variable.
46216         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46217         (clog10_test_data): New variable.
46218         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46219         (conj_test_data): New variable.
46220         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46221         (cproj_test_data): New variable.
46222         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46223         (csin_test_data): New variable.
46224         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46225         (csinh_test_data): New variable.
46226         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46227         (csqrt_test_data): New variable.
46228         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46229         (ctan_test_data): New variable.
46230         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46231         (ctan_tonearest_test_data): New variable.
46232         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46233         (ctan_towardzero_test_data): New variable.
46234         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46235         (ctan_downward_test_data): New variable.
46236         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46237         (ctan_upward_test_data): New variable.
46238         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46239         (ctanh_test_data): New variable.
46240         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46241         (ctanh_tonearest_test_data): New variable.
46242         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46243         (ctanh_towardzero_test_data): New variable.
46244         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46245         (ctanh_downward_test_data): New variable.
46246         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46247         (ctanh_upward_test_data): New variable.
46248         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46249         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46250         of BUILD_COMPLEX.
46252         * math/libm-test.inc (struct test_ff_f_data): New type.
46253         (struct test_ff_f_data_nexttoward): Likewise.
46254         (RUN_TEST_LOOP_2_f): New macro.
46255         (RUN_TEST_LOOP_ff_f): Likewise.
46256         (atan2_test_data): New variable.
46257         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46258         (copysign_test_data): New variable.
46259         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46260         (fdim_test_data): New variable.
46261         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46262         (fmax_test_data): New variable.
46263         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46264         (fmin_test_data): New variable.
46265         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46266         (fmod_test_data): New variable.
46267         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46268         (hypot_test_data): New variable.
46269         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46270         (nextafter_test_data): New variable.
46271         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46272         (nexttoward_test_data): New variable.
46273         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46274         (pow_test_data): New variable.
46275         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46276         (pow_tonearest_test_data): New variable.
46277         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46278         (pow_towardzero_test_data): New variable.
46279         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46280         (pow_downward_test_data): New variable.
46281         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46282         (pow_upward_test_data): New variable.
46283         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46284         (remainder_test_data): New variable.
46285         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46286         (scalb_test_data): New variable.
46287         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46288         * sysdeps/i386/fpu/libm-test-ulps: Update.
46290 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46292         * math/libm-test.inc (fma_test): Use max_value instead of local
46293         variable fltmax.
46294         (nextafter_test): Likewise.
46296         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46297         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46298         (acos_downward_test_data): New variable.
46299         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46300         (acos_upward_test_data): New variable.
46301         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46302         (acosh_test_data): New variable.
46303         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46304         (asin_test_data): New variable.
46305         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46306         (asin_tonearest_test_data): New variable.
46307         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46308         (asin_towardzero_test_data): New variable.
46309         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46310         (asin_downward_test_data): New variable.
46311         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46312         (asin_upward_test_data): New variable.
46313         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46314         (asinh_test_data): New variable.
46315         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46316         (atan_test_data): New variable.
46317         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46318         (atanh_test_data): New variable.
46319         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46320         (cbrt_test_data): New variable.
46321         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46322         (ceil_test_data): New variable.
46323         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46324         (cos_test_data): New variable.
46325         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46326         (cos_tonearest_test_data): New variable.
46327         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46328         (cos_towardzero_test_data): New variable.
46329         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46330         (cos_downward_test_data): New variable.
46331         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46332         (cos_upward_test_data): New variable.
46333         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46334         (cosh_test_data): New variable.
46335         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46336         (cosh_tonearest_test_data): New variable.
46337         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46338         (cosh_towardzero_test_data): New variable.
46339         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46340         (cosh_downward_test_data): New variable.
46341         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46342         (cosh_upward_test_data): New variable.
46343         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46344         (erf_test_data): New variable.
46345         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46346         (erfc_test_data): New variable.
46347         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46348         (exp_test_data): New variable.
46349         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46350         (exp_tonearest_test_data): New variable.
46351         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46352         (exp_towardzero_test_data): New variable.
46353         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46354         (exp_downward_test_data): New variable.
46355         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46356         (exp_upward_test_data): New variable.
46357         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46358         (exp10_test_data): New variable.
46359         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46360         (exp2_test_data): New variable.
46361         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46362         (expm1_test_data): New variable.
46363         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46364         (fabs_test_data): New variable.
46365         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46366         (floor_test_data): New variable.
46367         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46368         (j0_test_data): New variable.
46369         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46370         (j1_test_data): New variable.
46371         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46372         (log_test_data): New variable.
46373         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46374         (log10_test_data): New variable.
46375         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46376         (log1p_test_data): New variable.
46377         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46378         (log2_test_data): New variable.
46379         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46380         (logb_test_data): New variable.
46381         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46382         (logb_downward_test_data): New variable.
46383         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46384         (nearbyint_test_data): New variable.
46385         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46386         (rint_test_data): New variable.
46387         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46388         (rint_tonearest_test_data): New variable.
46389         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46390         (rint_towardzero_test_data): New variable.
46391         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46392         (rint_downward_test_data): New variable.
46393         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46394         (rint_upward_test_data): New variable.
46395         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46396         (round_test_data): New variable.
46397         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46398         (sin_test_data): New variable.
46399         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46400         (sin_tonearest_test_data): New variable.
46401         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46402         (sin_towardzero_test_data): New variable.
46403         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46404         (sin_downward_test_data): New variable.
46405         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46406         (sin_upward_test_data): New variable.
46407         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46408         (sinh_test_data): New variable.
46409         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46410         (sinh_tonearest_test_data): New variable.
46411         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46412         (sinh_towardzero_test_data): New variable.
46413         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46414         (sinh_downward_test_data): New variable.
46415         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46416         (sinh_upward_test_data): New variable.
46417         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46418         (sqrt_test_data): New variable.
46419         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46420         (tan_test_data): New variable.
46421         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46422         (tan_tonearest_test_data): New variable.
46423         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46424         (tan_towardzero_test_data): New variable.
46425         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46426         (tan_downward_test_data): New variable.
46427         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46428         (tan_upward_test_data): New variable.
46429         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46430         (tanh_test_data): New variable.
46431         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46432         (tgamma_test_data): New variable.
46433         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46434         (trunc_test_data): New variable.
46435         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46436         (y0_test_data): New variable.
46437         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46438         (y1_test_data): New variable.
46439         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46440         (significand_test_data): New variable.
46441         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46443 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46445         [BZ #12387]
46446         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46448 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46450         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46452 2013-05-10  Andreas Jaeger  <aj@suse.de>
46454         [BZ #15448]
46455         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46456         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46458 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46460         * math/gen-libm-test.pl (adjust_arg): New function.
46461         (special_functions): Handle generating output in both functions
46462         and arrays.
46463         (parse_args): Likewise.
46464         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46465         $in_func argument to parse_args.
46466         * math/libm-test.inc (struct test_f_f_data): New type.
46467         (IF_ROUND_INIT_): New macro.
46468         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46469         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46470         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46471         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46472         (ROUND_RESTORE_): Likewise.
46473         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46474         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46475         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46476         (ROUND_RESTORE_FE_UPWARD): Likewise.
46477         (RUN_TEST_LOOP_f_f): New macro.
46478         (acos_test_data): New variable.
46479         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46480         (acos_tonearest_test_data): New variable.
46481         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46483 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46485         * benchtests/bench-skeleton.c (startup): Fix coding style.
46487 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46489         [BZ #6809]
46490         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46491         negative infinity argument.
46492         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
46493         negative infinity argument.
46494         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
46495         negative infinity argument.
46496         * math/libm-test.inc (tgamma_test): Expect errno to be set for
46497         domain errors.
46499 2013-05-10  Florian Weimer  <fweimer@redhat.com>
46501         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
46502         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46503         * iconv/iconv_prog.c (main): Likewise.
46504         * locale/programs/charmap-dir.c (charmap_readdir)
46505         (fopen_uncompressed): Likewise.
46506         * locale/programs/locfile.c (siblings_uncached)
46507         (write_locale_data): Use lstat64 instead of lstat.
46508         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46509         stat.
46511 2013-05-10  Andreas Jaeger  <aj@suse.de>
46513         [BZ #15395]
46514         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46515         localization.
46516         Include <locale.h>.
46518 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46520         * elf/dl-close.c (_dl_close_worker): Add comments.
46522 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46524         [BZ #15359]
46525         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46526         high part of pi/2.
46527         (__ieee754_rem_pio2l): Update comments.
46529         [BZ #15429]
46530         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
46531         high part of pi/2.
46532         (__ieee754_rem_pio2l): Update comments.
46534         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
46535         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
46537         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
46538         M_PI_4l.
46540         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
46541         (M_PI_34_LOG10El): Likewise.
46542         (M_PI2_LOG10El): Likewise.
46543         (M_PI4_LOG10El): Likewise.
46544         (M_PI_LOG10El): Likewise.
46546 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46550 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
46552         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
46553         (MINUS_ZERO_INIT): Likewise.
46554         (PLUS_INFTY_INIT): Likewise.
46555         (MINUS_INFTY_INIT): Likewise.
46556         (QNAN_VALUE_INIT): Likewise.
46557         (MAX_VALUE_INIT): Likewise.
46558         (MIN_VALUE_INIT): Likewise.
46559         (MIN_SUBNORM_VALUE_INIT): Likewise.
46560         (plus_zero): Initialize with PLUS_ZERO_INIT.
46561         (minus_zero): Initialize with MINUS_ZERO_INIT.
46562         (plus_infty): Initialize with PLUS_INFTY_INIT.
46563         (minus_infty): Initialize with MINUS_INFTY_INIT.
46564         (qnan_value): Initialize with QNAN_VALUE_INIT.
46565         (max_value): Initialize with MAX_VALUE_INIT.
46566         (min_value): Initialize with MIN_VALUE_INIT.
46567         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
46569         * math/libm-test.inc (RUN_TEST_if_f): New macro.
46570         (jn_test): Use TEST_if_f instead of TEST_ff_f.
46571         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
46572         (yn_test): Use TEST_if_f instead of TEST_ff_f.
46574         * math/libm-test.inc (RUN_TEST_f_f): New macro.
46575         (RUN_TEST_2_f): Likewise.
46576         (RUN_TEST_ff_f): Likewise.
46577         (RUN_TEST_fi_f): Likewise.
46578         (RUN_TEST_fl_f): Likewise.
46579         (RUN_TEST_fff_f): Likewise.
46580         (RUN_TEST_c_f): Likewise.
46581         (RUN_TEST_f_f1): Likewise.
46582         (RUN_TEST_fF_f1): Likewise.
46583         (RUN_TEST_fI_f1): Likewise.
46584         (RUN_TEST_ffI_f1): Likewise.
46585         (RUN_TEST_c_c): Likewise.
46586         (RUN_TEST_cc_c): Likewise.
46587         (RUN_TEST_f_i): Likewise.
46588         (RUN_TEST_f_i_tg): Likewise.
46589         (RUN_TEST_ff_i_tg): Likewise.
46590         (RUN_TEST_f_b): Likewise.
46591         (RUN_TEST_f_b_tg): Likewise.
46592         (RUN_TEST_f_l): Likewise.
46593         (RUN_TEST_f_L): Likewise.
46594         (RUN_TEST_sincos): Likewise.
46595         * math/gen-libm-test.pl (new_test): Take new argument to indicate
46596         whether to show exceptions.  Do not include ");\n" in return
46597         value.
46598         (special_functions): Output call to RUN_TEST_sincos instead of
46599         check_float calls.  Update calls to new_test.
46600         (parse_args): Output call to single RUN_TEST_* macro instead of
46601         check_* calls and other assignments.  Update calls to new_test.
46603         [BZ #2546]
46604         [BZ #2560]
46605         [BZ #5159]
46606         [BZ #15426]
46607         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
46608         input to result for tgamma overflow.
46609         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
46610         (gamma_coeff): New variable.
46611         (NCOEFF): New macro.
46612         (gamma_positive): New function.
46613         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
46614         underflow here.  Use gamma_positive instead of exp (lgamma) for
46615         other arguments.
46616         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
46617         (gamma_coeff): New variable.
46618         (NCOEFF): New macro.
46619         (gammaf_positive): New function.
46620         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
46621         underflow here.  Use gamma_positive instead of exp (lgamma) for
46622         other arguments.
46623         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
46624         (gamma_coeff): New variable.
46625         (NCOEFF): New macro.
46626         (gammal_positive): New function.
46627         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
46628         underflow here.  Use gamma_positive instead of exp (lgamma) for
46629         other arguments.
46630         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
46631         (gamma_coeff): New variable.
46632         (NCOEFF): New macro.
46633         (gammal_positive): New function.
46634         (__ieee754_gammal_r): Handle positive infinity, overflow and
46635         underflow here.  Handle NaN the same as positive infinity.  Remove
46636         check x < 0xffffffff for negative integers.  Use gamma_positive
46637         instead of exp (lgamma) for other arguments.
46638         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
46639         (gamma_coeff): New variable.
46640         (NCOEFF): New macro.
46641         (gammal_positive): New function.
46642         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
46643         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
46644         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
46645         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
46646         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
46647         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
46648         * sysdeps/generic/math_private.h (__gamma_productf): New
46649         prototype.
46650         (__gamma_product): Likewise.
46651         (__gamma_productl): Likewise.
46652         * math/Makefile (libm-calls): Add gamma_product.
46653         * math/libm-test.inc (tgamma_test): Add more tests.
46654         * sysdeps/i386/fpu/libm-test-ulps: Update.
46655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46657 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
46659         * benchtests/bench-skeleton.c (main): Preheat CPU.
46661 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
46663         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
46665 2013-05-07  Roland McGrath  <roland@hack.frob.com>
46667         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
46668         and _dl_skip_args_internal.
46670 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
46672         * manual/message.texi (Message Translation): Talk about users.
46673         Message to key mapping impacts design.
46675 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46677         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
46679         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
46681         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
46682         * sysdeps/wordsize-64/glob64.c: ... here.
46684         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
46685         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
46686         New macros.
46688         * debug/getlogin_r_chk.c: Moved to ...
46689         * login/getlogin_r_chk.c: ... here.
46690         * debug/Makefile (routines): Move getlogin_r_chk to ...
46691         * login/Makefile (routines): ... here.
46692         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
46693         * login/Versions (libc: GLIBC_2.4): ... here.
46695         * io/poll.c (__poll): Renamed from poll.
46696         Add libc_hidden_def.
46697         (poll): Define as weak alias.
46699         * debug/ptsname_r_chk.c: Moved to ...
46700         * login/ptsname_r_chk.c: ... here.
46701         * debug/Makefile (routines): Move ptsname_r_chk to ...
46702         * login/Makefile (routines): ... here.
46703         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
46704         * login/Versions (libc: GLIBC_2.4): ... here.
46706         * posix/getlogin.c: Moved to ...
46707         * login/getlogin.c: ... here.
46708         * posix/getlogin_r.c: Moved to ...
46709         * login/getlogin_r.c: ... here.
46710         * posix/getlogin_r.c: Moved to ...
46711         * login/getlogin_r.c: ... here.
46712         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
46713         * login/Makefile (routines): ... here.
46714         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
46715         * login/Versions (libc: GLIBC_2.0): ... here.
46717         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
46718         (setrlimit): Define as weak alias.
46720         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
46721         Call __ names for open, ftruncate, and close.
46722         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
46723         (truncate): Define as weak alias.
46725 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
46727         * math/gen-libm-test.pl (parse_args): Initialize x before each
46728         test of frexp, modf and remquo.
46730         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
46731         test signgam value.
46733 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46735         [BZ #15418]
46736         [BZ #15419]
46737         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
46738         internal tests.
46739         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46741 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46743         * elf/dl-writev.h: New file.
46744         * elf/dl-misc.c: Include it.
46745         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
46746         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
46748 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
46750         * math/libm-test.inc (noXFails): Remove variable.
46751         (noXPasses): Likewise.
46752         (BUILD_COMPLEX_INT): Remove macro.
46753         (print_screen): Remove xfail argument.
46754         (print_screen_max_error): Likewise.
46755         (update_stats): Likewise.
46756         (print_max_error): Likewise.  Update calls to other affected
46757         functions.
46758         (print_complex_max_error): Likewise.
46759         (test_single_exception): Update calls to print_screen.
46760         (test_single_errno): Likewise.
46761         (check_float_internal): Remove xfail argument.  Update calls to
46762         other affected functions.
46763         (check_float): Likewise.
46764         (check_complex): Likewise.
46765         (check_int): Likewise.
46766         (check_long): Likewise.
46767         (check_bool): Likewise.
46768         (check_longlong): Likewise.
46769         (main): Don't print noXFails and noXPasses.
46770         * math/gen-libm-test.pl (top level): Don't mention expected
46771         failure handling in comment.
46772         (new_test): Don't handle expected failures.
46773         (parse_args): Don't mention expected failure handling in comment.
46774         (generate_testfile): Don't handle expected failures.
46775         (parse_ulps): Likewise.
46776         (print_ulps_file): Likewise.
46777         (get_failure): Remove function.
46778         (output_test): Don't handle expected failures.
46779         * make/README.libm-test: Don't mention expected failure handling.
46781         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
46782         (minus_zero): Likewise.
46783         (plus_infty): Likewise.
46784         (minus_infty): Likewise.
46785         (qnan_value): Likewise.
46786         (max_value): Likewise.
46787         (min_value): Likewise.
46788         (min_subnorm_value): Likewise.
46789         (initialize): Do not initialize those variables dynamically.
46791 2013-05-03  Roland McGrath  <roland@hack.frob.com>
46793         * io/open.c (__open_2): Moved to ...
46794         * io/open_2.c: ... this new file.
46795         * io/open64.c (__open64_2): Moved to ...
46796         * io/open64_2.c: ... this new file.
46797         * io/openat.c (__openat_2): Moved to ...
46798         * io/openat_2.c: ... this new file.
46799         * io/openat64.c (__openat64_2): Moved to ...
46800         * io/openat64_2.c: ... this new file.
46801         * io/Makefile (routines): Add them.
46802         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
46803         * sysdeps/unix/sysv/linux/open_2.c: File removed.
46804         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
46805         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
46806         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
46807         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
46808         (__openat64): Add hidden_ver.
46809         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
46810         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
46812         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
46813         Separately conditionalize setting of GLRO(dl_sysinfo) so
46814         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
46815         as well, but the actual setting is only under [NEED_DL_SYSINFO].
46817 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46819         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
46820         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
46821         definition.
46822         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
46823         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46824         (_libc_vdso_platform_setup): Add __vdso_time initialization.
46825         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
46826         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
46828 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
46830         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
46831         test signgam value.
46833         * math/libm-test.inc (hypot_test): Do not use
46834         IGNORE_ZERO_INF_SIGN.
46836 2013-05-03  Andreas Jaeger  <aj@suse.de>
46838         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
46839         Linux 3.9.
46840         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
46841         (PF_MAX): Adjust for VSOCK change.
46843 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46847 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
46849         [BZ #15264]
46850         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
46851         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
46852         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
46854 2013-05-02  David S. Miller  <davem@davemloft.net>
46856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46858 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
46860         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
46862 2013-05-01  Roland McGrath  <roland@hack.frob.com>
46864         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
46866 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
46868         [BZ #14952]
46869         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
46870         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46871         Use __attribute__ ((__gnu_inline__)).
46872         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46873         Don't use __attribute__ ((__gnu_inline__)).
46875 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
46877         [BZ #15423]
46878         * math/s_catan.c (__catan): Handle small real or imaginary part of
46879         input specially to avoid spurious underflow.
46880         * math/s_catanf.c (__catanf): Likewise.
46881         * math/s_catanh.c (__catanh): Likewise.
46882         * math/s_catanhf.c (__catanhf): Likewise.
46883         * math/s_catanhl.c (__catanhl): Likewise.
46884         * math/s_catanl.c (__catanl): Likewise.
46885         * math/libm-test.inc (catan_test): Add more tests.
46886         (catanh_test): Likewise.
46887         * sysdeps/i386/fpu/libm-test-ulps: Update.
46888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46890 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46894 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
46896         [BZ #15416]
46897         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
46898         accurately for denominator in atan2.
46899         * math/s_catanf.c (__catanf): Likewise.
46900         * math/s_catanh.c (__catanh): Likewise.
46901         * math/s_catanhf.c (__catanhf): Likewise.
46902         * math/s_catanhl.c (__catanhl): Likewise.
46903         * math/s_catanl.c (__catanl): Likewise.
46904         * math/libm-test.inc (catan_test): Add more tests.
46905         (catanh_test): Likewise.
46906         * sysdeps/i386/fpu/libm-test-ulps: Update.
46907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46909 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46911         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46913         * benchtests/Makefile (bench): Remove slow benchmarks.
46914         * benchtests/atan-inputs: Add slow benchmark inputs.
46915         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
46916         (BENCH_FUNC): Accept variant offset.
46917         (VARIANT): Define.
46918         * benchtests/bench-skeleton.c (main): Run benchmark for each
46919         variant.
46920         * benchtests/cos-inputs: Add slow benchmark inputs.
46921         * benchtests/exp-inputs: Likewise.
46922         * benchtests/pow-inputs: Likewise.
46923         * benchtests/sin-inputs: Likewise.
46924         * benchtests/slowatan-inputs: Remove.
46925         * benchtests/slowatan.c: Remove.
46926         * benchtests/slowcos-inputs: Remove.
46927         * benchtests/slowcos.c: Remove.
46928         * benchtests/slowexp-inputs: Remove.
46929         * benchtests/slowexp.c: Remove.
46930         * benchtests/slowpow-inputs: Remove.
46931         * benchtests/slowpow.c: Remove.
46932         * benchtests/slowsin-inputs: Remove.
46933         * benchtests/slowsin.c: Remove.
46934         * benchtests/slowtan-inputs: Remove.
46935         * benchtests/slowtan.c: Remove.
46936         * benchtests/tan-inputs: Add slow benchmark inputs.
46937         * scripts/bench.pl: Parse comments and directives.
46939         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
46940         in CPPFLAGS.
46941         ($(objpfx)bench-%.c): Remove *-ITER.
46942         * benchtests/bench-modf.c: Remove definition of ITER.
46943         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
46944         (main): Loop for DURATION seconds instead of fixed number of
46945         iterations.
46946         * scripts/bench.pl: Don't expect iterations in parameters.
46948 2013-04-29  Roland McGrath  <roland@hack.frob.com>
46950         * io/fchdir.c (__fchdir): Renamed from fchdir.
46951         (fchdir): Define as weak alias.
46953 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46955         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46956         (ERRNO_EDOM): Likewise.
46957         (ERRNO_ERANGE): Likewise.
46958         (noErrnoTests): New variable.
46959         (init_max_error): Set errno to 0.
46960         (test_single_errno): New function.
46961         (test_errno): Likewise.
46962         (check_float_internal): Call test_errno.  Set errno to 0.
46963         (check_complex): Refer to errno tests in comment.
46964         (check_int): Call test_errno.  Set errno to 0.
46965         (check_long): Likewise.
46966         (check_bool): Likewise.
46967         (check_longlong): Likewise.
46968         (cos_test): Use ERRNO_* flags for errno tests instead of
46969         check_int.
46970         (expm1_test): Likewise.
46971         (fmod_test): Likewise.
46972         (ilogb_test): Likewise.
46973         (lgamma_test): Likewise.
46974         (pow_test): Likewise.
46975         (remainder_test): Likewise.
46976         (sin_test): Likewise.
46977         (tan_test): Likewise.
46978         (yn_test): Likewise.
46979         (initialize): Set errno to 0.
46980         (main): Print number of errno tests.
46981         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
46983 2013-04-29  Andreas Jaeger  <aj@suse.de>
46985         [BZ #15084]
46986         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
46987         and RES_USEVC.
46989         [BZ #15085]
46990         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
46991         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
46992         unimplemented.
46994         [BZ #15380]
46995         * stdlib/random.c (__initstate): Return NULL if
46996         __initstate fails.
46998         [BZ #15086]
46999         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
47000         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
47001         RES_SNGLKUPREOP.
47003 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47007 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47009         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
47010         of individual tests.
47011         (casin_test): Likewise.
47012         (casinh_test): Likewise.
47014 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
47016         [BZ #15409]
47017         * math/s_catan.c (__catan): Handle arguments with large real or
47018         imaginary part separately without squaring.
47019         * math/s_catanf.c (__catanf): Likewise.
47020         * math/s_catanh.c (__catanh): Likewise.
47021         * math/s_catanhf.c (__catanhf): Likewise.
47022         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47023         and redefine.
47024         (__catanhl): Handle arguments with large real or imaginary part
47025         separately without squaring.
47026         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47027         and redefine.
47028         (__catanl): Handle arguments with large real or imaginary part
47029         separately without squaring.
47030         * math/libm-test.inc (catan_test): Add more tests.
47031         (catanh_test): Likewise.
47032         * sysdeps/i386/fpu/libm-test-ulps: Update.
47033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47035 2013-04-27  Andreas Jaeger  <aj@suse.de>
47037         [BZ #15007]
47038         * stdlib/stdlib.h: Update guards for qecvt.
47039         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
47040         <stdlib.h>.
47042 2013-04-27  Allan McRae  <allan@archlinux.org>
47044         * sysdeps/i386/fpu/libm-test-ulps: Update.
47046 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
47048         [BZ #15406]
47049         * math/s_catan.c: Include <float.h>.
47050         (__catan): Ensure underflow exception occurs for underflowed
47051         result.
47052         * math/s_catanf.c: Include <float.h>.
47053         (__catanf): Ensure underflow exception occurs for underflowed
47054         result.
47055         * math/s_catanh.c: Include <float.h>.
47056         (__catanh): Ensure underflow exception occurs for underflowed
47057         result.
47058         * math/s_catanhf.c: Include <float.h>.
47059         (__catanhf): Ensure underflow exception occurs for underflowed
47060         result.
47061         * math/s_catanhl.c: Include <float.h>.
47062         (__catanhl): Ensure underflow exception occurs for underflowed
47063         result.
47064         * math/s_catanl.c: Include <float.h>.
47065         (__catanl): Ensure underflow exception occurs for underflowed
47066         result.
47067         * math/libm-test.inc (catan_test): Add more tests.
47068         (catanh_test): Likewise.
47070         [BZ #15405]
47071         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
47072         underflowed result.
47073         * math/s_ccoshf.c (__ccoshf): Likewise.
47074         * math/s_ccoshl.c (__ccoshl): Likewise.
47075         * math/s_csin.c (__csin): Likewise.
47076         * math/s_csinf.c (__csinf): Likewise.
47077         * math/s_csinh.c (__csinh): Likewise.
47078         * math/s_csinhf.c (__csinhf): Likewise.
47079         * math/s_csinhl.c (__csinhl): Likewise.
47080         * math/s_csinl.c (__csinl): Likewise.
47081         * math/libm-test.inc (ccos_test): Add more tests.
47082         (ccosh_test): Likewise.
47083         (csin_test): Likewise.
47084         (csinh_test): Likewise.
47086 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47088         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
47089         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
47090         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
47091         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47092         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
47093         powerpc/power5+/fpu folders.
47094         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
47097 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47101 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
47103         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
47104         additions to variable.
47105         [$(config-machine) = x86_64] (modules-names): Likewise.
47106         ($(objpfx)tst-audit3): Remove dependency.
47107         ($(objpfx)tst-audit3.out): Likewise.
47108         ($(objpfx)tst-audit4): Likewise.
47109         ($(objpfx)tst-audit4.out): Likewise.
47110         ($(objpfx)tst-audit5): Likewise.
47111         ($(objpfx)tst-audit5.out): Likewise.
47112         ($(objpfx)tst-audit6): Likewise.
47113         ($(objpfx)tst-audit6.out): Likewise.
47114         ($(objpfx)tst-audit7): Likewise.
47115         ($(objpfx)tst-audit7.out): Likewise.
47116         (tst-audit3-ENV): Remove variable.
47117         (tst-audit4-ENV): Likewise.
47118         (tst-audit5-ENV): Likewise.
47119         (tst-audit6-ENV): Likewise.
47120         (tst-audit7-ENV): Likewise.
47121         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
47122         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
47123         addition to variable.
47124         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47125         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47126         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47127         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47128         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47129         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47130         tst-audit3, tst-audit4 and tst-audit5.
47131         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47132         tst-audit6 and tst-audit7.
47133         [$(subdir) = elf] (modules-names): Add audit modules for those
47134         tests.
47135         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47136         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47137         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47138         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47139         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47140         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47141         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47142         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47143         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47144         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47145         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47146         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47147         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47148         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47149         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47150         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47151         Likewise.
47152         [$(subdir) = elf && $(config-cflags-avx) = yes]
47153         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47154         [$(subdir) = elf && $(config-cflags-avx) = yes]
47155         (CFLAGS-tst-auditmod4a.c): Likewise.
47156         [$(subdir) = elf && $(config-cflags-avx) = yes]
47157         (CFLAGS-tst-auditmod4b.c): Likewise.
47158         [$(subdir) = elf && $(config-cflags-avx) = yes]
47159         (CFLAGS-tst-auditmod6b.c): Likewise.
47160         [$(subdir) = elf && $(config-cflags-avx) = yes]
47161         (CFLAGS-tst-auditmod6c.c): Likewise.
47162         [$(subdir) = elf && $(config-cflags-avx) = yes]
47163         (CFLAGS-tst-auditmod7b.c): Likewise.
47164         * elf/tst-audit3.c: Move to ...
47165         * sysdeps/x86_64/tst-audit3.c: ... here.
47166         * elf/tst-audit4.c: Move to ...
47167         * sysdeps/x86_64/tst-audit4.c: ... here.
47168         * elf/tst-audit5.c: Move to ...
47169         * sysdeps/x86_64/tst-audit5.c: ... here.
47170         * elf/tst-audit6.c: Move to ...
47171         * sysdeps/x86_64/tst-audit6.c: ... here.
47172         * elf/tst-audit7.c: Move to ...
47173         * sysdeps/x86_64/tst-audit7.c: ... here.
47174         * elf/tst-auditmod3a.c: Move to ...
47175         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47176         * elf/tst-auditmod3b.c: Move to ...
47177         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47178         * elf/tst-auditmod4a.c: Move to ...
47179         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47180         * elf/tst-auditmod4b.c: Move to ...
47181         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47182         * elf/tst-auditmod5a.c: Move to ...
47183         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47184         * elf/tst-auditmod5b.c: Move to ...
47185         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47186         * elf/tst-auditmod6a.c: Move to ...
47187         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47188         * elf/tst-auditmod6b.c: Move to ...
47189         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47190         * elf/tst-auditmod6c.c: Move to ...
47191         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47192         * elf/tst-auditmod7a.c: Move to ...
47193         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47194         * elf/tst-auditmod7b.c: Move to ...
47195         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47197 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47199         [BZ #15366]
47200         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47201         define unconditionally.
47202         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47203         define unconditionally.
47204         (INT8_C, INT16_C, etc.): Likewise.
47206 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47208         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47209         __ehdr_start with hidden visibility.
47211         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47213 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47215         * math/libm-test.inc (cos_test): Use accurate hex constants.
47216         (sincost_test): Likewise.
47218 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47220         * math/libm-test.inc (catan_test): Add more tests.
47221         (catanh_test): Likewise.
47223         * math/s_catanf.c (__catanf): Use suffixed floating-point
47224         constants.
47225         * math/s_catanhf.c (__catanhf): Likewise.
47226         * math/s_catanhl.c (__catanhl): Likewise.
47227         * math/s_catanl.c (__catanl): Likewise.
47229         [BZ #15394]
47230         * math/s_catan.c (__catan): Calculate imaginary part of result
47231         with log1p not log unless computing log of number close to 0.
47232         * math/s_catanf.c (__catanf): Likewise.
47233         * math/s_catanl.c (__catanl): Likewise.
47234         * math/s_catanh.c (__catanh): Calculate real part of result with
47235         log1p not log unless computing log of number close to 0.
47236         * math/s_catanhf.c (__catanhf): Likewise.
47237         * math/s_catanhl.c (__catanhl): Likewise.
47238         * math/libm-test.inc (catan_test): Add more tests.
47239         (catanh_test): Likewise.
47240         * sysdeps/i386/fpu/libm-test-ulps: Update.
47241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47243 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47245         * benchtests/Makefile: Mention files in which fast and slow
47246         paths of math functions are implemented.
47248 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47250         * sysdeps/posix/timespec_get.c: New file.
47252 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47254         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47255         POWER.
47256         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47257         for POWER.
47258         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47259         powerpc/power5/fpu folders.
47260         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47261         * benchtests/Makefile: Add modf testcase.
47262         * benchtests/bench-modf.c: New file: Benchmark test for mo
47264 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47266         [BZ #14888]
47267         * time/Makefile (tests): Add tst-strptime-whitespace.
47268         * time/strptime_l.c (get_number): Use ISSPACE.
47269         (__strptime_internal): Likewise.
47270         * time/tst-strptime-whitespace.c: New test case.
47272 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47274         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47275         member.
47276         (_nss_files_init): Set it here.
47278 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47280         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47281         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47282         unsigned.
47284 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47286         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47288 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47290         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47291         size just once.
47293 2013-04-21  David S. Miller  <davem@davemloft.net>
47295         * po/ru.po: Update Russion translation from translation project.
47297 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47299         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47300         and setfsgid.
47302 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47304         * configure.in: Remove i386 configure warning. Remove i386 case.
47305         * configure: Regenerate.
47306         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47307         Add example to error message.
47308         * sysdeps/i386/configure: Regenerate.
47310 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47312         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47313         slowtan.
47314         * benchtests/cos-inputs: New file.
47315         * benchtests/slowcos-inputs: New file.
47316         * benchtests/slowcos.c: New file.
47317         * benchtests/slowtan-inputs: New file.
47318         * benchtests/slowtan.c: New file.
47319         * benchtests/tan-inputs: New file.
47321 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47323         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47324         considered kosher.
47326 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47328         * benchtests/Makefile: Include cppflags-iterator.mk to add
47329         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47331         * Makefile.in (bench-clean): New target.
47332         * benchtests/Makefile (bench-clean): Likewise.
47334 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47336         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47338 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47340         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47342 2013-04-15  Andreas Schwab  <schwab@suse.de>
47344         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47345         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47346         * nscd/pwdcache.c (cache_addpw): Likewise.
47347         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47348         more than recsize.
47350 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47352         * benchtests/Makefile (bench): Write all output to
47353         bench-out.tmp together.
47355 2013-04-15  Andreas Schwab  <schwab@suse.de>
47357         * nscd/nscd.c (main): Don't fork again after closing files.
47359 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47361         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47363         * benchtests/Rules (bench-deps): Collect dependencies into a
47364         single variable.  Add Makefile to dependencies.
47365         ($(objpfx)bench-%.c): Depend on bench-deps.
47367 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47368             Xavier Roche  <roche+kml2@exalead.com>
47370         [BZ #15361]
47371         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47372         just that it's a file descriptor.
47373         * manual/llio.texi (Synchronizing AIO Operations): Update description
47374         for EBADF error from aio_fsync.
47376 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47378         * Rules (bench): Move target definition...
47379         * benchtests/Makefile: ... here.
47381 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47383         * math/libm-test.inc (cos_test): Fix PI/2 test.
47384         (sincos_test): Likewise.
47385         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47386         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47388 2013-04-11  Andreas Schwab  <schwab@suse.de>
47390         [BZ #13988]
47391         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47392         accept exponent character only when digits were seen.
47393         * stdio-common/Makefile (tests): Add bug26.
47394         * stdio-common/bug26.c: New file.
47396         [BZ #14293]
47397         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47398         non-freeable.
47400 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47402         * Makeconfig (rtld-prefix): Define built linker prefix.
47403         * Rules (run-bench): Use it.
47404         * math/Makefile (run-regen-ulps): Likewise.
47406         * Rules (bench): Remove eval.
47408 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47409             Roland McGrath  <roland@hack.frob.com>
47410             Ondrej Bilka  <neleai@seznam.cz>
47412         [BZ #15346]
47413         * time/getdate.c: Include ctype.h and alloca.h.
47414         (__getdate_r): Trim leading and trailing spaces of input.
47415         * time/tst-getdate.c (tests): Add tests with leading and
47416         trailing spaces.
47418 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47420         [BZ #14280]
47421         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47422         when computing value.
47424 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47426         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47427         Use testrun.sh to run libm tests.
47429         [BZ #15309]
47430         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47432 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47434         [BZ #15264]
47435         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47437 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47439         * Makefile.in (regen-ulps): New target.
47440         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47441         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47442         [ifneq (no,$(PERL)] (regen-ulps): New target.
47443         [ifeq (no,$(PERL)] (regen-ulps): New target.
47444         * math/libm-test.inc (ulps_file_name): Define.
47445         (output_dir): New variable.
47446         (options): Add "output-dir" option.
47447         (parse_opt): Handle 'o' case.
47448         (main): If output_dir is non-NULL use it as a prefix
47449         otherwise use "".
47450         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47452 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47454         [BZ #10060, #10062]
47455         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47456         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47457         fail configure if __sync_val_compare_and_swap is not inlined.
47458         * sysdeps/i386/configure: Regenerate.
47459         * configure.in: Build for i686 when configured for i386.
47460         * configure: Regenerate.
47461         * README: Remove i386 reference.
47463 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47465         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47466         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47468 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47470         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47471         (lmsnanval): New variables.
47472         (F): Add conversion tests.
47473         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47474         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47476         * stdio-common/tstdiomisc.c (F): Properly collect individual
47477         tests' results.
47479         [BZ #14686, #15336]
47480         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47481         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47482         Instead, use input NaN values or generate a qNaN by arithmetic
47483         operation.  Also fix bugs to comply with the standard.
47484         * math/libm-test.inc (remainder_test): Add more tests.
47486         [BZ #15335, #15342]
47487         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47488         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47489         input NaN values or generate a qNaN by arithmetic operation.
47491         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
47492         unreachable code.
47494         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
47495         definitions.
47497 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
47499         [BZ #14478]
47500         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
47501         underflowed result.
47502         * math/s_cexpf.c (__cexpf): Likewise.
47503         * math/s_cexpl.c (__cexpl): Likewise.
47504         * math/libm-test.inc (cexp_test): Add more tests.
47506 2013-04-03  Andreas Schwab  <schwab@suse.de>
47508         [BZ #15330]
47509         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47510         order arrays from heap if bigger than alloca cutoff.
47512 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47514         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47515         (SNAN_TESTS_double): Refer to GCC PR56831.
47516         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47517         GCC PR56828.
47519 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47521         * Rules (bench): Move bench.out after the run is complete.
47523         * Rules (bench): Echo currently running benchmark.
47525         * benchtests/Makefile (bench): Add atan and slowatan.
47526         * benchtests/atan-inputs: New file.
47527         * benchtests/slowatan-inputs: New file.
47528         * benchtests/slowatan.c: New file.
47530         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
47531         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
47532         its value.
47534         [BZ #15305]
47535         * sysdeps/unix/sysv/linux/kernel-features.h
47536         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
47537         __ASSUME_XFS_RESTRICTED_CHOWN.
47538         * sysdeps/unix/sysv/linux/pathconf.c
47539         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47540         Save and restore errno.
47542 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
47544         [BZ #15327]
47545         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
47546         arguments using __kernel_casinh.
47547         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
47548         arguments using __kernel_casinhf.
47549         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
47550         arguments using __kernel_casinhl.
47551         * math/libm-test.inc (cacosh_test): Add more tests.
47552         * sysdeps/i386/fpu/libm-test-ulps: Update.
47553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47555 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47557         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
47558         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
47560         * bench/Makefile (bench): Add sin and slowsin.
47561         * benchtests/sin-inputs: New file.
47562         * benchtests/slowsin-inputs: New file.
47563         * benchtests/slowsin.c: New file.
47565         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
47566         (bench): Add slowexp and slowpow.
47567         (exp-ITER): Increase iterations.
47568         (pow-ITER): Likewise.
47569         * benchtests/exp-inputs: Change input.
47570         * benchtests/pow-inputs: Likewise.
47571         * benchtests/slowexp-inputs: New file.
47572         * benchtests/slowexp.c: New file.
47573         * benchtests/slowpow-inputs: New file.
47574         * benchtests/slowpow.c: New file.
47576 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47578         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
47579         instructions.
47580         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47581         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
47582         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47583         * benchtests/Makefile: Add rint benchtest.
47584         * benchtests/rint-inputs: Input for rint benchtest.
47586 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47588         * Versions.def (libm): Add GLIBC_2.18.
47589         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
47590         hidden libm prototypes.
47591         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
47592         * math/Makefile (libm-calls): Add s_issignaling.
47593         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
47594         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
47595         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
47596         declaration.
47597         * math/math.h [__USE_GNU] (issignaling): New macro.
47598         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
47599         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
47600         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
47601         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
47602         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
47603         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
47604         * manual/arith.texi (issignaling): New section.
47605         * manual/libm-err-tab.pl (@all_functions): Update comment.
47606         * math/gen-libm-test.pl (parse_args): Apply special handling for
47607         issignaling.
47608         * math/libm-test.inc (print_float, issignaling_test): New
47609         functions.
47610         (check_float_internal): Add issignaling checks.
47611         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
47612         default definition.
47613         * sysdeps/powerpc/math-tests.h: New file.
47614         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
47615         tests.
47616         * math/test-snan.c (TEST_FUNC): Likewise.
47618 2013-03-30  David S. Miller  <davem@davemloft.net>
47620         * po/de.po: Update from translation team.
47622 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
47624         [BZ #10357]
47625         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47626         imaginary part less than 1.0 and real part less than 0.5
47627         specially.
47628         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47629         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47630         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
47631         (cacos_test): Add more tests.
47632         (casin_test): Likewise.
47633         (casinh_test): Likewise.
47634         * sysdeps/i386/fpu/libm-test-ulps: Update.
47635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47637 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47639         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
47640         ONE with its value.
47642         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
47643         (__pow_mp): Replace ONE and MONE with their values.
47644         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47645         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
47646         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47647         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
47648         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47649         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47651         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
47653         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
47654         (__pow_mp): Replace ZERO and MZERO with their values.
47655         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47656         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47657         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47659         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47660         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
47661         (__sqr): Likewise.
47663         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
47665         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
47667 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47669         * include/stdlib.h [!SHARED] (__call_tls_dtors):
47670         Declare with __attribute__ ((weak)).
47671         * stdlib/exit.c (__libc_atexit) [!SHARED]:
47672         Call __call_tls_dtors only if it's not NULL.
47674 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47676         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
47677         didn't do it already, then set _dl_phdr and _dl_phnum based on the
47678         magic __ehdr_start linker symbol if it's defined.
47679         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
47680         them up here if it was already done.
47682         * elf/dl-support.c (_dl_phdr): Make pointer to const.
47683         (_dl_aux_init): Use const in cast when setting it.
47684         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
47685         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
47686         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
47688         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
47689         Declare them here.
47690         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
47691         * csu/libc-tls.c: Nor here.
47692         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
47694         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
47695         (__libc_message): Never call vsyslog.
47697 2013-03-28  Alan Modra  <amodra@gmail.com>
47699         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
47700         Define as empty.
47701         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
47702         Likewise.
47704 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47706         [BZ #15214]
47707         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
47708         underflow.
47709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47711 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47713         [BZ #15304]
47714         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47715         Don't add gid passed as argument.
47717         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
47719 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
47721         [BZ #15307]
47722         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47723         imaginary part between 1.0 and 1.5 and real part less than 0.5
47724         specially.
47725         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47726         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47727         * math/libm-test.inc (cacos_test): Add more tests.
47728         (casin_test): Likewise.
47729         (casinh_test): Likewise.
47730         * sysdeps/i386/fpu/libm-test-ulps: Update.
47731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47733 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47735         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
47736         constants.
47737         (norm): Likewise.
47738         (denorm): Likewise.
47739         (__dbl_mp): Likewise.
47740         (add_magnitudes): Likewise.
47741         (sub_magnitudes): Likewise.
47742         (__add): Likewise.
47743         (__sub): Likewise.
47744         (__mul): Likewise.
47745         (__sqr): Likewise.
47746         (__inv): Likewise.
47747         (__dvd): Likewise.
47749         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
47750         commented code.
47751         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
47752         (__dubcos): Likewise.
47753         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
47754         (__ieee754_acos): Likewise.
47755         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47756         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
47757         (__exp1): Likewise.
47758         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47759         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47760         (log1): Likewise.
47761         (my_log2): Likewise.
47762         (checkint): Likewise.
47763         * sysdeps/ieee754/dbl-64/e_remainder.c
47764         (__ieee754_remainder): Likewise.
47765         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47766         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
47767         (bsloww): Likewise.
47768         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47770         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47771         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
47772         MANTISSA_STORE_T to store computations on mantissa.  Use
47773         macros for rounding and division.
47774         (denorm): Likewise.
47775         (__dbl_mp): Likewise.
47776         (add_magnitudes): Likewise.
47777         (sub_magnitudes): Likewise.
47778         (__mul): Likewise.
47779         (__sqr): Likewise.
47780         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47781         powers of two in terms of TWOPOW macro.
47782         (mp_no): Make type of mantissa as MANTISSA_T.
47783         [!RADIXI]: Define RADIXI.
47784         [!TWO52]: Define TWO52.
47785         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47787 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47789         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
47790         llroundl symbol when building for PPC32.
47792 2013-03-24  Mark H Weaver  <mhw@netris.org>
47794         * manual/arith.texi (Normalization Functions): Fix prototypes for
47795         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
47797 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47799         [BZ #13889]
47800         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
47801         high value to check if expl overflow.
47802         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
47803         to check for underflow and overflow.
47804         * math/libm-test.inc: Add exp test.
47806 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
47808         [BZ #11120]
47809         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
47810         with NOT_IN_libc.
47812 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47814         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
47815         symbol.
47817 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47819         * math/gen-libm-test.pl (parse_args, special_functions): Properly
47820         wrap blocks consisting of several statements.
47822         * sysdeps/generic/math-tests.h: New file.
47823         * sysdeps/i386/fpu/math-tests.h: Likewise.
47824         * math/test-snan.c: Include it.
47825         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
47827 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47829         [BZ #15285]
47830         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
47831         (__ieee754_j0l): Do not improve calculations using cos of twice
47832         input for inputs above LDBL_MAX / 2.0L.
47833         (__ieee754_y0l): Likewise.
47834         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
47835         (__ieee754_j1l): Do not improve calculations using cos of twice
47836         input for inputs above LDBL_MAX / 2.0L.
47837         (__ieee754_y1l): Likewise.
47838         * math/libm-test.inc (j0_test): Add another test.
47839         (j1_test): Likewise.
47840         (y0_test): Likewise.
47841         (y1_test): Likewise.
47842         * sysdeps/i386/fpu/libm-test-ulps: Update.
47844 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47846         * Rules ($(objpfx)bench-%.c): Include code from a C source
47847         file.
47849 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47851         [BZ #15287]
47852         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47853         imaginary part 1.0 and real part less than 0.5 specially.
47854         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47855         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47856         * math/libm-test.inc (cacos_test): Add more tests.
47857         (casin_test): Likewise.
47858         (casinh_test): Likewise.
47859         * sysdeps/i386/fpu/libm-test-ulps: Update.
47860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47862 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47864         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
47865         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
47867 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
47869         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
47870         * config.make.in (config-cflags-sse4): Remove variable.
47871         (config-cflags-avx): Likewise.
47872         (config-cflags-sse2avx): Likewise.
47873         (config-cflags-novzeroupper): Likewise.
47874         (config-asflags-i686): Likewise.
47875         (have-mfma4): Likewise.
47876         (have-as-vis3): Likewise.
47877         (MIG): Likewise.
47878         * configure.in (MIG): Do not AC_SUBST.
47879         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
47880         (libc_cv_cc_sse4): Do not AC_SUBST.
47881         (libc_cv_cc_avx): Likewise.
47882         (libc_cv_cc_sse2avx): Likewise.
47883         (libc_cv_cc_novzeroupper): Likewise.
47884         (libc_cv_cc_fma4): Likewise.
47885         (libc_cv_as_i686): Likewise.
47886         (libc_cv_sparc_as_vis3): Likewise.
47887         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
47888         LIBC_CONFIG_VAR.
47889         (config-asflags-i686): Likewise.
47890         (config-cflags-avx): Likewise.
47891         (config-cflags-sse2avx): Likewise.
47892         (have-mfma4): Likewise.
47893         (config-cflags-novzeroupper): Likewise.
47894         * sysdeps/mach/configure.in (MIG): Likewise.
47895         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
47896         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
47897         LIBC_CONFIG_VAR.
47898         (config-cflags-avx): Likewise.
47899         (config-cflags-sse2avx): Likewise.
47900         (have-mfma4): Likewise.
47901         (config-cflags-novzeroupper): Likewise.
47902         * configure: Regenerated.
47903         * sysdeps/i386/configure: Likewise.
47904         * sysdeps/mach/configure: Likewise.
47905         * sysdeps/sparc/configure: Likewise.
47906         * sysdeps/x86_64/configure: Likewise.
47908 2013-03-20  Roland McGrath  <roland@hack.frob.com>
47910         [BZ #14812]
47911         * locale/programs/localedef.c (options): Put N_ translation marker
47912         on argument names, not just descriptions.
47914 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47916         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
47918 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
47920         [BZ #14176]
47921         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
47923 2013-03-19  Roland McGrath  <roland@hack.frob.com>
47925         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
47926         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
47927         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
47928         [!BEFORE_ABORT] (before_abort): New function.
47929         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
47930         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
47931         (writev_for_fatal): New function.
47932         (WRITEV_FOR_FATAL): New macro; call that.
47933         (backtrace_and_maps): New function.
47934         (BEFORE_ABORT): New macro; call that.
47935         (struct str_list): Type removed.
47936         (__libc_message, __libc_fatal): Functions removed.
47937         Include <sysdeps/posix/libc_fatal.c> instead.
47939 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
47941         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
47942         constants.
47943         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
47944         double constants.
47946 2013-03-19  Andreas Schwab  <schwab@suse.de>
47948         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
47949         * sysdeps/gnu/configure: Regenerate.
47951         * configure.in: Substitute libc_cv_rtlddir.
47952         * configure: Regenerate.
47953         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47954         * Makeconfig (rtlddir, inst_rtlddir): New variables.
47955         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
47956         * elf/Makefile (install-others, CFLAGS-interp.c)
47957         (ldso_install, common-ldd-rewrite): Likewise.
47958         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
47959         $(inst_slibdir)/$(rtld-installed-name).
47960         * scripts/rellns-sh: Add -p option.
47961         * Makerules (make-shlib-link): Use rellns-sh to get relative name
47962         for source.
47964 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47966         * manual/nptl.texi: Renamed to ...
47967         * manual/threads.texi: ... this.
47968         * manual/Makefile (chapters): Update.
47970 2013-03-18  Roland McGrath  <roland@hack.frob.com>
47972         [BZ #14812]
47973         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
47974         on argument names, not just descriptions.
47975         * malloc/memusagestat.c (options): Likewise.
47976         * nss/getent.c (options): Likewise.
47978 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
47980         [BZ #14812]
47981         * iconv/iconv_prog.c (options): Put N_ translation marker
47982         on argument names, not just descriptions.
47983         * iconv/iconvconfig.c (options): Likewise.
47985 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
47987         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
47988         implementation which is faster on all x86_64 architectures.
47989         Tested on AMD, Intel Nehalem, SNB, IVB.
47990         * sysdeps/x86_64/strnlen.S: Likewise.
47992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47993         Remove all multiarch strlen and strnlen versions.
47994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47995         Remove strlen and strnlen related parts.
47997         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
47998         Inline strlen part.
47999         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
48001         * sysdeps/x86_64/multiarch/strlen.S: Remove.
48002         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
48003         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
48004         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
48005         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48006         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
48008 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
48010         * manual/memory.texi (Malloc Tunable Parameters):
48011         Sort parameters alphabetically. Add comments for missing entries.
48013 2013-03-17  David S. Miller  <davem@davemloft.net>
48015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48017 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
48019         [BZ #15283]
48020         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
48021         for arguments at most half maximum finite value.
48022         * math/libm-test.inc (j0_test): Add more tests.
48023         (j1_test): Likewise.
48024         (y0_test): Likewise.
48025         (y1_test): Likewise.
48026         * sysdeps/i386/fpu/libm-test-ulps: Update.
48027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48029         [BZ #14155]
48030         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
48031         1 / x and functions P and Q for arguments above 0x1p256L.
48032         (__ieee754_y0l): Likewise.
48033         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
48034         (__ieee754_y1l): Likewise.
48035         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
48036         (j1_test): Likewise.
48037         (y0_test): Likewise.
48038         (y1_test): Likewise.
48040 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
48042         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
48043         variable.
48045 2013-03-15  Roland McGrath  <roland@hack.frob.com>
48047         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
48048         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
48049         zero since it's initialized to EXEC_PAGESIZE.
48051         * sysdeps/unix/sysv/linux/ldsodefs.h
48052         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
48053         * sysdeps/generic/ldsodefs.h: ... here.
48055 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
48057         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
48059         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
48060         math/test-snan.c.
48061         * math/test-snan.c: Renamed from
48062         sysdeps/powerpc/fpu/test-powerpc-snan.c.
48063         * math/Makefile (tests): Add test-snan.
48064         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
48065         test-powerpc-snan.
48067         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
48068         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
48069         functions.
48070         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
48071         __builtin_nan family of functions.
48072         * math/libm-test.inc (initialize): Initialize qnan_value with
48073         __builtin_nan family of functions.
48074         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
48075         Remove variables.
48076         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
48077         Remove functions.
48078         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
48079         storage class.  Initialize qNaN_var and sNaN_var with
48080         __builtin_nan and __builtin_nans families of functions,
48081         respectively.
48083         * math/libm-test.inc (acosh_test): Also test with qNaN input.
48084         (sqrt_test): Remove duplicate test with qNaN input.
48085         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
48086         (round_test, signbit_test, significand_test): Note missing +/-Inf
48087         as well as qNaN tests.
48089         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
48090         qNaN_var.  Fix a few strings, too.
48091         * math/libm-test.inc (nan_value): Rename to qnan_value.
48092         * math/gen-libm-test.pl (%beautify): Adjust to that.
48093         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
48094         * math/test-misc.c (main): Likewise.
48095         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
48096         to __qnan_bytes, and __qnan_union, respectively.
48097         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
48098         Likewise.
48099         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
48100         and lqnanval, respectively.
48101         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
48102         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
48103         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
48104         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
48106         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
48107         * math/test-misc.c (main) [__x86_64__]: Enable test for long
48108         doubles.
48110         * math/test-misc.c (main): Fix copy'n'pastos.
48111         * misc/tst-efgcvt.c (special): Likewise.
48113         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
48114         Remove declarations.
48116 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48118         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
48119         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
48120         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
48121         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
48123 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48125         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48126         macro to return vdso values correctly in IFUNC implementations.
48127         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48128         Optimization by using IFUNC.
48130 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48131             Richard Henderson  <rth@redhat.com>
48132             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48134         * Makefile.in (bench): New target.
48135         * NEWS: Mention the benchmark framework.
48136         * Rules (bench): Likewise.
48137         (binaries-bench): Generate binaries for functions to
48138         benchmark.
48139         * benchtests/Makefile: New makefile for benchmark tests.
48140         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48141         programs.
48142         * benchtests/exp-inputs: New input file for EXP function.
48143         * benchtests/pow-inputs: New input file for POW function.
48144         * scripts/bench.pl: New script to generate source files for
48145         benchmark programs.
48147 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48149         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48150         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48151         computations on mantissa.  Use macros for rounding and
48152         division.
48153         (denorm): Likewise.
48154         (__dbl_mp): Likewise.
48155         (add_magnitudes): Likewise.
48156         (sub_magnitudes): Likewise.
48157         (__mul): Likewise.
48158         (__sqr): Likewise.
48159         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48160         powers of two in terms of TWOPOW macro.
48161         (mp_no): Make type of mantissa as MANTISSA_T.
48162         [!RADIXI]: Define RADIXI.
48163         [!TWO52]: Define TWO52.
48164         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48166         * manual/nptl.texi (cindex): Modify threads to pthreads.
48168 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48170         * sysdeps/x86_64/preconfigure: Regenerated.
48172 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48174         [BZ #14155]
48175         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48176         0x1p28 and above.
48177         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48178         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48179         0x1p28 and above.
48180         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48181         * math/libm-test.inc (j0_test): Do not allow one spurious
48182         underflow exception.
48183         (y1_test): Likewise.
48185 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48187         * manual/Makefile (chapters): Add nptl.
48188         * manual/debug.texi (Debugging Support): Add link to Threads
48189         chapter.
48190         * manual/nptl.texi: New file.
48192         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48194 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48196         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48197         for non-NULL pointer before the memory validity test. Pointed
48198         out by Holger Brunck <holger.brunck@keymile.com>.
48200 2013-03-13  Andreas Schwab  <schwab@suse.de>
48202         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48203         instead of .os.
48205 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48207         * timezone/zic.c: Update from tzcode 2013b.
48209 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48211         * manual/install.texi (Configuring and compiling):
48212         Mention i686 and i586.
48213         * INSTALL: Regenerate.
48215 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48217         * sysdeps/init_array/elf-init.c: New file.
48218         * csu/elf-init.c
48219         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48220         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48222         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48223         __gmon_start__ as global, but as static with a .preinit_array pointer.
48224         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48225         * sysdeps/init_array/crti.S: New file, empty except for comments.
48226         * sysdeps/init_array/crtn.S: Likewise.
48228 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48230         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48231         definining bcopy.
48232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48233         Remove Prefer_SSE_for_memop.
48234         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48235         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48236         HAS_PREFER_SSE_FOR_MEMOP.
48237         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48238         memset-x86-64.
48239         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48240         Remove bzero, memset ifunc support.
48241         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48242         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48243         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48244         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48246 2013-03-11  Andreas Schwab  <schwab@suse.de>
48248         [BZ #15234]
48249         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48250         by SHLIB_COMPAT.
48251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48252         (GLIBC_2.16): Remove pthread_atfork.
48254 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48256         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48257         (ptestcases.h): Likewise.
48259 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48261         * Makeconfig ($(common-objpfx)config.status): Depend on
48262         sysdeps/*/preconfigure{,.in} too.
48264 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48266         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48267         (__free_hook): Use void * instead of __malloc_ptr_t.
48268         (__malloc_hook): Likewise.
48269         (__realloc_hook): Likewise.
48270         (__memalign_hook): Likewise.
48271         (__after_morecore_hook): Likewise.
48272         * malloc/arena.c (save_malloc_hook): Likewise.
48273         (save_free_hook): Likewise.
48274         * malloc/hooks.c (malloc_hook_ini): Likewise.
48275         (realloc_hook_ini): Likewise.
48276         (memalign_hook_ini): Likewise.
48277         * malloc/malloc.c (malloc_hook_ini): Likewise.
48278         (realloc_hook_ini): Likewise.
48279         (memalign_hook_ini): Likewise.
48280         (__free_hook): Likewise.
48281         (__malloc_hook): Likewise.
48282         (__realloc_hook): Likewise.
48283         (__memalign_hook): Likewise.
48284         (__libc_malloc): Likewise.
48285         (__libc_free): Likewise.
48286         (__libc_realloc): Likewise.
48287         (__libc_memalign): Likewise.
48288         (__libc_valloc): Likewise.
48289         (__libc_pvalloc): Likewise.
48290         (__libc_calloc): Likewise.
48291         (__posix_memalign): Likewise.
48292         * malloc/morecore.c (__sbrk): Likewise.
48293         (__default_morecore): Likewise.
48295         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48297         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48298         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48299         __malloc_ptrdiff_t.
48301         * malloc/malloc.h (__malloc_size_t): Remove macro.
48302         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48303         __malloc_size_t.
48304         (old_memalign_hook): Likewise.
48305         (old_realloc_hook): Likewise.
48306         (struct hdr): Likewise.
48307         (flood): Likewise.
48308         (mallochook): Likewise.
48309         (memalignhook): Likewise.
48310         (reallochook): Likewise.
48311         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48312         (tr_old_realloc_hook): Likewise.
48313         (tr_old_memalign_hook): Likewise.
48314         (tr_mallochook): Likewise.
48315         (tr_reallochook): Likewise.
48316         (tr_memalignhook): Likewise.
48318 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48320         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48321         default_ldbl_pack and using as default implementation.
48322         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48323         implementation.
48324         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48325         redundant definition.
48326         (ldbl_insert_mantissa): Likewise.
48327         (ldbl_canonicalize): Likewise.
48328         (ldbl_nearbyint): Likewise.
48329         (ldbl_pack): Rename to ldbl_pack_ppc.
48330         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48331         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48332         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48334 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48337         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48338         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48339         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48341         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48342         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48343         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48345 2013-03-07  Andreas Jaeger  <aj@suse.de>
48347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48348         bits/mman-linux.h.
48350 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48352         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48353         Include mpa.h and declare __MPEXP.
48354         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48355         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48356         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48357         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48358         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48359         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48360         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48362         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48363         (__slowpow): Use long double EXPL and LOGL functions to
48364         compute POW.
48365         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48366         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48367         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48368         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48369         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48370         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48372         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48373         intermediate variable to calculate exponent.
48374         (__sqr): Likewise.
48375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48376         Likewise.
48377         (__sqr): Likewise.
48379         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48380         [!NO__SQR]: Define __sqr.
48381         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48382         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48383         sysdeps/ieee754/dbl-64/mpa.c.
48384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48386         [BZ #12723]
48387         * posix/Makefile (tests): Add tst-pathconf.
48388         * posix/tst-pathconf.c: New test case.
48389         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48390         _PC_PIPE_BUF.
48391         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48393 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48395         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48397 2013-03-06  Andreas Jaeger  <aj@suse.de>
48399         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48400         definition via __MAP_ANONYMOUS.
48402         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48403         it's not part of Linux headers.
48405         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48406         (MAP_HUGE_MASK): Define.
48408         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48409         Define.
48410         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48411         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48412         Define.
48413         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48414         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48415         Define.
48416         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48417         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48418         Define.
48419         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48421         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48422         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48423         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48424         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48425         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48426         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48428         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48429         Handle f2fs.
48431         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48432         Handle f2fs and efivarfs.
48434         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48435         f2fs.
48437         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48438         (EFIVARFS_MAGIC): Add.
48439         (F2FS_LINK_MAX): Add.
48441 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48443         * stdio-common/vfprintf.c: Replace __builtin_expect with
48444         __glibc_unlikely.
48446 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48448         [BZ #13550]
48449         * sysdeps/generic/bp-sym.h: Remove file.
48450         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48451         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48452         <bp-sym.h> and <bp-asm.h>.
48453         (__longjmp): Don't use BP_SYM.
48454         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48455         and <bp-asm.h>.
48456         (memcpy): Don't use BP_SYM.
48457         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48458         <bp-sym.h> and <bp-asm.h>.
48459         (memcpy): Don't use BP_SYM.
48460         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48461         <bp-asm.h>.
48462         (memcpy): Don't use BP_SYM.
48463         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48464         <bp-asm.h>.
48465         (memset): Don't use BP_SYM.
48466         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48467         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48468         (__bzero): Don't use BP_SYM.
48469         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48470         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48471         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48472         <bp-sym.h> and <bp-asm.h>.
48473         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48474         pointers.
48475         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48476         <bp-sym.h> and <bp-asm.h>.
48477         (memcpy): Don't use BP_SYM.
48478         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48479         <bp-sym.h> and <bp-asm.h>.
48480         (memset): Don't use BP_SYM.
48481         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48482         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48483         (__bzero): Don't use BP_SYM.
48484         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48485         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48486         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48487         <bp-sym.h> and <bp-asm.h>.
48488         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48489         pointers.
48490         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48491         <bp-sym.h> and <bp-asm.h>.
48492         (memcpy): Don't use BP_SYM.
48493         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
48494         <bp-sym.h> and <bp-asm.h>.
48495         (memset): Don't use BP_SYM.
48496         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48497         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48498         (__bzero): Don't use BP_SYM.
48499         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48500         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48501         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
48502         <bp-sym.h> and <bp-asm.h>.
48503         (__memchr): Don't use BP_SYM.
48504         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
48505         <bp-sym.h> and <bp-asm.h>.
48506         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48507         pointers.
48508         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48509         <bp-sym.h> and <bp-asm.h>.
48510         (memcpy): Don't use BP_SYM.
48511         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48512         <bp-sym.h> and <bp-asm.h>.
48513         (__mempcpy): Don't use BP_SYM.
48514         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48515         <bp-sym.h> and <bp-asm.h>.
48516         (__memrchr): Don't use BP_SYM.
48517         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48518         <bp-sym.h> and <bp-asm.h>.
48519         (memset): Don't use BP_SYM.
48520         (__bzero): Likewise.
48521         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48522         <bp-sym.h> and <bp-asm.h>.
48523         (__rawmemchr): Don't use BP_SYM.
48524         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48525         <bp-sym.h> and <bp-asm.h>.
48526         (__STRCMP): Don't use BP_SYM.
48527         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
48528         <bp-sym.h> and <bp-asm.h>.
48529         (strchr): Don't use BP_SYM.
48530         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
48531         <bp-sym.h> and <bp-asm.h>.
48532         (__strchrnul): Don't use BP_SYM.
48533         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
48534         <bp-sym.h> and <bp-asm.h>.
48535         (strlen): Don't use BP_SYM.
48536         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
48537         <bp-sym.h> and <bp-asm.h>.
48538         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48539         pointers.
48540         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
48541         <bp-sym.h> and <bp-asm.h>.
48542         (__strnlen): Don't use BP_SYM.
48543         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
48544         <bp-sym.h> and <bp-asm.h>.
48545         (__GI__setjmp): Don't use BP_SYM.
48546         (_setjmp): Likewise.
48547         (__sigsetjmp): Likewise.
48548         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
48549         (L(start_addresses)): Don't use BP_SYM.
48550         (_start): Likewise.
48551         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
48552         <bp-asm.h>.
48553         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
48554         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
48555         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48556         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48557         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
48558         <bp-asm.h>.
48559         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
48560         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
48561         about bounded pointers.
48562         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48563         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48564         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
48565         <bp-asm.h>.
48566         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48567         about bounded pointers.  Remove GKM FIXME comments.
48568         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48569         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
48570         <bp-asm.h>.
48571         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
48572         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
48573         Remove GKM FIXME comments.
48574         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48575         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48576         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
48577         <bp-asm.h>.
48578         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48579         about bounded pointers.  Remove GKM FIXME comment.
48580         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
48581         and <bp-asm.h>.
48582         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48583         pointers.
48584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
48585         <bp-sym.h> and <bp-asm.h>.
48586         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
48588         <bp-sym.h> and <bp-asm.h>.
48589         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48590         comment.
48592 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48594         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
48595         call free(NULL).
48597 2013-03-05  David S. Miller  <davem@davemloft.net>
48599         * po/es.po: Update from translation team.
48601 2013-03-05  Andreas Jaeger  <aj@suse.de>
48603         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
48604         <bits/mman-linux.h>.
48605         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48606         is fine.
48607         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
48608         <bits/mman-linux.h> to end of file.
48609         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48610         is fine.
48611         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
48612         <bits/mman-linux.h> to end of file.
48613         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48614         is fine.
48615         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
48616         <bits/mman-linux.h> to end of file.
48618         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
48619         (MCL_CURRENT, MCL_FUTURE): Define here.
48621 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48623         [BZ #15232]
48624         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
48625         attribute_hidden.
48626         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
48628 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48630         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
48631         fourth parameter needed for rt_sigprocmask syscall.
48632         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
48633         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48634         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
48635         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48636         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48637         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
48639 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
48641         [BZ #13550]
48642         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
48643         comment about bounded pointers.
48644         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
48645         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
48647 2013-03-04  Andreas Jaeger  <aj@suse.de>
48649         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
48650         common definitions.
48652         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
48653         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
48654         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
48655         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48656         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48657         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48659 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48661         [BZ #15055]
48662         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
48663         __ieee754_sqrl instead of __sqrl.
48665 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
48667         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
48668         * sysdeps/powerpc/fpu_control.h: ... here.
48669         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
48670         * sysdeps/powerpc/bits/fenvinline.h: ... here.
48671         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
48672         * sysdeps/powerpc/bits/mathinline.h: ... here.
48674 2013-03-01  Roland McGrath  <roland@hack.frob.com>
48676         * elf/dl-hwcaps.c (_dl_important_hwcaps):
48677         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
48678         to just [NEED_DL_SYSINFO_DSO].
48679         * elf/dl-support.c: Likewise.
48680         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
48681         * elf/rtld.c (dl_main): Likewise.
48682         * elf/setup-vdso.h (setup_vdso): Likewise.
48683         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
48684         * sysdeps/unix/sysv/linux/dl-sysdep.c
48685         (_dl_discover_osversion): Likewise.
48687 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
48689         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
48690         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48692 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48694         * NEWS: Mention libm performance improvements and non-x86 PI
48695         futex support.
48697         * csu/libc-start.c (__pthread_initialize_minimal): Change
48698         function arguments.
48699         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48701 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
48703         [BZ #13550]
48704         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
48705         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
48706         <bp-sym.h> and <bp-asm.h>.
48707         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48708         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
48709         and <bp-asm.h>.
48710         (memcpy): Don't use BP_SYM.
48711         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
48712         <bp-asm.h>.
48713         (__mpn_add_n): Don't use BP_SYM.
48714         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
48715         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
48716         and <bp-asm.h>.
48717         (__mpn_addmul_1): Don't use BP_SYM.
48718         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48719         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
48720         <bp-sym.h>.
48721         (_setjmp): Don't use BP_SYM.
48722         (__novmx_setjmp): Likewise.
48723         (__GI__setjmp): Likewise.
48724         (__vmx_setjmp): Likewise.
48725         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
48726         <bp-sym.h>.
48727         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
48728         (__bzero): Don't use BP_SYM.
48729         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48730         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48731         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
48732         <bp-sym.h> and <bp-asm.h>.
48733         (memcpy): Don't use BP_SYM.
48734         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
48735         <bp-sym.h> and <bp-asm.h>.
48736         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48737         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
48738         <bp-sym.h> and <bp-asm.h>.
48739         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48740         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
48741         <bp-asm.h>.
48742         (__mpn_lshift): Don't use BP_SYM.
48743         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48744         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
48745         <bp-asm.h>.
48746         (memset): Don't use BP_SYM.
48747         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48748         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48749         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
48750         <bp-asm.h>.
48751         (__mpn_mul_1): Don't use BP_SYM.
48752         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48753         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
48754         <bp-sym.h> and <bp-asm.h>.
48755         (memcmp): Don't use BP_SYM.
48756         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
48757         <bp-sym.h> and <bp-asm.h>.
48758         (memcpy): Don't use BP_SYM.
48759         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
48760         <bp-sym.h> and <bp-asm.h>.
48761         (memset): Don't use BP_SYM.
48762         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
48763         <bp-sym.h> and <bp-asm.h>.
48764         (strncmp): Don't use BP_SYM.
48765         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
48766         <bp-sym.h> and <bp-asm.h>.
48767         (memcpy): Don't use BP_SYM.
48768         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
48769         <bp-sym.h> and <bp-asm.h>.
48770         (memset): Don't use BP_SYM.
48771         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
48772         <bp-sym.h> and <bp-asm.h>.
48773         (__memchr): Don't use BP_SYM.
48774         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
48775         <bp-sym.h> and <bp-asm.h>.
48776         (memcmp): Don't use BP_SYM.
48777         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
48778         <bp-sym.h> and <bp-asm.h>.
48779         (memcpy): Don't use BP_SYM.
48780         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
48781         <bp-sym.h> and <bp-asm.h>.
48782         (__mempcpy): Don't use BP_SYM.
48783         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
48784         <bp-sym.h> and <bp-asm.h>.
48785         (__memrchr): Don't use BP_SYM.
48786         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
48787         <bp-sym.h> and <bp-asm.h>.
48788         (memset): Don't use BP_SYM.
48789         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
48790         <bp-sym.h> and <bp-asm.h>.
48791         (__rawmemchr): Don't use BP_SYM.
48792         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
48793         <bp-sym.h> and <bp-asm.h>.
48794         (__STRCMP): Don't use BP_SYM.
48795         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
48796         <bp-sym.h> and <bp-asm.h>.
48797         (strchr): Don't use BP_SYM.
48798         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
48799         <bp-sym.h> and <bp-asm.h>.
48800         (__strchrnul): Don't use BP_SYM.
48801         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
48802         <bp-sym.h> and <bp-asm.h>.
48803         (strlen): Don't use BP_SYM.
48804         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
48805         <bp-sym.h> and <bp-asm.h>.
48806         (strncmp): Don't use BP_SYM.
48807         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
48808         <bp-sym.h> and <bp-asm.h>.
48809         (__strnlen): Don't use BP_SYM.
48810         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
48811         <bp-asm.h>.
48812         (__mpn_rshift): Don't use BP_SYM.
48813         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48814         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
48815         <bp-sym.h> and <bp-asm.h>.
48816         (__sigsetjmp): Don't use BP_SYM.
48817         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
48818         (L(start_addresses)): Don't use BP_SYM.
48819         (_start): Likewise.
48820         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
48821         <bp-asm.h>.
48822         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
48823         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48824         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48825         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
48826         <bp-asm.h>.
48827         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
48828         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48829         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48830         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
48831         <bp-asm.h>.
48832         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48833         comments.
48834         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48835         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
48836         <bp-asm.h>.
48837         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
48838         FIXME comments.
48839         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48840         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48841         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
48842         <bp-asm.h>.
48843         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48844         comment.
48845         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
48846         and <bp-asm.h>.
48847         (strncmp): Don't use BP_SYM,
48848         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
48849         <bp-asm.h>.
48850         (__mpn_sub_n): Don't use BP_SYM.
48851         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48852         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
48853         and <bp-asm.h>.
48854         (__mpn_submul_1): Don't use BP_SYM.
48855         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
48857         <bp-sym.h> and <bp-asm.h>.
48858         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
48860         <bp-sym.h> and <bp-asm.h>.
48861         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48862         comment.
48864 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
48867         Use ZK to minimize writes to Z.
48868         (sub_magnitudes): Simplify code a bit.
48869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
48870         Use ZK to minimize writes to Z.
48871         (sub_magnitudes): Simplify code a bit.
48873 2013-02-27  Roland McGrath  <roland@hack.frob.com>
48875         * csu/gmon-start.c: Add special exception to license text.
48877 2013-02-27  Richard Henderson  <rth@redhat.com>
48879         * scripts/config.guess: Update from config.git.
48880         * scripts/config.sub: Likewise.
48882 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48884         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
48886         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
48888         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
48890         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
48892         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
48894 2013-02-26  Roland McGrath  <roland@hack.frob.com>
48896         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
48897         [$(build-shared = yes].
48899 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48901         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
48902         (__mul): Reduce iterations for calculating mantissa.
48904         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
48905         MPTWO.
48906         (__mpranred): Likewise.
48908         [BZ #15160]
48909         * malloc/memusagestat.c (main): Draw graphs for heap and stack
48910         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48912 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
48914         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
48915         Define __attribute__.
48917 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48919         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48920         unused.
48921         * posix/regex_internal.h (__attribute): Remove.
48922         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
48923         (re_string_context_at): Likewise.
48924         (bitset_not): Use __attribute__ and mark function as possibly
48925         unused.
48926         (bitset_merge): Likewise.
48927         (bitset_mask): Likewise.
48928         (re_string_char_size_at): Likewise.
48929         (re_string_wchar_at): Likewise.
48930         (re_string_elem_size_at): Likewise.
48932 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48934         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48935         code.
48936         (cc32): Likewise.
48938         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
48939         (__acr): Likewise.
48940         (__cpy): Likewise.
48941         (norm): Likewise.
48942         (denorm): Likewise.
48943         (__dbl_mp): Likewise.
48944         (add_magnitudes): Likewise.
48945         (sub_magnitudes): Likewise.
48946         (__mul): Likewise.
48947         (__inv): Likewise.
48949         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
48950         style.
48952         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48953         style.
48955         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
48956         code.
48958         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48959         up changes with default code.
48960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
48961         Likewise.
48963 2013-02-24  Allan McRae  <allan@archlinux.org>
48965         * manual/socket.texi (The Internet Namespace): Order menu items
48966         to match that in the file.
48968         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
48969         node listing of the info page menu.
48971 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
48973         [BZ #13550]
48974         * sysdeps/i386/bp-asm.h: Remove file.
48975         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48976         (PARMS): Do not use macros from bp-asm.h.
48977         (S1): Likewise.
48978         (S2): Likewise.
48979         (SIZE): Likewise.
48980         (__mpn_add_n): Do not use BP_SYM
48981         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
48982         "bp-asm.h".
48983         (PARMS): Do not use macros from bp-asm.h.
48984         (S1): Likewise.
48985         (SIZE): Likewise.
48986         (__mpn_addmul_1): Do not use BP_SYM
48987         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
48988         "bp-asm.h".
48989         (PARMS): Do not use macros from bp-asm.h.
48990         (SIGMSK): Likewise.
48991         (_setjmp): Likewise.  Do not use BP_SYM.
48992         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
48993         "bp-asm.h".
48994         (PARMS): Do not use macros from bp-asm.h.
48995         (SIGMSK): Likewise.
48996         (setjmp): Likewise.  Do not use BP_SYM.
48997         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
48998         "bp-asm.h".
48999         (PARMS): Do not use macros from bp-asm.h.
49000         (__frexp): Do not use BP_SYM.
49001         (frexp): Likewise.
49002         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
49003         "bp-asm.h".
49004         (PARMS): Do not use macros from bp-asm.h.
49005         (__frexpf): Do not use BP_SYM.
49006         (frexpf): Likewise.
49007         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
49008         "bp-asm.h".
49009         (PARMS): Do not use macros from bp-asm.h.
49010         (__frexpl): Do not use BP_SYM.
49011         (frexpl): Likewise.
49012         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
49013         "bp-asm.h".
49014         (PARMS): Do not use macros from bp-asm.h.
49015         (__remquo): Do not use BP_SYM.
49016         (remquo): Likewise.
49017         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
49018         "bp-asm.h".
49019         (PARMS): Do not use macros from bp-asm.h.
49020         (__remquof): Do not use BP_SYM.
49021         (remquof): Likewise.
49022         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
49023         "bp-asm.h".
49024         (PARMS): Do not use macros from bp-asm.h.
49025         (__remquol): Do not use BP_SYM.
49026         (remquol): Likewise.
49027         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
49028         "bp-asm.h".
49029         (PARMS): Do not use macros from bp-asm.h.
49030         (DEST): Likewise.
49031         (SRC): Likewise.
49032         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
49033         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
49034         "bp-asm.h".
49035         (PARMS): Do not use macros from bp-asm.h.
49036         (strlen): Do not use BP_SYM.
49037         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
49038         "bp-asm.h".
49039         (PARMS): Do not use macros from bp-asm.h.
49040         (S1): Likewise.
49041         (S2): Likewise.
49042         (SIZE): Likewise.
49043         (__mpn_add_n): Do not use BP_SYM.
49044         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
49045         "bp-asm.h".
49046         (PARMS): Do not use macros from bp-asm.h.
49047         (S1): Likewise.
49048         (SIZE): Likewise.
49049         (__mpn_addmul_1): Do not use BP_SYM.
49050         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
49051         weak_alias.
49052         (bzero): Likewise.
49053         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
49054         "bp-asm.h".
49055         (PARMS): Do not use macros from bp-asm.h.
49056         (S): Likewise.
49057         (SIZE): Likewise.
49058         (__mpn_lshift): Do not use BP_SYM.
49059         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
49060         "bp-asm.h".
49061         (PARMS): Do not use macros from bp-asm.h.
49062         (DEST): Likewise.
49063         (SRC): Likewise.
49064         (LEN): Likewise.
49065         (memcpy): Likewise.  Do not use BP_SYM.
49066         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
49067         libc_hidden_def and weak_alias.
49068         (mempcpy): Do not use BP_SYM in weak_alias.
49069         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
49070         "bp-asm.h".
49071         (PARMS): Do not use macros from bp-asm.h.
49072         (DEST): Likewise.
49073         (LEN): Likewise.
49074         [!BZERO_P] (CHR): Likewise.
49075         (memset): Likewise.  Do not use BP_SYM.
49076         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
49077         "bp-asm.h".
49078         (PARMS): Do not use macros from bp-asm.h.
49079         (S1): Likewise.
49080         (SIZE): Likewise.
49081         (__mpn_mul_1): Do not use BP_SYM.
49082         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
49083         "bp-asm.h".
49084         (PARMS): Do not use macros from bp-asm.h.
49085         (S): Likewise.
49086         (SIZE): Likewise.
49087         (__mpn_rshift): Do not use BP_SYM.
49088         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
49089         "bp-asm.h".
49090         (PARMS): Do not use macros from bp-asm.h.
49091         (STR): Likewise.
49092         (CHR): Likewise.
49093         (strchr): Likewise.  Do not use BP_SYM.
49094         (index): Do not use BP_SYM in weak_alias.
49095         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
49096         "bp-asm.h".
49097         (PARMS): Do not use macros from bp-asm.h.
49098         (DEST): Likewise.
49099         (SRC): Likewise.
49100         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
49101         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
49102         "bp-asm.h".
49103         (PARMS): Do not use macros from bp-asm.h.
49104         (strlen): Do not use BP_SYM.
49105         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
49106         "bp-asm.h".
49107         (PARMS): Do not use macros from bp-asm.h.
49108         (S1): Likewise.
49109         (S2): Likewise.
49110         (SIZE): Likewise.
49111         (__mpn_sub_n): Do not use BP_SYM.
49112         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
49113         "bp-asm.h".
49114         (PARMS): Do not use macros from bp-asm.h.
49115         (S1): Likewise.
49116         (SIZE): Likewise.
49117         (__mpn_submul_1): Do not use BP_SYM.
49118         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
49119         "bp-asm.h".
49120         (PARMS): Do not use macros from bp-asm.h.
49121         (S1): Likewise.
49122         (S2): Likewise.
49123         (SIZE): Likewise.
49124         (__mpn_add_n): Do not use BP_SYM.
49125         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49126         weak_alias.
49127         (bzero): Likewise.
49128         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49129         "bp-asm.h".
49130         (PARMS): Do not use macros from bp-asm.h.
49131         (BLK2): Likewise.
49132         (LEN): Likewise.
49133         (memcmp): Do not use BP_SYM.
49134         (bcmp): Do not use BP_SYM in weak_alias.
49135         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49136         "bp-asm.h".
49137         (PARMS): Do not use macros from bp-asm.h.
49138         (DEST): Likewise.
49139         (SRC): Likewise.
49140         (LEN): Likewise.
49141         (memcpy): Likewise.  Do not use BP_SYM.
49142         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49143         "bp-asm.h".
49144         (PARMS): Do not use macros from bp-asm.h.
49145         (DEST): Likewise.
49146         (SRC): Likewise.
49147         (LEN): Likewise.
49148         (memmove): Likewise.  Do not use BP_SYM.
49149         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49150         "bp-asm.h".
49151         (PARMS): Do not use macros from bp-asm.h.
49152         (DEST): Likewise.
49153         (SRC): Likewise.
49154         (LEN): Likewise.
49155         (__mempcpy): Likewise.  Do not use BP_SYM.
49156         (mempcpy): Do not use BP_SYM in weak_alias.
49157         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49158         "bp-asm.h".
49159         (PARMS): Do not use macros from bp-asm.h.
49160         (DEST): Likewise.
49161         (LEN): Likewise.
49162         [!BZERO_P] (CHR): Likewise.
49163         (memset): Likewise.  Do not use BP_SYM.
49164         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49165         "bp-asm.h".
49166         (PARMS): Do not use macros from bp-asm.h.
49167         (STR2): Likewise.
49168         (strcmp): Do not use BP_SYM.
49169         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49170         "bp-asm.h".
49171         (PARMS): Do not use macros from bp-asm.h.
49172         (STR): Likewise.
49173         (DELIM): Likewise.
49174         [USE_AS_STRTOK_R] (SAVE): Likewise.
49175         (FUNCTION): Likewise.  Do not use BP_SYM.
49176         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49177         aliases.
49178         (strtok_r): Likewise.
49179         (__GI___strtok_r): Likewise.
49180         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49181         (PARMS): Do not use macros from bp-asm.h.
49182         (S): Likewise.
49183         (SIZE): Likewise.
49184         (__mpn_lshift): Do not use BP_SYM.
49185         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49186         (PARMS): Do not use macros from bp-asm.h.
49187         (STR): Likewise.
49188         (CHR): Likewise.
49189         (__memchr): Do not use BP_SYM.
49190         (memchr): Do not use BP_SYM in weak_alias.
49191         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49192         (PARMS): Do not use macros from bp-asm.h.
49193         (BLK2): Likewise.
49194         (LEN): Likewise.
49195         (memcmp): Do not use BP_SYM.
49196         (bcmp): Do not use BP_SYM in weak_alias.
49197         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49198         (PARMS): Do not use macros from bp-asm.h.
49199         (S1): Likewise.
49200         (SIZE): Likewise.
49201         (__mpn_mul_1): Do not use BP_SYM.
49202         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49203         "bp-asm.h".
49204         (PARMS): Do not use macros from bp-asm.h.
49205         (STR): Likewise.
49206         (CHR): Likewise.
49207         (__rawmemchr): Do not use BP_SYM.
49208         (rawmemchr): Do not use BP_SYM in weak_alias.
49209         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49210         (PARMS): Do not use macros from bp-asm.h.
49211         (S): Likewise.
49212         (SIZE): Likewise.
49213         (__mpn_rshift): Do not use BP_SYM.
49214         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49215         (PARMS): Do not use macros from bp-asm.h.
49216         (SIGMSK): Likewise.
49217         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49218         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49219         (_start): Do not use BP_SYM.
49220         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49221         (PARMS): Do not use macros from bp-asm.h.
49222         (DEST): Likewise.
49223         (SRC): Likewise.
49224         (__stpcpy): Likewise.  Do not use BP_SYM.
49225         (stpcpy): Do not use BP_SYM in weak_alias.
49226         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49227         "bp-asm.h".
49228         (PARMS): Do not use macros from bp-asm.h.
49229         (DEST): Likewise.
49230         (SRC): Likewise.
49231         (LEN): Likewise.
49232         (__stpncpy): Likewise.  Do not use BP_SYM.
49233         (stpncpy): Do not use BP_SYM in weak_alias.
49234         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49235         (PARMS): Do not use macros from bp-asm.h.
49236         (STR): Likewise.
49237         (CHR): Likewise.
49238         (strchr): Likewise.  Do not use BP_SYM.
49239         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49240         "bp-asm.h".
49241         (PARMS): Do not use macros from bp-asm.h.
49242         (STR): Likewise.
49243         (CHR): Likewise.
49244         (__strchrnul): Likewise.  Do not use BP_SYM.
49245         (strchrnul): Do not use BP_SYM in weak_alias.
49246         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49247         "bp-asm.h".
49248         (PARMS): Do not use macros from bp-asm.h.
49249         (STOP): Likewise.
49250         (strcspn): Do not use BP_SYM.
49251         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49252         "bp-asm.h".
49253         (PARMS): Do not use macros from bp-asm.h.
49254         (STR): Likewise.
49255         (STOP): Likewise.
49256         (strpbrk): Likewise.  Do not use BP_SYM.
49257         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49258         "bp-asm.h".
49259         (PARMS): Do not use macros from bp-asm.h.
49260         (STR): Likewise.
49261         (CHR): Likewise.
49262         (strrchr): Likewise.  Do not use BP_SYM.
49263         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49264         (PARMS): Do not use macros from bp-asm.h.
49265         (SKIP): Likewise.
49266         (strspn): Do not use BP_SYM.
49267         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49268         (PARMS): Do not use macros from bp-asm.h.
49269         (STR): Likewise.
49270         (DELIM): Likewise.
49271         (SAVE): Likewise.
49272         (FUNCTION): Likewise.  Do not use BP_SYM.
49273         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49274         aliases.
49275         (strtok_r): Likewise.
49276         (__GI___strtok_r): Likewise.
49277         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49278         (PARMS): Do not use macros from bp-asm.h.
49279         (S1): Likewise.
49280         (S2): Likewise.
49281         (SIZE): Likewise.
49282         (__mpn_sub_n): Do not use BP_SYM.
49283         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49284         "bp-asm.h".
49285         (PARMS): Do not use macros from bp-asm.h.
49286         (S1): Likewise.
49287         (SIZE): Likewise.
49288         (__mpn_submul_1): Do not use BP_SYM.
49289         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49290         <bp-sym.h>.
49291         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49292         and <bp-asm.h>.
49293         (PARMS): Do not use macros from bp-asm.h.
49294         (FLAGS): Likewise.
49295         (PTID): Likewise.
49296         (TLS): Likewise.
49297         (CTID): Likewise.
49298         (__clone): Do not use BP_SYM.
49299         (clone): Do not use BP_SYM in weak_alias.
49300         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49301         and <bp-asm.h>.
49302         (PARMS): Do not use macros from bp-asm.h.
49303         (LEN): Likewise.
49304         (__mmap64): Do not use BP_SYM.
49305         (mmap64): Do not use BP_SYM in weak_alias.
49306         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49307         <bp-sym.h> and <bp-asm.h>.
49308         (PARMS): Do not use macros from bp-asm.h.
49309         (__posix_fadvise64_l64): Do not use BP_SYM.
49310         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49311         (PARMS): Do not use macros from bp-asm.h.
49312         (NSOPS): Likewise.
49313         (semtimedop): Do not use BP_SYM.
49314         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49315         and <bp-asm.h>.
49317 2013-02-21  Allan McRae  <allan@archlinux.org>
49319         * manual/message.texi (Charset conversion in gettext):
49320         Move @end statement to beginning of line.
49322 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49325         static.
49326         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49327         Likewise.
49329         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49330         (denorm): Likewise.
49331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49334 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49336         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49337         tail-call to the resolved function if pltexit isn't needed.
49339 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49341         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49342         or Y being zero as being unlikely.
49343         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49344         Likewise.
49346 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49348         * manual/nss.texi (System Databases and Name Service Switch):
49349         Remove frobnicate @pxref.
49351 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49353         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49354         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49356 2013-02-20  Petr Machata  <pmachata@redhat.com>
49358         * elf/elf.h (R_ARM_TARGET1): New macro.
49359         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49360         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49361         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49362         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49363         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49364         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49365         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49366         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49367         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49368         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49369         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49370         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49371         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49372         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49373         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49374         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49375         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49376         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49377         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49378         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49379         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49380         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49381         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49382         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49383         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49384         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49385         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49386         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49387         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49388         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49389         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49390         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49391         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49392         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49393         (R_ARM_THM_GOT_BREL12): Likewise.
49394         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49395         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49396         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49397         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49398         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49399         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49400         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49401         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49402         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49404 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49406         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49407         __attribute_used__ to __attribute__ ((unused)).
49409 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49411         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49412         powerpc mpa.c.
49413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49414         comment formatting.
49415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49417 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49419         [BZ #13550]
49420         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49421         Remove macro.
49422         (ENTER): Remove both macro definitions.
49423         (LEAVE): Likewise.
49424         (CHECK_BOUNDS_LOW): Likewise.
49425         (CHECK_BOUNDS_HIGH): Likewise.
49426         (CHECK_BOUNDS_BOTH): Likewise.
49427         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49428         (RETURN_BOUNDED_POINTER): Likewise.
49429         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49430         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49431         (POP_ERRNO_LOCATION_RETURN): Likewise.
49432         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49433         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49434         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49435         macros.
49436         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49437         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49438         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49439         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49440         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49441         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49442         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49443         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49444         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49445         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49446         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49447         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49448         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49449         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49450         removed macros.
49451         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49452         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49453         macros.
49454         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49455         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49456         * sysdeps/i386/i586/memset.S (memset): Likewise.
49457         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49458         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49459         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49460         macros.
49461         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49462         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49463         Change uses of L(2) to L(out).
49464         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49465         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49466         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49467         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49468         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49469         removed macros.
49470         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49471         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49472         macros.
49473         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49474         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49475         (RETURN): Do not use macro LEAVE.
49476         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49477         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49478         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49479         * sysdeps/i386/i686/memset.S (memset): Likewise.
49480         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49481         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49482         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49483         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49484         Likewise.
49485         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49486         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49487         L(1_2) and L(1_3) into L(1).
49488         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49489         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49490         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49491         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
49492         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49493         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
49494         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
49495         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49496         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
49497         macros.
49498         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
49499         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49500         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
49501         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
49502         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
49503         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49504         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
49505         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
49506         * sysdeps/i386/strcspn.S (strcspn): Likewise.
49507         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49508         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49509         * sysdeps/i386/strspn.S (strspn): Likewise.
49510         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49511         conditional code.
49512         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49513         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49514         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49515         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49516         L(1_3) into L(1_1).
49517         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49518         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49519         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49520         macros.
49521         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49523 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49525         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49526         macro.
49528 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49530         * math/atest-exp.c (exp_mpn): Remove ROUND.
49531         * math/atest-exp2.c (exp_mpn): Likewise.
49532         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
49534         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
49535         * stdlib/tst-tls-atexit-lib.c: Likewise.
49536         * stdlib/tst-tls-atexit.c: Likewise.
49538 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49540         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
49541         and __attribute_alloc_size__.
49543 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49545         * include/programs/xmalloc.h: Change __attribute_alloc_size to
49546         __attribute_alloc_size__.
49547         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
49548         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
49550 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49552         * include/programs/xmalloc.h: New file.
49553         * catgets/gencat.c: Include it.
49554         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
49555         * elf/pldd.c: Likewise.
49556         * iconv/iconv_charmap.c: Likewise.
49557         * iconv/iconvconfig.c: Likewise.
49558         * iconv/strtab.c: Likewise.
49559         * locale/programs/locale.c: Likewise.
49560         * locale/programs/localedef.h: Likewise.
49561         * locale/programs/simple-hash.c: Likewise.
49562         * nscd/nscd.h: Likewise.
49563         * nss/makedb.c: Likewise.
49564         * sysdeps/generic/ldconfig.h: Likewise.
49566 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49568         * Versions.def: Add GLIBC_2.18.
49569         * include/link.h (struct link_map): New member l_tls_dtor_count.
49570         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
49571         (__call_tls_dtors): Likewise.
49572         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
49573         __cxa_thread_atexit_impl.
49574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49575         Likewise.
49576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49577         Likewise.
49578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49579         Likewise.
49580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49581         Likewise.
49582         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
49584         Likewise.
49585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
49586         Likewise.
49587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49589         Likewise.
49590         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
49591         (tests): Add test case tst-tls-atexit.
49592         (modules-names): Add shared library for tst-tls-atexit.
49593         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
49594         (GLIBC_PRIVATE): Add __call_tls_dtors.
49595         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
49596         for libstdc++.
49597         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
49598         * stdlib/tst-tls-atexit.c: New test case.
49599         * stdlib/tst-tls-atexit-lib.c: New test case.
49601         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
49603         * elf/Versions (ld): Add _dl_find_dso_for_object.
49604         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
49605         * elf/dl-open.c (_dl_find_dso_for_object): New function.
49606         (dl_open_worker): Use _dl_find_dso_for_object.
49607         * elf/dl-sym.c (do_sym): Likewise.
49608         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
49610 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49612         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
49613         Syntactic changes only.
49614         (_dl_runtime_profile): Do a tail-call to the resolved function.
49616 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
49618         [BZ #13550]
49619         * sysdeps/x86_64/bp-asm.h: Remove file.
49620         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
49621         <bp-sym.h> and <bp-asm.h>.
49622         (__clone): Do not use BP_SYM.
49623         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
49624         <bp-sym.h> and <bp-asm.h>.
49625         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49626         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
49627         "bp-asm.h".
49628         (_setjmp): Do not use BP_SYM.
49629         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
49630         "bp-asm.h".
49631         (setjmp): Do not use BP_SYM.
49632         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
49633         libc_hidden_def.
49634         (mempcpy): Do not use BP_SYM in weak_alias.
49635         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
49636         "bp-asm.h".
49637         (strchr): Do not use BP_SYM.
49638         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
49639         "bp-asm.h".
49640         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
49641         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
49642         (_start): Do not use BP_SYM.
49643         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
49644         "bp-asm.h".
49645         (strcat): Do not use BP_SYM.
49646         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
49647         "bp-asm.h".
49648         (STRCMP): Do not use BP_SYM.
49649         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
49650         "bp-asm.h".
49651         (STRCPY): Do not use BP_SYM.
49652         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
49653         "bp-asm.h".
49654         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
49655         "bp-asm.h".
49656         (FUNCTION): Do not use BP_SYM.
49657         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
49658         weak_alias.
49659         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
49661 2013-02-17  Andreas Jaeger  <aj@suse.de>
49663         * time/Versions: Sort entries.
49664         * string/Versions: Likewise.
49665         * resolv/Versions: Likewise.
49666         * posix/Versions: Likewise.
49667         * iconv/Versions: Likewise.
49668         * elf/Versions: Likewise.
49669         * wcsmbs/Versions: Likewise.
49671 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49673         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
49674         loop termination condition.
49676         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
49677         variable to calculate EZ.
49678         (__sqr): Likewise.
49680         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
49681         the lower precision input.
49683 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
49685         [BZ #13550]
49686         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
49687         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
49688         (run-via-rtld-prefix): Do not handle %-bp tests.
49689         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
49690         (all-object-suffixes): Remove .ob.
49691         (bppfx): Remove variable.
49692         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
49693         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
49694         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
49695         [$(build-bounded) = yes] (libtype.ob): Likewise.
49696         * Makerules (elide-routines.ob): Remove variable.
49697         (do-tests-clean): Do not handle *-bp.out.
49698         (common-mostlyclean): Do not handle *-bp and *-bp.out.
49699         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
49700         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
49701         (tests): Do not include $(tests-bp.out).
49702         (xtests): Do not include $(xtests-bp.out).
49703         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
49704         [$(build-bounded) = yes] ($(addprefix
49705         $(objpfx),$(binaries-bounded))): Remove rule.
49706         ($(objpfx)%-bp.out): Remove rule.
49707         * config.make.in (build-bounded): Remove variable.
49708         * crypt/Makefile [$(build-bounded) = yes]
49709         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
49710         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
49711         append to variable.
49712         [$(build-bounded) = yes] (install-lib): Likewise.
49713         [$(build-bounded) = yes] (generated): Likewise.
49714         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
49715         Remove rule.
49716         * intl/Makefile [$(build-bounded) = yes]
49717         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
49718         * math/Makefile [$(build-bounded) = yes]
49719         ($(tests:%=$(objpfx)%-bp): Likewise.
49720         * misc/Makefile [$(build-bounded) = yes]
49721         ($(objpfx)tst-tsearch-bp): Likewise.
49722         * nptl/Makeconfig (bounded-thread-library): Remove variable.
49723         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
49724         Remove dependency.
49725         * string/Makefile (o-objects.ob): Remove variable.
49726         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
49727         (CFLAGS-.ob): Remove variable.
49728         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
49729         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
49730         both definitions of variable.
49731         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
49732         (ASFLAGS-.ob): Remove variable.
49734 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
49736         [BZ #13550]
49737         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
49738         Remove __BOUNDED_POINTERS__ from condition.
49739         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
49740         * string/bits/string2.h [!__NO_STRING_INLINES &&
49741         !__BOUNDED_POINTERS__]: Likewise.
49742         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
49743         Likewise.
49744         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
49745         Remove conditional code.
49746         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
49747         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
49748         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
49749         condition.
49751         [BZ #13550]
49752         * csu/libc-start.c: Do not include <bp-sym.h>.
49753         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
49754         * elf/dl-open.c: Do not include <bp-sym.h>.
49755         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
49756         * math/fegetenv.c: Do not include <bp-sym.h>.
49757         (fegetenv): Do not use BP_SYM in versioned symbols.
49758         * nptl/sysdeps/pthread/bits/libc-lockP.h
49759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
49760         <bp-sym.h>.
49761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49762         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
49763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49764         (__pthread_mutex_destroy): Likewise.
49765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49766         (__pthread_mutex_lock): Likewise.
49767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49768         (__pthread_mutex_trylock): Likewise.
49769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49770         (__pthread_mutex_unlock): Likewise.
49771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49772         (__pthread_mutexattr_init): Likewise.
49773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49774         (__pthread_mutexattr_destroy): Likewise.
49775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49776         (__pthread_mutexattr_settype): Likewise.
49777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49778         (__pthread_rwlock_init): Likewise.
49779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49780         (__pthread_rwlock_destroy): Likewise.
49781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49782         (__pthread_rwlock_rdlock): Likewise.
49783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49784         (__pthread_rwlock_tryrdlock): Likewise.
49785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49786         (__pthread_rwlock_wrlock): Likewise.
49787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49788         (__pthread_rwlock_trywrlock): Likewise.
49789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49790         (__pthread_rwlock_unlock): Likewise.
49791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49792         (__pthread_key_create): Likewise.
49793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49794         (__pthread_setspecific): Likewise.
49795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49796         (__pthread_getspecific): Likewise.
49797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
49798         Likewise.
49799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49800         (_pthread_cleanup_push_defer): Likewise.
49801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49802         (_pthread_cleanup_pop_restore): Likewise.
49803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49804         (pthread_setcancelstate): Likewise.
49805         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
49806         <bp-sym.h>.
49807         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
49808         (memchr): Do not use BP_SYM in weak_alias.
49809         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
49810         (fegetenv): Do not use BP_SYM in versioned symbols.
49811         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
49812         (fesetenv): Do not use BP_SYM in versioned symbols.
49813         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49814         (feupdateenv): Do not use BP_SYM in versioned symbols.
49815         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49816         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49817         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
49818         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
49819         (open64): Do not use BP_SYM in weak_alias.
49820         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
49821         (fegetenv): Do not use BP_SYM in versioned symbols.
49822         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
49823         (fesetenv): Do not use BP_SYM in versioned symbols.
49824         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49825         (feupdateenv): Do not use BP_SYM in versioned symbols.
49826         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
49827         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
49828         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
49829         (feraiseexcept): Do not use BP_SYM in versioned symbols.
49830         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49831         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49832         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
49833         <bp-sym.h>.
49834         (__libc_start_main): Do not use BP_SYM.
49836 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49838         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
49839         redundant return line.
49840         (norm): Likewise.
49841         (denorm): Likewise.
49842         (dbl_mp): Likewise.
49843         (sub_magnitudes): Likewise.
49844         (__add): Likewise.
49845         (__sub): Likewise.
49846         (__mul): Likewise.
49847         (__inv): Likewise.
49848         (__dvd): Likewise.
49849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
49850         (norm): Likewise.
49851         (denorm): Likewise.
49852         (dbl_mp): Likewise.
49853         (sub_magnitudes): Likewise.
49854         (__add): Likewise.
49855         (__sub): Likewise.
49856         (__mul): Likewise.
49857         (__inv): Likewise.
49858         (__dvd): Likewise.
49860         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
49861         instead of __mul.
49862         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49863         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
49864         (cc32): Likewise.
49866         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
49867         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
49868         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
49869         of __mul for squares.
49870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
49871         function
49872         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
49873         Likewise.
49874         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
49875         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49877 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
49879         [BZ #13550]
49880         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
49881         code.
49882         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
49883         prototype or function definition.  Rename ubp_* variables and
49884         parameters.  Remove argv definitions conditional on
49885         [__BOUNDED_POINTERS__].
49886         * debug/backtrace.c (__backtrace): Do not use __unbounded.
49887         * elf/dl-runtime.c (_dl_fixup): Likewise.
49888         * include/set-hooks.h (RUN_HOOK): Likewise.
49889         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
49890         definition.
49891         * string/strcpy.c (strcpy): Do not use __unbounded.
49892         * sysdeps/generic/frame.h (struct layout): Likewise.
49893         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
49894         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
49895         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
49896         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
49897         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
49898         (__backtrace): Likewise.
49899         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
49900         use __ptrvalue.
49901         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
49902         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49903         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
49904         Likewise.
49905         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
49906         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
49907         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49908         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49909         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
49910         Do not use __unbounded.
49911         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
49912         Rename __unboundedrlimits parameter to rlimits in prototype.
49913         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
49914         Do not use __unbounded.
49915         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
49916         not use __ptrvalue.
49917         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49918         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
49919         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49920         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
49921         __ptrvalue or __unbounded.
49922         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
49923         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
49924         use __unbounded.
49925         (__new_msgctl): Do not use __ptrvalue.
49926         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
49927         __unbounded.
49928         (__libc_msgrcv): Do not use __ptrvalue.
49929         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
49930         startup_info): Do not use __unbounded.
49931         (__libc_start_main): Likewise.  Rename ubp_* variables and
49932         parameters.  Remove argv definitions conditional on
49933         [__BOUNDED_POINTERS__].
49934         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
49935         __ptrvalue.
49936         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
49937         use __unbounded.
49938         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
49939         or __ptrvalue.
49940         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
49941         use __unbounded.
49942         (__new_shmctl): Do not use __ptrvalue.
49943         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
49944         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
49945         Likewise.
49946         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
49947         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
49948         (__libc_sigaction): Likewise.
49949         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
49950         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
49951         Likewise.
49952         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49954 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
49956         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
49958         * string/mempcpy.c: Implement by calling memcpy.
49960 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49962         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
49964         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
49965         evaluation.
49967         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
49968         values in the mantissa.
49970         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
49971         minimize writes to Z.
49972         (sub_magnitudes): Simplify code a bit.
49974 2013-02-12  Roland McGrath  <roland@hack.frob.com>
49976         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
49977         from the message.  The linker prefixes all warnings with that already.
49979 2013-02-12  Andreas Schwab  <schwab@suse.de>
49981         [BZ #15078]
49982         * posix/regexec.c (extend_buffers): Add parameter min_len.
49983         (check_matching): Pass minimum needed length.
49984         (clean_state_log_if_needed): Likewise.
49985         (get_subexp): Likewise.
49986         * posix/Makefile (tests): Add bug-regex34.
49987         (bug-regex34-ENV): Define.
49988         * posix/bug-regex34.c: New file.
49990         [BZ #11561]
49991         * posix/regcomp.c (parse_bracket_exp): When looking up collating
49992         elements compare against the byte sequence of it, not its name.
49993         * posix/Makefile (tests): Add bug-regex35.
49994         (bug-regex35-ENV): Define.
49995         * posix/bug-regex35.c: New file.
49997 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49999         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
50000         comment.
50001         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
50002         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
50003         (CHECK_EOL): Add undef.
50005 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
50007         * bits/stdlib-bsearch.h: New file.
50008         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
50009         * stdlib/stdlib.h: Likewise.
50011 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50013         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
50014         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
50015         declaration.
50016         * manual/search.texi (Array Search Function): Add missing const in
50017         lfind prototype.
50018         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
50019         declaration to use rlim_t.
50020         (Basic Scheduling Functions): Remove erroneous const from
50021         sched_getparam prototype.  Remove erroneous * from
50022         sched_get_priority_max and sched_get_priority_min prototypes.
50023         (Resource Usage): Fix summary @comment on vtimes to refer to
50024         sys/vtimes.h rather than vtimes.h.
50025         Add missing *s in vtimes prototype.
50026         (Limits on Resources): Fix ulimit prototype to return long int.
50027         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
50028         prototypes to use long int rather than double.
50029         (BSD Random): Fix initstate and setstate to use char *, not void *.
50030         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
50031         prototype to make second argument 'struct aiocb64 *const[]'.
50032         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
50033         (Status of AIO Operations): Remove erroneous const in aio_return and
50034         aio_return64 prototypes.
50035         (Synchronizing I/O): Fix sync prototype to return void.
50036         * manual/startup.texi (Suboptions): Remove an erroneous const in
50037         getsubopt prototype.
50038         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
50039         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
50040         use size_t rather than int.
50041         (Scanning All Users): Likewise for getpwent_r.
50042         (Setting Groups): Add missing const to setgroups prototype.
50043         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
50044         * manual/socket.texi (Host Names): Fix gethostbyaddr and
50045         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
50046         'const void *' rather than 'const char *'.
50047         (Host Address Functions): Likewise for inet_ntop.
50048         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
50049         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
50050         ssize_t for return value.
50051         (Sending Data): Likewise for send, sendto, sendmsg.
50052         (Socket Option Functions): Add a missing const in setsockopt prototype.
50053         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
50054         use wchar_t for the argument.
50055         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
50056         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
50057         take no arguments.
50058         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
50059         double/float/long double for second argument.
50060         Fix return types of significand, significandf, significandl.
50061         * manual/filesys.texi (Setting Permissions): Use mode_t for second
50062         argument in fchmod prototype.
50063         (File Owner): Use uid_t and gid_t in fchown prototype.
50064         (File Times): Add const to utimes, futimes, and lutimes prototypes.
50065         (Making Special Files): Use mode_t and dev_t in mknod prototype.
50066         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
50067         use 'const struct dirent **' as argument types to CMP function pointer
50068         argument.
50069         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
50070         (File Times): Fix summary magic @comment for struct utimbuf and utime
50071         to refer to utime.h, not time.h.
50072         * manual/string.texi (Argz Functions): Add missing const in
50073         argz_extract and argz_next prototypes.
50074         (Finding Tokens in a String): Likewise for basename.
50075         (String/Array Comparison): Fix typo in wcscasecmp prototype.
50076         (Copying and Concatenation): Fix typo in wmemmove prototype.
50077         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
50078         (Signal Stack): Remove erroneous const in sigstack prototype.
50079         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
50080         prototype.
50081         (Simple Calendar Time): Likewise for stime.
50082         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
50083         prototype.
50084         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
50085         say sys/sysctl.h instead.
50086         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
50087         and vsyslog prototypes.
50089 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50091         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
50092         Remove.
50094 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50096         * misc/sys/mman.h: Fix typo in mremap comment.
50098 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50100         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
50101         the '\0' terminator.
50103 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50105         [BZ #13550]
50106         * debug/segfault.c: Don't include <bp-checks.h>.
50107         * sysdeps/generic/bp-checks.h: Remove file.
50108         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
50109         (__GETDENTS): Don't use CHECK_N.
50110         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
50111         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
50112         (__getgroups): Don't use CHECK_N.
50113         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
50114         (setgroups): Don't use CHECK_N.
50115         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
50116         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
50117         (__libc_msgrcv): Don't use CHECK_N.
50118         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
50119         (__libc_msgsnd): Don't use CHECK_N.
50120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
50121         <bp-checks.h>.
50122         (__libc_pread): Don't use CHECK_N.
50123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50124         include <bp-checks.h>.
50125         (__libc_pread64): Don't use CHECK_N.
50126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50127         include <bp-checks.h>.
50128         (__libc_pwrite): Don't use CHECK_N.
50129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50130         include <bp-checks.h>.
50131         (__libc_pwrite64): Don't use CHECK_N.
50132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50133         <bp-checks.h>.
50134         (__libc_pread): Don't use CHECK_N.
50135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50136         include <bp-checks.h>.
50137         (__libc_pread64): Don't use CHECK_N.
50138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50139         include <bp-checks.h>.
50140         (__libc_pwrite): Don't use CHECK_N.
50141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50142         include <bp-checks.h>.
50143         (__libc_pwrite64): Don't use CHECK_N.
50144         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50145         (do_pread): Don't use CHECK_N.
50146         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50147         (do_pread64): Don't use CHECK_N.
50148         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50149         (do_pwrite): Don't use CHECK_N.
50150         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50151         (do_pwrite64): Don't use CHECK_N.
50152         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50153         (__libc_readv): Don't use CHECK_N.
50154         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50155         (semop): Don't use CHECK_N.
50156         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50157         <bp-checks.h>.
50158         (semtimedop): Don't use CHECK_N.
50159         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50160         (__libc_pread): Don't use CHECK_N.
50161         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50162         <bp-checks.h>.
50163         (__libc_pread64): Don't use CHECK_N.
50164         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50165         <bp-checks.h>.
50166         (__libc_pwrite): Don't use CHECK_N.
50167         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50168         <bp-checks.h>.
50169         (__libc_pwrite64): Don't use CHECK_N.
50170         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50171         <bp-checks.h>.
50172         (__libc_msgrcv): Don't use CHECK_N.
50173         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50174         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50175         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50176         (__libc_writev): Don't use CHECK_N.
50178 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50180         * string/strcpy.c: Removed unused variable.
50182         * Makeconfig (+sysdep-includes): Define with := rather than =.
50183         Use an existing include/ subdir of each sysdeps dir before it.
50185 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50187         * nscd/connection.c (register_traced_file): Comment function.
50188         [HAVE_INOTIFY] (union __inev): Define.
50189         [HAVE_INOTIFY] (inotify_check_files): New function.
50190         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50191         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50192         clear_db_cache.
50193         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50195 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50197         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50198         loaded if not already and that a failure is permanent.
50200 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50202         [BZ #15006]
50203         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50204         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50206 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50208         [BZ #13550]
50209         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50210         (CHECK_1_NULL_OK): Likewise.
50211         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50212         (__fxstat): Do not use CHECK_1.
50213         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50214         <bp-checks.h>.
50215         (___fxstat64): Do not use CHECK_1.
50216         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50217         <bp-checks.h>.
50218         (__fxstatat): Do not use CHECK_1.
50219         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50220         <bp-checks.h>.
50221         (__fxstatat64): Do not use CHECK_1.
50222         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50223         <bp-checks.h>.
50224         (__fxstat): Do not use CHECK_1.
50225         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50226         <bp-checks.h>.
50227         (__fxstatat): Do not use CHECK_1.
50228         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50229         <bp-checks.h>.
50230         (__getresgid): Do not use CHECK_1.
50231         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50232         <bp-checks.h>.
50233         (__getresuid): Do not use CHECK_1.
50234         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50235         <bp-checks.h>.
50236         (__lxstat): Do not use CHECK_1.
50237         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50238         <bp-checks.h>.
50239         (__old_msgctl): Do not use CHECK_1.
50240         (__new_msgctl): Likewise.
50241         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50242         <bp-checks.h>.
50243         (__new_setrlimit): Do not use CHECK_1.
50244         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50245         <bp-checks.h>.
50246         (__old_shmctl): Do not use CHECK_1.
50247         (__new_shmctl): Likewise.
50248         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50249         <bp-checks.h>.
50250         (__xstat): Do not use CHECK_1.
50251         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50252         (__lxstat): Do not use CHECK_1.
50253         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50254         <bp-checks.h>.
50255         (___lxstat64): Do not use CHECK_1.
50256         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50257         (__old_msgctl): Do not use CHECK_1.
50258         (__new_msgctl): Likewise.
50259         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50260         <bp-checks.h>.
50261         (__gettimeofday): Do not use CHECK_1.
50262         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50263         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50264         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50265         <bp-checks.h>.
50266         (__gettimeofday): Do not use CHECK_1.
50267         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50268         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50269         (__new_shmctl): Do not use CHECK_1.
50270         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50271         <bp-checks.h>.
50272         (do_sigtimedwait): Do not use CHECK_1.
50273         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50274         <bp-checks.h>.
50275         (do_sigwaitinfo): Do not use CHECK_1.
50276         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50277         <bp-checks.h>.
50278         (msgctl): Do not use CHECK_1.
50279         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50280         <bp-checks.h>.
50281         (shmctl): Do not use CHECK_1.
50282         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50283         (ustat): Do not use CHECK_1.
50284         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50285         <bp-checks.h>.
50286         (__fxstat): Do not use CHECK_1.
50287         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50288         <bp-checks.h>.
50289         (__fxstatat): Do not use CHECK_1.
50290         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50291         <bp-checks.h>.
50292         (__lxstat): Do not use CHECK_1.
50293         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50294         <bp-checks.h>.
50295         (__xstat): Do not use CHECK_1.
50296         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50297         (__xstat): Do not use CHECK_1.
50298         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50299         (___xstat64): Do not use CHECK_1.
50301         [BZ #13550]
50302         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50303         definitions.
50304         (CHECK_BOUNDS_HIGH): Likewise.
50305         * string/strcpy.c: Do not include <bp-checks.h>.
50306         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50308 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50310         * nscd/nscd-client.h (__nscd_drop_map_ref):
50311         Add __attribute__ ((unused)).
50312         * nis/nss-nisplus.h (niserr2nss): Likewise.
50314         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50315         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50317         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50318         Remove inline keyword.
50319         * include/rounding-mode.h (round_away): Likewise.
50320         * libio/wfileops.c (adjust_wide_data): Likewise.
50321         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50322         (__m128i_strloadu_tolower): Likewise.
50323         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50324         (__m128i_strloadu_tolower): Likewise.
50325         * time/mktime.c (ydhms_diff): Likewise.
50326         * locale/elem-hash.h (elem_hash): Likewise.
50327         * locale/setlocale.c (setdata): Likewise.
50328         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50329         (re_string_wchar_at): Likewise.
50330         (bitset_not, bitset_merge, bitset_mask): Likewise.
50331         [!(__GNUC__ > 3)] (inline): Remove macro.
50332         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50333         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50334         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50335         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50336         * string/memcmp.c (memcmp_bytes): Likewise.
50337         * locale/programs/locarchive.c (compute_hashval): Likewise.
50338         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50339         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50340         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50341         * nss/getent.c (print_rpc, print_protocols): Likewise.
50342         (print_passwd, print_group, print_aliases): Likewise.
50343         * nis/nss-nisplus.h (niserr2nss): Likewise.
50344         * nscd/connections.c (restart_p): Likewise.
50345         Change return type to bool.
50347 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50349         * Makeconfig (all-Depend-files): Add existing
50350         $(sorted-subdirs:=/Depend) files.
50351         (all-subdirs): Remove nss.
50352         * sysdeps/unix/inet/Subdirs: Add it here instead.
50353         * hesiod/Depend: New file.
50355         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50356         instead of calling alloca.
50358         * io/lseek.c (__lseek): Rename to __libc_lseek.
50359         Define __lseek as an alias.
50361         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50363 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50365         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50366         else clause and remove check for non-standard endianness.
50368 2013-02-04  David S. Miller  <davem@davemloft.net>
50370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50372 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50374         [BZ #13550]
50375         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50376         (__ubp_memchr): Remove prototype.
50377         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50378         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50379         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50380         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50381         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50382         Remove alias.
50383         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50384         (__ubp_memchr): Likewise.
50385         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50386         (__ubp_memchr): Likewise.
50387         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50388         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50389         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50390         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50391         CHECK_STRING.
50392         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50393         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50394         (__getcwd): Do not use CHECK_STRING.
50395         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50396         <bp-checks.h>.
50397         (__real_chown): Do not use CHECK_STRING.
50398         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50399         <bp-checks.h>.
50400         (fchownat): Do not use CHECK_STRING.
50401         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50402         CHECK_STRING.
50403         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50404         <bp-checks.h>.
50405         (__lchown): Do not use CHECK_STRING.
50406         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50407         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50408         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50409         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50411         include <bp-checks.h>.
50412         (truncate64): Do not use CHECK_STRING.
50413         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50414         <bp-checks.h>.
50415         (__real_chown): Do not use CHECK_STRING.
50416         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50417         <bp-checks.h>.
50418         (__lchown): Do not use CHECK_STRING.
50419         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50420         <bp-checks.h>.
50421         (__chown): Do not use CHECK_STRING.
50422         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50423         <bp-checks.h>.
50424         (truncate64): Do not use CHECK_STRING.
50425         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50426         Likewise.
50427         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50428         (__xmknod): Do not use CHECK_STRING.
50429         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50430         <bp-checks.h>.
50431         (__xmknodat): Do not use CHECK_STRING.
50432         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50433         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50435 2013-02-04  Andreas Schwab  <schwab@suse.de>
50437         [BZ #14142]
50438         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50439         * include/netdb.h: Likewise for h_errno.
50440         * elf/tst-stackguard1.c: Include <tls.h>.
50442 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50444         * elf/link.h (struct link_map): Extend the l_addr comment.
50445         * include/link.h (struct link_map): Likewise.
50447 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50449         [BZ #13550]
50450         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50451         (BOUNDED_1): Remove macro.
50452         * debug/backtrace.c: Don't include <bp-checks.h>.
50453         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50454         (__backtrace): Likewise.
50455         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50456         <bp-checks.h>.
50457         (__backtrace): Don't use BOUNDED_1.
50458         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50459         <bp-checks.h>.
50460         (__backtrace): Don't use BOUNDED_1.
50461         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50462         (__backtrace): Don't use BOUNDED_1.
50463         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50464         (shmat): Don't use BOUNDED_N.
50466 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50468         [BZ #13550]
50469         * sysdeps/generic/bp-start.h: Remove file.
50470         * csu/libc-start.c: Don't include <bp-start.h>.
50471         (LIBC_START_MAIN): Set up __environ directly instead of using
50472         INIT_ARGV_and_ENVIRON.
50473         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50474         <bp-start.h>.
50476         [BZ #13550]
50477         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50478         definitions.
50479         (CHECK_FCNTL): Likewise.
50480         (CHECK_N_PAGES): Likewise.
50482         [BZ #13550]
50483         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50484         definitions.
50485         (CHECK_SIGSET_NULL_OK): Likewise.
50486         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50487         <bp-checks.h>.
50488         (sigpending): Don't use CHECK_SIGSET.
50489         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50490         <bp-checks.h>.
50491         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50492         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
50493         <bp-checks.h>.
50494         (do_sigsuspend): Don't use CHECK_SIGSET.
50495         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50496         use CHECK_SIGSET.
50497         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
50498         (do_sigwait): Don't use CHECK_SIGSET.
50499         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
50500         use CHECK_SIGSET.
50501         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
50502         include <bp-checks.h>.
50503         (sigpending): Don't use CHECK_SIGSET.
50504         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
50505         include <bp-checks.h>.
50506         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50507         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50508         <bp-checks.h>.
50509         (sigpending): Don't use CHECK_SIGSET.
50510         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50511         <bp-checks.h>.
50512         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50514         [BZ #13550]
50515         * sysdeps/generic/bp-semctl.h: Remove file.
50516         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50517         <bp-checks.h> and <bp-semctl.h>.
50518         (__old_semctl): Don't use CHECK_SEMCTL.
50519         (__new_semctl): Likewise.
50520         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50521         and <bp-semctl.h>.
50522         (__old_semctl): Don't use CHECK_SEMCTL.
50523         (__new_semctl): Likewise.
50524         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50525         <bp-checks.h> and <bp-semctl.h>.
50526         (__old_semctl): Don't use CHECK_SEMCTL.
50527         (__new_semctl): Likewise.
50528         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
50529         <bp-checks.h> and <bp-semctl.h>.
50530         (semctl): Don't use CHECK_SEMCTL.
50532         [BZ #13550]
50533         * Makerules (elide-bp-thunks): Remove variable.
50534         (elide-routines.oS): Don't use $(elide-bp-thunks).
50535         (elide-routines.os): Likewise.
50536         (elide-routines.o): Likewise.
50537         (elide-routines.op): Likewise.
50538         (elide-routines.og): Likewise.
50539         (objects): Don't use $(bp-thunks).
50540         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
50541         include.
50542         (common-generated): Do not add s-proto-bp.d.
50543         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
50544         (int): Likewise.
50545         (typ): Likewise.
50546         Do not generate makefile rules for bounded-pointer thunks.
50547         * sysdeps/generic/bp-thunks.h: Remove file.
50548         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
50549         * sysdeps/unix/s-proto-bp.S: Likewise.
50551         [BZ #15062]
50552         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
50553         parts of result separately when argument is not close to line from
50554         -i to i and one part of argument is small.
50555         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50556         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50557         * math/libm-test.inc (cacos_test): Add more tests.
50558         (casin_test): Likewise.
50559         (casinh_test): Likewise.
50560         * sysdeps/i386/fpu/libm-test-ulps: Update.
50561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50563 2013-01-31  David S. Miller  <davem@davemloft.net>
50565         * po/de.po: Update from translation team.
50567 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
50569         * time/tzfile.c: Include stdint.h for SIZE_MAX.
50571 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
50573         * configure.in (_AC_PROG_CC_C89): New definition.
50574         * configure: Regenerate.
50576         * configure.in (AC_PROG_CPP): New definition.
50577         * configure: Regenerate.
50579 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50581         * debug/tst-backtrace.h: New file.
50582         * debug/tst-backtrace2.c: Include tst-backtrace.h.
50583         (ret): Remove variable.
50584         (x): Likewise.
50585         (FAIL): Remove macro.
50586         (NO_INLINE): Likewise.
50587         (fn1): Use match function instead of strstr.
50588         * debug/tst-backtrace3.c: Include tst-backtrace.h.
50589         (ret): Remove variable.
50590         (x): Likewise.
50591         (FAIL): Remove macro.
50592         (NO_INLINE): Likewise.
50593         (fn): Use match function instead of strstr.
50594         * debug/tst-backtrace4.c: Include tst-backtrace.h.
50595         (ret): Remove variable.
50596         (x): Likewise.
50597         (FAIL): Remove macro.
50598         (NO_INLINE): Likewise.
50599         (handle_signal): Use match function instead of strstr.
50600         * debug/tst-backtrace5.c: Include tst-backtrace.h.
50601         (ret): Remove variable.
50602         (x): Likewise.
50603         (FAIL): Remove macro.
50604         (NO_INLINE): Likewise.
50605         (handle_signal): Use match function instead of strstr.
50607 2013-01-23  Roland McGrath  <roland@hack.frob.com>
50609         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
50611 2013-01-23  David S. Miller  <davem@davemloft.net>
50613         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
50614         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
50615         argument of CAS if possible.
50616         * sysdeps/sparc/sparc64/bits/atomic.h
50617         (__arch_compare_and_exchange_val_32_acq): Likewise.
50618         (__arch_compare_and_exchange_val_64_acq): Likewise.
50620 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
50622         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
50623         * sysdeps/posix/ulimit.c: ... this.
50624         Include <limits.h>.
50625         * sysdeps/unix/bsd/ulimit.c: Remove file.
50627 2013-01-23  Adam Conrad  <adconrad@0c3.net>
50629         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
50630         (LDFLAGS-tst-array5): Likewise.
50632 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50634         [BZ #15036]
50635         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
50636         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
50637         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
50638         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
50640 2013-01-21  David S. Miller  <davem@davemloft.net>
50642         * sysdeps/sparc/backtrace.c: New file.
50643         * sysdeps/sparc/sparc32/backtrace.h: New file.
50644         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
50645         * sysdeps/sparc/sparc64/backtrace.h: New file.
50646         * sysdeps/sparc/sparc64/backtrace.c: Delete.
50647         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
50648         -funwind-tables.
50650 2013-01-21  Andreas Schwab  <schwab@suse.de>
50652         [BZ #15020]
50653         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
50654         closed its stdout.
50656 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
50658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
50659         "mpa2.h".
50660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50662 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
50663             Mark Mitchell  <mark@codesourcery.com>
50664             Tom de Vries  <tom@codesourcery.com>
50665             Paul Pluzhnikov  <ppluzhnikov@google.com>
50667         * debug/tst-backtrace2.c: New file.
50668         * debug/tst-backtrace3.c: Likewise.
50669         * debug/tst-backtrace4.c: Likewise.
50670         * debug/tst-backtrace5.c: Likewise.
50671         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
50672         (CFLAGS-tst-backtrace3.c): Likewise.
50673         (CFLAGS-tst-backtrace4.c): Likewise.
50674         (CFLAGS-tst-backtrace5.c): Likewise.
50675         (LDFLAGS-tst-backtrace2): Likewise.
50676         (LDFLAGS-tst-backtrace3): Likewise.
50677         (LDFLAGS-tst-backtrace4): Likewise.
50678         (LDFLAGS-tst-backtrace5): Likewise.
50679         (tests): Add new tests tst-backtrace2, tst-backtrace3,
50680         tst-backtrace4 and tst-backtrace5.
50682 2013-01-18  Anton Blanchard  <anton@samba.org>
50683             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50685         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
50686         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
50687         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
50688         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
50689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50690         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
50691         "+r" and remove output regs list as redundant.  Add explicit inline
50692         asm to specify register of return val to work around compiler codegen
50693         bug.  Remove (int) cast on return value.  Add return type parameter to
50694         use in macro so that this macro does not truncate return value for
50695         64-bit values.
50696         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
50697         pass to INTERNAL_VSYSCALL_NCS.
50698         (INLINE_VSYSCALL): Add 'long int' as return type to
50699         INTERNAL_VSYSCALL_NCS macro invocation.
50700         (INTERNAL_VSYSCALL): Add 'long int' as return type to
50701         INTERNAL_VSYSCALL_NCS macro invocation.
50702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50704 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50706         [BZ #14496]
50707         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
50708         Fix application of SIMD FP exception mask.
50710         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
50711         mp_no from a power of two.
50712         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
50713         __mpexp_twomm1.  Use __pow_mp.
50715         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
50716         multiplication.
50718 2013-01-17  David S. Miller  <davem@davemloft.net>
50720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50722 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50724         [BZ #15023]
50725         * include/complex.h: Condition contents on [!_COMPLEX_H].
50726         (__kernel_casinhf): New prototype.
50727         (__kernel_casinh): Likewise.
50728         (__kernel_casinhl): Likewise.
50729         * math/Makefile (libm_calls): Add k_casinh.
50730         * math/k_casinh.c: New file.
50731         * math/k_casinhf.c: Likewise.
50732         * math/k_casinhl.c: Likewise.
50733         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
50734         finite nonzero arguments.
50735         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
50736         finite nonzero arguments.
50737         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
50738         finite nonzero arguments.
50739         * math/s_casinh.c: Do not include <float.h>.
50740         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
50741         * math/s_casinhf.c: Do not include <float.h>.
50742         (__casinhf): Move code for finite nonzero arguments to
50743         k_casinhf.c.
50744         * math/s_casinhl.c: Do not include <float.h>.
50745         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
50746         redefine.
50747         (__casinhl): Move code for finite nonzero arguments to
50748         k_casinhl.c.
50749         * math/libm-test.inc (cacos_test): Add more tests.
50750         * sysdeps/i386/fpu/libm-test-ulps: Update.
50751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50753 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
50755         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
50756         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
50757         [!HAVE_MREMAP]: Remove [defined linux] case.
50758         * malloc/arena.c: Do not include <malloc-sysdep.h>.
50760 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50762         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
50764 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
50766         * elf/elf.h (R_386_SIZE32): New relocation.
50767         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
50768         R_386_SIZE32.
50769         (elf_machine_rela): Likewise.
50770         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50771         R_X86_64_SIZE64 and R_X86_64_SIZE32.
50773 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50775         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
50776         (FP_FAST_FMA): Do not define.
50777         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
50778         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
50779         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
50780         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
50781         !_SOFT_FLOAT]: Likewise.
50782         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
50783         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
50784         value.
50785         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
50786         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
50787         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
50788         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
50789         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
50790         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
50791         file.
50793 2013-01-16  Andreas Schwab  <schwab@suse.de>
50795         [BZ #14327]
50796         * include/stdlib.h (__mktemp): Add declaration.
50797         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
50798         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
50800 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50802         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
50803         definitions.
50804         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50805         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
50806         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
50807         definitions here.
50808         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
50809         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
50810         definitions.
50811         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
50812         and ONE.
50813         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
50814         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
50815         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
50816         definitions.
50817         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
50818         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
50819         definitions.
50820         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50822         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
50824 2013-01-15  David S. Miller  <davem@davemloft.net>
50826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50827         trunc{,f} to libm-sysdep_routes.
50828         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
50830         file.
50831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
50832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
50833         file.
50834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
50835         file.
50836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
50837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
50838         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
50839         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
50840         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
50841         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
50842         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
50843         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
50845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50846         nearbyint{,f} to libm-sysdep_routes.
50847         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
50849         New file.
50850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
50851         file.
50852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
50853         New file.
50854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
50855         file.
50856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
50857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
50858         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
50859         file.
50860         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
50861         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
50862         file.
50863         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
50864         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
50865         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
50867         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50868         libc_feholdexcept and libc_fesetenv.
50870 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
50872         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
50874 2013-01-14  David S. Miller  <davem@davemloft.net>
50876         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
50877         (SPARC_ASM_VIS2_IFUNC): Likewise.
50878         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
50879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
50880         use of 'siam' instruction.
50881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
50882         Likewise.
50883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
50884         Likewise.
50885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
50886         Likewise.
50887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
50888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
50889         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
50890         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
50891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
50892         file.
50893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
50894         file.
50895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
50896         file.
50897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
50898         file.
50899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
50900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
50901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
50902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
50903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
50904         new VIS2 routines.
50905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50908         Likewise.
50909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50910         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50912         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
50914         routines to libm-sysdep_routines.
50915         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50918         fdim/fdimf to libm-sysdep_routines.
50919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
50920         file.
50921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
50922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
50923         file.
50924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
50925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
50926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
50927         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
50928         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
50929         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
50930         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
50932 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50934         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
50935         to optimize copies.
50937         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
50938         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50939         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
50942         local variable MPTWO.
50943         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50944         Likewise.
50946 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50948         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
50949         GLOB_NOESCAPE.
50951 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50953         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
50955 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50957         * manual/pattern.texi (glob_t): Document gl_flags.
50958         (glob64_t): Likewise.
50960 2013-01-11  David S. Miller  <davem@davemloft.net>
50962         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
50963         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
50964         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
50965         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
50966         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
50967         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
50968         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
50969         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
50970         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
50971         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
50972         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
50973         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
50974         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
50976         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50977         sparc V9 rather than using V8 code.
50978         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50979         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50981         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50982         Move to...
50983         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
50984         Here.
50986 2013-01-11  Roland McGrath  <roland@hack.frob.com>
50988         [BZ #14941]
50989         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
50990         not in the main loop.
50991         * configure: Regenerated.
50993 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
50995         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50996         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
50997         to just #else.
50998         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
50999         [!__GLIBC_HAVE_LONG_LONG] case.
51000         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
51001         condition to just #else.
51002         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
51003         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
51004         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
51005         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
51006         unconditional.
51007         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
51008         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51009         #elif condition to just #else.
51010         * sysdeps/unix/sysv/linux/sys/sysmacros.h
51011         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
51012         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51013         #elif condition to just #else.
51015 2013-01-11  Steve Ellcey  <sellcey@mips.com>
51017         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
51018         (EF_MIPS_ARCH_64): Fix value.
51019         (EF_MIPS_ARCH_32R2): New.
51020         (EF_MIPS_ARCH_64R2): New.
51022 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
51024         * Makeconfig (+link-pie-before-libc): New.
51025         (+link-pie-after-libc): Likewise.
51026         (+link-pie-tests): Likewise.
51027         (+link-pie): Rewritten.
51028         (link-before-libc): Remove $(config-LDFLAGS).
51029         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
51030         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
51031         (config-LDFLAGS): Renamed to ...
51032         (rtld-LDFLAGS): This.
51033         (rtld-tests-LDFLAGS): New macro.
51034         (link-libc-rpath-link): Likewise.
51035         (link-libc-tests-rpath-link): Likewise.
51036         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
51037         (link-libc): Prepand $(link-libc-rpath-link).
51038         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
51039         (test-program-prefix): New macro.
51040         (test-via-rtld-prefix): Likewise.
51041         (test-program-cmd): Likewise.
51042         (host-test-program-cmd): Likewise.
51043         * Makefile ($(common-objpfx)testrun.sh): Replace
51044         $(run-program-prefix) with $(test-program-prefix).
51045         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
51046         $(rtld-LDFLAGS).
51047         ($(common-objpfx)shlib.lds): Likewise.
51048         (build-module-helper): Likewise.
51049         ($(common-objpfx)format.lds): Likewise.
51050         * Rules (binaries-pie-tests): New.
51051         (binaries-pie-notests): Likewise.
51052         (binaries-pie): Rewritten.
51053         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
51054         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
51055         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
51056         (make-test-out): Replace $(host-built-program-cmd) with
51057         $(host-test-program-cmd).
51058         * config.make.in (build-hardcoded-path-in-tests): New variable.
51059         * configure.in (--enable-hardcoded-path-in-tests): New configure
51060         option.
51061         (hardcoded_path_in_tests): New AC_SUBST.
51062         * configure: Regenerated.
51063         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
51064         $(built-program-cmd) with $(test-program-cmd).
51065         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
51066         (test_program_cmd): This.
51067         * elf/Makefile ($(objpfx)order.out): Run test with
51068         $(test-program-prefix).
51069         ($(objpfx)order2.out): Likewise.
51070         ($(objpfx)tst-initorder.out): Likewise.
51071         ($(objpfx)tst-initorder2.out): Likewise.
51072         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
51073         $(test-program-cmd).
51074         ($(objpfx)tst-array1-static.out): Likewise.
51075         ($(objpfx)tst-array2.out): Likewise.
51076         ($(objpfx)tst-array3.out): Likewise.
51077         ($(objpfx)tst-array4.out): Likewise.
51078         ($(objpfx)tst-array5.out): Likewise.
51079         ($(objpfx)tst-array5-static.out): Likewise.
51080         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
51081         $(test-program-cmd).
51082         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
51083         $(run-program-prefix) with $(test-program-prefix).
51084         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
51085         (test_program_prefix): This.
51086         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
51087         $(run-program-prefix) with $(test-program-prefix).
51088         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
51089         (test_program_prefix): This.
51090         * iconvdata/tst-tables.sh: Likewise.
51091         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
51092         $(run-program-prefix) with $(test-program-prefix).
51093         ($(objpfx)tst-translit.out): Likewise.
51094         ($(objpfx)tst-gettext2.out): Likewise.
51095         ($(objpfx)tst-gettext4.out): Likewise.
51096         ($(objpfx)tst-gettext6.out): Likewise.
51097         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
51098         (test_program_prefix): This.
51099         * intl/tst-gettext2.sh: Likewise.
51100         * intl/tst-gettext4.sh  Likewise.
51101         * intl/tst-gettext6.sh: Likewise.
51102         * intl/tst-translit.sh: Likewise.
51103         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
51104         with $(test-program-cmd).
51105         * libio/Makefile ($(objpfx)test-freopen.out): Replace
51106         $(run-program-prefix) with $(test-program-prefix).
51107         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
51108         (test_program_prefix): This.
51109         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
51110         $(run-program-prefix) with $(test-program-prefix).
51111         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
51112         (test_program_prefix): This.
51113         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
51114         * posix/Makefile ($(objpfx)globtest.out): Replace
51115         $(run-via-rtld-prefix) and $(test-wrapper) with
51116         $(test-program-prefix) and $(test-via-rtld-prefix).
51117         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
51118         $(test-program-prefix).
51119         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
51120         $(host-test-program-cmd).
51121         (tst-spawn-ARGS): Likewise.
51122         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
51123         $(test-program-prefix).
51124         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51125         (test_via_rtld_prefix): This.
51126         (test_wrapper): Renamed to ...
51127         (test_program_prefix): This.
51128         (run_program_prefix): Replaced by test_program_prefix.
51129         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51130         (test_program_prefix): This.
51131         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51132         with $(host-test-program-cmd).
51133         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51134         $(run-program-prefix) with $(test-program-prefix).
51135         ($(objpfx)tst-printf.out): Likewise.
51136         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51137         $(test-program-cmd).
51138         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51139         (test_program_prefix): This.
51140         * stdio-common/tst-unbputc.sh: Likewise.
51141         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51142         $(run-program-prefix) with $(test-program-prefix).
51143         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51144         (test_program_prefix): This.
51145         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51146         $(built-program-cmd) with $(test-program-cmd).
51148 2013-01-11  Andreas Jaeger  <aj@suse.de>
51150         [BZ #15003]
51151         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51152         value. Sync with Linux 3.7.
51154 2013-01-10  David S. Miller  <davem@davemloft.net>
51156         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
51157         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51158         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51160 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51162         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51163         never set.
51164         * configure: Regenerated.
51166 2013-01-10  David S. Miller  <davem@davemloft.net>
51168         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51169         sparc V9 rather than using V8 code.
51170         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51171         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51173 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51175         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51176         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51177         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51178         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51179         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51180         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51181         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51182         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51183         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51184         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51185         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51186         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51187         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51188         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51189         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51190         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51191         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51192         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51193         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51194         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51195         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51196         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51197         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51198         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51199         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51200         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51201         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51203 2013-01-10  David S. Miller  <davem@davemloft.net>
51205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51207 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51209         * posix/Makefile (tests-static): New variable.
51210         (tests): Add $(tests-static).
51211         (tst-exec-static-ARGS): New variable.
51212         (tst-spawn-static-ARGS): Likewise.
51213         * posix/tst-exec-static.c: New file.
51214         * posix/tst-spawn-static.c: Likewise.
51215         * posix/tst-exec.c: Support run directly.
51216         * posix/tst-spawn.c: Likewise.
51218 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51220         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51221         long.
51222         * math/bits/mathcalls.h (llrint): Likewise.
51223         (llround): Likewise.
51224         * stdlib/stdlib.h (struct drand48_data): Likewise.
51225         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51226         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51227         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51228         Likewise.
51229         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51230         Likewise.
51231         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51232         (elf_greg_t): Likewise.
51233         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51234         (__jmp_buf): Likewise.
51235         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51236         definitions.
51237         (llrint): Likewise, for all definitions.
51238         (llrintl): Likewise.
51240         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51241         Remove [__GNUC__] condition.
51242         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51243         condition to just [__USE_ISOC99].
51244         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51246 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51248         [BZ #14200]
51249         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51250         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51251         defined.
51252         (_POSIX_V6_ILP32_OFF32): Likewise.
51253         (_XBS5_ILP32_OFF32): Likewise.
51254         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51255         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51257 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51259         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51261         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51262         doubles __mpexp_twomm1.  Adjust usage.
51263         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51264         Remove.
51266 2013-01-10  Andreas Schwab  <schwab@suse.de>
51268         [BZ #14964]
51269         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51270         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51272 2013-01-09  David S. Miller  <davem@davemloft.net>
51274         [BZ #15003]
51275         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51276         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51277         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51278         (TCP_FASTOPEN): Define.
51279         (tcp_repair_opt): New structure.
51280         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51281         enum values.
51282         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51283         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51284         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51285         (tcp_cookie_transactions): New structure.
51287 2013-01-09  Anton Blanchard  <anton@samba.org>
51289         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51290         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51291         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51292         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51294 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51296         * include/features.h (__USE_ANSI): Remove.
51298 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51300         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51302         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51304 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51306         * sysdeps/s390/fpu/libm-test-ulps: Update.
51308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51310         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51311         (__acr): Likewise.
51312         (__cpy): Likewise.
51313         (norm): Likewise.
51314         (denorm): Likewise.
51315         (__mp_dbl): Likewise.
51316         (__dbl_mp): Likewise.
51317         (add_magnitudes): Likewise.
51318         (sub_magnitudes): Likewise.
51319         (__add): Likewise.
51320         (__sub): Likewise.
51321         (__mul): Likewise.
51322         (__inv): Likewise.
51323         (__dvd): Likewise.
51324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51325         (__acr): Likewise.
51326         (__cpy): Likewise.
51327         (norm): Likewise.
51328         (denorm): Likewise.
51329         (__mp_dbl): Likewise.
51330         (__dbl_mp): Likewise.
51331         (add_magnitudes): Likewise.
51332         (sub_magnitudes): Likewise.
51333         (__add): Likewise.
51334         (__sub): Likewise.
51335         (__mul): Likewise.
51336         (__inv): Likewise.
51337         (__dvd): Likewise.
51338         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51339         (__acr): Likewise.
51340         (__cpy): Likewise.
51341         (norm): Likewise.
51342         (denorm): Likewise.
51343         (__mp_dbl): Likewise.
51344         (__dbl_mp): Likewise.
51345         (add_magnitudes): Likewise.
51346         (sub_magnitudes): Likewise.
51347         (__add): Likewise.
51348         (__sub): Likewise.
51349         (__mul): Likewise.
51350         (__inv): Likewise.
51351         (__dvd): Likewise.
51353 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51355         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51356         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51357         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51358         2 && __USE_EXTERN_INLINES]: Likewise.
51360 2013-01-08  Andreas Jaeger  <aj@suse.de>
51362         [BZ# 14985]
51363         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51364         Remove.
51365         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51366         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51368 2013-01-07  Anton Blanchard  <anton@samba.org>
51370         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51371         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51372         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51373         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51374         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51375         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51376         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51377         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51378         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51379         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51380         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51381         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51382         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51383         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51384         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51385         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51386         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51387         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51388         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51389         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51390         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51391         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51392         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51393         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51394         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51395         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51396         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51397         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51398         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51399         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51400         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51402         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51403         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51404         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51405         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51406         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51407         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51408         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51409         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51410         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51411         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51412         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51414 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51416         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51417         (__MALLOC_PMT): Likewise.
51418         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51419         [__GNUC__], only on [_LIBC].
51420         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51421         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51422         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51423         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51424         forward declaration.
51425         (realloc_hook_ini): Likewise.
51426         (memalign_hook_ini): Likewise.
51427         (__libc_memalign): Do not use __MALLOC_PMT in variable
51428         declaration.
51429         (__libc_valloc): Likewise.
51430         (__libc_pvalloc): Likewise.
51431         (__libc_calloc): Likewise.
51432         (__posix_memalign): Likewise.
51434         [BZ #14996]
51435         * math/s_casinh.c: Include <float.h>.
51436         (__casinh): Do not do computation with squaring and square root
51437         for large arguments.
51438         * math/s_casinhf.c: Include <float.h>.
51439         (__casinhf): Do not do computation with squaring and square root
51440         for large arguments.
51441         * math/s_casinhl.c: Include <float.h>.
51442         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51443         (__casinhl): Do not do computation with squaring and square root
51444         for large arguments.
51445         * math/libm-test.inc (casin_test): Add more tests.
51446         (casinh_test): Likewise.
51447         * sysdeps/i386/fpu/libm-test-ulps: Update.
51448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51450 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51452         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51453         (__x86_64_raw_data_cache_size): Likewise.
51454         (__x86_64_data_cache_size_half): Likewise.
51455         (__x86_64_raw_data_cache_size_half): Likewise.
51456         (__x86_64_shared_cache_size): Likewise.
51457         (__x86_64_raw_shared_cache_size): Likewise.
51458         (__x86_64_shared_cache_size_half): Likewise.
51459         (__x86_64_raw_shared_cache_size_half): Likewise.
51460         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51461         to ...
51462         (__x86_data_cache_size): This.
51463         (__x86_64_raw_data_cache_size): Renamed to ...
51464         (__x86_raw_data_cache_size): This.
51465         (__x86_64_data_cache_size_half): Renamed to ...
51466         (__x86_data_cache_size_half): This.
51467         (__x86_64_raw_data_cache_size_half): Renamed to ...
51468         (__x86_raw_data_cache_size_half): This.
51469         (__x86_64_shared_cache_size): Renamed to ...
51470         (__x86_shared_cache_size): This.
51471         (__x86_64_raw_shared_cache_size): Renamed to ...
51472         (__x86_raw_shared_cache_size): This.
51473         (__x86_64_shared_cache_size_half): Renamed to ...
51474         (__x86_shared_cache_size_half): This.
51475         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51476         (__x86_raw_shared_cache_size_half): This.
51477         * sysdeps/x86_64/memcpy.S: Updated.
51478         * sysdeps/x86_64/memset.S: Likewise.
51479         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51480         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51481         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51483 2013-01-04  David S. Miller  <davem@davemloft.net>
51485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51487 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51489         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51490         1 to avoid redefinition warning.
51491         (__USE_GNU): Don't define.
51492         (init_signaling_nan): Protoize.
51494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51496 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51498         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
51499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51500         (__cpymn): Likewise.
51501         (norm): Remove commented code.
51502         (denorm): Likewise.
51503         (__mp_dbl): Likewise.
51504         (__inv): Likewise.
51505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
51506         (__cpymn): Likewise.
51507         (norm): Remove commented code.
51508         (denorm): Likewise.
51509         (__mp_dbl): Likewise.
51510         (__inv): Likewise.
51512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51513         mp_no value for 1.0 and 2.0.
51514         (norm): Use RADIXI instead of radixi.d.
51515         (denorm): Likewise.
51516         (__mul): Use 0.0 instead of zero.d.
51517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51518         mp_no value for 1.0 and 2.0.
51519         (norm): Use RADIXI instead of radixi.d.
51520         (denorm): Likewise.
51521         (__mul): Use 0.0 instead of zero.d.
51523 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51525         [BZ #14994]
51526         * math/s_casinh.c (__casinh): Reduce finite argument to first
51527         quadrant then set signs of results at the end.
51528         * math/s_casinhf.c (__casinhf): Likewise.
51529         * math/s_casinhl.c (__casinhl): Likewise.
51530         * math/libm-test.inc (casin_test): Add more tests.
51531         (casinh_test): Likewise.
51532         * sysdeps/i386/fpu/libm-test-ulps: Update.
51533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51535 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51537         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
51539         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
51541         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
51542         declarations.
51543         (denorm): Likewise.
51544         (__mp_dbl): Likewise.
51545         (__inv): Likewise.
51547         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
51548         and adjust the header comment.
51550         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
51551         variable name from declaration.
51553 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
51555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51556         Initialize COMMON_CPUID_INDEX_7 element.
51557         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
51558         (CPUID_RTM): Likewise.
51559         (HAS_RTM): Likewise.
51560         (COMMON_CPUID_INDEX_7): New enum.
51562 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
51564         [BZ #14981]
51565         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
51566         size is zero, record memory as freed.
51568 2013-01-03  Andreas Jaeger  <aj@suse.de>
51570         * po/ia.po: Add new Interlingua translation.
51572 2012-01-03  Allan McRae  <allan@archlinux.org>
51574         * locale/programs/localedef.c: Fix description of '--posix' flag.
51576 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
51578         * NEWS: Update dates in second copyright notice.
51579         * README: Update copyright dates in example.
51580         * manual/libc.texinfo: Update copyright dates.
51581         * scripts/test-installation.pl: Update copyright date in --version
51582         output.
51584         * hurd/ctty-input.c: Fix copyright notice formatting.
51585         * hurd/ctty-output.c: Likewise.
51586         * hurd/dtable.c: Likewise.
51587         * hurd/hurd-raise.c: Likewise.
51588         * hurd/hurdprio.c: Likewise.
51589         * hurd/msgportdemux.c: Likewise.
51590         * misc/sys/file.h: Likewise.
51591         * misc/sys/ioctl.h: Likewise.
51592         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
51593         * sysdeps/mach/hurd/chdir.c: Likewise.
51594         * sysdeps/mach/hurd/fchdir.c: Likewise.
51595         * sysdeps/mach/hurd/rename.c: Likewise.
51596         * sysdeps/mach/hurd/rmdir.c: Likewise.
51597         * sysdeps/mach/hurd/seekdir.c: Likewise.
51598         * sysdeps/mach/hurd/setsid.c: Likewise.
51599         * sysdeps/posix/wait3.c: Likewise.
51601         * All files with FSF copyright notices: Update copyright dates
51602         using scripts/update-copyrights.
51603         * intl/plural.c: Regenerated.
51604         * locale/programs/charmap-kw.h: Likewise.
51605         * locale/programs/locfile-kw.h: Likewise.
51607 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51609         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
51610         four values.
51612         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
51613         calculation loop and add branch prediction.
51615         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
51616         check access beyond bounds of m1np.
51618         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51619         MPTWO.
51620         (__inv): Remove local variable MPTWO to use the global
51621         constant.
51622         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
51623         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51624         variable MPTWO.
51625         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
51626         MP3HALFS static const.
51628 2013-01-01  David S. Miller  <davem@davemloft.net>
51630         * po/ca.po: Update from translation team.
51632 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
51634         * scripts/update-copyrights: New file.
51635         * Makeconfig: Reformat copyright notice.
51636         * ctype/ctype.h: Likewise.
51637         * debug/swprintf_chk.c: Likewise.
51638         * elf/dl-cache.c: Likewise.
51639         * elf/dl-debug.c: Likewise.
51640         * elf/dl-object.c: Likewise.
51641         * grp/initgroups.c: Likewise.
51642         * hurd/Makefile: Likewise.
51643         * hurd/hurd/signal.h: Likewise.
51644         * hurd/hurdfault.c: Likewise.
51645         * hurd/hurdioctl.c: Likewise.
51646         * hurd/hurdlookup.c: Likewise.
51647         * hurd/intr-msg.c: Likewise.
51648         * iconv/gconv_open.c: Likewise.
51649         * libio/swprintf.c: Likewise.
51650         * locale/lc-ctype.c: Likewise.
51651         * locale/nl_langinfo.c: Likewise.
51652         * mach/Machrules: Likewise.
51653         * mach/Makefile: Likewise.
51654         * malloc/obstack.h: Likewise.
51655         * manual/Makefile: Likewise.
51656         * manual/tsort.awk: Likewise.
51657         * misc/bits/stab.def: Likewise.
51658         * nis/nis_print_group_entry.c: Likewise.
51659         * nis/nis_table.c: Likewise.
51660         * nis/nss_compat/compat-pwd.c: Likewise.
51661         * nis/nss_compat/compat-spwd.c: Likewise.
51662         * po/Makefile: Likewise.
51663         * posix/fnmatch.c: Likewise.
51664         * posix/regex.h: Likewise.
51665         * resolv/Makefile: Likewise.
51666         * resolv/nss_dns/dns-network.c: Likewise.
51667         * resolv/res_hconf.c: Likewise.
51668         * scripts/gen-sorted.awk: Likewise.
51669         * soft-fp/soft-fp.h: Likewise.
51670         * stdio-common/printf.h: Likewise.
51671         * stdlib/monetary.h: Likewise.
51672         * stdlib/random.c: Likewise.
51673         * stdlib/random_r.c: Likewise.
51674         * sysdeps/generic/Makefile: Likewise.
51675         * sysdeps/gnu/Makefile: Likewise.
51676         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51677         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51678         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51680         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51681         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51682         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51683         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51684         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51685         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51686         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51687         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51688         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51689         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51690         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
51691         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51692         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51693         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51694         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51695         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51696         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51697         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51698         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51699         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51700         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
51701         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51702         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51703         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
51704         * sysdeps/mach/hurd/errnos.awk: Likewise.
51705         * sysdeps/mach/hurd/fork.c: Likewise.
51706         * sysdeps/mach/hurd/getcwd.c: Likewise.
51707         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
51708         * sysdeps/mach/hurd/mmap.c: Likewise.
51709         * sysdeps/mach/hurd/utimes.c: Likewise.
51710         * sysdeps/mach/hurd/xmknod.c: Likewise.
51711         * sysdeps/posix/profil.c: Likewise.
51712         * sysdeps/posix/readdir_r.c: Likewise.
51713         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51714         * sysdeps/powerpc/bits/setjmp.h: Likewise.
51715         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
51716         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51718         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51719         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51720         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51722         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51723         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51724         * sysdeps/pthread/lio_listio.c: Likewise.
51725         * sysdeps/sparc/dl-procinfo.h: Likewise.
51726         * sysdeps/unix/i386/sysdep.S: Likewise.
51727         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
51728         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
51729         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
51730         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
51731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51732         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
51733         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
51734         * sysdeps/unix/sysv/linux/speed.c: Likewise.
51735         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
51736         * sysdeps/wordsize-32/divdi3.c: Likewise.
51737         * time/sys/time.h: Likewise.
51738         * wcsmbs/Makefile: Likewise.
51740 2013-01-01  David S. Miller  <davem@davemloft.net>
51742         * po/fr.po: Update from translation team.
51744         * catgets/gencat.c: Update copyright year.
51745         * csu/version.c: Likewise.
51746         * debug/catchsegv.sh: Likewise.
51747         * debug/pcprofiledump.c: Likewise.
51748         * debug/xtrace.sh: Likewise.
51749         * elf/ldconfig.c: Likewise.
51750         * elf/ldd.bash.in: Likewise.
51751         * elf/pldd.c: Likewise.
51752         * elf/sotruss.ksh: Likewise.
51753         * elf/sprof.c: Likewise.
51754         * iconv/iconv_prog.c: Likewise.
51755         * iconv/iconvconfig.c: Likewise.
51756         * locale/programs/locale.c: Likewise.
51757         * locale/programs/localedef.c: Likewise.
51758         * login/programs/pt_chown.c: Likewise.
51759         * malloc/memusage.sh: Likewise.
51760         * malloc/memusagestat.c: Likewise.
51761         * malloc/mtrace.pl: Likewise.
51762         * nscd/nscd.c: Likewise.
51763         * nss/getent.c: Likewise.
51764         * nss/makedb.c: Likewise.
51765         * posix/getconf.c: Likewise.
51767 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51769         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
51770         numbers.
51772 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
51774         * math/bits/mathcalls.h (modf): Use __nonnull.
51776 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51778         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
51779         (split): Use macro CN instead of the bare value.
51780         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
51781         could be used.
51782         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
51783         instead of the bare value.
51784         (power1): Likewise.
51786 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51788         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
51789         __ATAN_TWOM.
51790         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51792         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
51793         their values.
51794         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51795         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51796         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
51797         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51799 2012-12-28  Andreas Jaeger  <aj@suse.de>
51801         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
51802         values are from Linux 3.7.
51804         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
51805         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
51807 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51809         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
51810         TRUE case.
51812         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
51813         (norm): Likewise.
51814         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
51815         variables with preprocessor constants.
51816         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51817         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51818         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51820 2012-12-27  Bruno Haible  <bruno@clisp.org>
51822         [BZ #14317]
51823         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
51824         only if needed.
51826 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51828         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
51829         and use variable directly.
51830         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
51832         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51833         MPONE.
51834         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
51835         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51836         variable MPONE.
51837         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51838         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51839         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
51840         include directive.  Remove local variable MPONE.
51841         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
51842         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
51843         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51845 2012-12-25  David S. Miller  <davem@davemloft.net>
51847         * version.h (RELEASE): Set to "development".
51848         (VERSION): Set to "2.17.90".
51849         * NEWS: Add 2.18 section.
51851 2012-12-21  David S. Miller  <davem@davemloft.net>
51853         * po/hr.po: Update from translation team.
51855 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51857         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
51859 2012-12-19  Steve Ellcey  <sellcey@mips.com>
51861         * NEWS:  Mention new memcpy for MIPS.
51863 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51865         * manual/contrib.texi (Contributors): Spelling correction.
51867 2012-12-15  David S. Miller  <davem@davemloft.net>
51869         * po/ru.po: Update from translation team.
51871 2012-12-13  David S. Miller  <davem@davemloft.net>
51873         * NEWS: Mention IFUNC testsuite enhancements.
51875         * po/pl.po: Update from translation team.
51876         * po/bg.po: Likewise.
51878         * manual/contrib.texi (Contributors): Update entries for Hongjiu
51879         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
51881 2012-12-11  David S. Miller  <davem@davemloft.net>
51883         * po/sv.po: Update from translation team.
51885         * po/vi.po: Update from translation team.
51887         * po/cs.po: Update from translation team.
51889         * po/de.po: Update from translation team.
51890         * po/eo.po: Likewise.
51891         * po/nl.po: Likewise.
51893 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51895         [BZ #14246]
51896         * manual/argp.texi (Argp Helper Functions): Move node to follow
51897         Argp Parsing State.
51899         [BZ #14872]
51900         * manual/conf.texi (Limits on File System Capacity): Mention if
51901         terminating null is included in the max size.
51903 2012-12-10  Andreas Jaeger  <aj@suse.de>
51905         * po/cs.po: Update from translation team.
51907 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51909         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
51910         void pointer and cast to uintptr_t.
51911         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
51912         path.
51913         * sysdeps/s390/s390-64/memcpy.S: Likewise.
51914         * sysdeps/s390/s390-64/memset.S: Likewise.
51916 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
51918         [BZ #14833]
51919         * menual/message.texi (Message Translation): Fix typos.
51920         (Helper programs for gettext): Likewise.
51922 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
51924         [BZ #14898]
51925         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
51926         Change to -1.
51928 2012-12-07  David S. Miller  <davem@davemloft.net>
51930         * po/libc.pot: Update.
51932 2012-12-07  Richard Henderson  <rth@redhat.com>
51934         [BZ #10114]
51935         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
51936         normal/normal case to before the switch.
51937         (_FP_DIV): Likewise.
51939 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
51940             Mike Frysinger  <vapier@gentoo.org>
51942         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
51943         check for __NR_fadvise64_64.
51945 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
51947         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
51948         0, not just to plain "0" as a statement.
51949         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
51950         with cw.
51952 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
51954         * NEWS: Use sourceware.org in Bugzilla URL.
51956 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
51959         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51961         * stdio-common/tst-put-error.c (do_test): Add newline to the
51962         padded test to ensure flush.
51964 2012-12-05  Jeff Law  <law@redhat.com>
51966         * sunrpc/etc.rpc (fedfs_admin): Add entry.
51968 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
51970         * README: Don't refer to ports add-on as distributed separately.
51971         Mention AArch64 in list of systems supported in the ports add-on.
51973         * LICENSES: Add more non-FSF copyright and license notices.
51975         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
51976         ((unused)).
51978         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
51980         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
51981         10000 as width of padded output.
51983 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51985         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
51987         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
51988         variable LX with __attribute__ ((unused)).
51989         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51990         Likewise.
51991         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51992         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51993         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
51994         with __attribute__ ((unused)).
51996 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
51998         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
52000 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52002         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
52003         (CFLAGS-nldbl-acos.c): New variable.
52004         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
52005         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
52006         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
52007         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
52008         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
52009         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
52010         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
52011         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
52012         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
52013         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
52014         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
52015         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
52016         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
52017         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
52018         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
52019         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
52020         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
52021         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
52022         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
52023         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
52024         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
52025         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
52026         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
52027         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
52028         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
52029         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
52030         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
52031         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
52032         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
52033         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
52034         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
52035         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
52036         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
52037         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
52038         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
52039         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
52040         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
52041         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
52042         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
52043         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
52044         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
52045         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
52046         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
52047         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
52048         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
52049         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
52050         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
52051         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
52052         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
52053         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
52054         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
52055         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
52056         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
52057         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
52058         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
52059         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
52060         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
52061         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
52062         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
52063         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
52064         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
52065         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
52066         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
52067         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
52068         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
52069         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
52070         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
52071         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
52072         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
52073         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
52074         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
52075         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
52076         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
52077         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
52078         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
52079         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
52080         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
52081         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
52082         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
52083         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
52084         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
52085         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
52086         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
52087         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
52088         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
52089         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
52090         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
52091         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
52092         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
52093         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
52094         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
52095         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
52096         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
52097         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
52098         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
52099         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
52100         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
52102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52103         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52105         [BZ #14914]
52106         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
52107         whole low double instead of just low 47 bits when splitting values
52108         into two parts.
52110 2012-12-03  Allan McRae  <allan@archlinux.org>
52112         * manual/stdio.texi (Predefined Printf Handlers): Remove
52113         @hsep and @vsep usage.
52115 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
52117         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
52118         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
52120 2012-12-03  Jeff Law  <law@redhat.com>
52122         * time/sys/time.h (settimeofday): Do not mark TV argument
52123         as __nonnull.
52125 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52127         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52128         when currently writing and seek to current position when not.
52129         * libio/Makefile (tests): Remove bug-fclose1.
52130         * libio/bug-fclose1.c: Delete.
52132 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52134         * manual/arith.texi (feenableexcept): Fix typo.
52135         (fedisableexcept): Likewise.
52137 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52139         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52140         second, differently-typed declaration, rather than a cast.
52142 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52144         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52145         * include/rpc/svc.h: ... here.
52147 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52149         [BZ #13013]
52150         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52151         depending n and resplen2 to catch cases where answer
52152         equals answerp2.
52154 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52156         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52157         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52159 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52161         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52163 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52165         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52167 2012-11-28  Jeff Law  <law@redhat.com>
52169         [BZ #13761]
52170         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52171         dataset_temporary.  Track alloca usage into alloca_used.
52172         If dataset is large allocate and release it via malloc/free.
52174 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52176         [BZ #14197]
52177         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52179 2012-11-28  David S. Miller  <davem@davemloft.net>
52181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52183 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52185         [BZ #14803]
52186         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52187         of pi/2 rounded to nearest to 64 bits.
52188         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52189         nearest to 64 bits.
52190         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52191         bits.
52193 2012-11-28  Jeff Law <law@redhat.com>
52194             Martin Osvald <mosvald@redhat.com>
52196         [BZ #14889]
52197         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52198         * sunrpc/svc.c: Include time.h.
52199         (__svc_accept_failed): New function.
52200         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52201         any reason other than EINTR, call __svc_accept_failed.
52202         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52203         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52205 2012-11-28  Andreas Schwab  <schwab@suse.de>
52207         * scripts/abilist.awk: Also handle indirect functions in .opd
52208         section.
52210 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52212         [BZ #13881]
52213         * sysdeps/x86/fpu/powl_helper.c: New file.
52214         * sysdeps/x86/fpu/Makefile: Likewise.
52215         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52216         (p3): New object.
52217         (__ieee754_powl): Use __powl_helper for finite arguments except
52218         integer exponents below 8.
52219         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52220         (p3): New object.
52221         (__ieee754_powl): Use __powl_helper for finite arguments except
52222         integer exponents below 8.
52223         * math/libm-test.inc (pow_test): Add more tests and enable some
52224         previously disabled tests.
52225         * sysdeps/i386/fpu/libm-test-ulps: Update.
52226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52228 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52229             Carlos O'Donell  <carlos_odonell@mentor.com>
52231         * nss/makedb.c (is_prime): Assert that input is odd and greater
52232         than 4.  Note that fact in a comment too.
52233         (next_prime): Add 4 to input.
52235 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52237         [BZ #11741]
52238         * libio/Makefile (tests): Add test case tst-fwrite-error.
52239         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52240         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52241         * libio/tst-fwrite-error.c: New test case.
52243 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52245         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52246         before casting to void *.
52247         * include/libc-internal.h (__pointer_type): New macro.
52248         (__integer_if_pointer_type_sub): Likewise.
52249         (__integer_if_pointer_type): Likewise.
52250         (cast_to_integer): Likewise.
52251         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52252         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52253         before casting to atomic64_t.
52254         (atomic_exchange_acq): Likewise.
52255         (__arch_exchange_and_add_body): Likewise.
52256         (__arch_add_body): Likewise.
52257         (atomic_add_negative): Likewise.
52258         (atomic_add_zero): Likewise.
52260 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52262         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52263         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52264         (add_fdes): Likewise.
52265         (linear_search_fdes): Likewise.
52266         (binary_search_unencoded_fdes): Likewise.
52268 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52270         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52272 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52274         * configure.in: Autodetect C++ header directories.
52275         * configure: Regenerated.
52277 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52279         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52281 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52285 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52287         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52288         LDBL_MANT_DIG == 106]: Disable some tests.
52289         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52290         Likewise.
52291         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52292         Likewise.
52294         [BZ #14871]
52295         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52296         input for small inputs.  Return +/- pi/2 for large inputs.
52297         * math/libm-test.inc (atan_test): Add more tests.
52299         * sysdeps/generic/unwind-dw2-fde-glibc.c
52300         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52301         __attribute__ ((unused)).
52303         [BZ #14645]
52304         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52305         x * y if x and y are nonzero and z is zero.
52307         [BZ #14811]
52308         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52309         nonzero exponents with absolute value below 0x1p-117 to +/-
52310         0x1p-117.
52312         [BZ #14869]
52313         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52314         up arguments below 2**-450, not just those below 2**-500.
52315         * math/libm-test.inc (hypot_test): Add another test.
52317         [BZ #14868]
52318         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52319         Return a+b for ratio over 2**120, not 2**60.
52320         * math/libm-test.inc (hypot_test): Add another test.
52322         * math/libm-test.inc (clog_test): Use
52323         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52324         (clog10_test): Likewise.
52326         [BZ #6778]
52327         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52329 2012-11-22  Andreas Schwab  <schwab@suse.de>
52331         * sysdeps/i386/fpu/libm-test-ulps: Update.
52333 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52335         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52336         printf output with newline.
52338 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52340         [BZ #14865]
52341         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52342         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52343         -z nodlopen, -z initfirst and -z execstack support.
52344         * configure: Regenerated.
52346         * elf/elf.h (DF_1_NODIRECT): New macro.
52347         (DF_1_IGNMULDEF): Likewise.
52348         (DF_1_NOKSYMS): Likewise.
52349         (DF_1_NOHDR): Likewise.
52350         (DF_1_EDITED): Likewise.
52351         (DF_1_NORELOC): Likewise.
52352         (DF_1_SYMINTPOSE): Likewise.
52353         (DF_1_GLOBAUDIT): Likewise.
52354         (DF_1_SINGLETON): Likewise.
52355         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52356         DT_1_SUPPORTED_MASK bits.
52357         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52359 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52361         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52363 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52365         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52366         macro.
52368         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52369         (sendmmsg): Move declarations...
52370         * socket/sys/socket.h: ... here.
52371         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52372         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52373         include it from...
52374         * socket/recvmmsg.c: ... this new file.
52375         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52376         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52377         definition of __sendmmsg hidden.
52378         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52379         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52380         Move ENOSYS stub into and include it from...
52381         * socket/sendmmsg.c: ... this new file.
52382         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52383         (sysdep_routines): Move recvmmsg and sendmmsg...
52384         * socket/Makefile (routines): ... here.
52385         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52386         (GLIBC_PRIVATE): Add __sendmmsg.
52387         * include/sys/socket.h (__sendmmsg): Add declarations.
52388         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52389         sendmmsg.
52391 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52393         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52394         variable I1 with __attribute__ ((unused)).
52395         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52397 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52399         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52400         DUMMY variables with __attribute__ ((unused)).
52402         * bits/byteswap.h: Include <bits/types.h>.
52403         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52405 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52407         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52408         string_t.  Do not manually set errno.
52409         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52410         length with __strnlen.  Make sure to both set errno and return it on
52411         failure.
52413 2012-11-19  David S. Miller  <davem@davemloft.net>
52415         With help from Joseph Myers.
52416         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52417         very large arguments properly.
52418         * math/libm-test.inc (atan_test): New tests.
52419         (atan2_test): New tests.
52420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52423 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52425         [BZ #14856]
52426         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52427         Define to 3.
52429         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52430         [POSIX] (EADDRNOTAVAIL): Likewise.
52431         [POSIX] (EAFNOSUPPORT): Likewise.
52432         [POSIX] (EALREADY): Likewise.
52433         [POSIX] (ECONNABORTED): Likewise.
52434         [POSIX] (ECONNREFUSED): Likewise.
52435         [POSIX] (ECONNRESET): Likewise.
52436         [POSIX] (EDESTADDRREQ): Likewise.
52437         [POSIX] (EDQUOT): Likewise.
52438         [POSIX] (EHOSTUNREACH): Likewise.
52439         [POSIX] (EIDRM): Likewise.
52440         [POSIX] (EISCONN): Likewise.
52441         [POSIX] (ELOOP): Likewise.
52442         [POSIX] (EMULTIHOP): Likewise.
52443         [POSIX] (ENETDOWN): Likewise.
52444         [POSIX] (ENETUNREACH): Likewise.
52445         [POSIX] (ENOBUFS): Likewise.
52446         [POSIX] (ENODATA): Likewise.
52447         [POSIX] (ENOLINK): Likewise.
52448         [POSIX] (ENOMSG): Likewise.
52449         [POSIX] (ENOPROTOOPT): Likewise.
52450         [POSIX] (ENOSR): Likewise.
52451         [POSIX] (ENOSTR): Likewise.
52452         [POSIX] (ENOTCONN): Likewise.
52453         [POSIX] (ENOTSOCK): Likewise.
52454         [POSIX] (EOPNOTSUPP): Likewise.
52455         [POSIX] (EOVERFLOW): Likewise.
52456         [POSIX] (EPROTO): Likewise.
52457         [POSIX] (EPROTONOSUPPORT): Likewise.
52458         [POSIX] (EPROTOTYPE): Likewise.
52459         [POSIX] (ESTALE): Likewise.
52460         [POSIX] (ETIME): Likewise.
52461         [POSIX] (ETXTBSY): Likewise.
52462         [POSIX] (EWOULDBLOCK): Likewise.
52463         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52464         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52465         [POSIX] (SEEK_CUR): Likewise.
52466         [POSIX] (SEEK_END): Likewise.
52467         [POSIX || UNIX98] (mode_t): Do not require.
52468         [POSIX] (off_t): Likewise.
52469         [POSIX] (pid_t): Likewise.
52470         [POSIX] (sys/stat.h): Do not allow header.
52471         [POSIX] (unistd.h): Likewise.
52472         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52473         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52474         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52475         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52476         require.
52477         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52478         sigevent): Specify elements.
52479         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52480         entry.
52481         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52482         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52484         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52485         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52486         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52487         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52488         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52489         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52490         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52491         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
52492         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
52493         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
52494         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
52495         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
52496         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
52497         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
52498         Likewise.
52499         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
52500         Likewise.
52501         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
52502         Likewise.
52503         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
52504         Likewise.
52505         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
52506         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
52507         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52508         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52509         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52510         Specify lower bound on value.
52511         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52512         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52513         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52514         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52515         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52516         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52517         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52518         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52519         value.
52520         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52521         as optional.
52522         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52523         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52524         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52525         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52526         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52527         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
52528         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
52529         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
52530         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
52531         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
52532         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
52533         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
52534         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
52535         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
52536         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
52537         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
52538         entry.
52539         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
52540         optional.
52541         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
52542         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
52543         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
52544         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
52545         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
52546         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
52547         Likewise.
52548         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
52549         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
52550         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
52551         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
52552         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
52553         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
52554         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
52555         as optional.
52556         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
52557         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
52558         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
52559         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
52560         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
52561         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
52562         specify as optional.
52563         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
52564         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
52565         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
52566         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
52567         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
52568         [XPG3] (NL_LANGMAX): Likewise.
52569         [POSIX || XPG3] (NL_MSGMAX): Likewise.
52570         [POSIX || XPG3] (NL_NMAX): Likewise.
52571         [POSIX || XPG3] (NL_SETMAX): Likewise.
52572         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
52573         [XPG3] (NZERO): Likewise.
52574         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
52575         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
52576         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
52577         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
52578         (REG_ERANGE): Expect.
52579         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
52580         optional-constant.
52581         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
52582         Use (void) in prototype.
52583         [POSIX] (*_t): Allow.
52584         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
52585         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
52586         (WRDE_BADVAL): Expect.
52588         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
52589         expect.
52590         [XPG3 || XPG4] (O_RSYNC): Likewise.
52591         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
52592         Likewise.
52593         [XPG3 || XPG4] (pthread_sigmask): Likewise.
52594         [XPG3 || XPG4] (sigqueue): Likewise.
52595         [XPG3 || XPG4] (sigtimedwait): Likewise.
52596         [XPG3 || XPG4] (sigwaitinfo): Likewise.
52597         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
52598         [XPG3 || XPG4] (vsnprintf): Likewise.
52599         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
52600         Likewise.
52601         [XPG3 || XPG4] (blksize_t): Likewise.
52602         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
52603         Likewise.
52604         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
52605         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
52606         [XPG3 || XPG4] (struct itimerspec): Likewise.
52607         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
52608         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
52609         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
52610         [XPG3 || XPG4] (clockid_t): Likewise.
52611         [XPG3 || XPG4] (timer_t): Likewise.
52612         [XPG3 || XPG4] (clock_getres): Likewise.
52613         [XPG3 || XPG4] (clock_gettime): Likewise.
52614         [XPG3 || XPG4] (clock_settime): Likewise.
52615         [XPG3 || XPG4] (nanosleep): Likewise.
52616         [XPG3 || XPG4] (timer_create): Likewise.
52617         [XPG3 || XPG4] (timer_delete): Likewise.
52618         [XPG3 || XPG4] (timer_gettime): Likewise.
52619         [XPG3 || XPG4] (timer_getoverrun): Likewise.
52620         [XPG3 || XPG4] (timer_settime): Likewise.
52621         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
52622         [XPG3 || XPG4] (getlogin_r): Likewise.
52623         [XPG3 || XPG4] (pread): Likewise.
52624         [XPG3 || XPG4] (pthread_atfork): Likewise.
52625         [XPG3 || XPG4] (pwrite): Likewise.
52627         [BZ #14835]
52628         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
52629         <bits/siginfo.h>.
52631 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52633         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
52634         finalizing MALLSTREAM.
52636         * sysdeps/mach/hurd/syncfs.c: New file.
52638 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52640         [BZ #14719]
52641         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
52642         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
52643         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
52644         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
52645         (_nss_dns_gethostbyname4_r): Likewise.
52646         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
52647         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
52649 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
52651         [BZ #13763]
52652         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
52654 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
52656         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
52657         * elf/cache.c (print_entry): Print ",AArch64" for
52658         FLAG_AARCH64_LIB64
52660         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
52661         * elf/cache.c (print_entry): Print ",hard-float" for
52662         FLAG_ARM_LIBHF.
52664 2012-11-18  David S. Miller  <davem@davemloft.net>
52666         With help from Joseph Myers.
52667         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
52668         cutoff to 2**-13.
52669         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
52670         cutoff to 2**-25.
52671         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
52672         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
52673         small.
52674         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
52675         * math/libm-test.inc (y0_test): New tests.
52676         (y1_test): New tests.
52677         * sysdeps/i386/fpu/libm-test-ulps: Update.
52678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52681 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
52683         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
52684         64-bit targets.
52685         * configure: Regenerated.
52687 2012-11-17  David S. Miller  <davem@davemloft.net>
52689         [BZ #14811]
52690         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
52691         nonzero exponents with absolute value below 0x1p-128 to +/-
52692         0x1p-128.
52694 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
52696         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
52698         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
52700         * posix/getconf-speclist.c: New file.
52701         * posix/posix-envs.def: Likewise.
52702         * posix/confstr.c (START_ENV_GROUP): New macro.
52703         (END_ENV_GROUP): Likewise.
52704         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52705         (KNOWN_PRESENT_ENV_STRING): Likewise.
52706         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52707         (UNKNOWN_ENVIRONMENT): Likewise.
52708         (confstr): Include posix-envs.def instead of handling
52709         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
52710         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
52711         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
52712         (END_ENV_GROUP): Likewise.
52713         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52714         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52715         (UNKNOWN_ENVIRONMENT): Likewise.
52716         (__sysconf): Include posix-envs.def instead of handling associated
52717         cases directly here.
52718         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
52719         preprocessing getconf-speclist.c rather than running getconf or
52720         generating empty file.
52722 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
52724         * scripts/check-local-headers.sh: Ignore 'mach' headers.
52726 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
52728         [BZ #14672]
52729         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
52731 2012-11-16  David S. Miller  <davem@davemloft.net>
52733         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
52734         smaller than LDBL_EPSILON/2.0L, just return xm1.
52736 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
52738         * elf/tst-array1.c (init): Set constructor priority to 1000.
52739         (fini): Set destructor priority to 1000.
52740         * elf/tst-array2dep.c: Likewise.
52742 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52744         [BZ #11741]
52745         * libio/fileops.c (_IO_new_file_write): Correctly return error.
52746         (_IO_new_file_xsputn): Also return EOF if none of the input
52747         data was written when overflow failed.
52748         * libio/iopadn.c (_IO_padn): Likewise.
52749         * libio/iowpadn.c (_IO_wpadn): Likewise.
52750         * stdio-common/tst-put-error.c: Add copyright notice.
52751         (do_test): Add case for printing padded string.
52752         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
52753         _IO_padn returned error.
52754         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
52755         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
52756         return EOF.
52758 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52760         * libio/libioP.h: Add comment note that the references to C++
52761         bits are now obsolete.
52763 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52765         * math/libm-test.inc (check_complex): Use asprintf.
52767 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
52769         * debug/pcprofiledump.c (print_version): Update copyright year.
52770         * malloc/memusagestat.c (print_version): Likewise.
52772 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
52774         [BZ #14831]
52775         * elf/Makefile (tests): Add tst-audit8.
52776         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
52777         ($(objpfx)tst-audit8.out): New target.
52778         (tst-audit8-ENV): New variable.
52779         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
52780         audit if l_reloc_result is NULL.
52781         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
52782         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
52783         * elf/tst-audit8.c: New file.
52785 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52787         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
52788         * misc/Makefile (CFLAGS-select.c): Define.
52789         * posix/Makefile (CFLAGS-pause.c): Define.
52791 2012-11-13  David S. Miller  <davem@davemloft.net>
52793         * crypt/Makefile: Move test targets after toplevel Rules
52794         inclusion.  Grab any necessary sysdep routines when linking.
52795         * crypt/md5.c (md5_process_block): Remove define, we will always
52796         name it __md5_process_block.
52797         (md5_finish_ctx): Update md5_process_block call.
52798         (md5_stream): Likewise.
52799         (md5_process_bytes): Likewise.
52800         (md5_process_block): Rename to __md5_process_block and move to ...
52801         * crypt/md5-block.c: ... here.
52802         * crypt/sha256.c (sha256_process_block): Move to ...
52803         * crypt/sha256-block.c: ... here.
52804         * crypt/sha512.c (sha512_process_block): Move to ...
52805         * crypt/sha512-block.c: ... here.
52806         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
52807         path.
52808         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
52809         * sysdeps/sparc/sparc64/multiarch/Makefile
52810         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
52811         crypt subdir.
52812         (localedef-aux): Add md5 crypto assembler when in locale subdir.
52813         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
52814         multiarch changes.
52815         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
52816         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
52817         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
52818         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
52819         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
52820         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
52821         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
52822         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
52823         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
52824         file.
52825         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
52826         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
52827         file.
52828         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
52830 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
52832         * timezone/tzselect.ksh: Update from tzcode git revision
52833         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
52834         * timezone/zdump.c: Likewise.
52835         * timezone/zic.c: Likewise.
52836         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
52837         in TZVERSION setting, not $(PKGVERSION).
52838         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
52839         REPORT_BUGS_TO settings.
52841         [BZ #14838]
52842         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
52843         macro.
52845 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52847         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
52848         detection to immediately after _FP_ROUND().
52849         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
52850         bits are 0.
52852 2012-11-11  David S. Miller  <davem@davemloft.net>
52854         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
52855         inttypes.h
52856         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
52857         __close rather than their public counterparts.
52859 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
52861         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
52862         file.
52863         [UNIX98] (sem_timedwait): Do not expect.
52864         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
52865         [XPG4 || UNIX98] (sockatmark): Do not expect.
52866         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
52867         (clock_getcpuclockid): Do not expect.
52868         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
52869         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
52870         Do not expect.
52871         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
52872         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
52873         [UNIX98] (vwscanf): Likewise.
52874         [UNIX98] (vswscanf): Likewise.
52876 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
52878         * timezone/version.h: Remove file.
52879         * timezone/README: Do not refer to version.h.
52880         * timezone/Makefile ($(objpfx)zic.o): New dependency on
52881         $(objpfx)version.h.
52882         ($(objpfx)zdump.o): Likewise.
52883         ($(objpfx)version.h): New target.
52885         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
52886         2012i.
52887         * timezone/README: Don't mention modification to tzselect.ksh.
52888         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
52889         work on unmodified tzselect.ksh.  Substitute version numbers in
52890         tzselect.ksh.
52892         * Makefile (format-me): Remove.
52893         (INSTALL): Adjust indentation.  Use commands directly instead of
52894         using $(format-me).
52896         * aclocal.m4 (ACX_PKGVERSION): New macro.
52897         (ACX_BUGURL): Likewise.
52898         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
52899         (PKGVERSION): New AC_DEFINE_UNQUOTED.
52900         (REPORT_BUGS_TO): Likewise.
52901         * configure: Regenerated.
52902         * config.h.in (PKGVERSION): New macro.
52903         (REPORT_BUGS_TO): Likewise.
52904         * config.make.in (PKGVERSION): New variable.
52905         (PKGVERSION_TEXI): Likewise.
52906         (REPORT_BUGS_TO): Likewise.
52907         (REPORT_BUGS_TEXI): Likewise.
52908         * Makefile (format-me): Use -I$(common-objpfx)manual.
52909         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52910         ($(common-objpfx)manual/%): New target.
52911         (manual/%): Remove target.
52912         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
52913         (print_version): Use PKGVERSION.
52914         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
52915         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
52916         and REPORT_BUGS_TO.
52917         ($(objpfx)xtrace): Likewise.
52918         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
52919         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
52920         (print_version): Use PKGVERSION.
52921         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
52922         (do_version): Use PKGVERSION.
52923         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
52924         REPORT_BUGS_TO.
52925         (common-ldd-rewrite): Likewise.
52926         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
52927         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
52928         (print_version): Use PKGVERSION.
52929         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
52930         * elf/pldd.c (argp_program_bug_address): Remove variable.
52931         (more_help): New function.
52932         (argp): Use more_help.
52933         (print_version): Use PKGVERSION.
52934         * elf/sln.c (main): Use PKGVERSION.
52935         (usage): Use REPORT_BUGS_TO.
52936         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
52937         (top level): Use PKGVERSION.
52938         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
52939         (print_version): Use PKGVERSION.
52940         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
52941         (print_version): Use PKGVERSION.
52942         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
52943         (print_version): Use PKGVERSION.
52944         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52945         (print_version): Use PKGVERSION.
52946         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
52947         (print_version): Use PKGVERSION.
52948         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
52949         (print_version): Use PKGVERSION.
52950         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
52951         and BUGURL.
52952         ($(objpfx)memusage): Likewise.
52953         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
52954         (do_version): Use PKGVERSION.
52955         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
52956         (print_version): Use PKGVERSION.
52957         * malloc/mtrace.pl ($PACKAGE): Remove variable.
52958         ($PKGVERSION): New variable.
52959         ($REPORT_BUGS_TO): Likewise.
52960         (usage): Use $REPORT_BUGS_TO.
52961         (top level): Use $PKGVERSION.
52962         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
52963         ($(objpfx)pkgvers.texi): New rule.
52964         ($(objpfx)stamp-pkgvers): Likewise.
52965         * manual/install.texi: Include pkgvers.texi.
52966         (--with-pkgversion): Document new configure option.
52967         (--with-bugurl): Likewise.
52968         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
52969         than necessarily for this particular distribution.  Use
52970         REPORT_BUGS_TO for where to report bugs.
52971         * INSTALL: Regenerated.
52972         * manual/libc.texinfo: Include pkgvers.texi.
52973         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
52974         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
52975         (print_version): Use PKGVERSION.
52976         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
52977         (print_version): Use PKGVERSION.
52978         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
52979         (print_version): Use PKGVERSION.
52980         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
52981         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
52982         macro.
52983         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
52984         (print_version): Use PKGVERSION.
52985         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
52986         (print_version): Use PKGVERSION.
52987         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
52988         and PKGVERSION.
52990         * timezone/checktab.awk: Update from tzcode 2012i.
52991         * timezone/ialloc.c: Likewise.
52992         * timezone/private.h: Likewise.
52993         * timezone/scheck.c: Likewise.
52994         * timezone/tzfile.h: Likewise.
52995         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
52996         (TZVERSION): Hardcode tzcode version number.
52997         * timezone/zdump.c: Update from tzcode 2012i.
52998         * timezone/zic.c: Likewise.
52999         * timezone/version.h: New file.
53000         * timezone/README: Describe version.h.  Update upstream location.
53002         [BZ #14824]
53003         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
53004         (mktemp): Enable declaration.
53005         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
53006         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
53007         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
53008         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
53009         Likewise.
53010         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
53011         Likewise.
53012         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
53013         Likewise.
53014         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
53015         Likewise.
53016         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
53017         Likewise.
53018         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
53019         Likewise.
53021         [BZ #14821]
53022         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
53023         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
53024         for copies of such integer values.
53025         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53026         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53028 2012-11-09  Andreas Jaeger  <aj@suse.de>
53030         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
53031         definitions and declarations that are provided by
53032         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53034 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53036         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
53037         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
53038         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
53039         definition.
53041 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53043         * elf/elf.h: Update comment before AArch64 relocations.
53045 2012-11-07  David S. Miller  <davem@davemloft.net>
53047         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
53048         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53049         (__start_context): Declare.
53050         (__makecontext_ret): Delete.
53051         (__makecontext): Hook up __start_context instead of
53052         __makecontext_ret.
53053         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
53054         (sysdep_routines): Add __start_context when in stdlib.
53056 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53058         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
53059         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
53060         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
53061         hardcoded "nm".
53062         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
53063         (READELF): New variable.  Use it instead of hardcoded "readelf".
53065 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53067         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
53068         * sysdeps/x86/Makefile: Here.
53069         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
53070         * sysdeps/x86/tst-xmmymm.sh: This.
53072 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53074         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
53075         expectations.
53076         [UNIX98] (pthread_barrier_t): Do not expect.
53077         [UNIX98] (pthread_barrierattr_t): Likewise.
53078         [UNIX98] (pthread_spinlock_t): Likewise.
53079         [UNIX98] (pthread_barrier_destroy): Likewise.
53080         [UNIX98] (pthread_barrier_init): Likewise.
53081         [UNIX98] (pthread_barrier_wait): Likewise.
53082         [UNIX98] (pthread_barrierattr_destroy): Likewise.
53083         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
53084         [UNIX98] (pthread_barrierattr_init): Likewise.
53085         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53086         [UNIX98] (pthread_getcpuclockid): Likewise.
53087         [UNIX98] (pthread_mutex_timedlock): Likewise.
53088         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
53089         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
53090         [UNIX98] (pthread_sigmask): Likewise.
53091         [UNIX98] (pthread_spin_destroy): Likewise.
53092         [UNIX98] (pthread_spin_init): Likewise.
53093         [UNIX98] (pthread_spin_lock): Likewise.
53094         [UNIX98] (pthread_spin_trylock): Likewise.
53095         [UNIX98] (pthread_spin_unlock): Likewise.
53096         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
53097         Do not expect.
53098         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
53099         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
53100         [XPG3 || XPG4] (pthread_cond_t): Likewise.
53101         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
53102         [XPG3 || XPG4] (pthread_key_t): Likewise.
53103         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
53104         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
53105         [XPG3 || XPG4] (pthread_once_t): Likewise.
53106         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
53107         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
53108         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
53109         [XPG3 || XPG4] (pthread_t): Likewise.
53111         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
53112         not expect.
53113         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
53115         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
53116         Change function return type to int.
53118         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
53119         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
53120         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
53121         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
53122         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
53123         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53124         [!POSIX] (posix_madvise): Likewise.
53125         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53126         && !UNIX98].
53127         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53128         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53129         (mode_t): Likewise.
53130         (posix_mem_offset): Likewise.
53131         (posix_typed_mem_get_info): Likewise.
53132         (posix_typed_mem_open): Likewise.
53134         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53135         Change condition to [XOPEN2K8].
53137         * conform/conformtest.pl: Preprocess allow-header data with -x c
53138         instead of from stdin.
53139         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53140         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53141         [C99-based standards] (cerfc): Likewise.
53142         [C99-based standards] (cexp2): Likewise.
53143         [C99-based standards] (cexpm1): Likewise.
53144         [C99-based standards] (clog10): Likewise.
53145         [C99-based standards] (clog1p): Likewise.
53146         [C99-based standards] (clog2): Likewise.
53147         [C99-based standards] (clgamma): Likewise.
53148         [C99-based standards] (ctgamma): Likewise.
53149         [C99-based standards] (cerff): Likewise.
53150         [C99-based standards] (cerfcf): Likewise.
53151         [C99-based standards] (cexp2f): Likewise.
53152         [C99-based standards] (cexpm1f): Likewise.
53153         [C99-based standards] (clog10f): Likewise.
53154         [C99-based standards] (clog1pf): Likewise.
53155         [C99-based standards] (clog2f): Likewise.
53156         [C99-based standards] (clgammaf): Likewise.
53157         [C99-based standards] (ctgammaf): Likewise.
53158         [C99-based standards] (cerfl): Likewise.
53159         [C99-based standards] (cerfcl): Likewise.
53160         [C99-based standards] (cexp2l): Likewise.
53161         [C99-based standards] (cexpm1l): Likewise.
53162         [C99-based standards] (clog10l): Likewise.
53163         [C99-based standards] (clog1pl): Likewise.
53164         [C99-based standards] (clog2l): Likewise.
53165         [C99-based standards] (clgammal): Likewise.
53166         [C99-based standards] (ctgammal): Likewise.
53167         * conform/data/inttypes.h-data [C99-based standards]: Include
53168         stdint.h-data.  Remove all expectations for stdint.h contents.
53169         [C99-based standards] (PRI*): Do not allow.
53170         [C99-based standards] (SCN*): Likewise.
53171         [C99-based standards] (*_t): Likewise.
53172         [C99-based-standards] (PRId8): Expect macro.
53173         [C99-based-standards] (PRIi8): Likewise.
53174         [C99-based-standards] (PRIo8): Likewise.
53175         [C99-based-standards] (PRIu8): Likewise.
53176         [C99-based-standards] (PRIx8): Likewise.
53177         [C99-based-standards] (PRIX8): Likewise.
53178         [C99-based-standards] (SCNd8): Likewise.
53179         [C99-based-standards] (SCNi8): Likewise.
53180         [C99-based-standards] (SCNo8): Likewise.
53181         [C99-based-standards] (SCNu8): Likewise.
53182         [C99-based-standards] (SCNx8): Likewise.
53183         [C99-based-standards] (PRIdLEAST8): Likewise.
53184         [C99-based-standards] (PRIiLEAST8): Likewise.
53185         [C99-based-standards] (PRIoLEAST8): Likewise.
53186         [C99-based-standards] (PRIuLEAST8): Likewise.
53187         [C99-based-standards] (PRIxLEAST8): Likewise.
53188         [C99-based-standards] (PRIXLEAST8): Likewise.
53189         [C99-based-standards] (SCNdLEAST8): Likewise.
53190         [C99-based-standards] (SCNiLEAST8): Likewise.
53191         [C99-based-standards] (SCNoLEAST8): Likewise.
53192         [C99-based-standards] (SCNuLEAST8): Likewise.
53193         [C99-based-standards] (SCNxLEAST8): Likewise.
53194         [C99-based-standards] (PRIdFAST8): Likewise.
53195         [C99-based-standards] (PRIiFAST8): Likewise.
53196         [C99-based-standards] (PRIoFAST8): Likewise.
53197         [C99-based-standards] (PRIuFAST8): Likewise.
53198         [C99-based-standards] (PRIxFAST8): Likewise.
53199         [C99-based-standards] (PRIXFAST8): Likewise.
53200         [C99-based-standards] (SCNdFAST8): Likewise.
53201         [C99-based-standards] (SCNiFAST8): Likewise.
53202         [C99-based-standards] (SCNoFAST8): Likewise.
53203         [C99-based-standards] (SCNuFAST8): Likewise.
53204         [C99-based-standards] (SCNxFAST8): Likewise.
53205         [C99-based-standards] (PRId16): Likewise.
53206         [C99-based-standards] (PRIi16): Likewise.
53207         [C99-based-standards] (PRIo16): Likewise.
53208         [C99-based-standards] (PRIu16): Likewise.
53209         [C99-based-standards] (PRIx16): Likewise.
53210         [C99-based-standards] (PRIX16): Likewise.
53211         [C99-based-standards] (SCNd16): Likewise.
53212         [C99-based-standards] (SCNi16): Likewise.
53213         [C99-based-standards] (SCNo16): Likewise.
53214         [C99-based-standards] (SCNu16): Likewise.
53215         [C99-based-standards] (SCNx16): Likewise.
53216         [C99-based-standards] (PRIdLEAST16): Likewise.
53217         [C99-based-standards] (PRIiLEAST16): Likewise.
53218         [C99-based-standards] (PRIoLEAST16): Likewise.
53219         [C99-based-standards] (PRIuLEAST16): Likewise.
53220         [C99-based-standards] (PRIxLEAST16): Likewise.
53221         [C99-based-standards] (PRIXLEAST16): Likewise.
53222         [C99-based-standards] (SCNdLEAST16): Likewise.
53223         [C99-based-standards] (SCNiLEAST16): Likewise.
53224         [C99-based-standards] (SCNoLEAST16): Likewise.
53225         [C99-based-standards] (SCNuLEAST16): Likewise.
53226         [C99-based-standards] (SCNxLEAST16): Likewise.
53227         [C99-based-standards] (PRIdFAST16): Likewise.
53228         [C99-based-standards] (PRIiFAST16): Likewise.
53229         [C99-based-standards] (PRIoFAST16): Likewise.
53230         [C99-based-standards] (PRIuFAST16): Likewise.
53231         [C99-based-standards] (PRIxFAST16): Likewise.
53232         [C99-based-standards] (PRIXFAST16): Likewise.
53233         [C99-based-standards] (SCNdFAST16): Likewise.
53234         [C99-based-standards] (SCNiFAST16): Likewise.
53235         [C99-based-standards] (SCNoFAST16): Likewise.
53236         [C99-based-standards] (SCNuFAST16): Likewise.
53237         [C99-based-standards] (SCNxFAST16): Likewise.
53238         [C99-based-standards] (PRId32): Likewise.
53239         [C99-based-standards] (PRIi32): Likewise.
53240         [C99-based-standards] (PRIo32): Likewise.
53241         [C99-based-standards] (PRIu32): Likewise.
53242         [C99-based-standards] (PRIx32): Likewise.
53243         [C99-based-standards] (PRIX32): Likewise.
53244         [C99-based-standards] (SCNd32): Likewise.
53245         [C99-based-standards] (SCNi32): Likewise.
53246         [C99-based-standards] (SCNo32): Likewise.
53247         [C99-based-standards] (SCNu32): Likewise.
53248         [C99-based-standards] (SCNx32): Likewise.
53249         [C99-based-standards] (PRIdLEAST32): Likewise.
53250         [C99-based-standards] (PRIiLEAST32): Likewise.
53251         [C99-based-standards] (PRIoLEAST32): Likewise.
53252         [C99-based-standards] (PRIuLEAST32): Likewise.
53253         [C99-based-standards] (PRIxLEAST32): Likewise.
53254         [C99-based-standards] (PRIXLEAST32): Likewise.
53255         [C99-based-standards] (SCNdLEAST32): Likewise.
53256         [C99-based-standards] (SCNiLEAST32): Likewise.
53257         [C99-based-standards] (SCNoLEAST32): Likewise.
53258         [C99-based-standards] (SCNuLEAST32): Likewise.
53259         [C99-based-standards] (SCNxLEAST32): Likewise.
53260         [C99-based-standards] (PRIdFAST32): Likewise.
53261         [C99-based-standards] (PRIiFAST32): Likewise.
53262         [C99-based-standards] (PRIoFAST32): Likewise.
53263         [C99-based-standards] (PRIuFAST32): Likewise.
53264         [C99-based-standards] (PRIxFAST32): Likewise.
53265         [C99-based-standards] (PRIXFAST32): Likewise.
53266         [C99-based-standards] (SCNdFAST32): Likewise.
53267         [C99-based-standards] (SCNiFAST32): Likewise.
53268         [C99-based-standards] (SCNoFAST32): Likewise.
53269         [C99-based-standards] (SCNuFAST32): Likewise.
53270         [C99-based-standards] (SCNxFAST32): Likewise.
53271         [C99-based-standards] (PRId64): Likewise.
53272         [C99-based-standards] (PRIi64): Likewise.
53273         [C99-based-standards] (PRIo64): Likewise.
53274         [C99-based-standards] (PRIu64): Likewise.
53275         [C99-based-standards] (PRIx64): Likewise.
53276         [C99-based-standards] (PRIX64): Likewise.
53277         [C99-based-standards] (SCNd64): Likewise.
53278         [C99-based-standards] (SCNi64): Likewise.
53279         [C99-based-standards] (SCNo64): Likewise.
53280         [C99-based-standards] (SCNu64): Likewise.
53281         [C99-based-standards] (SCNx64): Likewise.
53282         [C99-based-standards] (PRIdLEAST64): Likewise.
53283         [C99-based-standards] (PRIiLEAST64): Likewise.
53284         [C99-based-standards] (PRIoLEAST64): Likewise.
53285         [C99-based-standards] (PRIuLEAST64): Likewise.
53286         [C99-based-standards] (PRIxLEAST64): Likewise.
53287         [C99-based-standards] (PRIXLEAST64): Likewise.
53288         [C99-based-standards] (SCNdLEAST64): Likewise.
53289         [C99-based-standards] (SCNiLEAST64): Likewise.
53290         [C99-based-standards] (SCNoLEAST64): Likewise.
53291         [C99-based-standards] (SCNuLEAST64): Likewise.
53292         [C99-based-standards] (SCNxLEAST64): Likewise.
53293         [C99-based-standards] (PRIdFAST64): Likewise.
53294         [C99-based-standards] (PRIiFAST64): Likewise.
53295         [C99-based-standards] (PRIoFAST64): Likewise.
53296         [C99-based-standards] (PRIuFAST64): Likewise.
53297         [C99-based-standards] (PRIxFAST64): Likewise.
53298         [C99-based-standards] (PRIXFAST64): Likewise.
53299         [C99-based-standards] (SCNdFAST64): Likewise.
53300         [C99-based-standards] (SCNiFAST64): Likewise.
53301         [C99-based-standards] (SCNoFAST64): Likewise.
53302         [C99-based-standards] (SCNuFAST64): Likewise.
53303         [C99-based-standards] (SCNxFAST64): Likewise.
53304         [C99-based-standards] (PRIdMAX): Likewise.
53305         [C99-based-standards] (PRIiMAX): Likewise.
53306         [C99-based-standards] (PRIoMAX): Likewise.
53307         [C99-based-standards] (PRIuMAX): Likewise.
53308         [C99-based-standards] (PRIxMAX): Likewise.
53309         [C99-based-standards] (PRIXMAX): Likewise.
53310         [C99-based-standards] (SCNdMAX): Likewise.
53311         [C99-based-standards] (SCNiMAX): Likewise.
53312         [C99-based-standards] (SCNoMAX): Likewise.
53313         [C99-based-standards] (SCNuMAX): Likewise.
53314         [C99-based-standards] (SCNxMAX): Likewise.
53315         [C99-based-standards] (PRIdPTR): Likewise.
53316         [C99-based-standards] (PRIiPTR): Likewise.
53317         [C99-based-standards] (PRIoPTR): Likewise.
53318         [C99-based-standards] (PRIuPTR): Likewise.
53319         [C99-based-standards] (PRIxPTR): Likewise.
53320         [C99-based-standards] (PRIXPTR): Likewise.
53321         [C99-based-standards] (SCNdPTR): Likewise.
53322         [C99-based-standards] (SCNiPTR): Likewise.
53323         [C99-based-standards] (SCNoPTR): Likewise.
53324         [C99-based-standards] (SCNuPTR): Likewise.
53325         [C99-based-standards] (SCNxPTR): Likewise.
53326         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53327         allow.
53328         * conform/data/stdint.h-data: Update comments to clarify
53329         requirements.
53330         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53331         type.
53332         [C99-based standards] (INT8_MAX): Likewise.
53333         [C99-based standards] (INT16_MIN): Likewise.
53334         [C99-based standards] (INT16_MAX): Likewise.
53335         [C99-based standards] (INT32_MIN): Likewise.
53336         [C99-based standards] (INT32_MAX): Likewise.
53337         [C99-based standards] (INT64_MIN): Likewise.
53338         [C99-based standards] (INT64_MAX): Likewise.
53339         [C99-based standards] (UINT8_MAX): Likewise.
53340         [C99-based standards] (UINT16_MAX): Likewise.
53341         [C99-based standards] (UINT32_MAX): Likewise.
53342         [C99-based standards] (UINT64_MAX): Likewise.
53343         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53344         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53345         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53346         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53347         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53348         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53349         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53350         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53351         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53352         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53353         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53354         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53355         [C99-based standards] (INT_FAST8_MIN): Likewise.
53356         [C99-based standards] (INT_FAST8_MAX): Likewise.
53357         [C99-based standards] (INT_FAST16_MIN): Likewise.
53358         [C99-based standards] (INT_FAST16_MAX): Likewise.
53359         [C99-based standards] (INT_FAST32_MIN): Likewise.
53360         [C99-based standards] (INT_FAST32_MAX): Likewise.
53361         [C99-based standards] (INT_FAST64_MIN): Likewise.
53362         [C99-based standards] (INT_FAST64_MAX): Likewise.
53363         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53364         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53365         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53366         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53367         [C99-based standards] (INTPTR_MIN): Likewise.
53368         [C99-based standards] (INTPTR_MAX): Likewise.
53369         [C99-based standards] (UINTPTR_MAX): Likewise.
53370         [C99-based standards] (INTMAX_MIN): Likewise.
53371         [C99-based standards] (INTMAX_MAX): Likewise.
53372         [C99-based standards] (UINTMAX_MAX): Likewise.
53373         [C99-based standards] (PTRDIFF_MIN): Likewise.
53374         [C99-based standards] (PTRDIFF_MAX): Likewise.
53375         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53376         [C99-based standards] (SIZE_MAX): Likewise.
53377         [C99-based standards] (WCHAR_MAX): Likewise.
53378         [C99-based standards] (WINT_MAX): Likewise.
53379         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53380         constraint on value.
53381         [C99-based standards] (WCHAR_MIN): Likewise.
53382         [C99-based standards] (WINT_MIN): Likewise.
53383         [C99-based standards] (*_t): Allow.
53384         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53385         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53386         Include math.h-data and complex.h-data.  Remove all expectations
53387         of math.h and complex.h contents.
53388         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53389         at end of line.
53390         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53391         (struct tm): Expect tag.
53392         [C99-based-standards] (wcstof): Expect function.
53393         [C99-based-standards] (wcstold): Likewise.
53394         [C99-based-standards] (wcstoll): Likewise.
53395         [C99-based-standards] (wcstoull): Likewise.
53396         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53397         macro-int-constant.  Specify type.
53398         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53399         constraint on value.
53400         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53401         Specify type.
53402         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53403         Specify value.
53404         [ISO C standards]: Do not allow headers.
53405         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53406         wcs[abcdefghijklmnopqrstuvwxyz]*.
53407         [ISO C standards] (*_t): Do not allow.
53408         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53409         Expect function.
53410         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53411         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53412         Specify type.
53413         [ISO C standards]: Do not allow headers.
53414         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53415         is[abcdefghijklmnopqrstuvwxyz]*.
53416         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53417         to[abcdefghijklmnopqrstuvwxyz]*.
53418         [ISO C standards] (*_t): Do not allow.
53419         * conform/data/stdalign.h-data: New file.
53420         * conform/data/stdbool.h-data: Likewise.
53421         * conform/data/stdnoreturn.h-data: Likewise.
53423 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53425         [BZ #14815]
53426         * manual/filesys.texi (Directory Entries): Typo fix.
53427         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53429 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53431         * elf/elf.h (EM_AARCH64): New macro.
53432         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53433         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53434         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53435         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53436         (R_AARCH64_TLSDESC): Likewise.
53437         (NT_ARM_TLS): Likewise.
53438         (NT_ARM_HW_BREAK): Likewise.
53439         (NT_ARM_HW_WATCH): Likewise.
53441 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53443         [BZ #14811]
53444         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53445         (__ieee754_powl): Saturate nonzero exponents with absolute value
53446         below 0x1p-79 to +/- 0x1p-79.
53447         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53448         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53449         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53450         nonzero exponents with absolute value below 0x1p-32 to +/-
53451         0x1p-32.
53452         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53453         (__ieee754_powl): Saturate nonzero exponents with absolute value
53454         below 0x1p-79 to +/- 0x1p-79.
53455         * math/libm-test.inc (pow_test): Add more tests.
53457 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53459         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53460         _dl_s390_cap_flags with kernel. Increase string length.
53461         (_dl_s390_platforms): Add z196 and zEC12.
53463 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53465         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53466         Change XOPEN21K to XOPEN2K.
53468 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53470         * string/memmove.c: Use memcpy when possible.
53472 2012-11-06  Andreas Jaeger  <aj@suse.de>
53474         * po/eo.po: Update from translation team.
53476 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53478         [BZ #14793]
53479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53480         exponent and small x and y exponents, scale x or y up.  Increase
53481         by 2 the exponent used in scaling up.
53482         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53483         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53484         * math/libm-test.inc (fma_test): Add more tests.
53485         (fma_test_towardzero): Likewise.
53486         (fma_test_downward): Likewise.
53487         (fma_test_upward): Likewise.
53489 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53491         [BZ #14805]
53492         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53493         fenv_t *.
53495         [BZ #14801]
53496         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
53497         namespace for names of struct fields.
53498         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
53499         fenv_t fields.
53500         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
53501         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
53503 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53505         [BZ #3665]
53506         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53508 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53510         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53511         PTR_DEMANGLE.
53513         [BZ #5246]
53514         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53515         PTR_DEMANGLE.
53517 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53519         [BZ #14797]
53520         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53521         definitely overflow as x * y not x * y + z.
53522         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53523         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53524         * math/libm-test.inc (fma_test): Add more tests.
53525         (fma_test_towardzero): Likewise.
53526         (fma_test_downward): Likewise.
53527         (fma_test_upward): Likewise.
53529 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53531         [BZ #157]
53533         * include/stub-tag.h: Remove file.
53534         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
53535         '#include' of it.
53536         * manual/maint.texi (Porting): Don't reference it.
53537         * Makerules ($(objpfx)stubs): Likewise.
53538         * dirent/closedir.c: Don't include <stub-tag.h>.
53539         * dirent/dirfd.c: Likewise.
53540         * dirent/fdopendir.c: Likewise.
53541         * dirent/getdents.c: Likewise.
53542         * dirent/getdents64.c: Likewise.
53543         * dirent/opendir.c: Likewise.
53544         * dirent/readdir.c: Likewise.
53545         * dirent/readdir64.c: Likewise.
53546         * dirent/readdir64_r.c: Likewise.
53547         * dirent/readdir_r.c: Likewise.
53548         * dirent/rewinddir.c: Likewise.
53549         * dirent/seekdir.c: Likewise.
53550         * dirent/telldir.c: Likewise.
53551         * gmon/profil.c: Likewise.
53552         * grp/setgroups.c: Likewise.
53553         * inet/if_index.c: Likewise.
53554         * io/access.c: Likewise.
53555         * io/chdir.c: Likewise.
53556         * io/chmod.c: Likewise.
53557         * io/chown.c: Likewise.
53558         * io/close.c: Likewise.
53559         * io/dup.c: Likewise.
53560         * io/dup2.c: Likewise.
53561         * io/dup3.c: Likewise.
53562         * io/euidaccess.c: Likewise.
53563         * io/faccessat.c: Likewise.
53564         * io/fchdir.c: Likewise.
53565         * io/fchmod.c: Likewise.
53566         * io/fchmodat.c: Likewise.
53567         * io/fchown.c: Likewise.
53568         * io/fchownat.c: Likewise.
53569         * io/fcntl.c: Likewise.
53570         * io/flock.c: Likewise.
53571         * io/fstatfs.c: Likewise.
53572         * io/fstatfs64.c: Likewise.
53573         * io/fstatvfs.c: Likewise.
53574         * io/fstatvfs64.c: Likewise.
53575         * io/futimens.c: Likewise.
53576         * io/fxstat.c: Likewise.
53577         * io/fxstat64.c: Likewise.
53578         * io/fxstatat.c: Likewise.
53579         * io/fxstatat64.c: Likewise.
53580         * io/getcwd.c: Likewise.
53581         * io/isatty.c: Likewise.
53582         * io/lchmod.c: Likewise.
53583         * io/lchown.c: Likewise.
53584         * io/link.c: Likewise.
53585         * io/linkat.c: Likewise.
53586         * io/lseek.c: Likewise.
53587         * io/lseek64.c: Likewise.
53588         * io/lxstat64.c: Likewise.
53589         * io/mkdir.c: Likewise.
53590         * io/mkdirat.c: Likewise.
53591         * io/mkfifo.c: Likewise.
53592         * io/mkfifoat.c: Likewise.
53593         * io/open.c: Likewise.
53594         * io/open64.c: Likewise.
53595         * io/openat.c: Likewise.
53596         * io/openat64.c: Likewise.
53597         * io/pipe.c: Likewise.
53598         * io/pipe2.c: Likewise.
53599         * io/poll.c: Likewise.
53600         * io/posix_fadvise.c: Likewise.
53601         * io/posix_fadvise64.c: Likewise.
53602         * io/posix_fallocate.c: Likewise.
53603         * io/posix_fallocate64.c: Likewise.
53604         * io/read.c: Likewise.
53605         * io/readlink.c: Likewise.
53606         * io/readlinkat.c: Likewise.
53607         * io/rmdir.c: Likewise.
53608         * io/sendfile.c: Likewise.
53609         * io/sendfile64.c: Likewise.
53610         * io/statfs.c: Likewise.
53611         * io/statfs64.c: Likewise.
53612         * io/statvfs.c: Likewise.
53613         * io/statvfs64.c: Likewise.
53614         * io/symlink.c: Likewise.
53615         * io/symlinkat.c: Likewise.
53616         * io/ttyname.c: Likewise.
53617         * io/ttyname_r.c: Likewise.
53618         * io/umask.c: Likewise.
53619         * io/unlink.c: Likewise.
53620         * io/unlinkat.c: Likewise.
53621         * io/utime.c: Likewise.
53622         * io/utimensat.c: Likewise.
53623         * io/write.c: Likewise.
53624         * io/xmknod.c: Likewise.
53625         * io/xmknodat.c: Likewise.
53626         * io/xstat.c: Likewise.
53627         * io/xstat64.c: Likewise.
53628         * login/getpt.c: Likewise.
53629         * login/grantpt.c: Likewise.
53630         * login/unlockpt.c: Likewise.
53631         * math/e_acoshl.c: Likewise.
53632         * math/e_acosl.c: Likewise.
53633         * math/e_asinl.c: Likewise.
53634         * math/e_atan2l.c: Likewise.
53635         * math/e_atanhl.c: Likewise.
53636         * math/e_coshl.c: Likewise.
53637         * math/e_expl.c: Likewise.
53638         * math/e_fmodl.c: Likewise.
53639         * math/e_gammal_r.c: Likewise.
53640         * math/e_hypotl.c: Likewise.
53641         * math/e_j0l.c: Likewise.
53642         * math/e_j1l.c: Likewise.
53643         * math/e_jnl.c: Likewise.
53644         * math/e_lgammal_r.c: Likewise.
53645         * math/e_log10l.c: Likewise.
53646         * math/e_log2l.c: Likewise.
53647         * math/e_logl.c: Likewise.
53648         * math/e_powl.c: Likewise.
53649         * math/e_rem_pio2l.c: Likewise.
53650         * math/e_sinhl.c: Likewise.
53651         * math/e_sqrtl.c: Likewise.
53652         * math/fclrexcpt.c: Likewise.
53653         * math/fedisblxcpt.c: Likewise.
53654         * math/feenablxcpt.c: Likewise.
53655         * math/fegetenv.c: Likewise.
53656         * math/fegetexcept.c: Likewise.
53657         * math/fegetround.c: Likewise.
53658         * math/feholdexcpt.c: Likewise.
53659         * math/fesetenv.c: Likewise.
53660         * math/fesetround.c: Likewise.
53661         * math/feupdateenv.c: Likewise.
53662         * math/fgetexcptflg.c: Likewise.
53663         * math/fraiseexcpt.c: Likewise.
53664         * math/fsetexcptflg.c: Likewise.
53665         * math/ftestexcept.c: Likewise.
53666         * math/k_cosl.c: Likewise.
53667         * math/k_rem_pio2l.c: Likewise.
53668         * math/k_sinl.c: Likewise.
53669         * math/k_tanl.c: Likewise.
53670         * math/s_asinhl.c: Likewise.
53671         * math/s_atanl.c: Likewise.
53672         * math/s_cbrtl.c: Likewise.
53673         * math/s_erfl.c: Likewise.
53674         * math/s_expm1l.c: Likewise.
53675         * math/s_log1pl.c: Likewise.
53676         * math/s_tanhl.c: Likewise.
53677         * misc/acct.c: Likewise.
53678         * misc/brk.c: Likewise.
53679         * misc/chflags.c: Likewise.
53680         * misc/chroot.c: Likewise.
53681         * misc/fchflags.c: Likewise.
53682         * misc/fgetxattr.c: Likewise.
53683         * misc/flistxattr.c: Likewise.
53684         * misc/fremovexattr.c: Likewise.
53685         * misc/fsetxattr.c: Likewise.
53686         * misc/fsync.c: Likewise.
53687         * misc/ftruncate.c: Likewise.
53688         * misc/futimes.c: Likewise.
53689         * misc/futimesat.c: Likewise.
53690         * misc/getdomain.c: Likewise.
53691         * misc/getdtsz.c: Likewise.
53692         * misc/gethostid.c: Likewise.
53693         * misc/gethostname.c: Likewise.
53694         * misc/getloadavg.c: Likewise.
53695         * misc/getpagesize.c: Likewise.
53696         * misc/getsysstats.c: Likewise.
53697         * misc/getxattr.c: Likewise.
53698         * misc/gtty.c: Likewise.
53699         * misc/ioctl.c: Likewise.
53700         * misc/lgetxattr.c: Likewise.
53701         * misc/listxattr.c: Likewise.
53702         * misc/llistxattr.c: Likewise.
53703         * misc/lremovexattr.c: Likewise.
53704         * misc/lsetxattr.c: Likewise.
53705         * misc/lutimes.c: Likewise.
53706         * misc/madvise.c: Likewise.
53707         * misc/mincore.c: Likewise.
53708         * misc/mlock.c: Likewise.
53709         * misc/mlockall.c: Likewise.
53710         * misc/mmap.c: Likewise.
53711         * misc/mprotect.c: Likewise.
53712         * misc/msync.c: Likewise.
53713         * misc/munlock.c: Likewise.
53714         * misc/munlockall.c: Likewise.
53715         * misc/munmap.c: Likewise.
53716         * misc/preadv.c: Likewise.
53717         * misc/preadv64.c: Likewise.
53718         * misc/ptrace.c: Likewise.
53719         * misc/pwritev.c: Likewise.
53720         * misc/pwritev64.c: Likewise.
53721         * misc/readv.c: Likewise.
53722         * misc/reboot.c: Likewise.
53723         * misc/remap_file_pages.c: Likewise.
53724         * misc/removexattr.c: Likewise.
53725         * misc/revoke.c: Likewise.
53726         * misc/select.c: Likewise.
53727         * misc/setdomain.c: Likewise.
53728         * misc/setegid.c: Likewise.
53729         * misc/seteuid.c: Likewise.
53730         * misc/sethostid.c: Likewise.
53731         * misc/sethostname.c: Likewise.
53732         * misc/setregid.c: Likewise.
53733         * misc/setreuid.c: Likewise.
53734         * misc/setxattr.c: Likewise.
53735         * misc/sstk.c: Likewise.
53736         * misc/stty.c: Likewise.
53737         * misc/swapoff.c: Likewise.
53738         * misc/swapon.c: Likewise.
53739         * misc/sync.c: Likewise.
53740         * misc/syncfs.c: Likewise.
53741         * misc/syscall.c: Likewise.
53742         * misc/truncate.c: Likewise.
53743         * misc/ualarm.c: Likewise.
53744         * misc/usleep.c: Likewise.
53745         * misc/ustat.c: Likewise.
53746         * misc/utimes.c: Likewise.
53747         * misc/vhangup.c: Likewise.
53748         * misc/writev.c: Likewise.
53749         * posix/_exit.c: Likewise.
53750         * posix/alarm.c: Likewise.
53751         * posix/execve.c: Likewise.
53752         * posix/fexecve.c: Likewise.
53753         * posix/fork.c: Likewise.
53754         * posix/fpathconf.c: Likewise.
53755         * posix/getaddrinfo.c: Likewise.
53756         * posix/getegid.c: Likewise.
53757         * posix/geteuid.c: Likewise.
53758         * posix/getgid.c: Likewise.
53759         * posix/getgroups.c: Likewise.
53760         * posix/getlogin.c: Likewise.
53761         * posix/getlogin_r.c: Likewise.
53762         * posix/getpgid.c: Likewise.
53763         * posix/getpid.c: Likewise.
53764         * posix/getppid.c: Likewise.
53765         * posix/getresgid.c: Likewise.
53766         * posix/getresuid.c: Likewise.
53767         * posix/getsid.c: Likewise.
53768         * posix/getuid.c: Likewise.
53769         * posix/glob64.c: Likewise.
53770         * posix/nanosleep.c: Likewise.
53771         * posix/pathconf.c: Likewise.
53772         * posix/pause.c: Likewise.
53773         * posix/posix_madvise.c: Likewise.
53774         * posix/pread.c: Likewise.
53775         * posix/pread64.c: Likewise.
53776         * posix/pwrite.c: Likewise.
53777         * posix/pwrite64.c: Likewise.
53778         * posix/sched_getaffinity.c: Likewise.
53779         * posix/sched_getp.c: Likewise.
53780         * posix/sched_gets.c: Likewise.
53781         * posix/sched_primax.c: Likewise.
53782         * posix/sched_primin.c: Likewise.
53783         * posix/sched_rr_gi.c: Likewise.
53784         * posix/sched_setaffinity.c: Likewise.
53785         * posix/sched_setp.c: Likewise.
53786         * posix/sched_sets.c: Likewise.
53787         * posix/sched_yield.c: Likewise.
53788         * posix/setgid.c: Likewise.
53789         * posix/setlogin.c: Likewise.
53790         * posix/setpgid.c: Likewise.
53791         * posix/setresgid.c: Likewise.
53792         * posix/setresuid.c: Likewise.
53793         * posix/setsid.c: Likewise.
53794         * posix/setuid.c: Likewise.
53795         * posix/sleep.c: Likewise.
53796         * posix/spawni.c: Likewise.
53797         * posix/sysconf.c: Likewise.
53798         * posix/times.c: Likewise.
53799         * posix/wait.c: Likewise.
53800         * posix/wait3.c: Likewise.
53801         * posix/wait4.c: Likewise.
53802         * posix/waitpid.c: Likewise.
53803         * resolv/gai_sigqueue.c: Likewise.
53804         * resource/getpriority.c: Likewise.
53805         * resource/getrlimit.c: Likewise.
53806         * resource/getrusage.c: Likewise.
53807         * resource/nice.c: Likewise.
53808         * resource/setpriority.c: Likewise.
53809         * resource/setrlimit.c: Likewise.
53810         * resource/ulimit.c: Likewise.
53811         * rt/aio_cancel.c: Likewise.
53812         * rt/aio_fsync.c: Likewise.
53813         * rt/aio_read.c: Likewise.
53814         * rt/aio_sigqueue.c: Likewise.
53815         * rt/aio_suspend.c: Likewise.
53816         * rt/aio_write.c: Likewise.
53817         * rt/clock_getres.c: Likewise.
53818         * rt/clock_gettime.c: Likewise.
53819         * rt/clock_nanosleep.c: Likewise.
53820         * rt/clock_settime.c: Likewise.
53821         * rt/lio_listio.c: Likewise.
53822         * rt/mq_close.c: Likewise.
53823         * rt/mq_getattr.c: Likewise.
53824         * rt/mq_notify.c: Likewise.
53825         * rt/mq_open.c: Likewise.
53826         * rt/mq_receive.c: Likewise.
53827         * rt/mq_send.c: Likewise.
53828         * rt/mq_setattr.c: Likewise.
53829         * rt/mq_timedreceive.c: Likewise.
53830         * rt/mq_timedsend.c: Likewise.
53831         * rt/mq_unlink.c: Likewise.
53832         * rt/shm_open.c: Likewise.
53833         * rt/shm_unlink.c: Likewise.
53834         * rt/timer_create.c: Likewise.
53835         * rt/timer_delete.c: Likewise.
53836         * rt/timer_getoverr.c: Likewise.
53837         * rt/timer_gettime.c: Likewise.
53838         * rt/timer_settime.c: Likewise.
53839         * setjmp/__longjmp.c: Likewise.
53840         * setjmp/setjmp.c: Likewise.
53841         * signal/kill.c: Likewise.
53842         * signal/killpg.c: Likewise.
53843         * signal/raise.c: Likewise.
53844         * signal/sigaction.c: Likewise.
53845         * signal/sigaltstack.c: Likewise.
53846         * signal/sigblock.c: Likewise.
53847         * signal/sigignore.c: Likewise.
53848         * signal/sigintr.c: Likewise.
53849         * signal/signal.c: Likewise.
53850         * signal/sigpause.c: Likewise.
53851         * signal/sigpending.c: Likewise.
53852         * signal/sigqueue.c: Likewise.
53853         * signal/sigreturn.c: Likewise.
53854         * signal/sigset.c: Likewise.
53855         * signal/sigsetmask.c: Likewise.
53856         * signal/sigstack.c: Likewise.
53857         * signal/sigsuspend.c: Likewise.
53858         * signal/sigtimedwait.c: Likewise.
53859         * signal/sigvec.c: Likewise.
53860         * signal/sigwait.c: Likewise.
53861         * signal/sigwaitinfo.c: Likewise.
53862         * signal/sysv_signal.c: Likewise.
53863         * socket/accept.c: Likewise.
53864         * socket/accept4.c: Likewise.
53865         * socket/bind.c: Likewise.
53866         * socket/connect.c: Likewise.
53867         * socket/getpeername.c: Likewise.
53868         * socket/getsockname.c: Likewise.
53869         * socket/getsockopt.c: Likewise.
53870         * socket/isfdtype.c: Likewise.
53871         * socket/listen.c: Likewise.
53872         * socket/recv.c: Likewise.
53873         * socket/recvfrom.c: Likewise.
53874         * socket/recvmsg.c: Likewise.
53875         * socket/send.c: Likewise.
53876         * socket/sendmsg.c: Likewise.
53877         * socket/sendto.c: Likewise.
53878         * socket/setsockopt.c: Likewise.
53879         * socket/shutdown.c: Likewise.
53880         * socket/sockatmark.c: Likewise.
53881         * socket/socket.c: Likewise.
53882         * socket/socketpair.c: Likewise.
53883         * stdio-common/ctermid.c: Likewise.
53884         * stdio-common/cuserid.c: Likewise.
53885         * stdio-common/remove.c: Likewise.
53886         * stdio-common/rename.c: Likewise.
53887         * stdio-common/renameat.c: Likewise.
53888         * stdio-common/tempname.c: Likewise.
53889         * stdlib/getcontext.c: Likewise.
53890         * stdlib/makecontext.c: Likewise.
53891         * stdlib/setcontext.c: Likewise.
53892         * stdlib/swapcontext.c: Likewise.
53893         * stdlib/system.c: Likewise.
53894         * streams/fattach.c: Likewise.
53895         * streams/fdetach.c: Likewise.
53896         * streams/getmsg.c: Likewise.
53897         * streams/getpmsg.c: Likewise.
53898         * streams/putmsg.c: Likewise.
53899         * streams/putpmsg.c: Likewise.
53900         * sysdeps/unix/bsd/getpt.c: Likewise.
53901         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
53902         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
53903         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53905         Likewise.
53906         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
53907         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53908         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
53909         * sysvipc/msgctl.c: Likewise.
53910         * sysvipc/msgget.c: Likewise.
53911         * sysvipc/msgrcv.c: Likewise.
53912         * sysvipc/msgsnd.c: Likewise.
53913         * sysvipc/semctl.c: Likewise.
53914         * sysvipc/semget.c: Likewise.
53915         * sysvipc/semop.c: Likewise.
53916         * sysvipc/semtimedop.c: Likewise.
53917         * sysvipc/shmat.c: Likewise.
53918         * sysvipc/shmctl.c: Likewise.
53919         * sysvipc/shmdt.c: Likewise.
53920         * sysvipc/shmget.c: Likewise.
53921         * termios/tcdrain.c: Likewise.
53922         * termios/tcflow.c: Likewise.
53923         * termios/tcflush.c: Likewise.
53924         * termios/tcgetattr.c: Likewise.
53925         * termios/tcgetpgrp.c: Likewise.
53926         * termios/tcsendbrk.c: Likewise.
53927         * termios/tcsetattr.c: Likewise.
53928         * termios/tcsetpgrp.c: Likewise.
53929         * time/adjtime.c: Likewise.
53930         * time/clock.c: Likewise.
53931         * time/getitimer.c: Likewise.
53932         * time/gettimeofday.c: Likewise.
53933         * time/setitimer.c: Likewise.
53934         * time/settimeofday.c: Likewise.
53935         * time/stime.c: Likewise.
53936         * time/time.c: Likewise.
53938 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
53940         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
53941         /usr/old/bin.
53943         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
53944         instead of spaces.
53945         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
53947 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
53949         [BZ #14796]
53950         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
53951         FE_TONEAREST before applying Dekker multiplication and Knuth
53952         addition.  Clear inexact exceptions and check for exact zero
53953         results afterwards.
53954         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53955         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53956         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53957         * math/libm-test.inc (fma_test): Add more tests.
53958         (fma_test_towardzero): Likewise.
53959         (fma_test_downward): Likewise.
53960         (fma_test_upward): Likewise.
53961         * sysdeps/generic/math_private.h (default_libc_fesetround): New
53962         function.
53963         (libc_fesetround): New macro.
53964         (libc_fesetroundf): Likewise.
53965         (libc_fesetroundl): Likewise.
53966         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
53967         function.
53968         (libc_fesetround_387): Likewise.
53969         (libc_fesetroundf): New macro.
53970         (libc_fesetround): Likewise.
53971         (libc_fesetroundl): Likewise.
53972         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
53973         function.
53974         (libc_fesetroundf): New macro.
53975         (libc_fesetround): Likewise.
53976         (libc_fesetroundl): Likewise.
53977         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
53978         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
53979         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
53980         libm_hidden_ver.
53981         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
53982         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
53983         libm_hidden_def.
53984         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
53985         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
53986         libm_hidden_ver.
53987         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
53988         libm_hidden_def.
53990         [BZ #3439]
53991         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
53992         integer constant usable in #if and use that to give value to enum
53993         constant.
53994         (FE_DIVBYZERO): Likewise.
53995         (FE_UNDERFLOW): Likewise.
53996         (FE_OVERFLOW): Likewise.
53997         (FE_INVALID): Likewise.
53998         (FE_INVALID_SNAN): Likewise.
53999         (FE_INVALID_ISI): Likewise.
54000         (FE_INVALID_IDI): Likewise.
54001         (FE_INVALID_ZDZ): Likewise.
54002         (FE_INVALID_IMZ): Likewise.
54003         (FE_INVALID_COMPARE): Likewise.
54004         (FE_INVALID_SOFTWARE): Likewise.
54005         (FE_INVALID_SQRT): Likewise.
54006         (FE_INVALID_INTEGER_CONVERSION): Likewise.
54007         (FE_TONEAREST): Likewise.
54008         (FE_TOWARDZERO): Likewise.
54009         (FE_UPWARD): Likewise.
54010         (FE_DOWNWARD): Likewise.
54011         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
54012         (FE_DIVBYZERO): Likewise.
54013         (FE_OVERFLOW): Likewise.
54014         (FE_UNDERFLOW): Likewise.
54015         (FE_INEXACT): Likewise.
54016         (FE_TONEAREST): Likewise.
54017         (FE_DOWNWARD): Likewise.
54018         (FE_UPWARD): Likewise.
54019         (FE_TOWARDZERO): Likewise.
54020         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
54021         (FE_UNDERFLOW): Likewise.
54022         (FE_OVERFLOW): Likewise.
54023         (FE_DIVBYZERO): Likewise.
54024         (FE_INVALID): Likewise.
54025         (FE_TONEAREST): Likewise.
54026         (FE_TOWARDZERO): Likewise.
54027         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
54028         (FE_OVERFLOW): Likewise.
54029         (FE_UNDERFLOW): Likewise.
54030         (FE_DIVBYZERO): Likewise.
54031         (FE_INEXACT): Likewise.
54032         (FE_TONEAREST): Likewise.
54033         (FE_TOWARDZERO): Likewise.
54034         (FE_UPWARD): Likewise.
54035         (FE_DOWNWARD): Likewise.
54036         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
54037         (FE_DIVBYZERO): Likewise.
54038         (FE_OVERFLOW): Likewise.
54039         (FE_UNDERFLOW): Likewise.
54040         (FE_INEXACT): Likewise.
54041         (FE_TONEAREST): Likewise.
54042         (FE_DOWNWARD): Likewise.
54043         (FE_UPWARD): Likewise.
54044         (FE_TOWARDZERO): Likewise.
54046 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
54048         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
54050 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
54052         * scripts/cross-test-ssh.sh (command): Use newlines to separate
54053         commands.  Quote $PWD.
54054         (blacklist_exports): Don't use remove_newlines.  Replace "declare
54055         -x" by "export".
54056         (remove_newlines): Remove.
54058 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
54060         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
54061         * stdlib/stdlib.h (atof): Moved to ...
54062         * include/bits/stdlib-float.h: Here.  New file.
54063         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
54064         * stdlib/bits/stdlib-float.h: New file.
54065         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
54066         -mno-sse -mno-mmx.
54067         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
54068         <xmmintrin.h>.
54070 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54072         * conform/conformtest.pl (@headers): Add fenv.h.
54073         * conform/data/fenv.h-data: New file.
54074         * include/fenv.h [_ISOMAC]: Disable all contents of file except
54075         include of <math/fenv.h>.
54077         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
54078         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
54079         && !UNIX98].  Enables tests for XOPEN2K8.
54080         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
54081         POSIX2008]: Likewise.
54083         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
54084         (struct rusage): Do not expect type or its members.
54086         [BZ #3439]
54087         * math/math.h (FP_NAN): Define macro to integer constant usable in
54088         #if and use that to give value to enum constant.
54089         (FP_INFINITE): Likewise.
54090         (FP_ZERO): Likewise.
54091         (FP_SUBNORMAL): Likewise.
54092         (FP_NORMAL): Likewise.
54094 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
54096         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
54097         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
54098         arguments.
54100 2012-11-02  Roland McGrath  <roland@hack.frob.com>
54102         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54103         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
54104         autoconf-time if not.
54105         * configure.in: Remove AC_PREREQ.
54107 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54109         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
54110         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
54111         of the internal implementation.
54113 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54115         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
54116         except include of <misc/sys/syslog.h>.
54118 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
54121         function returns with a NULL context exit with zero.
54123 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54125         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54127 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54129         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54130         (run_program_cmd): This.
54131         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54132         (tst_langinfo): New variable.  Use it.
54134 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54136         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54137         floating point opcodes.
54139 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54141         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54142         variable.
54144         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54146         * sysdeps/mach/hurd/powerpc: Remove directory.
54147         * sysdeps/mach/powerpc: Likewise.
54149 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54151         * scripts/check-local-headers.sh: Ignore c++ headers.
54153 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54155         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54156         __libc_cleanup_region_start argument.
54158 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54160         [BZ #14784]
54161         [BZ #14785]
54162         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54163         x * y using scaling, not as x * y + z.
54164         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54165         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54166         * math/libm-test.inc (fma_test): Add more tests.
54167         (fma_test_towardzero): Likewise.
54168         (fma_test_downward): Likewise.
54169         (fma_test_upward): Likewise.
54171 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54173         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54175 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54177         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54178         New variable.
54180 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54182         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54184 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54187         Fix sort order.
54188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54189         Likewise.
54191 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54194         Fix the order of the list for glibc 2.17.
54195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54196         Likewise.
54198 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54202 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54204         [BZ #14610]
54205         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54206         for low part of x being zero before using __atanl (y).
54207         * math/libm-test.inc (atan2_test): Add another test.
54209         * manual/install.texi (Configuring and compiling): Document
54210         general use of test-wrapper and test-wrapper-env.
54211         * INSTALL: Regenerated.
54213         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54214         (__fma): Do not extract and scale down low bits on after-rounding
54215         systems when result rounded to normal precision would have normal
54216         exponent.
54217         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54218         (__fmal): Do not extract and scale down low bits on after-rounding
54219         systems when result rounded to normal precision would have normal
54220         exponent.
54221         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54222         (__fmal): Do not extract and scale down low bits on after-rounding
54223         systems when result rounded to normal precision would have normal
54224         exponent.
54225         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54226         macro.
54227         (fma_test): Add more tests.
54228         (fma_test_towardzero): Likewise.
54229         (fma_test_downward): Likewise.
54230         (fma_test_upward): Likewise.
54232 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54234         * sysdeps/i386/tininess.h: Renamed to ...
54235         * sysdeps/x86/tininess.h: This.
54236         * sysdeps/x86_64/tininess.h: Removed.
54238 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54240         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54241         input.  Use $(build-program-cmd).
54242         ($(objpfx)tst-array1-static.out): Likewise.
54243         ($(objpfx)tst-array2.out): Likewise.
54244         ($(objpfx)tst-array3.out): Likewise.
54245         ($(objpfx)tst-array4.out): Likewise.
54246         ($(objpfx)tst-array5.out): Likewise.
54247         ($(objpfx)tst-array5-static.out): Likewise.
54249 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54251         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54252         if defined.
54254         * nss/nsswitch.h (nss_interface_function): Provide new
54255         macro for use with NSS functions.
54256         * grp/initgroups.c: Use new macro.
54257         * nss/getXXbyYY.c: Likewise.
54258         * nss/getXXbyYY_r.c: Likewise.
54259         * nss/getXXent.c: Likewise.
54260         * nss/getXXent_r.c: Likewise.
54261         * sysdeps/posix/getaddrinfo.c: Likewise.
54263 2012-10-30  Andreas Jaeger  <aj@suse.de>
54265         * po/ru.po: Update Russion translation from translation project.
54267 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54269         [BZ #14152]
54270         [BZ #14783]
54271         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54272         result and shift together with sticky bit instead of replicating
54273         round-to-nearest rounding.
54274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54275         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54276         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54277         missing underflow exceptions.
54278         (fma_test_towardzero): Add more tests.
54279         (fma_test_downward): Likewise.
54280         (fma_test_upward): Likewise.
54282         [BZ #14047]
54283         * sysdeps/generic/tininess.h: New file.
54284         * sysdeps/i386/tininess.h: Likewise.
54285         * sysdeps/sh/tininess.h: Likewise.
54286         * sysdeps/x86_64/tininess.h: Likewise.
54287         * stdlib/tst-strtod-underflow.c: Likewise.
54288         * stdlib/tst-tininess.c: Likewise.
54289         * stdlib/strtod_l.c: Include <tininess.h>.
54290         (round_and_return): Do not set errno for exact underflow cases.
54291         Force an underflow exception when setting errno for underflow.
54292         Determine underflow based on rounding to normal precision if
54293         TININESS_AFTER_ROUNDING.
54294         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54295         ERANGE for exact underflow cases.
54296         * stdlib/Makefile (tests): Add tst-tininess and
54297         tst-strtod-underflow.
54298         ($(objpfx)tst-tininess): Use $(link-libm).
54299         ($(objpfx)tst-strtod-underflow): Likewise.
54301 2012-10-30  Andreas Jaeger  <aj@suse.de>
54303         [BZ#14767]
54304         * elf/Makefile (tests): Remove conditional for have-initfini-array
54305         since this is now always required and the variable does not exist
54306         anymore.
54307         (tests-static): Likewise.
54308         (modules-names): Likewise.
54310         * po/eo.po: Add Esperanto translation from translation project.
54312         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54313         merged with constructor/destructor.
54314         (init_array): Likewise.
54315         * elf/tst-array2dep.c (fini_array): Likewise.
54316         (init_array): Likewise.
54318 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54320         * manual/message.texi: Delete @cartouche tags.
54322 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54324         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54325         EOPNOTSUPP.
54326         * sysdeps/mach/hurd/fsync.c: Likewise.
54328         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54329         [_POSIX_REALTIME_SIGNALS]: Change condition to
54330         [_POSIX_REALTIME_SIGNALS > 0].
54332 2012-10-27  Andreas Jaeger  <aj@suse.de>
54334         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54335         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54336         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54337         [__WORDSIZE != 64]: Likewise.
54339 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54341         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54342         *  iconvdata/tst-tables.sh: Likewise.
54344 2012-10-25  David S. Miller  <davem@davemloft.net>
54346         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54347         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54348         of strtoull.
54350         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54351         ifunc-impl-list.c
54352         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54353         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54354         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54355         file.
54357 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54359         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54360         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54361         __getdirentries.
54363 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54364             Jim Blandy  <jimb@codesourcery.com>
54366         * scripts/cross-test-ssh.sh: New file.
54367         * manual/install.texi (Configuring and compiling): Document use of
54368         cross-test-ssh.sh.
54369         * INSTALL: Regenerated.
54371 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54373         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54374         EOPNOTSUPP.
54376 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54378         * Makeconfig (run-program-prefix): Fix comment.
54380 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54381             Jim Blandy  <jimb@codesourcery.com>
54383         * Makeconfig (test-wrapper): New variable,
54384         (test-wrapper-env): Likewise.
54385         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54386         (run-built-tests): Define to yes.
54387         (run-program-prefix): Use $(test-wrapper).
54388         (built-program-cmd): Likewise.
54389         * Rules (make-test-out): Use $(test-wrapper-env) and
54390         $(host-built-program-cmd).
54391         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54392         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54393         tst-pathopt.sh.
54394         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54395         $(test-wrapper-env) to tst-rtld-load-self.sh.
54396         ($(objpfx)order2.out): Use $(test-wrapper).
54397         ($(objpfx)tst-initorder.out): Likewise.
54398         ($(objpfx)tst-initorder2.out): Likewise.
54399         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54400         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54401         (test_wrapper_env): New variable.  Use it to run ld.so.
54402         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54403         Use it to run ld.so.
54404         (test_wrapper_env): Likewise.
54405         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54406         $(test-wrapper) to run-iconv-test.sh.
54407         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54408         (ICONV): Use $test_wrapper.
54409         * posix/Makefile ($(objpfx)globtest.out): Pass
54410         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54411         globtest.sh, not $(run-program-prefix).
54412         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54413         (test_wrapper): Likewise.
54414         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54415         set together with run_via_rtld_prefix.
54416         (run_program_prefix): Define in terms of test_wrapper and
54417         run_via_rtld_prefix.
54419 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54421         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54422         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54423         Targets removed.
54425         [BZ #14743]
54426         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54427         Declare __clock_getres, __clock_gettime, __clock_settime,
54428         __clock_nanosleep, and __clock_getcpuclockid.
54429         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54430         Remove librt_hidden_def (clock_gettime).
54431         * sysdeps/unix/clock_gettime.c: Likewise.
54432         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54433         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54434         * rt/clock_getres.c: Define __clock_getres as an alias.
54435         * sysdeps/posix/clock_getres.c: Likewise.
54436         * rt/clock_settime.c: Define __clock_settime as an alias.
54437         * sysdeps/unix/clock_settime.c: Likewise.
54438         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54439         * sysdeps/unix/clock_nanosleep.c: Likewise.
54440         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54441         * rt/clock-compat.c: New file.
54442         * rt/Makefile (librt-routines): Add clock-compat and move
54443         $(clock-routines) to ...
54444         (routines): ... here, new variable.
54445         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54446         Don't add get_clockfreq here.
54447         * rt/Versions (libc: GLIBC_2.17): New version set.
54448         Add clock_* symbols here.
54449         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54450         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54451         (GLIBC_2.17): Add clock_* symbols.
54452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54454         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54456         Likewise.
54457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54458         Likewise.
54459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54463         * NEWS: Mention the move.
54465         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54466         Use __open, __read, __close rather than their public counterparts.
54467         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54468         (__get_clockfreq_via_cpuinfo): Likewise.
54469         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54470         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54472         * config.h.in (HAVE_IFUNC): New #undef.
54473         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54474         was successful.
54475         * configure: Regenerated.
54477 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54479         * configure.in: Move READELF check to start of file.
54480         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54481         libc_cv_asm_gnu_indirect_function in the process.
54482         * configure: Regenerated.
54484 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54486         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54487         send the output to /dev/null.
54488         (libc_cv_cc_with_libunwind): Likewise.
54489         (libc_cv_as_noexecstack): Likewise.
54490         * configure: Regenerate.
54492 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54494         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
54496         * posix/globtest.sh (TMPDIR): Do not set.
54497         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
54498         (testout): Likewise.
54500 2012-10-24  Andreas Jaeger  <aj@suse.de>
54502         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
54503         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
54504         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
54505         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
54506         posix_fadvise64, posix_fallocate64.
54508         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54509         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54510         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54511         Likewise.
54512         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54513         Likewise.
54514         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54516         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54517         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54518         <bits/fcntl-linux.h>.
54519         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54521         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54522         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54523         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54524         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54525         [__WORDSIZE != 64]: Likewise.
54527 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54529         * Makeconfig (run-built-tests): New variable.
54530         * Rules [$(cross-compiling) = yes]: Change condition to
54531         [$(run-built-tests) = no].
54532         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
54533         to [$(run-built-tests) = yes].
54534         * elf/Makefile [$(cross-compiling) = no]: Likewise.
54535         * grp/Makefile [$(cross-compiling) = no]: Likewise.
54536         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
54537         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
54538         * intl/Makefile [$(cross-compiling) = no]: Likewise.
54539         * io/Makefile [$(cross-compiling) = no]: Likewise.
54540         * libio/Makefile [$(cross-compiling) = no]: Likewise.
54541         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
54542         * misc/Makefile [$(cross-compiling) = no]: Likewise.
54543         * posix/Makefile [$(cross-compiling) = no]: Likewise.
54544         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
54545         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
54546         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
54547         * string/Makefile [$(cross-compiling) = no]: Likewise.
54549         * posix/Makefile ($(objpfx)globtest.out): Pass
54550         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
54551         $(rtld-installed-name).
54552         * posix/globtest.sh (elf_objpfx): Remove variable.
54553         (rtld_installed_name): Likewise.
54554         (library_path): Likewise.
54555         (run_program_prefix): New variable.  Use for running globtest
54556         binary.
54558 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
54559             Joseph Myers  <joseph@codesourcery.com>
54561         * Makeconfig (host-built-program-cmd): New variable.
54562         * elf/Makefile (tst-stackguard1-ARGS): Use
54563         $(host-built-program-cmd).
54564         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
54565         (tst-spawn-ARGS): Likewise.
54566         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
54568 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54569             Jim Blandy  <jimb@codesourcery.com>
54571         * Makeconfig (run-via-rtld-prefix): New variable.
54572         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
54573         (built-program-cmd): Likewise.
54575 2012-10-22  Andreas Jaeger  <aj@suse.de>
54577         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
54578         __O_RSYNC if it exists, otherwise to O_SYNC.
54580 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
54581             Joseph Myers  <joseph@codesourcery.com>
54583         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
54584         /dev/null.
54585         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
54586         from /dev/null
54587         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
54588         /dev/null.
54590 2012-10-22  Andreas Jaeger  <aj@suse.de>
54592         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
54593         Define always.
54594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
54596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54597         bits/fcntl-linux.h.
54599         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
54600         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
54602         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
54603         to __O_LARGEFILE.
54604         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
54605         to __O_LARGEFILE.
54607 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
54608             Joseph Myers  <joseph@codesourcery.com>
54610         * config.make.in (NM): New variable.
54612 2012-10-21  Andreas Jaeger  <aj@suse.de>
54614         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
54615         definitions and declarations that are provided by
54616         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54618 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54620         [BZ #14683]
54621         * elf/Makefile (tests-static): Add tst-leaks1-static.
54622         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
54623         ($(objpfx)tst-leaks1-static): New rule.
54624         ($(objpfx)tst-leaks1-static-mem): Likewise.
54625         (tst-leaks1-static-ENV): New macro.
54626         * elf/dl-open.c (dl_open_worker): Check the main application
54627         only if SHARED is defined.
54628         * elf/tst-leaks1-static.c: New file.
54630 2012-10-20  Andreas Jaeger  <aj@suse.de>
54632         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
54633         generic values for Linux.
54634         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
54635         and declarations that are provided by <bits/fcntl-linux.h> and
54636         include <bits/fcntl-linux.h>.
54637         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54638         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54640 2012-10-20  Roland McGrath  <roland@hack.frob.com>
54642         * io/fcntl.h: Move include of <bits/types.h> to the top and
54643         include it unconditionally.
54645 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54647         * wcsmbs/Makefile (tests-ifunc): New variable.
54648         (tests): Add $(tests-ifunc).
54649         * wcsmbs/test-wcschr-ifunc.c: New file.
54650         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
54651         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
54652         * wcsmbs/test-wcslen-ifunc.c: Likewise.
54653         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
54654         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
54656         * string/Makefile (tests-ifunc): New variable.
54657         (tests): Add $(tests-ifunc).
54658         * string/test-memccpy.c (TEST_NAME): New macro.
54659         * string/test-memchr.c (TEST_NAME): Likewise.
54660         * string/test-memcmp.c (TEST_NAME): Likewise.
54661         * string/test-memcpy.c (TEST_NAME): Likewise.
54662         * string/test-memmem.c (TEST_NAME): Likewise.
54663         * string/test-memmove.c (TEST_NAME): Likewise.
54664         * string/test-memset.c (TEST_NAME): Likewise.
54665         * string/test-rawmemchr.c (TEST_NAME): Likewise.
54666         * string/test-stpcpy.c (TEST_NAME): Likewise.
54667         * string/test-stpncpy.c (TEST_NAME): Likewise.
54668         * string/test-strcasecmp.c (TEST_NAME): Likewise.
54669         * string/test-strcasestr.c (TEST_NAME): Likewise.
54670         * string/test-strcat.c (TEST_NAME): Likewise.
54671         * string/test-strchr.c (TEST_NAME): Likewise.
54672         * string/test-strcmp.c(TEST_NAME): Likewise.
54673         * string/test-strcpy.c (TEST_NAME): Likewise.
54674         * string/test-strcspn.c (TEST_NAME): Likewise.
54675         * string/test-strlen.c (TEST_NAME): Likewise.
54676         * string/test-strncasecmp.c (TEST_NAME): Likewise.
54677         * string/test-strncmp.c (TEST_NAME): Likewise.
54678         * string/test-strncpy.c (TEST_NAME): Likewise.
54679         * string/test-strnlen.c (TEST_NAME): Likewise.
54680         * string/test-strpbrk.c (TEST_NAME): Likewise.
54681         * string/test-strrchr.c (TEST_NAME): Likewise.
54682         * string/test-strspn.c (TEST_NAME): Likewise.
54683         * string/test-strstr.c (TEST_NAME): Likewise.
54684         * string/test-bcopy-ifunc.c: New file.
54685         * string/test-bzero-ifunc.c: Likewise.
54686         * string/test-memccpy-ifunc.c: Likewise.
54687         * string/test-memchr-ifunc.c: Likewise.
54688         * string/test-memcmp-ifunc.c: Likewise.
54689         * string/test-memcpy-ifunc.c: Likewise.
54690         * string/test-memmem-ifunc.c: Likewise.
54691         * string/test-memmove-ifunc.c: Likewise.
54692         * string/test-mempcpy-ifunc.c: Likewise.
54693         * string/test-memset-ifunc.c: Likewise.
54694         * string/test-rawmemchr-ifunc.c: Likewise.
54695         * string/test-stpcpy-ifunc.c: Likewise.
54696         * string/test-stpncpy-ifunc.c: Likewise.
54697         * string/test-strcasecmp-ifunc.c: Likewise.
54698         * string/test-strcasestr-ifunc.c: Likewise.
54699         * string/test-strcat-ifunc.c: Likewise.
54700         * string/test-strchr-ifunc.c: Likewise.
54701         * string/test-strchrnul-ifunc.c: Likewise.
54702         * string/test-strcmp-ifunc.c: Likewise.
54703         * string/test-strcpy-ifunc.c: Likewise.
54704         * string/test-strcspn-ifunc.c: Likewise.
54705         * string/test-strlen-ifunc.c: Likewise.
54706         * string/test-strncasecmp-ifunc.c: Likewise.
54707         * string/test-strncat-ifunc.c: Likewise.
54708         * string/test-strncmp-ifunc.c: Likewise.
54709         * string/test-strncpy-ifunc.c: Likewise.
54710         * string/test-strnlen-ifunc.c: Likewise.
54711         * string/test-strpbrk-ifunc.c: Likewise.
54712         * string/test-strrchr-ifunc.c: Likewise.
54713         * string/test-strspn-ifunc.c: Likewise.
54714         * string/test-strstr-ifunc.c: Likewise.
54716         * debug/Makefile (tests-ifunc): New variable.
54717         (tests): Add $(tests-ifunc).
54718         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
54719         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
54720         * debug/test-stpcpy_chk-ifunc.c: New file.
54721         * debug/test-strcpy_chk-ifunc.c: Likewise.
54723 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54725         [BZ #13601]
54726         * elf/dl-load.c (open_verify): Retry read if the entire ELF
54727         header is not read in.
54729 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
54731         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
54732         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
54733         directly.  Pass built executable to script as
54734         $(built-program-cmd).
54735         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
54736         $testprogram without using LD_LIBRARY_PATH and $ldso.
54738         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
54739         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
54740         $(rtld-installed-name).
54741         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
54742         (rtld_installed_name): Likewise.
54743         (library_path): Likewise.
54744         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
54745         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
54746         $(run-program-prefix) to tst-tables.sh.
54747         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
54748         it to run tst-table-from and tst-table-to.
54749         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
54750         Pass it to tst-table.sh.
54751         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
54752         $(run-program-prefix) to tst-gettext.sh.
54753         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
54754         tst-translit.sh.
54755         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
54756         tst-gettext2.sh.
54757         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
54758         to run tst-gettext.
54759         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
54760         to run tst-gettext2.
54761         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
54762         to run tst-translit.
54763         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
54764         $(run-program-prefix) to tst-mtrace.sh.
54765         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
54766         to run tst-mtrace.
54767         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
54768         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
54769         $(rtld-installed-name).
54770         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
54771         (rtld_installed_name): Likewise.
54772         (run_program_prefix): New variable.  Use it to run wordexp-test.
54774         * Makeconfig (ARCH): Remove all definitions.
54775         (machine): Likewise.
54776         [ARCH]: Remove conditional code.
54777         [!objdir]: Give error.
54778         [!objdir] (objpfx): Remove.
54779         [!objdir] (common-objpfx): Likewise.
54780         [!objdir] (common-objdir): Likewise.
54781         * configure.in (config_makefile): Remove.  Hardcode Makefile in
54782         AC_CONFIG_FILES call.
54783         * configure: Regenerated.
54785         [BZ #13888]
54786         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
54787         or TMPDIR.
54788         (testout): Likewise.
54790         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
54791         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
54792         $(rtld-installed-name).
54793         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
54794         (rtld_installed_name): Likwise.
54795         (runit): Remove function.
54796         (run_getconf): New variable,  Use it for running getconf binary.
54798 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
54800         [BZ #14716]
54801         * string/test-memmem.c (check_result): New function.
54802         (do_one_test): Use it.
54803         (check1): New function.
54804         (test_main): Use it.
54806 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
54808         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
54810 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
54812         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
54813         (_G_LSEEK64): Likewise.
54814         (_G_MMAP64): Likewise.
54815         (_G_FSTAT64): Likewise.
54816         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
54817         (_G_LSEEK64): Likewise.
54818         (_G_MMAP64): Likewise.
54819         (_G_FSTAT64): Likewise.
54820         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
54821         unconditional.  Call __mmap64 directly.
54822         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
54823         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
54824         __lseek64 directly.
54825         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
54826         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
54827         __mmap64 directly.
54828         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
54829         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54830         __lseek64 directly.
54831         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
54832         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54833         __lseek64 directly.
54834         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
54835         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
54836         __lseek64 directly.
54837         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
54838         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
54839         __fxstat64 directly.
54840         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
54841         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
54842         unconditional.
54843         (freopen64) [!_G_OPEN64]: Remove conditional code.
54844         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
54845         unconditional.
54846         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
54847         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
54848         unconditional.
54849         (ftello64) [!_G_LSEEK64]: Remove conditional code.
54850         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
54851         unconditional.
54852         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54853         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
54854         unconditional.
54855         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
54856         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
54857         unconditional.
54858         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54859         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
54860         unconditional.
54861         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54862         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
54863         unconditional.
54864         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54866 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54868         [BZ #12140]
54869         * manual/memory.texi (Malloc Tunable Parameters): Add note
54870         about free list pointers overwriting some perturb bytes.
54871         Wording suggested by Roland McGrath.
54873 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
54875         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
54876         (lgamma_test): Likewise.
54877         (tgamma_test): Likewise.
54879 2012-10-16  Florian Weimer  <fweimer@redhat.com>
54881         [BZ #14700]
54882         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
54883         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
54885 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
54887         * NEWS: Mention BZ #14716.
54888         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
54889         when removing AVAILABLE1_USES_J macro.
54891 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
54893         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
54894         (__bswap_64): __uint64_t for unsigned 64-bit int.
54896 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
54898         * include/string.h (memmem): Declare libc hidden alias.
54899         * string/memmem.c (memmem): Define libc hidden alias.
54900         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
54901         __read, __close instead of open, read, close.
54903 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
54905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
54906         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
54907         global and hidden.
54908         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
54909         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
54910         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
54911         Likewise.
54912         (__rawmemchr_sse2): Likewise.
54913         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
54914         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
54915         (__strchr_sse2): Likewise.
54916         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
54917         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
54918         (__strcasecmp_sse2): Likewise.
54919         (__strncasecmp_sse2): Likewise.
54920         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
54921         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
54922         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
54923         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
54924         (__strrchr_sse2): Likewise.
54925         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
54926         ifunc-impl-list.c.
54927         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54928         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
54929         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
54930         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54931         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
54932         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
54933         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54934         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54935         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
54936         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
54937         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54938         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
54939         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
54940         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
54941         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
54942         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54943         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
54944         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
54945         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
54946         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
54947         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
54948         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
54949         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
54950         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54951         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
54952         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54953         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
54954         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54955         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54956         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
54958         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
54959         global and hidden.
54960         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
54961         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
54962         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
54963         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
54964         Likewise.
54965         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
54966         Likewise.
54967         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
54968         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
54969         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
54970         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
54971         ifunc-impl-list.c.
54972         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54973         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54974         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54975         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54976         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54977         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54978         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54979         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54980         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54981         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54982         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54983         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54984         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54985         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
54986         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
54987         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54988         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
54989         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
54990         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54991         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54992         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54993         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54994         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54995         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54996         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54997         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
54998         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
54999         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
55000         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
55001         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55002         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
55003         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55004         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55005         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
55006         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55007         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55008         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55009         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55010         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55011         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55012         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
55014         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
55015         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
55016         * include/ifunc-impl-list.h: New file.
55017         * misc/ifunc-impl-list.c: Likewise.
55018         * misc/Makefile (routines): Add ifunc-impl-list.
55019         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
55020         * string/test-string.h: Include <ifunc-impl-list.h>.
55021         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
55022         TEST_NAME]: New variables.
55023         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
55024         are defined.
55025         (test_init): Call __libc_ifunc_impl_list to initialize
55026         func_list if TEST_IFUNC and TEST_NAME are defined.
55028         * string/Makefile (strop-tests): Add bcopy and bzero.
55029         * string/test-bcopy.c: New file.
55030         * string/test-bzero.c: Likewise.
55031         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
55032         defined.
55033         * string/test-memset.c: Support bzero test if TEST_BZERO is
55034         defined.
55035         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
55036         __libc_memmove.
55037         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
55038         __libc_memset.
55039         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
55040         of memset.
55042 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
55044         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
55045         * configure: Regenerated.
55047         * Makeconfig (+link-static-before-libc): Don't include
55048         $(link-static-libc).
55050         * libio/libio.h (_IO_pos_t): Remove.
55052 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55054         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
55055         McGrath.
55057 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55059         * crypt/crypt-entry.c: Include fips-private.h.
55060         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
55061         * crypt/md5c-test.c (main): Tolerate disabled MD5.
55062         * sysdeps/unix/sysv/linux/fips-private.h: New file.
55063         * sysdeps/generic/fips-private.h: New file, dummy fallback.
55065 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55067         * crypt/crypt-private.h: Include stdbool.h.
55068         (_ufc_setup_salt_r): Return bool.
55069         * crypt/crypt-entry.c: Include errno.h.
55070         (__crypt_r): Return NULL with EINVAL for bad salt.
55071         * crypt/crypt_util.c (bad_for_salt): New.
55072         (_ufc_setup_salt_r): Check that salt is long enough and within
55073         the specified alphabet.
55074         * crypt/badsalttest.c: New file.
55075         * crypt/Makefile (tests): Add it.
55076         ($(objpfx)badsalttest): New.
55078 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
55080         * NEWS: Add entry for BZ #14602.
55082 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55084         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
55085         type-generic.
55086         * math/libm-test.inc: Update comment listing what functions and
55087         macros are tested.
55088         (isgreater_test): New function.
55089         (isgreaterequal_test): Likewise.
55090         (isless_test): Likewise.
55091         (islessequal_test): Likewise.
55092         (islessgreater_test): Likewise.
55093         (isunordered_test): Likewise.
55094         (main): Call the new functions.
55096 2012-10-09  Roland McGrath  <roland@hack.frob.com>
55098         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
55099         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
55100         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
55101         * sysdeps/i386/configure: Regenerated.
55102         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
55103         * sysdeps/mach/configure: Regenerated.
55104         * sysdeps/mach/hurd/configure: Regenerated.
55105         * sysdeps/powerpc/configure: Regenerated.
55106         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55107         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55108         * sysdeps/s390/s390-32/configure: Regenerated.
55109         * sysdeps/s390/s390-64/configure: Regenerated.
55110         * sysdeps/sh/configure: Regenerated.
55111         * sysdeps/sparc/configure: Regenerated.
55112         * sysdeps/unix/sysv/linux/configure: Regenerated.
55113         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
55114         * sysdeps/x86_64/configure: Regenerated.
55116         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
55117         defined.  Don't check if MAP is NULL.
55119 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55121         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
55122         (_G_stat64): Likewise.
55123         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55124         (_G_stat64): Likewise.
55125         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55126         instead of struct _G_stat64.
55127         * libio/fileops.c (mmap_remap_check): Likewise.
55128         (decide_maybe_mmap): Likewise.
55129         (_IO_new_file_seekoff): Likewise.
55130         (_IO_file_stat): Likewise.
55131         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55132         _G_off64_t.
55133         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55134         instead of struct _G_stat64.
55135         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55137 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55139         [BZ #14602]
55140         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55141         Replace with ...
55142         (CHECK_EOL): New macro.
55143         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55144         CHECK_EOL.
55145         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55146         Replace with CHECK_EOL.
55147         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55148         Replace with CHECK_EOL.
55150 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55152         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55153         type-generic.
55154         * math/libm-test.inc: Update comment listing what functions and
55155         macros are tested.
55156         (finite_test): New function.
55157         (isinf_test): Likewise.
55158         (isnan_test): Likewise.
55159         (fpclassify_test): Test subnormal input.
55160         (isfinite_test): Likewise.
55161         (isnormal_test): Likewise.
55162         (main): Call the new functions.
55164 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55166         [BZ #14660]
55167         * Makerules (%.dynsym): Force C locale when running
55168         $(OBJDUMP) --dynamic-syms.
55170 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55172         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55173         <stdint.h>.
55175 2012-10-06  David S. Miller  <davem@davemloft.net>
55177         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55178         upper 32-bits of the length value in %o2 since we use branch-on-register
55179         tests which consider the entire 64-bit register.
55181 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55183         * string/test-strstr.c (check2): Add a test for page boundary.
55185 2012-10-05  David S. Miller  <davem@davemloft.net>
55187         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55188         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55189         file.
55190         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55191         sysdep_routines.
55192         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55193         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55194         and bzero when HWCAP_SPARC_CRYPTO is present.
55196 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55198         [BZ #14602]
55199         * string/test-strstr.c (check2): New function.
55200         (test_main): Call check2.
55202         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55203         and bug-strchr1.
55204         * string/bug-strcasestr1.c (do_test): Moved to ...
55205         * string/test-strcasestr.c (check1): Here.  New function.
55206         (do_one_test): Break out result checking code into ...
55207         (check_result): This.  New function.
55208         (do_one_test): Call check_result.
55209         (test_main): Call check1.
55210         * string/bug-strchr1.c (do_test): Moved to ...
55211         * string/test-strchr.c (check1): Here.  New function.
55212         (do_one_test): Break out result checking code into ...
55213         (check_result): This.  New function.
55214         (do_one_test): Call check_result.
55215         (test_main): Call check1.
55216         * string/bug-strstr1.c (main): Moved to ...
55217         * string/test-strstr.c (check1): Here.  New function.
55218         (do_one_test): Break out result checking code into ...
55219         (check_result): This.  New function.
55220         (do_one_test): Call check_result.
55221         (test_main): Call check1.
55222         * string/bug-strcasestr1.c: Removed.
55223         * string/bug-strchr1.c: Likewise.
55224         * string/bug-strstr1.c: Likewise.
55226         * elf/Makefile (dl-routines): Add hwcaps.
55227         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55228         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55229         (_dl_important_hwcaps): Moved to ...
55230         * elf/dl-hwcaps.c: Here.  New file.
55231         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55233         [BZ #14557]
55234         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55235         if IS_IN_rtld isn't defined.
55237         * elf/dl-support.c (_dl_sysinfo_map): New.
55238         Include "get-dynamic-info.h" and "setup-vdso.h".
55239         (_dl_non_dynamic_init): Call setup_vdso.
55240         * elf/dynamic-link.h: Don't include <assert.h>.
55241         (elf_get_dynamic_info): Moved to ...
55242         * elf/get-dynamic-info.h: Here.  New file.
55243         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55244         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55245         * elf/setup-vdso.h: Here.  New file.
55246         * elf/rtld.c: Include "setup-vdso.h".
55247         (dl_main): Call setup_vdso.
55249 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55251         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55252         creal in comment listing functions tested.  List finite, isinf,
55253         isnan, isless, islessequal, isgreater, isgreaterequal,
55254         islessgreater, isunordered, lgamma_r and pow10 as functions and
55255         macros not tested.  Mention which functions not tested are aliases
55256         for other functions.  Fix typo.  Note that signs of NaNs are not
55257         tested.
55259         * scripts/config.guess: Update from config.git.
55260         * scripts/config.sub: Likewise.
55262 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55264         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55265         * misc/madvise.c (madvise): Renamed to __madvise.
55266         Make madvise a weak alias.
55267         * include/sys/mman.h: Declare __madvise.
55268         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55269         * sysdeps/unix/syscalls.list
55270         (madvise): Make __madvise the strong name, and madvise a weak alias.
55271         * sysdeps/unix/sysv/linux/syscalls.list
55272         (madvise, mmap): Remove redundant entries.
55273         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55274         * malloc/malloc.c (mtrim): Likewise.
55275         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55277 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55279         * sysdeps/mach/hurd/dl-cache.c: File removed.
55280         * config.h.in (USE_LDCONFIG): New #undef.
55281         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55282         * configure: Regenerated.
55283         * elf/Makefile (dl-routines): Add dl-cache only under
55284         [$(use-ldconfig) = yes].
55285         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55286         cache on [USE_LDCONFIG].
55287         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55288         [USE_LDCONFIG].
55289         * elf/rtld.c (dl_main): Likewise.
55291 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55293         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55294         _SC_LEVEL4_CACHE_LINESIZE.
55296 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55298         * sysdeps/unix/bsd/confstr.h: File removed.
55300 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55302         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55303         sys/sdt-config.h.
55305 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55307         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55308         Make 'mapoff' field ElfW(Off) rather than off_t.
55310 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55312         * nscd/Makefile: Remove nscd-cflags and all its users.
55313         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55314         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55316         [BZ #10631]
55317         * malloc.c (malloc_printerr): Clarify error message.
55319 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55321         [BZ #14648]
55322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55323         Set bit_FMA_Usable if FMA is supported.
55324         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55325         macro.
55326         (bit_FMA4_Usable): Updated.
55327         (index_FMA_Usable): New macro.
55328         (CPUID_FMA): Likewise.
55329         (HAS_FMA): Defined with bit_FMA_Usable.
55331 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55333         * bits/types.h (__swblk_t): Type removed.
55334         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55335         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55336         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55337         (__SWBLK_T_TYPE): Likewise.
55338         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55339         (__SWBLK_T_TYPE): Likewise.
55340         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55341         (__SWBLK_T_TYPE): Likewise.
55342         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55343         (__SWBLK_T_TYPE): Likewise.
55345 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55346             Honza Horak <hhorak@redhat.com>
55348         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55349         (xdr_mapname): Use YPMAXMAP as maxsize.
55350         (xdr_peername): Use YPMAXPEER as maxsize.
55351         (xdr_keydat): Use YPAXRECORD as maxsize.
55352         (xdr_valdat): Use YPMAXRECORD as maxsize.
55354 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55356         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55358         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55359         * csu/init-first.c: ... here.
55360         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55361         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55362         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55363         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55364         * sysdeps/i386/init-first.c: File removed.
55365         * sysdeps/sh/init-first.c: File removed.
55367 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55369         [BZ #14645]
55370         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55371         if x * y might underflow to zero and z is zero.
55372         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55373         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55374         * math/libm-test.inc (min_subnorm_value): New variable.
55375         (fma_test): Add more tests.
55376         (fma_test_towardzero): Likewise.
55377         (fma_test_downward): Likewise.
55378         (fma_test_upward): Likewise.
55379         (initialize): Set min_subnorm_value.
55381 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55383         [BZ #14638]
55384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55385         0 + 0.
55386         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55387         mode for addition resulting in exact zero.
55388         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55390         exact 0 + 0.
55391         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55392         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55393         * math/libm-test.inc (fma_test): Add more tests.
55394         (fma_test_towardzero): New function.
55395         (fma_test_downward): Likewise.
55396         (fma_test_upward): Likewise.
55397         (main): Call the new functions.
55399 2012-09-28  David S. Miller  <davem@davemloft.net>
55401         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55403 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55405         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55406         instead of SIGALRM.
55408         * sysdeps/gnu/_G_config.h: Moved to ...
55409         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55410         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55411         * sysdeps/generic/_G_config.h: ... here.
55413         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55415         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55417         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55418         Conditionalize target on [libnss_test1.so-version].
55420         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55422         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55423         (elfobjdir): Move out of conditionals.
55425         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55426         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55427         (__nss_lookup_function): Conditionalize label remove_from_tree on
55428         [!DO_STATIC_NSS || SHARED], matching its only use.
55430 2012-09-28  David S. Miller  <davem@davemloft.net>
55432         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55433         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55434         file.
55435         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55436         sysdep_routines.
55437         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55438         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55439         when HWCAP_SPARC_CRYPTO is present.
55441 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55443         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55445 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55447         [BZ #6530]
55448         * stdio-common/vfprintf.c (process_string_arg): Revert
55449         2000-07-22 change.
55451 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55453         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55454         for testcase.
55455         * stdio-common/tst-sprintf.c: Include <locale.h>
55456         (main): Test sprintf's handling of incomplete multibyte
55457         characters.
55459 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55461         * elf/dl-runtime.c (VERSYMIDX): Removed.
55462         * elf/dl-version.c (VERSYMIDX): Likewise.
55463         * elf/do-rel.h (VERSYMIDX): Likewise.
55464         (VALIDX): Likewise.
55465         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55466         * elf/rtld.c (VALIDX): Likewise.
55467         (ADDRIDX): Likewise.
55468         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55469         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55470         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55471         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55472         (VALIDX): Likewise.
55473         (ADDRIDX): Likewise.
55475 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55477         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55479 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55481         [BZ #11438]
55482         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55483         to global scope.
55484         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55485         addresses are in the same scope as 192.0.2/24.
55486         * posix/gai.conf: Document new scope table defaults.
55488 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55490         [BZ #5298]
55491         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
55492         for ftell.  Compute offsets from write pointers instead.
55493         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55495 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55497         [BZ #14543]
55498         * libio/Makefile (tests): New test case tst-fseek.
55499         * libio/tst-fseek.c: New test case to verify that fseek/ftell
55500         combination works in wide mode.
55501         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
55502         state when the external buffer state changes.
55504 2012-09-27  David S. Miller  <davem@davemloft.net>
55506         [BZ #14376]
55507         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55508         pass reloc->r_addend in as the 'high' argument to
55509         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55513 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55515         * rt/tst-aio2.c: Include <pthread.h>.
55516         * rt/tst-aio3.c: Likewise.
55518 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55520         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55522 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55524         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55525         contents on [SHARED].
55527 2012-09-26  Marek Polacek  <polacek@redhat.com>
55529         [BZ #14530]
55530         [BZ #13741]
55531         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
55532         for C++ and GCC <4.3 as well as for non GCC compilers.
55534 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55538 2012-09-25  Roland McGrath  <roland@hack.frob.com>
55540         * Makefile.in (all, install): Declare with .PHONY.
55541         Reported by Michael Hope <michael.hope@linaro.org>.
55543 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55545         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
55546         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
55547         system header.
55548         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
55549         Likewise.
55550         (sydep_routines): Add the new and the internal functions.
55551         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
55552         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
55553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
55554         (GLIBC_2.17): Add the new function.
55555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55556         (GLIBC_2.17): Likewise.
55557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
55558         (GLIBC_2.17): Likewise.
55559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
55560         (GLIBC_2.17): Likewise.
55561         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
55563 2012-09-25  Alan Modra  <amodra@gmail.com>
55565         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
55566         Add release barrier before setting once_control to say
55567         initialisation is done.  Add hints on lwarx.  Use macro in
55568         place of isync.
55569         (clear_once_control): Add release barrier.
55571 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55573         [BZ #13629]
55574         * math/s_clog.c (__clog): Handle more values close to |z| = 1
55575         specially.
55576         * math/s_clog10.c (__clog10): Likewise.
55577         * math/s_clog10f.c (__clog10f): Likewise.
55578         * math/s_clog10l.c (__clog10l): Likewise.
55579         * math/s_clogf.c (__clogf): Likewise.
55580         * math/s_clogl.c (__clogl): Likewise.
55581         * math/Makefile (libm-calls): Add x2y2m1.
55582         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
55583         (__x2y2m1): Likewise.
55584         (__x2y2m1l): Likewise.
55585         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
55586         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
55587         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
55588         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55589         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
55590         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
55591         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
55592         * sysdeps/i386/fpu/libm-test-ulps: Update.
55593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55595         [BZ #14621]
55596         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
55597         int as type of variable DEPTH.
55598         (glob): Use size_t instead of int as type of variables NEWCOUNT
55599         and OLD_PATHC.
55601 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55603         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55604         Add s_sincosf-sse2.
55605         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
55606         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
55607         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
55608         macros for using routine as __sincosf_ia32.
55609         Use macro for function declaration and weak_alias.
55610         * sysdeps/i386/fpu/libm-test-ulps: Update.
55612         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
55613         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55615         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
55616         subnormal argument.
55617         * math/s_cexpf.c (__cexpf): Likewise.
55618         * math/s_csinf.c (__csinf): Likewise.
55619         * math/s_csinhf.c (__csinhf): Likewise.
55620         * math/s_ctanf.c (__ctanf): Likewise.
55621         * math/s_ctanhf.c (__ctanhf): Likewise.
55622         * math/s_ccosh.c (__ccoshf): Likewise.
55623         * math/s_cexp.c (__cexpl): Likewise.
55624         * math/s_csin.c (__csin): Likewise.
55625         * math/s_csinh.c (__csinh): Likewise.
55626         * math/s_ctan.c (__ctan): Likewise.
55627         * math/s_ctanh.c (ctanh): Likewise.
55628         * math/s_ccoshl.c (__ccoshl): Likewise.
55629         * math/s_cexpl.c (__cexpl): Likewise.
55630         * math/s_csinl.c (__csinl): Likewise.
55631         * math/s_csinhl.c (__csinhl): Likewise.
55632         * math/s_ctanl.c (__ctanl): Likewise.
55633         * math/s_ctanhl.c (__ctanhl): Likewise.
55635 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55637         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
55638         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
55639         (_IO_off_t): Define to __off_t, not _G_off_t.
55640         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
55641         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
55642         (_IO_wint_t): Define to wint_t, not _G_wint_t.
55643         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
55644         type of __dummy and __dummy2 fields.
55645         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
55646         (_G_ssize_t): Likewise.
55647         (_G_off_t): Likewise.
55648         (_G_pid_t): Likewise.
55649         (_G_uid_t): Likewise.
55650         (_G_wchar_t): Likewise.
55651         (_G_wint_t): Likewise.
55652         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
55653         (_G_ssize_t): Likewise.
55654         (_G_off_t): Likewise.
55655         (_G_pid_t): Likewise.
55656         (_G_uid_t): Likewise.
55657         (_G_wchar_t): Likewise.
55658         (_G_wint_t): Likewise.
55659         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
55660         (_G_ssize_t): Likewise.
55661         (_G_off_t): Likewise.
55662         (_G_pid_t): Likewise.
55663         (_G_uid_t): Likewise.
55664         (_G_wchar_t): Likewise.
55665         (_G_wint_t): Likewise.
55667 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55669         * malloc/arena.c: Include malloc-sysdep.h.
55670         (shrink_heap): Use check_may_shrink_heap to decide if madvise
55671         is sufficient to shrink the heap or an unmap is needed.
55672         * sysdeps/generic/malloc-sysdep.h: New file.  Define
55673         new function check_may_shrink_heap.
55674         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
55675         new function check_may_shrink_heap.
55677 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55679         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
55680         comments.
55682 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
55684         * catgets/test-gencat.sh: Add "set -e".
55685         * elf/tst-pathopt.sh: Likewise.
55686         * grp/tst_fgetgrent.sh: Likewise.
55687         * iconvdata/run-iconv-test.sh: Likewise.
55688         * intl/tst-gettext.sh: Likewise.
55689         * intl/tst-gettext2.sh: Likewise.
55690         * intl/tst-gettext4.sh: Likewise.
55691         * intl/tst-gettext6.sh: Likewise.
55692         * intl/tst-translit.sh: Likewise.
55693         * io/ftwtest-sh: Likewise.
55694         * libio/test-freopen.sh: Likewise.
55695         * malloc/tst-mtrace.sh: Likewise.
55696         * posix/globtest.sh: Likewise.
55697         * posix/tst-getconf.sh: Likewise.
55698         * posix/wordexp-tst.sh: Likewise.
55699         * stdio-common/tst-printf.sh: Likewise.
55700         * stdio-common/tst-unbputc.sh: Likewise.
55701         * stdlib/tst-fmtmsg.sh: Likewise.
55702         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55703         * catgets/Makefile: Do not specify -e option when running
55704         testsuite shell scripts.
55705         * elf/Makefile: Likewise.
55706         * grp/Makefile: Likewise.
55707         * iconvdata/Makefile: Likewise.
55708         * intl/Makefile: Likewise.
55709         * io/Makefile: Likewise.
55710         * libio/Makefile: Likewise.
55711         * malloc/Makefile: Likewise.
55712         * posix/Makefile: Likewise.
55713         * stdio-common/Makefile: Likewise.
55714         * stdlib/Makefile: Likewise.
55715         * sysdeps/x86_64/Makefile: Likewise.
55717         * io/ftwtest-sh: Add copyright header.
55718         * posix/globtest.sh: Likewise.
55719         * posix/tst-getconf.sh: Likewise.
55720         * posix/wordexp-tst.sh: Likewise.
55721         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55723 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
55725         [BZ #13679]
55726         * Makeconfig (+link): Defined as $(+link-static) if
55727         $(build-shared) isn't yes.
55728         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
55729         isn't yes.
55730         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
55732         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
55734         [BZ #14562]
55735         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
55736         new chunk size with MALLOC_ALIGN_MASK.
55738 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
55740         [BZ #5044]
55741         * stdio-common/printf_fphex.c: Include <stdbool.h> and
55742         <rounding-mode.h>.
55743         (__printf_fphex): Determine rounding using get_rounding_mode and
55744         round_away.
55745         * stdio-common/tst-printf-round.c (struct hex_test): New
55746         structure.
55747         (hex_tests): New variable.
55748         (test_hex_in_one_mode): New function.
55749         (do_test): Also run tests for hex float output.
55751 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
55753         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55754         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55755         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
55756         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55757         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55758         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
55759         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55760         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55762 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
55764         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
55765         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
55766         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
55767         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
55769 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
55771         [BZ #14579]
55772         * elf/rtld.c (dl_main): Limit the check for self loading to normal
55773         mode only.
55774         * elf/tst-rtld-load-self.sh: New test.
55775         * elf/Makefile: Run it.
55777 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
55779         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
55780         (tst-writev-ENV): Remove.
55781         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
55783 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
55785         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
55787 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
55789         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
55790         unconditional.
55791         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
55792         Likewise.
55793         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
55794         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
55795         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
55796         Likewise.
55798 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
55800         [BZ #14587]
55801         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
55802         * config.make.in (have-cpp-asm-debuginfo): Removed.
55803         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
55804         * configure: Regenerated.
55806 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
55808         [BZ #5044]
55809         * stdio-common/printf_fp.c: Include <stdbool.h> and
55810         <rounding-mode.h>.
55811         (___printf_fp): Determine rounding using get_rounding_mode and
55812         round_away.
55813         * stdio-common/tst-printf-round.c: New file.
55814         * stdio-common/Makefile (tests): Add tst-printf-round.
55815         (link-libm): New variable.
55816         ($(objpfx)tst-printf-round): Depend in $(link-libm).
55818 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
55820         [BZ #14576]
55821         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
55822         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
55823         Likewise.
55824         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
55825         Likewise.
55827 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
55829         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
55830         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55831         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55832         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55834 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
55836         [BZ #14518]
55837         * include/rounding-mode.h: New file.
55838         * sysdeps/generic/get-rounding-mode.h: Likewise.
55839         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
55840         * stdlib/strtod_l.c: Include <rounding-mode.h>.
55841         (MAX_VALUE): New macro.
55842         (MIN_VALUE): Likewise.
55843         (overflow_value): New function.
55844         (underflow_value): Likewise.
55845         (round_and_return): Use overflow_value and underflow_value to
55846         determine return values in overflow and underflow cases.  Use
55847         round_away to determine rounding depending on rounding mode.
55848         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
55849         determine return values in overflow and underflow cases.
55850         * stdlib/tst-strtod-round.c: Include <fenv.h>.
55851         (struct test_results): New structure.
55852         (struct test): Use struct test_results to store expected results
55853         for all rounding modes.
55854         (TEST): Include expected results for all rounding modes.
55855         (test_in_one_mode): New function.
55856         (do_test): Use test_in_one_mode to compute and check results.
55857         Check results for all rounding modes.
55858         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
55859         $(link-libm).
55861 2012-12-09  Allan McRae  <allan@archlinux.org>
55863         * sysdeps/i386/fpu/libm-test-ulps: Update
55865 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
55867         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
55868         (_G_int32_t): Likewise.
55869         (_G_uint16_t): Likewise.
55870         (_G_uint32_t): Likewise.
55871         (_G_HAVE_BOOL): Likewise.
55872         (_G_HAVE_ATEXIT): Likewise.
55873         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55874         (_G_HAVE_IO_FILE_OPEN): Likewise.
55875         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
55876         (_G_int32_t): Likewise.
55877         (_G_uint16_t): Likewise.
55878         (_G_uint32_t): Likewise.
55879         (_G_HAVE_BOOL): Likewise.
55880         (_G_HAVE_ATEXIT): Likewise.
55881         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55882         (_G_HAVE_IO_FILE_OPEN): Likewise.
55883         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
55884         (_G_int32_t): Likewise.
55885         (_G_uint16_t): Likewise.
55886         (_G_uint32_t): Likewise.
55887         (_G_HAVE_BOOL): Likewise.
55888         (_G_HAVE_ATEXIT): Likewise.
55889         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55890         (_G_HAVE_IO_FILE_OPEN): Likewise.
55892 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
55894         * csu/libc-tls.c: Update copyright years.
55896 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
55898         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
55899         [!_G_USING_THUNKS]: Remove conditional code.
55900         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
55901         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
55903         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
55904         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
55905         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55906         (_G_VTABLE_LABEL_PREFIX): Likewise.
55907         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55908         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55909         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55910         (_G_VTABLE_LABEL_PREFIX): Likewise.
55911         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55912         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55913         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55914         (_G_VTABLE_LABEL_PREFIX): Likewise.
55915         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55917 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
55919         * libio/Makefile: Include ../Makeconfig before tests.
55920         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
55921         only if $(build-shared) is yes.
55923         * iconv/gconv_db.c: Update copyright years.
55925 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55927         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
55928         unwind info if defined PIC. Fix special cases description.
55929         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
55931         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
55932         DP_HI_MASK entry.
55933         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
55935 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
55937         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
55939         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
55940         is NULL.
55942         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
55943         (LDLIBS-tst-chk4): This.
55944         (LDFLAGS-tst-chk5): Renamed to ...
55945         (LDLIBS-tst-chk5): This.
55946         (LDFLAGS-tst-chk6): Renamed to ...
55947         (LDLIBS-tst-chk6): This.
55948         (LDFLAGS-tst-lfschk4): Renamed to ...
55949         (LDLIBS-tst-lfschk4): This.
55950         (LDFLAGS-tst-lfschk5): Renamed to ...
55951         (LDLIBS-tst-lfschk5): This.
55952         (LDFLAGS-tst-lfschk6): Renamed to ...
55953         (LDLIBS-tst-lfschk6): This.
55955         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
55956         on $(common-objpfx)soversions.mk.
55958 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
55960         [BZ #10014]
55961         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
55962         example host name.
55964 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55966         * malloc/arena.c (arena_get_retry): New function that gets
55967         another arena for the caller to try its request on.
55968         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
55969         current arena cannot fulfill the request.
55970         (__libc_memalign): Likewise.
55971         (__libc_memalign): Likewise.
55972         (__libc_pvalloc): Likewise.
55973         (__libc_calloc): Likewise.
55975 2012-09-05  John Tobey  <john.tobey@gmail.com>
55977         [BZ #13542]
55978         * manual/arith.texi (Operations on Complex): Fix description
55979         of carg branch cut.
55981 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55983         [BZ #10014]
55984         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
55985         host name.
55987         [BZ #10038]
55988         * manual/memory.texi (Memory): Make order of menu items match
55989         order of sections.
55991 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55993         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55994         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
55995         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
55997 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55999         * csu/libc-tls.c (static_dtv): Renamed to ...
56000         (_dl_static_dtv): This.  Make it global.
56001         (_dl_initial_dtv): Removed.
56002         (__libc_setup_tls): Updated.
56003         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
56004         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
56005         DL_INITIAL_DTV.
56007 2012-09-06  Petr Machata  <pmachata@redhat.com>
56009         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
56010         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
56011         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
56012         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
56014 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56016         [BZ #14545]
56017         * csu/libc-tls.c (_dl_initial_dtv): New variable.
56018         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
56019         freeing dtv[-1].
56021 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56023         [BZ #14544]
56024         * Makeconfig (link-static-before-libc): Replace $(+prector)
56025         with $(+prectorT).
56026         (link-static-after-libc): Replace $(+postctor) with
56027         $(+postctorT).
56028         (link-bounded): Replace $(+prector)/$(+postctor) with
56029         $(+prectorT)/$(+postctorT).
56030         (+prectorT): New macro.
56031         (+postctorT): Likewise.
56033 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56035         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
56036         (round_str): Handle values above the maximum for IBM long double
56037         as inexact.
56038         * stdlib/tst-strtod-round.c (tests): Regenerated.
56040 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56042         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
56043         assembler flag.
56044         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
56045         zarch_nohighgprs around the zarch optimized routines.
56046         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
56047         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
56048         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
56049         for zarch.
56051 2012-09-05  David S. Miller  <davem@davemloft.net>
56053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56055         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
56056         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
56057         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
56058         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56059         entries.
56061 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56063         * malloc/arena.c: Fold copyright years.
56064         * malloc/mcheck.c, malloc/memusage.c: Likewise.
56066 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56068         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56070 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56072         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
56074 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56076         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
56077         change internal state upon failure.
56079 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56081         * malloc/mcheck.c (mcheck_check_all): Fix typo.
56082         * malloc/memusage.c (mmap): Likewise.
56083         (mmap64, mremap): Likewise.  Adjust name in comment.
56085 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56087         * libio/fileops.c: Fix typos in comments.
56088         * libio/oldfileops.c: Likewise.
56089         * libio/wfileops.c: Likewise.
56091 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56093         [BZ #1349]
56094         * malloc/Makefile (tests): Add tst-malloc-usable test case.
56095         (tst-malloc-usable-ENV): Set environment for test case.
56096         * malloc/hooks.c (malloc_check_get_size): New function to get
56097         requested size.
56098         * malloc/malloc.c (musable): Use malloc_check_get_size.
56099         * malloc/tst-malloc-usable.c: New test case.
56101 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56103         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
56105 2012-09-05  Allan McRae  <allan@archlinux.org>
56107         [BZ #13966]
56108         * configure.in (CXX_SYSINCLUDES): Use compiler output to
56109         determine header location.
56110         * configure: Regenerated.
56112 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56114         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
56115         float format.
56116         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
56117         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
56118         format.
56119         (test): Regenerate.
56121 2012-09-04  David S. Miller  <davem@davemloft.net>
56123         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56124         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56125         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56127 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56129         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56130         failures.
56132         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56134 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56136         [BZ #9914]
56137         * libio/iogetdelim.c: Include <limits.h>.
56138         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56139         + len + 1 would overflow.
56141 2012-09-03  Andreas Jaeger  <aj@suse.de>
56143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56144         * sysdeps/i386/fpu/libm-test-ulps: Update.
56146 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56148         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56149         Add s_sinf-sse2, s_conf-sse2.
56151         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56152         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56153         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56154         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56156         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56157         for using routine as __sinf_ia32.
56158         Use macro for function declaration and weak_alias.
56159         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56160         for using routine as __cosf_ia32.
56161         Use macro for function declaration and weak_alias.
56163         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56164         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56166         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56167         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56170         * math/libm-test.inc (cos_test): Add more test cases.
56171         (sin_test): Likewise.
56172         (sincos_test): Likewise.
56174 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56176         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56177         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56178         hidden.
56179         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56181 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56183         [BZ #14538]
56184         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56185         first element of the GOT.
56186         (elf_machine_load_address): Return the difference between
56187         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56189 2012-09-01  Allan McRae  <allan@archlinux.org>
56191         [BZ #13412]
56192         * configure.in (AWK): Require gawk version 3.0 or later.
56193         * configure: Regenerated.
56195 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56197         * sysdeps/unix/sysv/linux/kernel-features.h
56198         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56199         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56200         [__NR_clock_getres]: Make code unconditional.
56201         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56202         (clock_getcpuclockid): Remove code left unreachable by removal of
56203         conditionals.
56204         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56205         code unconditional.
56206         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56207         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56208         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56209         Make code unconditional.
56210         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56211         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56212         * sysdeps/unix/sysv/linux/clock_settime.c
56213         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56214         conditional code.
56215         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56216         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56218 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56220         [BZ #14476]
56221         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56222         scripts/test-installation.pl.
56224         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56225         and $ld_so_version if it is set.
56227 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56229         [BZ #14516]
56230         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56231         failure if reading from procfs failed.
56232         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56234 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56236         * sysdeps/unix/sysv/linux/kernel-features.h
56237         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56238         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56239         Remove conditional code.
56240         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56241         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56242         Remove conditional code.
56243         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56244         * sysdeps/unix/sysv/linux/i386/fxstat.c
56245         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56246         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56247         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56248         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56249         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56250         * sysdeps/unix/sysv/linux/i386/lxstat.c
56251         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56252         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56253         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56254         Remove conditional code.
56255         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56256         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56257         Remove conditional code.
56258         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56259         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56260         <kernel-features.h>.
56261         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56262         Remove.
56263         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56264         Remove conditional code.
56265         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56266         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56267         Remove conditional.
56269 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56271         [BZ #5400]
56272         * NEWS: Add fixed bug number.
56274 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56276         [BZ #14519]
56277         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56278         underflowing exponent in case of negative sign.
56279         * stdlib/tst-strtod-round-data: Add more tests.
56280         * stdlib/tst-strtod-round.c (tests): Regenerated.
56282         [BZ #3479]
56283         * stdlib/strtod_l.c (NDIG): Remove.
56284         (HEXNDIG): Likewise.
56285         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56286         smallest representable value.
56287         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56288         lie within an exact representation of 1/2 ulp of the result.
56289         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56290         unconditionally.
56291         (TENS_P9_IDX): Define unconditionally.
56292         (TENS_P9_SIZE): Likewise.
56293         (TENS_P10_IDX): Likewise.
56294         (TENS_P10_SIZE): Likewise.
56295         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56296         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56297         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56298         entries for 10^2^13 and 10^2^14.
56299         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56300         (TENS_P13_IDX): Define.
56301         (TENS_P13_SIZE): Likewise.
56302         (TENS_P14_IDX): Likewise.
56303         (TENS_P14_SIZE): Likewise.
56304         (_fpioconst_pow10): Change array size to
56305         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56306         unconditional.
56307         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56308         1024]: Add entries for 10^2^13 and 10^2^14.
56309         [LAST_POW10 > _LAST_POW10]: Remove #error.
56310         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56311         (_fpioconst_pow10): Change array size to
56312         FPIOCONST_POW10_ARRAY_SIZE.
56313         * stdlib/gen-fpioconst.c: New file.
56314         * stdlib/gen-tst-strtod-round.c: Likewise.
56315         * stdlib/tst-strtod-round-data: Likewise.
56316         * stdlib/tst-strtod-round.c: Likewise.
56317         * stdlib/Makefile (tests): Add tst-strtod-round.
56319         [BZ #14459]
56320         * stdlib/strtod_l.c: Include <stdint.h>.
56321         (NDEBUG): Do not define.
56322         (round_and_return): Change EXPONENT parameter to type intmax_t.
56323         Rearrange calculations to avoid internal overflow possibilities.
56324         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56325         Rearrange calculations to avoid internal overflow possibilities.
56326         Assert that number fits inside MPNSIZE limbs.
56327         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56328         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56329         calculations and add assertions to avoid internal overflow
56330         possibilities.  Add casts to avoid signed/unsigned operations.
56331         * stdlib/tst-strtod-overflow.c: New file.
56332         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56334 2012-08-25  Marek Polacek  <polacek@redhat.com>
56336         * time/time.h: Fix some typos in comments.
56338 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56340         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56341         * posix/tst-rfc3484-2.c: Likewise.
56342         * posix/tst-rfc3484-3.c: Likewise.
56344 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56346         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56347         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56349 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56351         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56352         #include of fxstatat64.c.
56354 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56356         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56357         * shadow/getspent_r.c: Likewise.
56358         * shadow/getspnam.c: Likewise.
56359         * shadow/getspnam_r.c: Likewise.
56360         * gshadow/getsgent.c: Likewise.
56361         * gshadow/getsgent_r.c: Likewise.
56362         * gshadow/getsgnam.c: Likewise.
56363         * gshadow/getsgnam_r.c: Likewise.
56364         * inet/getnetbyad.c: Likewise.
56365         * inet/getnetbyad_r.c: Likewise.
56366         * inet/getnetbynm.c: Likewise.
56367         * inet/getnetbynm_r.c: Likewise.
56368         * inet/getnetent.c: Likewise.
56369         * inet/getnetent_r.c: Likewise.
56370         * inet/getproto.c: Likewise.
56371         * inet/getproto_r.c: Likewise.
56372         * inet/getprtent.c: Likewise.
56373         * inet/getprtent_r.c: Likewise.
56374         * inet/getprtname.c: Likewise.
56375         * inet/getprtname_r.c: Likewise.
56376         * inet/getrpcbyname.c: Likewise.
56377         * inet/getrpcbyname_r.c: Likewise.
56378         * inet/getrpcbynumber.c: Likewise.
56379         * inet/getrpcbynumber_r.c: Likewise.
56380         * inet/getrpcent.c: Likewise.
56381         * inet/getrpcent_r.c: Likewise.
56382         * inet/getaliasent.c: Likewise.
56383         * inet/getaliasent_r.c: Likewise.
56384         * inet/getaliasname.c: Likewise.
56385         * inet/getaliasname_r.c: Likewise.
56386         * nscd/getgrgid_r.c: Likewise.
56387         * nscd/getgrnam_r.c: Likewise.
56388         * nscd/gethstbyad_r.c: Likewise.
56389         * nscd/gethstbynm3_r.c: Likewise.
56390         * nscd/getpwnam_r.c: Likewise.
56391         * nscd/getpwuid_r.c: Likewise.
56392         * nscd/getsrvbynm_r.c: Likewise.
56393         * nscd/getsrvbypt_r.c: Likewise.
56394         * nscd/gai.c: Likewise.
56396         * configure.in (build_nscd): New substituted variable, set
56397         by --disable-build-nscd and defaults to $use_nscd.
56398         * configure: Regenerated.
56399         * config.make.in (build-nscd): New substituted variable.
56400         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56401         Change conditional to require [$(build-nscd) = yes] as well.
56402         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56404         [BZ# 13696]
56405         * configure.in (use_nscd): New substituted variable, set by
56406         --disable-nscd.  If enabled, define USE_NSCD.
56407         * configure: Regenerated.
56408         * config.h.in: Add USE_NSCD.
56409         * config.make.in (use-nscd): New substituted variable.
56410         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56411         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56412         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56413         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56414         (CFLAGS-getgrnam_r.c): Likewise.
56415         (CFLAGS-initgroups.c): Likewise.
56416         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56417         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56418         Variables removed.
56419         * inet/getnetgrent_r.c
56420         (nscd_setnetgrent): New function, broken out of ...
56421         (setnetgrent): ... here.  Call it.
56422         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56423         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56424         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56425         * nscd/Makefile (routines, aux): Move definitions after include of
56426         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56427         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56428         Conditionalize on [USE_NSCD].
56429         (is_nscd, nscd_init_cb): Likewise.
56430         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56431         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56432         * nss/nss_db/db-init.c: Likewise.
56433         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56434         [USE_NSCD].
56435         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56436         (make_request): Use it.
56437         (cache_valid_p): New function.
56438         (__check_pf): Use it.
56439         * NEWS: Add item for --disable-nscd.
56441 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56443         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56444         to support sed >= 4.2.1-20-ga9bf076.
56445         * configure: Regenerated.
56447 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56449         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56450         Conditionalize whole body on [IREL].
56452 2012-08-22  Jeff Law <law@redhat.com>
56454         [BZ #14505]
56455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56456         if the family is PF_UNSPEC.
56458 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56460         * Makerules (lib-version): Rename from V.
56461         (install-lib-nosubdir): Change V to lib-version.
56463 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56465         [BZ #14252]
56466         * powerpc32/power6/wcschr.c: New file.
56467         * powerpc32/power6/wcscpy.c: New file.
56468         * powerpc32/power6/wcsrchr.c: New file.
56469         * powerpc64/power6/wcschr.c: New file.
56470         * powerpc64/power6/wcscpy.c: New file.
56471         * powerpc64/power6/wcsrchr.c: New file.
56473 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56475         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56476         (two_way_short_needle): Use it.
56477         * string/strstr.c (AVAILABLE1_USES_J): Define.
56478         * string/strcasestr.c: Likewise.
56480         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56481         array references.
56482         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56484         [BZ #11607]
56485         * NEWS: Add an entry.
56486         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56487         define their defaults.
56488         (two_way_short_needle): Detect end-of-string on-the-fly.
56489         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56490         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56491         * string/bug-strcasestr1.c: New test.
56492         * string/Makefile: Run it.
56494 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56496         [BZ #11607]
56497         * string/str-two-way.h (two_way_short_needle): Optimize matching of
56498         the first character.
56500 2012-08-21  Roland McGrath  <roland@hack.frob.com>
56502         * csu/elf-init.c (__libc_csu_irel): Function removed.
56503         * csu/libc-start.c (apply_irel): New function.
56504         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
56506 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56508         * sysdeps/unix/sysv/linux/kernel-features.h
56509         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56510         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56511         <kernel-features.h>.
56512         [__NR_fadvise64_64]: Make code unconditional.
56513         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56514         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56515         !__NR_fadvise64_64)]: Likewise.
56516         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56517         !__NR_fadvise64_64))]: Likewise.
56518         [__NR_fadvise64]: Make code unconditional.
56519         [!__NR_fadvise64]: Remove conditional code.
56520         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56521         <kernel-features.h>.
56522         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56523         unconditional.
56524         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56525         conditional code.
56526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56527         not include <kernel-features.h>.
56528         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56529         unconditional.
56530         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56531         conditional code.
56532         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
56533         include <kernel-features.h>.
56534         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56535         unconditional.
56536         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56537         conditional code.
56539 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56541         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
56542         slight instruction rearrangements per scrollpipe analysis.
56543         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56545 2012-08-20  Roland McGrath  <roland@hack.frob.com>
56547         * manual/syslog.texi (syslog; vsyslog, closelog):
56548         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
56549         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
56551         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
56552         DSOCAPS to match condition on defining it.
56554 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
56556         * sysdeps/unix/sysv/linux/kernel-features.h
56557         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
56558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
56559         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56560         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
56562         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56563         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
56565         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56566         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56568         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
56569         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
56571         * sysdeps/unix/sysv/linux/kernel-features.h
56572         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
56573         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
56574         unconditional.
56575         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56576         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
56577         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56578         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56579         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
56580         Make code unconditional.
56581         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56582         (__mmap64) [!__NR_mmap2]: Likewise.
56583         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
56584         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56585         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56586         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
56587         [__NR_mmap2]: Make code unconditional.
56588         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56589         (__mmap64) [!__NR_mmap2]: Likewise.
56591 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56593         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
56595 2012-08-18  Andreas Jaeger  <aj@suse.de>
56597         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
56599 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56601         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
56602         * include/unistd.h (__have_sock_cloexec): Likewise.
56603         (__have_pipe2): Likewise.
56604         (__have_dup3): Likewise.
56606 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56608         [BZ #9685]
56609         * include/unistd.h (__have_pipe2): Change define into an extern int.
56610         (__have_dup3): Likewise.
56611         * socket/have_sock_cloexec.c: Include fcntl.h.
56612         (__have_pipe2): New variable.
56613         (__have_dup3): Likewise.
56615 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
56617         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
56619 2012-08-17  Marek Polacek  <polacek@redhat.com>
56621         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
56622         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
56624 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56626         * configure.in: Add AC_SUBST for sysheaders.
56627         * configure: Regenerated.
56628         * config.make.in (sysheaders): New substituted variable.
56630         * sysdeps/unix/mkfifo.c: Moved ...
56631         * sysdeps/posix/mkfifo.c: ... here.
56632         * sysdeps/unix/mkfifoat.c: Moved ...
56633         * sysdeps/posix/mkfifoat.c: ... here.
56635         * sysdeps/unix/utime.c: Moved ...
56636         * sysdeps/posix/utime.c: ... here.
56638         * sysdeps/unix/time.c: Moved ...
56639         * sysdeps/posix/time.c: ... here.
56640         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
56641         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
56643         * sysdeps/unix/nice.c: Moved ...
56644         * sysdeps/posix/nice.c: ... here.
56646         * sysdeps/unix/alarm.c: Moved ...
56647         * sysdeps/posix/alarm.c: ... here.
56649         * intl/Makefile ($(codeset_mo)): Depend on the input file.
56651 2012-08-17  Jeff Law <law@redhat.com>
56653         * intl/Makefile (codeset_mo): New variable.
56654         ($(codeset_mo)): New target.
56655         (tst-codeset.out): Depend on that.  Remove explicit rule.
56656         (tst-gettext3.out, tst-gettext5.out): Likewise.
56657         (LOCPATH-ENV, tst-codeset-ENV): New variables.
56658         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
56659         * intl/tst-codeset.sh: Remove.
56660         * intl/tst-gettext3.sh: Likewise.
56661         * intl/tst-gettext5.sh: Likewise.
56663 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56665         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
56666         * sysdeps/unix/syscalls.list: ... here.
56668         * sysdeps/posix/getaddrinfo.c
56669         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
56670         (gaiconf_init, gaiconf_reload): Use them.
56671         [!_STATBUF_ST_NSEC]
56672         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
56673         Define using time_t rather than struct timespec.
56675         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
56676         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
56677         Macros removed.
56678         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
56679         [!NO_THREADS].
56680         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
56681         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
56682         Likewise.
56684         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
56685         __libc_cleanup_push argument.
56687         * bits/param.h: New file.
56688         * misc/sys/param.h: New file.
56689         * include/sys/param.h: New file.
56690         * misc/Makefile (headers): Add bits/param.h.
56691         * sysdeps/generic/sys/param.h: File removed.
56692         * sysdeps/unix/sysv/linux/bits/param.h: New file.
56693         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
56694         * sysdeps/mach/hurd/bits/param.h: New file.
56695         * sysdeps/mach/hurd/sys/param.h: File removed.
56697         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
56698         last change.
56700         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
56701         [_IO_MTSAFE_IO].
56702         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
56703         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
56704         New macros.
56706         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
56707         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
56708         rather than -D_IO_MTSAFE_IO conditionally.
56709         * stdio-common/Makefile (CPPFLAGS): Likewise.
56710         * wcsmbs/Makefile (CPPFLAGS): Likewise.
56711         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
56712         Use $(libio-mtsafe).
56713         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
56714         of -D_IO_MTSAFE_IO.
56715         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
56716         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
56717         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
56718         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
56719         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
56720         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
56721         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
56722         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
56723         (CFLAGS-fread_u_chk.c): Likewise.
56724         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
56725         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
56726         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
56727         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
56728         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
56729         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
56730         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
56731         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
56732         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
56734         * libio/Makefile: Test [$(libc-reentrant) = yes]
56735         instead of [$(filter %REENTRANT, $(defines)) nonempty].
56737         * Makeconfig
56738         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
56739         * sysdeps/pthread/configure: File removed.
56740         * sysdeps/pthread/Makeconfig: New file.
56741         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
56742         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
56744 2012-08-16  Gary Benson  <gbenson@redhat.com>
56746         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
56747         unmapping the first object in a namespace.
56749 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56751         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
56752         (__internal_setnetgrent): ... this.  Add internal_function to
56753         definition.  Add libc_hidden_def.
56754         (setnetgrent): Update caller.
56755         (internal_endnetgrent): Renamed to ...
56756         (__internal_endnetgrent): ... this.  Add internal_function to
56757         definition.  Add libc_hidden_def.
56758         (endnetgrent): Update caller.
56759         (internal_getnetgrent_r): Renamed to ...
56760         (__internal_getnetgrent_r): ... this.  Add internal_function to
56761         definition.  Add libc_hidden_def.
56762         (__getnetgrent_r): Update caller.
56763         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
56765 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56767         * stdlib/longlong.h: Update from GCC.
56769 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56771         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
56772         on _QL, which is set by umul_ppmm but never used.
56773         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
56774         variables, which are set by GMP macros but never used.
56775         * stdio-common/_itowa.c (_itowa): Likewise.
56776         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
56777         * stdlib/mod_1.c (mpn_mod_1): Likewise.
56779 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
56781         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
56782         struct La_sh_regs is not constant.
56783         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
56784         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
56785         and struct La_sparc64_regs are not constant.
56787 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56789         * sysdeps/unix/sysv/linux/kernel-features.h
56790         (__ASSUME_POSIX_TIMERS): Remove.
56791         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56792         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56793         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
56794         Make code unconditional.
56795         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56796         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
56797         Make code unconditional.
56798         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56799         * sysdeps/unix/sysv/linux/clock_nanosleep.c
56800         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
56801         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56802         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
56803         Make code unconditional.
56804         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56805         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
56806         (__libc_missing_posix_timers): Remove.
56808 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56810         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
56811         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
56813         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
56815         * elf/dl-sym.c: Include <stdlib.h>.
56817         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
56818         constants, which avoids warnings in 32-bit builds.
56820         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
56821         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
56823         * misc/lseek.c: File moved to ...
56824         * io/lseek.c: ... here.
56826         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
56828         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
56829         shifting LEN more than 31 bits at once.
56831 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56833         [BZ #14195]
56834         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
56835         segmentation fault for a case of two empty input strings.
56836         * string/test-strncasecmp.c (check1): Renamed to...
56837         (bz12205): ...this.
56838         (bz14195): Add new testcase for two empty input strings and N > 0.
56839         (test_main): Call new testcase, adapt for renamed function.
56841 2012-08-15  Andreas Jaeger  <aj@suse.de>
56843         [BZ #14090]
56844         * crypt/md5test2.c: New test, based on test supplied by Serge
56845         Belyshev <belyshev@depni.sinp.msu.ru>.
56846         * crypt/Makefile (xtests): Add md5test-giant..
56847         * crypt/Makefile ($(objpfx)md5test-giant): Add.
56849 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
56851         [BZ #14090]
56852         * crypt/md5.c (md5_process_block): Don't assume the buffer
56853         length is less than 2**32.
56854         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
56855         length is less than 2**64.
56857 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56859         * string/str-two-way.h: Include <sys/param.h>.
56860         (MAX): Macro removed.
56862         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
56863         Move #define and #undef of memmove to just before and after
56864         including <string.h>.
56866         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
56867         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
56868         and after including <string.h>.  Move declarations of
56869         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
56870         to before #include "string/memmove.c".
56872         * include/dirent.h: Declare __getdirentries.
56874         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
56875         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
56877 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
56879         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
56880         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
56881         * sysdeps/i386/configure: Regenerated.
56882         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
56883         STABS_CURRENT_FILE, and STABS_FUN.
56884         (END): Remove call to STABS_FUN_END.
56885         (STABS_CURRENT_FILE1): Delete.
56886         (STABS_CURRENT_FILE): Likewise.
56887         (STABS_FUN): Likewise.
56888         (STABS_FUN_END): Likewise.
56889         (STABS_FUN2): Likewise.
56890         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
56891         * sysdeps/x86_64/configure: Regenerated.
56893 2012-08-14  Roland McGrath  <roland@hack.frob.com>
56895         * elf/dl-open.c: Include <atomic.h>.
56896         * elf/dl-lookup.c: Likewise.
56898 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
56900         * sysdeps/unix/sysv/linux/kernel-features.h
56901         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
56902         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
56903         unconditionally.
56904         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
56905         unconditionally.
56906         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
56907         condition on __ASSUME_CLONE_THREAD_FLAGS.
56909 2012-08-14  Andreas Jaeger  <aj@suse.de>
56911         * sysdeps/i386/fpu/libm-test-ulps: Update.
56913 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
56915         * include/atomic.h (atomic_exchange_and_add): Split into ...
56916         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
56917         New atomic macros.
56919 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
56921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56923 2012-08-13  Jeff Law <law@redhat.com>
56925         * manual/stdio.texi (snprintf): Clarify handling of the trailing
56926         null byte in the output string.
56928 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
56930         * sysdeps/unix/sysv/linux/kernel-features.h
56931         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
56932         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
56933         (__ASSUME_ARG_MAX_STACK_BASED): Define.
56934         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
56935         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
56936         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
56937         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
56939 2012-08-09  Jeff Law <law@redhat.com>
56941         [BZ #13939]
56942         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
56943         When avoid_arena is set, don't retry in the that arena.  Pick the
56944         next one, whatever it might be.
56945         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
56946         (arena_lock): Pass in new parameter to arena_get2.
56947         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
56948         arena_get2.
56949         (__libc_malloc): Unify retrying after main arena failure with
56950         __libc_memalign version.
56951         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
56953 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
56955         [BZ #14166]
56956         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
56957         to __redirect_strstr.
56958         (__strstr_sse42): Use typeof __redirect_strstr.
56959         (__strstr_ia32): Likewise.
56960         (__libc_strstr): New prototype.
56961         (strstr): Renamed to ...
56962         (__libc_strstr): This.
56963         (strstr): New strong alias of __libc_strstr.
56964         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56965         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
56966         __redirect_time.
56967         Include <time.h>.
56968         (__libc_time): New prototype.
56969         (time_ifunc): Replace time with __libc_time.
56970         (time): New strong alias and hidden definition of __libc_time.
56971         (__GI_time): Remove strong alias.
56972         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
56973         Include <stddef.h>.
56974         (memmove): Redefined to __redirect_memmove.
56975         (__memmove_sse2): Use typeof __redirect_memmove.
56976         (__memmove_ssse3): Likewise.
56977         (__memmove_ssse3_back): Likewise.
56978         (__libc_memmove): New prototype.
56979         (memmove): Renamed to ...
56980         (__libc_memmove): This.
56981         (memmove): New strong alias of __libc_memmove.
56983 2012-08-08  Mark Salter  <msalter@redhat.com>
56985         * elf/elf.h
56986         (R_MN10300_TLS_GD): Define.
56987         (R_MN10300_TLS_LD): Likewise.
56988         (R_MN10300_TLS_LDO): Likewise.
56989         (R_MN10300_TLS_GOTIE): Likewise.
56990         (R_MN10300_TLS_IE): Likewise.
56991         (R_MN10300_TLS_LE): Likewise.
56992         (R_MN10300_TLS_DTPMOD): Likewise.
56993         (R_MN10300_TLS_DTPOFF): Likewise.
56994         (R_MN10300_TLS_TPOFF): Likewise.
56995         (R_MN10300_SYM_DIFF): Likewise.
56996         (R_MN10300_ALIGN): Likewise.
56997         (R_MN10300_NUM): Update.
56999 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
57001         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
57002         Remove.
57004 2012-08-08  Roland McGrath  <roland@hack.frob.com>
57006         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
57008         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
57009         sysdeps/unix -> sysdeps/posix move.
57010         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57012 2012-08-07      Allan McRae     <allan@archlinux.org>
57014         [BZ #14303]
57015         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
57016         (SUNOS_CPP): Likewise.
57017         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
57018         not found.
57019         (open_input): Call CPP using execvp.
57021 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57023         * sysdeps/unix/sysv/linux/kernel-features.h
57024         (__ASSUME_PROT_GROWSUPDOWN): Remove.
57025         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57026         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57027         (__ASSUME_WAITID_SYSCALL): Likewise.
57028         * sysdeps/unix/sysv/linux/dl-execstack.c
57029         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
57030         code unconditional.
57031         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
57032         conditional code.
57033         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
57034         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
57035         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
57036         code.
57037         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
57038         unconditional.
57039         [__ASSUME_WAITID_SYSCALL]: Likewise.
57040         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
57042 2012-08-07  Roland McGrath  <roland@hack.frob.com>
57044         * sysdeps/unix/closedir.c: Renamed to ...
57045         * sysdeps/posix/closedir.c: ... here.
57046         * sysdeps/unix/dirfd.c: Renamed to ...
57047         * sysdeps/posix/dirfd.c: ... here.
57048         * sysdeps/unix/dirstream.h: Renamed to ...
57049         * sysdeps/posix/dirstream.h: ... here.
57050         * sysdeps/unix/fdopendir.c: Renamed to ...
57051         * sysdeps/posix/fdopendir.c: ... here.
57052         * sysdeps/unix/opendir.c: Renamed to ...
57053         * sysdeps/posix/opendir.c: ... here.
57054         * sysdeps/unix/readdir.c: Renamed to ...
57055         * sysdeps/posix/readdir.c: ... here.
57056         * sysdeps/unix/readdir_r.c: Renamed to ...
57057         * sysdeps/posix/readdir_r.c: ... here.
57058         * sysdeps/unix/rewinddir.c: Renamed to ...
57059         * sysdeps/posix/rewinddir.c: ... here.
57060         * sysdeps/unix/seekdir.c: Renamed to ...
57061         * sysdeps/posix/seekdir.c: ... here.
57062         * sysdeps/unix/telldir.c: Renamed to ...
57063         * sysdeps/posix/telldir.c: ... here.
57064         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
57065         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
57066         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
57067         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
57069         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
57070         * bits/fcntl.h: ... here.
57072         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
57073         not 0.
57074         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
57075         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
57076         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
57077         (struct flock): Move l_start, l_len to the beginning.
57078         Use __pid_t for l_pid.
57079         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
57080         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
57081         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
57082         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
57083         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
57084         [__USE_LARGEFILE64] (struct flock64): New type.
57085         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
57087         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
57088         * bits/dirent.h: ... here.
57090         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
57091         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
57093 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57095         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57096         Change from 2.6.0 to 2.6.16.
57097         * sysdeps/unix/sysv/linux/configure: Regenerated.
57098         * sysdeps/unix/sysv/linux/kernel-features.h
57099         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
57100         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
57101         version.
57102         (__ASSUME_UTIMES): Likewise.
57103         (__ASSUME_CLONE_STOPPED): Remove.
57104         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
57105         architectures, not kernel version.
57106         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
57107         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57108         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57109         (__ASSUME_WAITID_SYSCALL): Likewise.
57110         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
57111         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
57112         * README: State 2.6.16 as minimum Linux kernel version.  Do not
57113         refer to older versions.
57115 2012-08-06  Roland McGrath  <roland@hack.frob.com>
57117         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
57118         Define alphasort64 as an alias.
57119         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
57120         Define versionsort64 as an alias.
57121         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
57122         Define scandir64 as an alias.
57123         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57124         Define scandirat64 as an alias.
57125         * dirent/alphasort64.c (alphasort64):
57126         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57127         * dirent/versionsort64.c: Likewise.
57128         * dirent/scandir64.c: Likewise.
57129         * dirent/scandirat64.c: Likewise.
57130         * sysdeps/wordsize-64/alphasort.c: File removed.
57131         * sysdeps/wordsize-64/alphasort64.c: File removed.
57132         * sysdeps/wordsize-64/scandir.c: File removed.
57133         * sysdeps/wordsize-64/scandir64.c: File removed.
57134         * sysdeps/wordsize-64/scandirat.c: File removed.
57135         * sysdeps/wordsize-64/scandirat64.c: File removed.
57136         * sysdeps/wordsize-64/versionsort.c: File removed.
57137         * sysdeps/wordsize-64/versionsort64.c: File removed.
57138         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57139         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57140         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57141         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57142         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57143         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57144         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57145         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57147         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57148         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57149         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57150         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57151         [defined __arch64__ || defined __sparcv9]
57152         (__INO_T_MATCHES_INO64_T): New macro.
57153         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57154         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57155         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57156         * sysdeps/unix/sysv/linux/bits/dirent.h
57157         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57158         (_DIRENT_MATCHES_DIRENT64): New macro.
57160         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57161         Define lockf64 as an alias.
57162         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57163         Define fseeko64 as an alias.
57164         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57165         Define ftello64 as an alias.
57166         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57167         Define _IO_fgetpos64 and fgetpos64 as aliases.
57168         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57169         Define _IO_fsetpos64 and fsetpos64 as aliases.
57170         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57171         Conditionalize body on this.
57172         * libio/fseeko64.c: Likewise.
57173         * libio/ftello64.c: Likewise.
57174         * libio/iofgetpos64.c: Likewise.
57175         * libio/iofsetpos64.c: Likewise.
57176         * sysdeps/wordsize-64/lockf.c: File removed.
57177         * sysdeps/wordsize-64/lockf64.c: File removed.
57178         * sysdeps/wordsize-64/fseeko.c: File removed.
57179         * sysdeps/wordsize-64/fseeko64.c: File removed.
57180         * sysdeps/wordsize-64/ftello.c: File removed.
57181         * sysdeps/wordsize-64/ftello64.c: File removed.
57182         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57183         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57184         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57185         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57186         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57187         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57188         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57189         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57190         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57191         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57192         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57193         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57194         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57195         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57197         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57198         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57199         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57200         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57201         [defined __arch64__ || defined __sparcv9]
57202         (__OFF_T_MATCHES_OFF64_T): New macro.
57203         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57204         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57205         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57206         (__OFF_T_MATCHES_OFF64_T): New macro.
57208 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57210         * stdlib/secure-getenv.c (__secure_getenv): Replace
57211         GLIBC_2_16 with GLIBC_2_17.
57213 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57215         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57216         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57218 2012-08-03  David S. Miller  <davem@davemloft.net>
57220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57222 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57224         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57225         Remove.
57226         (__ASSUME_CORRECT_SI_PID): Likewise.
57227         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57228         (__ASSUME_TMPFS_NAME): Likewise.
57229         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57230         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57231         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57232         (HAVE_AUX_SECURE): Make definition unconditional.
57233         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57234         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57236 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57238         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57239         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57240         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57241         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57242         __eloop_threshold instead of SYMLOOP_MAX.
57244         * sysdeps/generic/eloop-threshold.h: New file.
57245         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57246         of MAXSYMLINKS.
57247         * elf/chroot_canon.c (chroot_canon): Likewise.
57249 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57251         [BZ #13717]
57252         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57253         Change to 2.6.0 everywhere.
57254         * sysdeps/unix/sysv/linux/configure: Regenerated.
57255         * sysdeps/unix/sysv/linux/kernel-features.h
57256         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57257         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57258         kernel versions.
57259         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57260         (__ASSUME_FUTEX_REQUEUE): Remove.
57261         (__ASSUME_STATFS64): Define unconditionally.
57262         (__ASSUME_AT_SECURE): Likewise.
57263         (__ASSUME_CORRECT_SI_PID): Likewise.
57264         (__ASSUME_TGKILL): Define without depending on kernel version for
57265         i386.
57266         (__ASSUME_UTIMES): Likewise.
57267         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57268         kernel version.
57269         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57270         (__ASSUME_TMPFS_NAME): Likewise.
57271         * README: Update reference to Linux kernel versions.
57273 2012-08-02  Marek Polacek  <polacek@redhat.com>
57275         [BZ# 14150]
57276         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57277         libc_cv_asm_type_prefix with %.
57278         * configure: Regenerated.
57279         * include/libc-symbols.h: Remove comment about
57280         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57281         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57282         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57283         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57284         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57285         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57286         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57287         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57288         * elf/tst-unique2mod1.c: Likewise.
57289         * elf/tst-unique1mod2.c: Likewise.
57290         * elf/tst-unique1mod1.c: Likewise.
57291         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57292         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57293         Replace ASM_TYPE_DIRECTIVE with .type.
57294         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57295         * sysdeps/i386/sysdep.h: Likewise.
57296         * sysdeps/x86_64/sysdep.h: Likewise.
57297         * sysdeps/sh/sysdep.h: Likewise.
57298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57299         Do not define ASM_TYPE_DIRECTIVE.
57300         * sysdeps/powerpc/sysdep.h: Likewise.
57301         * sysdeps/powerpc/powerpc32/sysdep.h:
57302         Replace ASM_TYPE_DIRECTIVE with .type.
57303         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57304         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57305         * sysdeps/i386/fpu/e_powf.S: Likewise.
57306         * sysdeps/i386/fpu/e_expl.S: Likewise.
57307         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57308         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57309         * sysdeps/i386/fpu/e_pow.S: Likewise.
57310         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57311         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57312         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57313         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57314         * sysdeps/i386/fpu/e_log2.S: Likewise.
57315         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57316         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57317         * sysdeps/i386/fpu/e_powl.S: Likewise.
57318         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57319         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57320         * sysdeps/i386/fpu/e_logl.S: Likewise.
57321         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57322         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57323         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57324         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57325         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57326         * sysdeps/i386/fpu/e_log.S: Likewise.
57327         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57328         * sysdeps/i386/fpu/e_logf.S: Likewise.
57329         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57330         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57331         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57332         * sysdeps/i386/fpu/e_log10.S: Likewise.
57333         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57334         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57335         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57336         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57337         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57338         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57339         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57340         * sysdeps/i386/i686/strtok.S: Likewise.
57341         * sysdeps/i386/i386-mcount.S: Likewise.
57342         * sysdeps/i386/strtok.S: Likewise.
57343         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57344         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57345         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57346         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57347         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57348         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57349         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57350         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57351         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57352         * sysdeps/x86_64/_mcount.S: Likewise.
57353         * sysdeps/x86_64/strtok.S: Likewise.
57354         * sysdeps/sh/_mcount.S: Likewise.
57356 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57358         * libio/iofopen.c: Include <fcntl.h>.
57359         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57360         (_IO_fopen64, fopen64): Define as aliases.
57361         * libio/iofopen64.c: Include <fcntl.h>.
57362         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57363         Conditionalize body on this.
57364         * sysdeps/wordsize-64/iofopen.c: File removed.
57365         * sysdeps/wordsize-64/iofopen64.c: File removed.
57367 2012-08-01  Marek Polacek  <polacek@redhat.com>
57369         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57370         Use dlfcn directly instead of a variable.
57371         (binfmt-subdir): Do not define.
57372         (dlfcn): Likewise.
57374 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57376         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57377         Remove all definitions.
57378         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57379         <kernel-features.h>.
57380         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57381         (miss_F_GETOWN_EX): Remove all definitions.
57382         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57383         macro definition.
57384         [!__ASSUME_FCNTL64]: Remove conditional code.
57385         [__ASSUME_FCNTL64]: Make code unconditional.
57386         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57387         <kernel-features.h>.
57388         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57389         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57390         (lockf64) [__NR_fcntl64]: Make code unconditional.
57391         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57393         * sysdeps/unix/sysv/linux/kernel-features.h
57394         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57395         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57396         Make code unconditional.
57397         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57398         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57400         [__NR_vfork]: Make code unconditional.
57401         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57402         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57404         [__NR_vfork]: Make code unconditional.
57405         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57406         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57408 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57410         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57411         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57413         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57414         Define mkstemp64 as an alias.
57415         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57416         Define mkstemps64 as an alias.
57417         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57418         Define mkostemp64 as an alias.
57419         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57420         Define mkostemps64 as an alias.
57421         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57422         Conditionalize body on this.
57423         * misc/mkostemp64.c: Likewise.
57424         * misc/mkostemps64.c: Likewise.
57425         * misc/mkstemps64.c: Likewise.
57426         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57427         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57428         * sysdeps/wordsize-64/mkostemp.c: File removed.
57429         * sysdeps/wordsize-64/mkstemp.c: File removed.
57430         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57431         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57432         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57433         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57435         [BZ #14138]
57436         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57437         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57438         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57439         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57441         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57442         compat_symbol macros from <shlib-compat.h> rather than the underlying
57443         default_symbol_version and symbol_version macros, so that DEFAULT
57444         lines in shlib-versions are respected.
57445         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57447 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57449         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57450         Declare with warn_unused_result.
57451         (setgid, setregid, setegid, setresgid): Likewise.
57452         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57453         Likewise.
57454         * WUR-REPORT: Remove set*id functions.
57456 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57458         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57460 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57462         [BZ #10191]
57463         * include/sys/socket.h (__libc_accept, __libc_accept4):
57464         Add attribute_hidden.
57465         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57467         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57468         use of PTR_MANGLE.
57469         * inet/getnetgrent_r.c (setup): Likewise.
57471         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57473 2012-07-31  David S. Miller  <davem@davemloft.net>
57475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57477 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57479         [BZ #13629]
57480         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57481         value between 1.0 and 2.0 and smaller part has absolute value less
57482         than 1.0.
57483         * math/s_clog10.c (__clog10): Likewise.
57484         * math/s_clog10f.c (__clog10f): Likewise.
57485         * math/s_clog10l.c (__clog10l): Likewise.
57486         * math/s_clogf.c (__clogf): Likewise.
57487         * math/s_clogl.c (__clogl): Likewise.
57488         * math/libm-test.inc (clog_test): Add more tests.
57489         (clog10_test): Likewise.
57490         * sysdeps/i386/fpu/libm-test-ulps: Update.
57491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57493 2012-07-31  Florian Weimer  <fweimer@redhat.com>
57495         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
57496         Exit with zero in case no suitable GID is found, and write a
57497         message to standard error.
57499 2012-07-30  Roland McGrath  <roland@hack.frob.com>
57501         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
57502         rather than to 1.
57503         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
57504         (MAXPATHLEN): Removed.
57505         (NOGROUP, NODEV): New macros.
57506         (setbit, clrbit, isset, isclr): New macros.
57507         (howmany, roundup, powerof2): New macros.
57508         (DEV_BSIZE): New macro.
57510         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57511         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57513         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57514         definition on [!__NO_LONG_DOUBLE_MATH].
57516         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57517         PTR_MANGLE and PTR_DEMANGLE.
57519         * socket/accept4.c (accept4): Rename to __libc_accept4.
57520         Define accept4 as a weak alias.
57522         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57523         on [_DIRENT_HAVE_D_TYPE].
57524         * io/ftw.c (ftw_dir): Likewise.
57526         * io/xmknod.c (__xmknod): Don't check PATH for being null.
57528         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
57530         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
57531         Use the BSD numbers rather than the arbitrary ones we had.
57532         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
57533         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
57534         (SIGXCPU, SIGXFSZ): New macros.
57535         (_NSIG): Now 32.
57537         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
57538         initializer on [_LIBC_REENTRANT].
57540         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
57541         definitions inside [_POSIX_MAPPED_FILES].
57543         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
57545         * dirent/opendir.c: Include <fcntl.h>.
57547         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
57548         (__libc_getspecific): Likewise.
57549         (__libc_key_create): Likewise.
57551         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
57552         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
57553         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
57554         (tmpfile64): Define as alias.
57555         * sysdeps/wordsize-64/tmpfile.c: File removed.
57556         * sysdeps/wordsize-64/tmpfile64.c: File removed.
57557         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
57558         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
57560         * stdio-common/vfscanf.c: Include <stdbool.h>.
57561         * nss/makedb.c: Likewise.
57562         * stdio-common/_i18n_number.h: Likewise.
57563         * argp/argp-help.c: Likewise.
57564         * posix/wordexp.c: Likewise.
57565         * sysdeps/posix/spawni.c: Likewise.
57566         * nss/nss_files/files-initgroups.c: Likewise.
57567         * stdio-common/reg-modifier.c: Include <stdlib.h>.
57568         * nss/nss_files/files-initgroups.c: Likewise.
57569         * nss/nss_db/db-netgrp.c: Likewise.
57570         * nss/nss_db/db-initgroups.c: Likewise.
57571         * io/fchmodat.c: Include <sys/stat.h>.
57573         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
57574         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
57576         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
57577         [HAVE_MMAP].
57579         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
57580         Add multiple inclusion protection.
57582 2012-07-27  David S. Miller  <davem@davemloft.net>
57584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57586 2012-07-27  Gary Benson  <gbenson@redhat.com>
57588         [BZ #14298]
57589         * elf/rtld.c: Include <stap-probe.h>.
57590         (dl_main): Added static probes "init_start" and "init_complete".
57591         * elf/dl-load.c: Include <stap-probe.h>.
57592         (lose): Take new parameter "nsid".
57593         Added static probe "map_failed".
57594         (_dl_map_object_from_fd): Pass namespace id to lose.
57595         Added static probe "map_start".
57596         (open_verify): Pass namespace id to lose.
57597         * elf/dl-open.c: Include <stap-probe.h>.
57598         (dl_open_worker) Added static probes "map_complete", "reloc_start"
57599         and "reloc_complete".
57600         * elf/dl-close.c: Include <stap-probe.h>.
57601         (_dl_close_worker): Added static probes "unmap_start" and
57602         "unmap_complete".
57603         * elf/rtld-debugger-interface.txt: New file documenting the above.
57605 2012-07-26  Roland McGrath  <roland@hack.frob.com>
57607         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
57608         rather than a string variable.
57609         * sunrpc/rpc_main.c (h_output): Likewise.
57610         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
57612 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
57614         * inet/check_native.c: New file.
57616 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
57618         [BZ #13629]
57619         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
57620         if larger part has absolute value 1.0.
57621         * math/s_clog10.c (__clog10): Likewise.
57622         * math/s_clog10f.c (__clog10f): Likewise.
57623         * math/s_clog10l.c (__clog10l): Likewise.
57624         * math/s_clogf.c (__clogf): Likewise.
57625         * math/s_clogl.c (__clogl): Likewise.
57626         * math/libm-test.inc (clog_test): Add more tests.
57627         (clog10_test): Likewise.
57628         * sysdeps/i386/fpu/libm-test-ulps: Update.
57629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57631         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
57632         (pltexit): Likewise.
57633         (La_regs): Likewise.
57634         (La_retval): Likewise.
57635         (int_retval): Likewise.
57636         Update #error for removed macros to refer only to definitions in
57637         tst-audit.h.
57638         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
57639         macro.
57640         (pltexit): Likewise.
57641         (La_regs): Likewise.
57642         (La_retval): Likewise.
57643         (int_retval): Likewise.
57644         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
57645         macro.
57646         (pltexit): Likewise.
57647         (La_regs): Likewise.
57648         (La_retval): Likewise.
57649         (int_retval): Likewise.
57650         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
57651         macro.
57652         (pltexit): Likewise.
57653         (La_regs): Likewise.
57654         (La_retval): Likewise.
57655         (int_retval): Likewise.
57656         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
57657         macro.
57658         (pltexit): Likewise.
57659         (La_regs): Likewise.
57660         (La_retval): Likewise.
57661         (int_retval): Likewise.
57662         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
57663         macro.
57664         (pltexit): Likewise.
57665         (La_regs): Likewise.
57666         (La_retval): Likewise.
57667         (int_retval): Likewise.
57668         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
57669         macro.
57670         (pltexit): Likewise.
57671         (La_regs): Likewise.
57672         (La_retval): Likewise.
57673         (int_retval): Likewise.
57674         * sysdeps/generic/tst-audit.h: Update comment to refer only to
57675         macro definitions in tst-audit.h.
57676         * sysdeps/i386/tst-audit.h: New file.
57677         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
57678         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
57679         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
57680         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
57681         * sysdeps/sh/tst-audit.h: Likewise.
57682         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
57683         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
57684         * sysdeps/x86_64/tst-audit.h: Likewise.
57686 2012-07-26  Andreas Jaeger  <aj@suse.de>
57688         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
57689         ptrace.
57691         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
57692         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
57693         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
57694         PTRACE_O_MASK.
57695         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
57696         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
57697         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
57699         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
57700         value.
57702         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
57703         _sigsys.
57704         (si_call_addr, si_syscall, si_arch): Define new macro.
57705         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
57706         _sigsys.
57707         (si_call_addr, si_syscall, si_arch): Define new marcro.
57708         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
57709         _sigsys.
57710         (si_call_addr, si_syscall, si_arch): Define new macro.
57711         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
57712         _sigsys.
57713         (si_call_addr, si_syscall, si_arch): Define new macro.
57715 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57717         [BZ #13717]
57718         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57719         Change to 2.4.21 where previously 2.4.1.
57720         * sysdeps/unix/sysv/linux/configure: Regenerated.
57721         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
57722         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
57723         Linux kernel version.
57724         (__ASSUME_STD_AUXV): Remove.
57725         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
57726         kernel version.
57727         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
57728         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
57729         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
57730         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
57731         (__ASSUME_NETLINK_SUPPORT): Likewise.
57732         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
57733         (__no_netlink_support): Remove conditional definition.
57734         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
57735         Remove.
57736         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57737         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
57738         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
57739         (if_nameindex_ioctl): Remove.
57740         (if_nameindex_netlink): Do not handle __no_netlink_support.
57741         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57742         code.
57743         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
57744         Remove conditional code.
57745         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57746         code.
57747         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
57748         unconditional.
57749         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57750         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
57751         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
57752         Remove.
57753         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
57754         [!__ASSUME_STD_AUXV]: Remove conditional code.
57755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
57756         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
57757         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
57758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
57759         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
57760         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57761         code.
57762         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57764         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
57765         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57766         conditional code.
57767         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57769         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57770         code.
57771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57772         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57773         conditional code.
57774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
57775         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57776         code unconditional.
57777         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57778         conditional code.
57779         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57780         unconditional.
57781         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57782         conditional code.
57783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57784         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57785         unconditional.
57786         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57787         conditional code.
57788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
57789         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57790         code unconditional.
57791         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57792         conditional code.
57793         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57794         unconditional.
57795         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57796         conditional code.
57797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
57798         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57799         code unconditional.
57800         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57801         conditional code.
57802         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57803         unconditional.
57804         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57805         conditional code.
57807 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
57809         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
57810         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
57811         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
57812         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
57813         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
57814         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
57815         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
57816         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
57817         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
57818         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
57819         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
57820         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
57821         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
57822         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
57823         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
57824         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
57825         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
57826         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
57827         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
57828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
57829         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
57830         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
57831         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57833 2012-07-25  Florian Weimer  <fweimer@redhat.com>
57835         * Versions.def: Add GLIBC_2.17.
57836         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
57837         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
57838         Introduce __libc_secure_getenv.
57839         * stdlib/Versions (2.17): Add secure_getenv
57840         (GLIBC_PRIVATE): Add __libc_secure_getenv.
57841         * stdlib/secure-getenv.c: Rename __secure_getenv to
57842         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
57843         symbol __secure_getenv for GLIBC_2.0.
57844         * stdlib/tst-secure-getenv.c: New.
57845         * stdlib/Makefile (tests): Add testcase.
57846         * manual/startup.texi (Environment Access): Document
57847         secure_getenv.
57848         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
57849         __libc_secure_getenv.
57850         * inet/ruserpass.c (ruserpass): Likewise.
57851         * malloc/mtrace.c (mtrace): Likewise.
57852         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
57853         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
57854         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
57855         * sysdeps/posix/tempname.c: Likewise.  Evaluate
57856         HAVE_SECURE_GETENV.
57857         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
57858         __secure_getenv to __libc_secure_getenv.
57859         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
57860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57861         Likewise.
57862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57863         Likewise.
57864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57866         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57872 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57874         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
57875         (struct La_i86_retval): Likewise.
57876         (struct La_x86_64_regs): Likewise.
57877         (struct La_x86_64_retval): Likewise.
57878         (struct La_x32_regs): Likewise.
57879         (struct La_x32_retval): Likewise.
57880         (struct La_ppc32_regs): Likewise.
57881         (struct La_ppc32_retval): Likewise.
57882         (struct La_ppc64_regs): Likewise.
57883         (struct La_ppc64_retval): Likewise.
57884         (struct La_sh_regs): Likewise.
57885         (struct La_sh_retval): Likewise.
57886         (struct La_s390_32_regs): Likewise.
57887         (struct La_s390_32_retval): Likewise.
57888         (struct La_s390_64_regs): Likewise.
57889         (struct La_s390_64_retval): Likewise.
57890         (struct La_sparc32_regs): Likewise.
57891         (struct La_sparc32_retval): Likewise.
57892         (struct La_sparc64_regs): Likewise.
57893         (struct La_sparc64_retval): Likewise.
57894         (struct audit_ifaces): Remove architecture-specific pltenter and
57895         pltexit members.
57896         * sysdeps/i386/ldsodefs.h: New file.
57897         * sysdeps/powerpc/ldsodefs.h: Likewise.
57898         * sysdeps/s390/ldsodefs.h: Likewise.
57899         * sysdeps/sh/ldsodefs.h: Likewise.
57900         * sysdeps/sparc/ldsodefs.h: Likewise.
57901         * sysdeps/x86_64/ldsodefs.h: Likewise.
57903 2012-07-25  Marek Polacek  <polacek@redhat.com>
57905         [BZ #6808]
57906         * math/libm-test.inc (yn_test): Add another test.
57907         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
57908         to ERANGE when the result is +-Inf.
57909         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57910         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
57911         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
57912         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
57914 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
57916         * conform/data/time.h-data (NULL): Use macro-constant.  Require
57917         equal to 0.
57918         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
57919         clock_t.
57920         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
57922 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
57924         * configure.in <sysdeps resolving>: Correct printing
57925         Implies_before.
57926         * configure: Regenerate.
57928 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
57930         * math/w_ilogb.c: Include <limits.h>.
57931         * math/w_ilogbl.c: Likewise.
57933 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57935         * manual/lang.texi (__va_copy): Document primarily as ISO C99
57936         va_copy.  Document allowing for unavailable va_copy only as
57937         pre-C99 compatibility.
57938         * manual/string.texi (Copying and Concatenation): Use va_copy
57939         instead of __va_copy in concat example.
57941 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
57943         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
57944         (__sendto): Use create_address_port.  Initialize APORT and deallocate
57945         it if not null.
57947         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
57948         with O_NOLINK passed to __file_name_lookup.
57950         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
57951         with O_NOLINK passed to __file_name_lookup.
57953         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
57954         negative N or less than NGIDS.
57956         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
57957         type to string_t.  Set ERANGE as errno and return it if NAME is not big
57958         enough.  Use memcpy instead of strncpy.
57960 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57962         * elf/Makefile (check-data): Remove.
57963         (localplt.data): New vpath directive.
57964         ($(objpfx)check-localplt.out): Use localplt.data from vpath
57965         instead of $(check-data).
57966         * scripts/data/localplt-generic.data: Move to ...
57967         * sysdeps/generic/localplt.data: ... here.
57968         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
57969         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
57970         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
57971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
57972         ... here.
57973         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
57974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
57975         ... here.
57976         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
57977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
57978         ... here.
57979         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
57980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
57981         ... here.
57982         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
57983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
57984         ... here.
57985         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
57986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
57987         ... here.
57989 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57991         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
57992         PPC32 and PPC64 files.
57993         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
57994         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
57996 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57998         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
57999         __makecontext_ret to ...
58000         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
58001         ... here and call exit if uc_link is NULL.  New file.
58002         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
58003         __makecontext_ret.S.
58004         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
58005         __makecontext_ret to ...
58006         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
58007         ... here and call exit if uc_link is NULL.  New file.
58008         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
58009         __makecontext_ret.S.
58011 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58013         * elf/elf.h (R_390_IRELATIVE): New definition.
58014         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
58015         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
58016         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
58017         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58018         (elf_machine_lazy_rel): Likewise.
58019         * sysdeps/s390/dl-irel.h: New file.
58020         * sysdeps/s390/s390-64/memcpy.S: New asm code.
58021         * sysdeps/s390/s390-64/memset.S: New asm code.
58022         * sysdeps/s390/s390-64/memcmp.S: New asm code.
58023         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
58024         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
58025         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
58026         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
58027         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
58028         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
58029         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
58030         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
58031         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
58032         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
58033         * sysdeps/s390/s390-32/memcpy.S: New asm code.
58034         * sysdeps/s390/s390-32/memset.S: New asm code.
58035         * sysdeps/s390/s390-32/memcmp.S: New asm code.
58037 2012-07-17  Marek Polacek  <polacek@redhat.com>
58039         [BZ #14349]
58040         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
58041         * sysdeps/s390/s390-64/configure.in: Likewise.
58042         * sysdeps/sparc/configure.in: Likewise.
58043         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
58044         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
58045         * sysdeps/i386/configure.in: Likewise.
58046         * sysdeps/x86_64/configure.in: Likewise.
58047         * sysdeps/sh/configure.in: Likewise.
58048         * sysdeps/s390/s390-32/configure: Regenerated.
58049         * sysdeps/s390/s390-64/configure: Likewise.
58050         * sysdeps/x86_64/configure: Likewise.
58051         * sysdeps/sh/configure: Likewise.
58052         * sysdeps/powerpc/powerpc64/configure: Likewise.
58053         * sysdeps/powerpc/powerpc32/configure: Likewise.
58054         * sysdeps/sparc/configure: Likwise.
58055         * sysdeps/i386/configure: Likewise.
58057         * elf/dl-open.c: Comment fixes.
58059 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
58061         * Makefile [CXX] (check-data): Remove.
58062         [CXX] (c++-types.data): New vpath directive.
58063         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
58064         vpath.  Do not allow for C++ type data being missing.
58065         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
58066         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
58067         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
58068         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
58069         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
58070         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
58071         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
58072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
58073         ... here.
58074         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
58075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
58076         ... here.
58077         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
58078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
58079         ... here.
58080         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
58081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
58082         ... here.
58083         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
58084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
58085         ... here.
58086         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
58087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
58088         ... here.
58089         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
58090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
58091         ... here.
58092         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
58093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58095         * elf/tls-macros.h (TLS_LE): Move architecture-specific
58096         definitions to architecture-specific files.
58097         (TLS_IE): Likewise.
58098         (TLS_LD): Likewise.
58099         (TLS_GD): Likewise.
58100         * sysdeps/i386/tls-macros.h: New file.
58101         * sysdeps/powerpc/tls-macros.h: Likewise.
58102         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
58103         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
58104         * sysdeps/sh/tls-macros.h: Likewise.
58105         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
58106         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
58107         * sysdeps/x86_64/tls-macros.h: Likewise.
58109 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58111         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
58112         zero value for regular exit case.
58114         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
58115         (__start_context): Preserve zero value for regular exit case.
58117 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58118             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58120         * manual/setjmp.texi (setcontext): Clarify normal process
58121         termination when uc_link is the null pointer.
58122         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
58123         exit call.
58125 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58127         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58128         preprocessor.  Test for each exception mask separately.
58130 2012-07-16  Andreas Jaeger  <aj@suse.de>
58132         * po/ru.po: Update from translation team.
58134 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58136         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58137         equal to 0.
58138         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58139         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58140         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58141         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58142         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58144 2012-07-13  Andreas Jaeger  <aj@suse.de>
58146         * po/fr.po: Update from translation team.
58148 2012-07-12  Marek Polacek  <polacek@redhat.com>
58150         [BZ #14173]
58151         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58152         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58153         loop condition.
58155 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58157         [BZ #13717]
58158         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58159         Change to 2.4.1 where previously 2.4.0.
58160         * sysdeps/unix/sysv/linux/configure: Regenerated.
58161         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58162         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58163         version.
58164         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58165         (__ASSUME_AT_CLKTCK): Remove.
58166         (__ASSUME_AT_PAGESIZE): Likewise.
58167         (__ASSUME_AT_XID): Likewise.
58168         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58169         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58170         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58171         unconditionally.
58172         (HAVE_AUX_PAGESIZE): Likewise.
58173         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58174         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58175         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58177 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58179         [BZ #14307]
58180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58181         the temporary buffer used to invoke __gethostbyname2_r,
58182         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58183         host_data / struct gaih_addrtuple.
58184         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58185         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58186         header file nss/nsswitch.h.
58187         * nss/nsswitch.h (global scope): Add definition of implementation
58188         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58189         resolv/nss_dns/dns-host.c).
58191 2012-07-11  Andreas Jaeger  <aj@suse.de>
58193         * po/fr.po: Update from translation team.
58195         * po/sv.po: Update from translation team
58196         * po/fr.po: Another update from translation team.
58198 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58200         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58201         for subnormals or multiply small sinh result by itself.
58202         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58205 2012-07-11  David S. Miller  <davem@davemloft.net>
58207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58209 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58211         [BZ #14347]
58212         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58213         (INTERNAL_MARK): Shift it here.
58215 2012-07-10  Marek Polacek  <polacek@redhat.com>
58217         [BZ #14151]
58218         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58219         libc_cv_asm_global_directive with .globl.
58220         * configure: Regenerated.
58221         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58222         with .globl.
58223         * sysdeps/i386/configure: Regenerated.
58224         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58225         with .globl.
58226         * sysdeps/x86_64/configure: Regenerated.
58227         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58228         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58229         * elf/tst-unique2mod2.c: Likewise.
58230         * elf/tst-unique2mod1.c: Likewise.
58231         * elf/tst-unique1mod2.c: Likewise.
58232         * elf/tst-unique1mod1.c: Likewise.
58233         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58234         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58235         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58236         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58237         * sysdeps/mach/sysdep.h: Likewise.
58238         * sysdeps/i386/sysdep.h: Likewise.
58239         * sysdeps/i386/i386-mcount.S: Likewise.
58240         * sysdeps/x86_64/_mcount.S: Likewise.
58241         * sysdeps/x86_64/sysdep.h: Likewise.
58242         * sysdeps/sh/_mcount.S: Likewise.
58243         * sysdeps/sh/sysdep.h: Likewise.
58244         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58245         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58246         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58247         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58248         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58249         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58250         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58251         * locale/localeinfo.h: Likewise.
58252         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58253         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58255 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58257         [BZ #14336]
58258         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58259         system".
58260         * manual/message.texi (The Uniforum approach): Likewise.
58261         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58262         (glibc iconv Implementation): Likewise.
58264 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58266         [BZ #14337]
58267         * math/s_clog.c (__clog): Avoid scaling a value down where that
58268         could result in underflow.
58269         * math/s_clog10.c (__clog10): Likewise.
58270         * math/s_clog10f.c (__clog10f): Likewise.
58271         * math/s_clog10l.c (__clog10l): Likewise.
58272         * math/s_clogf.c (__clogf): Likewise.
58273         * math/s_clogl.c (__clogl): Likewise.
58274         * math/libm-test.inc (clog_test): Add more tests.
58275         (clog10_test): Likewise.
58276         * sysdeps/i386/fpu/libm-test-ulps: Update.
58277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58279 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58281         [BZ #14283]
58282         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58283         by 7 not 8 to examine high bit of fractional part.
58285         [BZ #14042]
58286         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58287         for call to __mcount_internal.
58288         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58289         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58290         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58292 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58294         [BZ #14154]
58295         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58296         approximation for values within 0x1p-13f of an odd multiple of
58297         pi/4.
58298         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58299         exception.  Add more tests.
58300         * sysdeps/i386/fpu/libm-test-ulps: Update.
58302         [BZ #6778]
58303         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58304         inputs and return -1 for them.  Do not check for +Inf in case not
58305         reachable for +Inf.
58306         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58307         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58308         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58309         and return -1 for them.  Do not check for +Inf in case not
58310         reachable for +Inf.
58311         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58312         define.
58313         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58314         and return -1 for them.  Do not check for +Inf in case not
58315         reachable for +Inf.
58316         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58317         spurious underflow.
58318         * sysdeps/i386/fpu/libm-test-ulps: Update.
58319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58321 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58323         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58325 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58327         [BZ #14157]
58328         [BZ #14331]
58329         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58330         could result in spurious underflow.  Scale down values above
58331         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58332         * math/s_csqrtf.c (__csqrtf): Likewise.
58333         * math/s_csqrtl.c (__csqrtl): Likewise.
58334         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58335         spurious underflow.
58336         * sysdeps/i386/fpu/libm-test-ulps: Update.
58337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58339 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58341         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58342         xopen-msg.sed.
58343         * catgets/xopen-msg.awk: New file.
58344         * catgets/xopen-msg.sed: Removed.
58346         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58347         po2text.sed.
58348         * intl/po2test.awk: New file.
58349         * intl/po2test.sed: Removed.
58351 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58353         [BZ #14328]
58354         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58355         or multiply small sinh result by itself.
58356         * math/s_ctanf.c (__ctanf): Likewise.
58357         * math/s_ctanh.c (__ctanh): Likewise.
58358         * math/s_ctanhf.c (__ctanhf): Likewise.
58359         * math/s_ctanhl.c (__ctanhl): Likewise.
58360         * math/s_ctanl.c (__ctanl): Likewise.
58361         * math/libm-test.inc (ctan_test_tonearest): New function.
58362         (ctan_test_towardzero): Likewise.
58363         (ctan_test_downward): Likewise.
58364         (ctan_test_upward): Likewise.
58365         (ctanh_test_tonearest): Likewise.
58366         (ctanh_test_towardzero): Likewise.
58367         (ctanh_test_downward): Likewise.
58368         (ctanh_test_upward): Likewise.
58369         (main): Call these new functions.
58370         * sysdeps/i386/fpu/libm-test-ulps: Update.
58371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58373 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58375         * .gitignore: Delete /ports entry.
58377 2012-07-03  Andreas Jaeger  <aj@suse.de>
58379         * po/bg.po: Update from translation team.
58380         * po/cs.po: Likewise.
58381         * po/de.po: Likewise.
58382         * po/hr.po: Likewise.
58383         * po/nl.pl: Likewise.
58384         * po/pl.po: Likewise.
58385         * po/vi.po: Likewise.
58387 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58389         * Makeconfig [!+link] (+link-before-libc): New variable.
58390         [!+link] (+link-after-libc): Likewise.
58391         [!+link] (+link-tests): Likewise.
58392         [!+link] (+link): Define in terms of $(+link-before-libc) and
58393         $(+link-after-libc).
58394         [!+link-static] (+link-static-before-libc): New variable.
58395         [!+link-static] (+link-static-after-libc): Likewise.
58396         [!+link-static] (+link-static-tests): Likewise.
58397         [!+link-static] (+link-static): Define in terms of
58398         $(+link-static-before-libc) and $(+link-static-after-libc).
58399         [build-shared] (link-libc-before-gnulib): New variable.
58400         [build-shared] (link-libc-tests): Likewise.
58401         [build-shared] (link-libc): Define in terms of
58402         $(link-libc-before-gnulib).
58403         [!build-shared] (link-libc-tests): New variable.
58404         (link-libc-static-tests): New variable.
58405         [!gnulib] (gnulib-arch): New variable.
58406         [!gnulib] (gnulib-tests): Likewise.
58407         [!gnulib] (static-gnulib-arch): Likewise.
58408         [!gnulib] (static-gnulib-tests): Likewise.
58409         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58410         Define with "=" instead of ":=".
58411         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58412         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58413         * Rules (binaries-all-notests): New variable.
58414         (binaries-all-tests): Likewise.
58415         (binaries-static-notests): Likewise.
58416         (binaries-static-tests): Likewise.
58417         (binaries-all): Define using $(binaries-all-notests) and
58418         $(binaries-all-tests).
58419         (binaries-static): Define using $(binaries-static-notests) and
58420         $(binaries-static-tests).
58421         (binaries-shared-tests): New variable.
58422         (binaries-shared-notests): Likewise.
58423         (binaries-shared): Remove variable.
58424         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58425         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58426         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58427         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58428         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58429         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58430         * elf/Makefile (sln-modules): New variable.
58431         (extra-objs): Add $(sln-modules:=.o).
58432         (ldconfig-modules): Add static-stubs.
58433         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58434         * elf/static-stubs.c: New file.
58436         [BZ #14283]
58437         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58438         by 7 not 8 to examine high bit of fractional part.  Use volatile
58439         variables when splitting into final array of floats if
58440         __FLT_EVAL_METHOD__ != 0.
58441         * math/libm-test.inc (cos_test): Add another test.
58442         (sin_test): Likewise.
58443         * sysdeps/i386/fpu/libm-test-ulps: Update.
58445         [BZ #14273]
58446         * math/libm-test.inc (cosh_test): Add more tests.
58448         * version.h (RELEASE): Set to "development".
58449         (VERSION): Set to "2.16.90".
58451 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58453         * NEWS: Update copyright. Remove last-updated date.
58454         Mention math library bug fixes and timezone data changes.
58455         * README: Mention GNU/Hurd, x32, and HPPA support status.
58457 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58459         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58461 2012-06-27  Andreas Jaeger  <aj@suse.de>
58463         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58465 2012-06-25  Andreas Jaeger  <aj@suse.de>
58467         * sysdeps/s390/fpu/libm-test-ulps: Update.
58469 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58470             Thomas Schwinge  <thomas@codesourcery.com>
58472         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58473         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58474         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58475         fanotify_mark.
58477 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58479         * sysdeps/mach/start.c: Remove file.
58480         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58481         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58482         * sysdeps/sh/init-first.c: Likewise.
58484         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58485         registers for frame unwinding purposes, add CFI directives.
58486         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58487         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58488         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58489         Likewise.
58491         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
58492         __fortify_fail returning.
58493         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58495         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
58496         sysdeps/sh/____longjmp_chk.S.
58497         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
58498         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
58499         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58500         (gen-as-const-headers): Append sigaltstack-offsets.sym.
58502         * sysdeps/sh/abort-instr.h: New file.
58503         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
58504         process in case exit returns.
58506         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
58507         initialize the GOT register before use.
58509         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58510         calculation of ARGC > 4.
58512         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58513         meaningful names to some local labels.
58515 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58516             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58518         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58519         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58520         (__arch_compare_and_exchange_val_16_acq): Likewise.
58521         (__arch_compare_and_exchange_val_32_acq): Likewise.
58522         (atomic_exchange_and_add): Fix gUSA sequence.
58523         (atomic_add): Likewise.
58524         (atomic_add_negative): Likewise.
58525         (atomic_add_zero): Likewise.
58526         (atomic_bit_test_set): Likewise.
58528 2012-06-22  Andreas Schwab  <schwab@redhat.com>
58530         [BZ #13579]
58531         * include/link.h (struct link_map): Add l_free_initfini.
58532         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
58533         l_initfini.
58534         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
58535         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
58536         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
58537         set.
58539 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
58541         * configure.in: Use AC_LANG_SOURCE.
58542         * configure: Regenerate.
58544 2012-06-22  Roland McGrath  <roland@hack.frob.com>
58546         * configure.in (libc_cv_localstatedir): New substituted variable.
58547         * configure: Regenerated.
58548         * config.make.in (localstatedir): New variable, substituted from
58549         libc_cv_localstatedir.
58550         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
58551         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
58552         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
58553         * sysdeps/gnu/configure: Regenerated.
58555 2012-06-21  Jeff Law  <law@redhat.com>
58557         [BZ #14277]
58558         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
58559         free.  Simplify list management for _LIBC case.
58561 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
58563         [BZ #14273]
58564         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
58565         Clear sign bit of 64-bit integer value before comparing against
58566         overflow value.
58568         * sysdeps/mach/configure: Regenerated.
58570 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
58572         [BZ #14278]
58573         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
58575 2012-06-21  Jeff Law  <law@redhat.com>
58577         [BZ #13882]
58578         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
58579         uint16_t for elements in the "seen" array to avoid char overflows.
58580         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58581         * elf/dl-open.c (dl_open_worker): Likewise.
58583 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
58585         * scripts/list-sources.sh: Scan PORTS for translations.
58586         * po/libc.pot: Regenerated.
58588 2012-06-21  Andreas Jaeger  <aj@suse.de>
58590         [BZ #12194]
58591         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
58592         warning.
58593         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
58594         * bits/byteswap-16.h (__bswap_16): Likewise.
58595         * bits/byteswap.h (__bswap_constant_16): Likewise.
58597 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
58599         [BZ #14117]
58600         * sysdeps/i386/fpu_control.h: Removed.
58601         * sysdeps/x86_64/fpu_control.h: Moved to ...
58602         * sysdeps/x86/fpu_control.h: Here.
58604         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
58605         (_FPU_SETCW): Likewise.
58607 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
58609         [BZ #14117]
58610         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
58611         * sysdeps/x86/fpu/bits/mathinline.h: This.
58612         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
58614         [BZ #14050]
58615         [BZ #14117]
58616         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
58617         functions if __x86_64__ is defined.
58619 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
58621         * string/endian.h: Add !__ASSEMBLER__ condition for including
58622         conversion interfaces.
58624 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
58626         [BZ #14241]
58627         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
58628         of ABS(x) in calculating zero to negative powers other than odd
58629         integers.
58630         * math/libm-test.inc (pow_test): Add more tests.
58632 2012-06-15  Andreas Jaeger  <aj@suse.de>
58634         * manual/contrib.texi (Contributors): Update entry of Liubov
58635         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
58636         Machado Filho.
58638 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
58640         * string/string.h: Add __wur to GNU version of strerror_r.
58642 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
58644         [BZ #14229]
58645         * string/Makefile (tests): Add tst-strtok_r.
58646         * string/tst-strtok_r.c: New file.
58647         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
58648         RAX_LP/RDX_LP on SAVE_PTR.
58650 2012-06-14  Roland McGrath  <roland@hack.frob.com>
58652         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
58654 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
58656         * libm_test.inc (csqrt_test): Allow more spurious underflow
58657         exceptions.
58658         (j0_test): Likewise.
58659         (j1_test): Likewise.
58660         (y0_test): Likewise.
58661         (y1_test): Likewise.
58663 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
58665         * po/Makefile (libc.pot): Use UTF-8 charset.
58667 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
58669         [BZ #14210]
58670         Suppress sign-conversion warning from FD_SET.
58671         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
58672         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
58673         not unsigned long int.
58674         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
58676 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
58678         [BZ #14050]
58679         [BZ #14117]
58680         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
58681         __extern_always_inline instead of __extern_inline.
58682         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
58683         (__signbit): Likewise.
58684         (__signbitl): Support C++ namespace.
58685         (lrintf): New inline function.
58686         (lrint): Likewise.
58687         (llrintf): Likewise.
58688         (llrint): Likewise.
58689         (fmaxf): Likewise.
58690         (fmax): Likewise.
58691         (fminf): Likewise.
58692         (fmin): Likewise.
58693         (rint): Likewise.
58694         (rintf): Likewise.
58695         (ceil): Likewise.
58696         (ceilf): Likewise.
58697         (floor): Likewise.
58698         (floorf): Likewise.
58699         (nearbyint): Likewise.
58700         (nearbyintf): Likewise.
58702 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
58704         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
58705         non-default versions.
58707 2012-06-11  Roland McGrath  <roland@hack.frob.com>
58709         [BZ #14218]
58710         * manual/argp.texi (Argp): Reword argp_parse description slightly.
58712 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
58714         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
58715         (FE_UPWARD, FE_DOWNWARD): Don't define.
58716         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
58717         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58719         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
58720         reading it.
58721         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58722         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58724 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58726         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58727         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
58728         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
58729         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
58731 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
58733         [BZ #14117]
58734         * sysdeps/i386/fpu/bits/fenv.h: Removed.
58735         * sysdeps/i386/fpu/Implies: New file.
58736         * sysdeps/x86_64/fpu/Implies: Likewise.
58737         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
58738         * sysdeps/x86/fpu/bits/fenv.h: This.
58740         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
58741         __SSE_MATH__.
58743 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58745         [BZ #14134]
58746         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
58747         character 0xffff that matches the last element of the
58748         conversion table.
58750 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58752         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
58753         fmodl commit.
58755 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58757         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
58758         values higher than 25.6283.
58760 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58762         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
58763         subnormal exponent extraction and add some __builtin_expect.
58764         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
58765         Fix for subnormal mantissa calculation.
58767 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
58769         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
58770         cpu2 is -1 and errno is not ENOSYS.
58772 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
58774         [BZ #14117]
58775         * sysdeps/i386/i486/bits/string.h: Renamed to ...
58776         * sysdeps/x86/bits/string.h: This.
58777         * sysdeps/x86_64/bits/string.h: Removed.
58779         * sysdeps/i386/i486/bits/string.h: Define inline functions only
58780         if not compiling for x86-64, but compiling for >= i486.
58782         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
58783         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
58785         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
58786         New macro from Linux kernel 3.4.0.
58787         (FP_XSTATE_MAGIC2): Likewise.
58788         (FP_XSTATE_MAGIC2_SIZE): Likewise.
58789         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
58790         (struct _fpx_sw_bytes): New struct.
58791         (struct _xsave_hdr): Likewise.
58792         (struct _ymmh_state): Likewise.
58793         (struct _xstate): Likewise.
58795         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
58796         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
58797         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
58798         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
58799         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
58800         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
58802         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
58803         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
58804         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
58805         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
58806         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
58807         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
58809 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58811         [BZ #13743]
58812         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
58813         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
58814         (sysdep_headers): Include sys/platform/ppc.h.
58815         * sysdeps/powerpc/test-gettimebase.c: Test for
58816         __ppc_get_timebase() to catch future ISA opcode/insn changes.
58817         * manual/Makefile (appendices): Include platform.texi.
58818         * manual/contrib.texi (Contributors): Update @node pointers.
58819         * manual/maint.texi (Maintenance): Likewise.
58820         (Platform): New node.
58821         * manual/platform.texi: New file.  Document the new features.
58823 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58824             Jakub Jelinek  <jakub@redhat.com>
58826         [BZ #14188]
58827         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
58828         where __builtin_expect is unavailable.
58830 2012-06-03  David S. Miller  <davem@davemloft.net>
58832         * stdlib/longlong.h: Updated from GCC.
58834 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
58836         [BZ #14042]
58837         * sysdeps/powerpc/powerpc32/mcount.c: New file.
58838         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
58839         __mcount_internal.
58840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58841         (GLIBC_2.16): Likewise.
58843 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58845         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
58847 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
58850         (default-abi): New variable.
58851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
58852         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
58853         variable.
58854         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
58855         Likewise.
58856         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
58857         Likewise.
58858         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
58859         Likewise.
58861         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
58862         definition.  Document in comment.
58864 2012-06-01  David S. Miller  <davem@davemloft.net>
58866         * stdlib/longlong.h: Updated from GCC.
58868 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58870         [BZ #14117]
58871         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
58872         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
58873         sys/debugreg.h sys/io.h here.
58874         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
58875         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
58876         sys/io.h.
58877         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
58878         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
58879         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
58880         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
58881         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
58882         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
58884         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
58885         Define only if __x86_64__ is defined.
58887 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58889         [BZ #14048]
58890         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
58891         Use int64_t for variable i.
58892         * math/libm-test.inc (fmod_test): Add more tests.
58894         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
58895         z computation is not scheduled after fetestexcept.
58896         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
58897         Use math_force_eval instead of asm to ensure calculation scheduled
58898         before exception test.
58899         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
58900         Ensure a1 + u.d computation is not scheduled after fetestexcept.
58902 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
58904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
58905         computation is not scheduled after fetestexcept.
58907 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58909         [BZ #14117]
58910         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
58911         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
58913 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58915         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58916         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58918 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58920         [BZ #14117]
58921         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
58922         <bits/wordsize.h>.
58923         (__WCHAR_MIN): Support __WORDSIZE == 64.
58924         (__WCHAR_MAX): Likewise.
58926         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
58927         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
58929         [BZ #14183]
58930         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
58931         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
58933         [BZ #14117]
58934         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
58935         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
58937         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58938         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
58940         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
58941         Defined to 1 if __x86_64__ isn't defined.
58942         (_STAT_VER_LINUX_OLD): New.
58943         (st_atime): Remove duplicate.
58944         (st_mtime): Likewise.
58945         (st_ctime): Likewise.
58947 2012-05-31  David S. Miller  <davem@davemloft.net>
58949         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
58950         entries.
58952 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
58954         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
58955         gen-libm-test.pl.
58957         [BZ #14132]
58958         * elf/dl-reloc.c: Include <_itoa.h>.
58959         (_dl_reloc_bad_type): Remove use of INTUSE.
58960         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
58961         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
58962         * stdio-common/psiginfo.c (psiginfo): Likewise.
58963         * stdio-common/psignal.c (psignal): Likewise.
58964         * string/strsignal.c (strsignal): Likewise.
58965         * include/signal.h (_sys_siglist): Declare hidden proto.
58966         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
58967         INTVARDEF with libc_hidden_data_def.
58968         * stdio-common/itoa-udigits.c: Likewise.
58969         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
58970         (_itoa_lower_digits_internal): Remove declaration.
58971         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
58972         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
58973         (_sys_sigabbrev_internal): Remove aliases.
58974         (_sys_siglist): Define hidden alias.
58976 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
58978         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58979         bits/sysctl.h.
58981 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58983         [BZ #14117]
58984         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
58985         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
58987         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
58988         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
58989         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
58990         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
58991         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
58992         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
58994         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
58995         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
58996         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
58998         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
58999         with __addr.
59000         (insw): Likewise.
59001         (insl): Likewise.
59002         (outsb): Likewise.
59003         (outsw): Likewise.
59004         (outsl): Likewise.
59006         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
59007         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
59008         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
59010         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
59011         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
59012         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
59013         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
59014         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
59015         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
59017         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
59018         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
59020         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
59021         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
59023         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
59024         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
59025         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
59027         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
59028         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
59029         to ...
59030         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
59032         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
59033         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
59034         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
59036         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
59037         for x86-64.
59038         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
59040 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
59042         * math/math.h (M_El): Use two more decimal places.
59043         (M_LOG2El): Likewise.
59044         (M_LOG10El): Likewise.
59045         (M_LN2l): Likewise.
59046         (M_LN10l): Likewise.
59047         (M_PIl): Likewise.
59048         (M_PI_2l): Likewise.
59049         (M_PI_4l): Likewise.
59050         (M_1_PIl): Likewise.
59051         (M_2_PIl): Likewise.
59052         (M_2_SQRTPIl): Likewise.
59053         (M_SQRT2l): Likewise.
59054         (M_SQRT1_2l): Likewise.
59056 2012-05-31  David S. Miller  <davem@davemloft.net>
59058         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
59059         values between float registers.
59060         * sysdeps/sparc/sparc64/memset.S: Likewise.
59061         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59063 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
59065         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
59066         -D_FORTIFY_SOURCE=1.
59067         (CPPFLAGS-tst-longjmp_chk.c): Define.
59068         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
59069         (CPPFLAGS-tst-longjmp_chk2.c): Define.
59070         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
59071         CFLAGS-tst-wchar-h.c.
59073 2012-05-31  Marek Polacek  <polacek@redhat.com>
59075         [BZ #14132]
59076         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
59077         __endmntent_internal): Remove declaration.
59078         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
59079         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
59080         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
59082 2012-05-30  David S. Miller  <davem@davemloft.net>
59084         * sysdeps/sparc/sparc32/soft-fp/q_util.c
59085         (___Q_simulate_exceptions): Use real FP ops rather than writing
59086         into the %fsr.
59087         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
59088         Likewise.
59090 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59092         [BZ #14117]
59093         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
59094         * sysdeps/x86/bits/xtitypes.h: This.
59096         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
59097         * sysdeps/x86/bits/wordsize.h: This.
59099         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
59100         * sysdeps/x86/bits/huge_vall.h: This.
59102         * sysdeps/i386/bits/select.h: Removed.
59103         * sysdeps/x86_64/bits/select.h: Renamed to ...
59104         * sysdeps/x86/bits/select.h: This.
59106         * sysdeps/i386/bits/setjmp.h: Removed.
59107         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
59108         * sysdeps/x86/bits/setjmp.h: This.
59110         * sysdeps/i386/bits/mathdef.h: Removed.
59111         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
59112         * sysdeps/x86/bits/mathdef.h: This.
59114 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
59116         [BZ #14132]
59117         * include/sys/socket.h (__connect_internal)
59118         (__libc_sa_len_internal): Remove declaration.
59119         (__connect, __libc_sa_len): Declare hidden_proto.
59120         (SA_LEN): Remove use of INTUSE.
59121         * socket/connect.c: Add libc_hidden_def.
59122         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
59123         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59124         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59125         alias.
59126         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59127         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59128         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59129         of adding _internal alias.
59131 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59133         [BZ #14117]
59134         * sysdeps/i386/bits/link.h: Removed.
59135         * sysdeps/i386/bits/linkmap.h: Likewise.
59136         * sysdeps/x86_64/bits/link.h: Renamed to ...
59137         * sysdeps/x86/bits/link.h: This.
59138         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59139         * sysdeps/x86/bits/linkmap.h: This.
59141         * sysdeps/i386/bits/endian.h: Removed.
59142         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59143         * sysdeps/x86/bits/endian.h: This.
59145         * sysdeps/i386/bits/byteswap.h: Removed.
59146         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59147         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59148         * sysdeps/x86/bits/byteswap.h: This.
59149         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59150         * sysdeps/x86/bits/byteswap-16.h: This.
59151         * sysdeps/i386/Implies: Add x86.
59152         * sysdeps/x86_64/Implies: Likewise.
59154 2012-05-30  David S. Miller  <davem@davemloft.net>
59156         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59157         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59158         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59159         (FP_TRAPPING_EXCEPTIONS): Define.
59160         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59161         (FP_TRAPPING_EXCEPTIONS): Define.
59162         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59163         subnormals only when inexact has been signalled or underflow
59164         exceptions are enabled.
59165         (_FP_PACK_CANONICAL): Likewise.
59167 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59169         [BZ #14183]
59170         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59171         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59173 2012-05-30  Richard Henderson  <rth@twiddle.net>
59175         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59176         with #ifndef NOT_IN_libc.
59178         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59179         marked to avoid plt entry.
59181 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59183         [BZ #14112]
59184         * Makeconfig (default-abi): New macro.
59185         (abi-includes): Likewise.
59186         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59187         $(abi-$(default-abi)-lib-soname) for soname if defined.
59188         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59189         abi-variants.
59190         * Makefile (installed-stubs): Likewise.
59191         * include/stubs-biarch.h: Removed.
59192         * scripts/lib-names.awk: Only handle one library at a time.
59193         * scripts/soversions.awk: Remove WORDSIZE support.
59194         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59195         entries.
59196         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59197         Removed.
59198         (syscall-list-default-condition): Likewise.
59199         (syscall-list-default-condition): Likewise.
59200         (syscall-list-includes): Likewise.
59201         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59202         syscall-list-* with abi-*.  Handle undefined abi-variants.
59203         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59204         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59205         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59206         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59207         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59208         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59209         Removed.
59210         (syscall-list-32-options): Likewise.
59211         (syscall-list-32-condition): Likewise.
59212         (syscall-list-64-options): Likewise.
59213         (syscall-list-64-condition): Likewise.
59214         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59215         macro.
59216         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59217         Renamed to ...
59218         (abi-*): This.
59219         (abi-64-ld-soname): New macro.
59220         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59221         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59222         Renamed to ...
59223         (abi-*): This.
59224         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59225         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59227 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59229         * sysdeps/unix/sysv/linux/kernel-features.h
59230         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59231         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59232         include <kernel-features.h>.
59233         [!__NR_ftruncate64]: Remove conditional code.
59234         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59235         [__NR_ftruncate64]: Make code unconditional.
59236         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59237         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59238         include <kernel-features.h>.
59239         [!__NR_ftruncate64]: Remove conditional code.
59240         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59241         [__NR_ftruncate64]: Make code unconditional.
59242         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59244         include <kernel-features.h>.
59245         [!__NR_ftruncate64]: Remove conditional code.
59246         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59247         [__NR_ftruncate64]: Make code unconditional.
59248         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59250         include <kernel-features.h>.
59251         [!__NR_ftruncate64]: Remove conditional code.
59252         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59253         [__NR_ftruncate64]: Make code unconditional.
59254         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59256         * configure.in (libc_cv_fpie): Weaken to a compile test using
59257         LIBC_TRY_CC_OPTION.
59258         * configure: Regenerated.
59260 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59266         Refreshed.
59267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59273         Refreshed.
59275 2012-05-27  David S. Miller  <davem@davemloft.net>
59277         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59278         (___Q_zero): New.
59279         (__Q_simulate_exceptions): Return void.  Change to simulate
59280         exceptions by writing into the %fsr.
59281         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59282         (__Qp_handle_exceptions): Likewise.
59283         (numbers): Delete.
59284         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59285         __Qp_handle_exceptions.
59286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59287         __Qp_handle_exceptions.
59288         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59289         as unused and give dummy FP_RND_NEAREST initializer.
59290         (FP_INHIBIT_RESULTS): Define.
59291         (___Q_simulate_exceptions): Update declaration.
59292         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59293         formatting.
59294         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59295         as unused and give dummy FP_RND_NEAREST initializer.
59296         (__Qp_handle_exceptions): Update declaration.
59297         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59298         formatting.
59300 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59302         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59303         the temporary FPU control word.
59304         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59305         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59306         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59307         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59308         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59309         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59310         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59311         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59312         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59313         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59314         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59316 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59318         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59319         fields.
59321 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59323         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59324         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59325         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59326         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59327         Likewise.
59328         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59329         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59330         Likewise.
59332 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59334         * po/h.po: Update from translation team.
59336 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59338         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59340         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59341         handling of denormals.
59342         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59343         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59344         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59345         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59346         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59347         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59348         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59349         Likewise.
59351 2012-05-26  Marek Polacek  <polacek@redhat.com>
59353         [BZ #14152]
59354         * math/libm-test.inc (fma_test): Don't always expect underflow
59355         exception.
59357 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59359         [BZ #12416]
59360         * elf/tst-execstack.c: Include stackinfo.h.
59361         (do_test): Adjust test case to ensure that pthread_getattr_np
59362         behaviour remains the same after marking stack executable.
59364 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59366         * sysdeps/unix/sysv/linux/kernel-features.h
59367         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59368         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59369         kernel-features.h.
59370         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59371         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59372         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59373         kernel-features.h.
59374         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59375         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59377 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59379         * configure.in: Define the default includes to being none.
59380         * configure: Regenerated.
59382 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59384         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59385         * sysdeps/x86_64/setjmp.S: Likewise.
59386         * sysdeps/i386/bsd-setjmp.S: Likewise.
59387         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59388         * sysdeps/i386/setjmp.S: Likewise.
59389         * sysdeps/i386/__longjmp.S: Likewise.
59390         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59391         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59393         * include/stap-probe.h: New file.
59394         * configure.in: Handle --enable-systemtap.
59395         * configure: Regenerated.
59396         * config.h.in (USE_STAP_PROBE): New #undef.
59397         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59398         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59399         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59401 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59403         [BZ #13717]
59404         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59405         to 2.4.0 where earlier.
59406         * sysdeps/unix/sysv/linux/configure: Regenerated.
59407         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59408         <kernel-features.h>.
59409         [__ASSUME_32BITUIDS]: Make code unconditional.
59410         [!__ASSUME_32BITUIDS]: Remove conditional code.
59411         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59412         <kernel-features.h>.
59413         [__ASSUME_32BITUIDS]: Make code unconditional.
59414         [!__ASSUME_32BITUIDS]: Remove conditional code.
59415         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59416         [__ASSUME_32BITUIDS]: Make code unconditional.
59417         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59418         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59419         <kernel-features.h>.
59420         [__ASSUME_32BITUIDS]: Make code unconditional.
59421         [!__ASSUME_32BITUIDS]: Remove conditional code.
59422         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59423         <kernel-features.h>.
59424         [__ASSUME_32BITUIDS]: Make code unconditional.
59425         [!__ASSUME_32BITUIDS]: Remove conditional code.
59426         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59427         <kernel-features.h>.
59428         [__ASSUME_32BITUIDS]: Make code unconditional.
59429         [!__ASSUME_32BITUIDS]: Remove conditional code.
59430         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59431         <kernel-features.h>.
59432         [__ASSUME_32BITUIDS]: Make code unconditional.
59433         [!__ASSUME_32BITUIDS]: Remove conditional code.
59434         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59435         <kernel-features.h>.
59436         [__ASSUME_32BITUIDS]: Make code unconditional.
59437         [!__ASSUME_32BITUIDS]: Remove conditional code.
59438         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59439         <kernel-features.h>.
59440         [__ASSUME_32BITUIDS]: Make code unconditional.
59441         [!__ASSUME_32BITUIDS]: Remove conditional code.
59442         * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.c: Do not include
59451         <kernel-features.h>.
59452         [__ASSUME_32BITUIDS]: Make code unconditional.
59453         [!__ASSUME_32BITUIDS]: Remove conditional code.
59454         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
59455         <kernel-features.h>.
59456         [__ASSUME_32BITUIDS]: Make code unconditional.
59457         [!__ASSUME_32BITUIDS]: Remove conditional code.
59458         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59459         <kernel-features.h>.
59460         [__NR_setresgid] (__setresgid): Do not declare.
59461         [__ASSUME_32BITUIDS]: Make code unconditional.
59462         [!__ASSUME_32BITUIDS]: Remove conditional code.
59463         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59464         <kernel-features.h>.
59465         [__NR_setresuid] (__setresuid): Do not declare.
59466         [__ASSUME_32BITUIDS]: Make code unconditional.
59467         [!__ASSUME_32BITUIDS]: Remove conditional code.
59468         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
59469         <kernel-features.h>.
59470         [__ASSUME_32BITUIDS]: Make code unconditional.
59471         [!__ASSUME_32BITUIDS]: Remove conditional code.
59472         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
59473         <kernel-features.h>.
59474         [__ASSUME_32BITUIDS]: Make code unconditional.
59475         [!__ASSUME_32BITUIDS]: Remove conditional code.
59476         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
59477         <kernel-features.h>.
59478         [__ASSUME_32BITUIDS]: Make code unconditional.
59479         [!__ASSUME_32BITUIDS]: Remove conditional code.
59480         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59481         <kernel-features.h>.
59482         [__ASSUME_32BITUIDS]: Make code unconditional.
59483         [!__ASSUME_32BITUIDS]: Remove conditional code.
59484         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59485         <kernel-features.h>.
59486         [__ASSUME_32BITUIDS]: Make code unconditional.
59487         [!__ASSUME_32BITUIDS]: Remove conditional code.
59488         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59489         <kernel-features.h>.
59490         [__ASSUME_32BITUIDS]: Make code unconditional.
59491         [!__ASSUME_32BITUIDS]: Remove conditional code.
59492         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
59493         <kernel-features.h>.
59494         [__ASSUME_32BITUIDS]: Make code unconditional.
59495         [!__ASSUME_32BITUIDS]: Remove conditional code.
59496         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
59497         <kernel-features.h>.
59498         [__ASSUME_32BITUIDS]: Make code unconditional.
59499         [!__ASSUME_32BITUIDS]: Remove conditional code.
59500         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
59501         <kernel-features.h>.
59502         [__ASSUME_32BITUIDS]: Make code unconditional.
59503         [!__ASSUME_32BITUIDS]: Remove conditional code.
59504         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59505         <kernel-features.h>.
59506         [__ASSUME_32BITUIDS]: Make code unconditional.
59507         [!__ASSUME_32BITUIDS]: Remove conditional code.
59508         * sysdeps/unix/sysv/linux/kernel-features.h
59509         (__ASSUME_SETRESUID_SYSCALL): Remove.
59510         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59511         (__ASSUME_32BITUIDS): Likewise.
59512         (__ASSUME_LDT_WORKS): Likewise.
59513         (__ASSUME_O_DIRECTORY): Likewise.
59514         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59515         architecture but not kernel version.
59516         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59517         (__ASSUME_MMAP2_SYSCALL): Likewise.
59518         (__ASSUME_STAT64_SYSCALL): Likewise.
59519         (__ASSUME_IPC64): Likewise.
59520         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59521         <kernel-features.h>.
59522         [__ASSUME_32BITUIDS]: Make code unconditional.
59523         [!__ASSUME_32BITUIDS]: Remove conditional code.
59524         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59525         <kernel-features.h>.
59526         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59527         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
59528         132096]: Remove conditional code.
59529         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
59530         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59531         <kernel-features.h>.
59532         [__ASSUME_32BITUIDS]: Make code unconditional.
59533         [!__ASSUME_32BITUIDS]: Remove conditional code.
59534         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59535         <kernel-features.h>.
59536         [__ASSUME_32BITUIDS]: Make code unconditional.
59537         [!__ASSUME_32BITUIDS]: Remove conditional code.
59538         * sysdeps/unix/sysv/linux/setegid.c: Do not include
59539         <kernel-features.h>.
59540         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
59541         unconditional.
59542         (__setresgid): Do not declare.
59543         [__ASSUME_32BITUIDS]: Make code unconditional.
59544         [!__ASSUME_32BITUIDS]: Remove conditional code.
59545         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
59546         <kernel-features.h>.
59547         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
59548         unconditional.
59549         (__setresuid): Do not declare.
59550         [__ASSUME_32BITUIDS]: Make code unconditional.
59551         [!__ASSUME_32BITUIDS]: Remove conditional code.
59552         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59553         <kernel-features.h>.
59554         [__ASSUME_32BITUIDS]: Make code unconditional.
59555         [!__ASSUME_32BITUIDS]: Remove conditional code.
59556         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
59557         <kernel-features.h>.
59558         [__ASSUME_32BITUIDS]: Make code unconditional.
59559         [!__ASSUME_32BITUIDS]: Remove conditional code.
59561 2012-05-25  Richard Henderson  <rth@twiddle.net>
59563         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
59564         dl_hwcap to ifunc resolver.
59565         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
59566         elf_ifunc_invoke.
59567         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
59568         dl_hwcap to ifunc resolver.
59569         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
59571 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59573         [BZ #14153]
59574         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
59575         for |x| <= 2**-26, not 2**-57.
59576         * math/libm-test.inc (acos_test): Do not allow spurious underflow
59577         exception.
59579 2012-05-24  Jeff Law  <law@redhat.com>
59581         * stdio-common/Makefile (tests): Add bug25.
59582         * stdio-common/bug25.c: New test.
59584 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59586         [BZ #13576]
59587         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
59588         multiple of MALLOC_ALIGNMENT in size.
59589         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
59591 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59593         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
59594         Require >= 256.
59595         (FILENAME_MAX): Use macro-int-constant.
59596         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
59597         (_IOFBF): Use macro-int-constant.
59598         (_IOLBF): Likewise.
59599         (_IONBF): Likewise.
59600         (SEEK_CUR): Likewise.
59601         (SEEK_END): Likewise.
59602         (SEEK_SET): Likewise.
59603         (TMP_MAX): Likewise.
59604         (EOF): Use macro-int-constant.  Require < 0.
59605         (NULL): Use macro-constant.  Require == 0.
59606         (stdin): Require type to be FILE *.
59607         (stdout): Likewise.
59608         (stderr): Likewise.
59609         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
59610         macro-int-constant.
59611         (EXIT_SUCCESS): Likewise.
59612         (NULL): Use macro-constant.  Require == 0.
59613         (RAND_MAX): Use macro-int-constant.
59614         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
59615         [C99-based standards] (strtof): Require function.
59616         [C99-based standards] (strtold): Likewise.
59617         [C99-based standards] (strtoll): Likewise.
59618         [C99-based standards] (strtoull): Likewise.
59619         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59620         [ISO || ISO99 || ISO11] (limits.h): Likewise.
59621         [ISO || ISO99 || ISO11] (math.h): Likewise.
59622         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
59623         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59624         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59626 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
59628         [BZ #14132]
59629         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
59630         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
59631         * intl/dgettext.c (DCGETTEXT): Likewise.
59632         * intl/gettext.c (DCGETTEXT): Likewise.
59633         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
59634         * posix/regex_internal.h (gettext): Likewise.
59635         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
59636         Remove declaration.
59637         * include/argz.h (__argz_count_internal)
59638         (__argz_stringify_internal): Remove declaration.
59639         (__argz_count, __argz_stringify): Declare hidden proto.
59640         * intl/dcgettext.c: Remove use of INTDEF.
59641         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
59642         * string/argz-stringify.c: Likewise.
59643         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59644         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59645         Declare hidden proto.
59646         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59647         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59648         Declare hidden proto.
59649         * include/stdio.h (__asprintf_internal): Don't declare.
59650         (__asprintf): Don't define as macro.  Declare hidden proto.
59651         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
59652         (__fsetlocking): Declare hidden proto.
59653         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
59654         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
59655         hidden proto.
59656         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
59657         (_IO_setlinebuf): Remove use of INTUSE.
59658         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
59659         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
59660         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
59661         Remove declaration.
59662         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
59663         (_IO_do_flush): Remove use of INTUSE.
59664         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
59665         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
59666         (_IO_adjust_column, _IO_least_wmarker)
59667         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
59668         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
59669         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
59670         (_IO_default_doallocate, _IO_wdefault_doallocate)
59671         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
59672         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
59673         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
59674         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
59675         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
59676         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
59677         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
59678         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
59679         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
59680         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
59681         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
59682         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
59683         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
59684         proto.
59685         (_IO_flush_all_internal, _IO_adjust_column_internal)
59686         (_IO_default_uflow_internal, _IO_default_finish_internal)
59687         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
59688         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
59689         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
59690         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
59691         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
59692         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
59693         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
59694         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
59695         (_IO_file_close_internal, _IO_file_close_it_internal)
59696         (_IO_file_underflow_internal, _IO_file_overflow_internal)
59697         (_IO_file_init_internal, _IO_file_attach_internal)
59698         (_IO_file_fopen_internal, _IO_file_read_internal)
59699         (_IO_file_sync_internal, _IO_file_seek_internal)
59700         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
59701         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
59702         (_IO_str_underflow_internal, _IO_str_overflow_internal)
59703         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
59704         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
59705         (_IO_list_all_internal, _IO_link_in_internal)
59706         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
59707         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
59708         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
59709         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
59710         (_IO_do_write_internal, _IO_padn_internal)
59711         (_IO_getline_info_internal, _IO_getline_internal)
59712         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
59713         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
59714         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
59715         (_IO_vfscanf_internal, _IO_vfprintf_internal)
59716         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
59717         (_IO_init_internal, _IO_un_link_internal): Don't declare.
59718         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
59719         with libc_hidden_ver, remove use of INTUSE.
59720         * libio/genops.c: Likewise.
59721         * libio/freopen.c: Likewise.
59722         * libio/freopen64.c: Likewise.
59723         * libio/iofclose.c: Likewise.
59724         * libio/iofdopen.c: Likewise.
59725         * libio/iofflush.c: Likewise.
59726         * libio/iofflush_u.c: Likewise.
59727         * libio/iofgets.c: Likewise.
59728         * libio/iofgets_u.c: Likewise.
59729         * libio/iofopen.c: Likewise.
59730         * libio/iofopncook.c: Likewise.
59731         * libio/iofread.c: Likewise.
59732         * libio/iofread_u.c: Likewise.
59733         * libio/ioftell.c: Likewise.
59734         * libio/iofwrite.c: Likewise.
59735         * libio/iogetline.c: Likewise.
59736         * libio/iogets.c: Likewise.
59737         * libio/iogetwline.c: Likewise.
59738         * libio/iopadn.c: Likewise.
59739         * libio/iopopen.c: Likewise.
59740         * libio/ioseekoff.c: Likewise.
59741         * libio/ioseekpos.c: Likewise.
59742         * libio/iosetbuffer.c: Likewise.
59743         * libio/iosetvbuf.c: Likewise.
59744         * libio/ioungetc.c: Likewise.
59745         * libio/ioungetwc.c: Likewise.
59746         * libio/iovdprintf.c: Likewise.
59747         * libio/iovsprintf.c: Likewise.
59748         * libio/iovsscanf.c: Likewise.
59749         * libio/memstream.c: Likewise.
59750         * libio/obprintf.c: Likewise.
59751         * libio/oldfileops.c: Likewise.
59752         * libio/oldiofclose.c: Likewise.
59753         * libio/oldiofdopen.c: Likewise.
59754         * libio/oldiofopen.c: Likewise.
59755         * libio/oldiopopen.c: Likewise.
59756         * libio/oldstdfiles.c: Likewise.
59757         * libio/putc.c: Likewise.
59758         * libio/setbuf.c: Likewise.
59759         * libio/setlinebuf.c: Likewise.
59760         * libio/stdfiles.c: Likewise.
59761         * libio/strops.c: Likewise.
59762         * libio/vasprintf.c: Likewise.
59763         * libio/vscanf.c: Likewise.
59764         * libio/vsnprintf.c: Likewise.
59765         * libio/vswprintf.c: Likewise.
59766         * libio/wfiledoalloc.c: Likewise.
59767         * libio/wfileops.c: Likewise.
59768         * libio/wgenops.c: Likewise.
59769         * libio/wmemstream.c: Likewise.
59770         * libio/wstrops.c: Likewise.
59771         * libio/__fpurge.c: Likewise.
59772         * libio/__fsetlocking.c: Likewise.
59773         * assert/assert.c: Likewise.
59774         * debug/fgets_chk.c: Likewise.
59775         * debug/fgets_u_chk.c: Likewise.
59776         * debug/fread_chk.c: Likewise.
59777         * debug/fread_u_chk.c: Likewise.
59778         * debug/gets_chk.c: Likewise.
59779         * debug/obprintf_chk.c: Likewise.
59780         * debug/vasprintf_chk.c: Likewise.
59781         * debug/vdprintf_chk.c: Likewise.
59782         * debug/vsnprintf_chk.c: Likewise.
59783         * debug/vsprintf_chk.c: Likewise.
59784         * malloc/mtrace.c: Likewise.
59785         * misc/error.c: Likewise.
59786         * misc/syslog.c: Likewise.
59787         * stdio-common/asprintf.c: Likewise.
59788         * stdio-common/fxprintf.c: Likewise.
59789         * stdio-common/getw.c: Likewise.
59790         * stdio-common/isoc99_fscanf.c: Likewise.
59791         * stdio-common/isoc99_scanf.c: Likewise.
59792         * stdio-common/isoc99_vfscanf.c: Likewise.
59793         * stdio-common/isoc99_vscanf.c: Likewise.
59794         * stdio-common/isoc99_vsscanf.c: Likewise.
59795         * stdio-common/printf-prs.c: Likewise.
59796         * stdio-common/printf_fp.c: Likewise.
59797         * stdio-common/printf_fphex.c: Likewise.
59798         * stdio-common/printf_size.c: Likewise.
59799         * stdio-common/putw.c: Likewise.
59800         * stdio-common/scanf.c: Likewise.
59801         * stdio-common/sprintf.c: Likewise.
59802         * stdio-common/tmpfile.c: Likewise.
59803         * stdio-common/vfprintf.c: Likewise.
59804         * stdio-common/vfscanf.c: Likewise.
59805         * stdlib/strfmon_l.c: Likewise.
59806         * sunrpc/openchild.c: Likewise.
59807         * sunrpc/xdr_stdio.c: Likewise.
59808         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
59809         * sysdeps/mach/hurd/tmpfile.c: Likewise.
59811 2012-05-24  Roland McGrath  <roland@hack.frob.com>
59813         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59815         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
59816         in the third column, to generate for the shared library an IFUNC
59817         that uses _dl_vdso_vsym.
59818         * Makerules (COMPILE.c, compile-stdin.c): New variables.
59819         * Makeconfig (object-suffixes-noshared): New variable.
59821         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
59822         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
59823         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
59824         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
59826         [BZ #14132]
59827         * include/sys/time.h (__gettimeofday): Remove macro.
59828         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
59829         * time/gettimeofday.c (__gettimeofday): Remove #undef.
59830         Remove INTDEF.
59831         (__gettimeofday): Add libc_hidden_def.
59832         (gettimeofday): Add libc_hidden_weak.
59833         * sysdeps/mach/gettimeofday.c: Likewise.
59834         * sysdeps/posix/gettimeofday.c: Likewise.
59835         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
59836         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
59837         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
59838         (__gettimeofday_internal): Remove strong_alias.
59839         (__gettimeofday): Add libc_hidden_def.
59840         (gettimeofday): Add libc_hidden_weak.
59841         * sysdeps/unix/syscalls.list (gettimeofday):
59842         Remove __gettimeofday_internal alias.
59844 2012-05-24  Daniel Jacobowitz  <drow@false.org>
59845             H.J. Lu  <hongjiu.lu@intel.com>
59847         [BZ #12495]
59848         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
59849         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
59850         (largebin_index_32_big): New.
59851         (largebin_index): Use it for 16-byte alignment.
59852         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
59853         correction with front_misalign.
59855 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
59858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
59859         Likewise.
59860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
59861         Likewise.
59862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59863         Likewise.
59864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
59865         Likewise.
59866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
59867         Likewise.
59868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
59869         Likewise.
59870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
59871         Likewise.
59872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59873         Likewise.
59874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
59875         Likewise.
59876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
59877         Likewise.
59878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
59879         Likewise.
59880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
59881         Likewise.
59883         * scripts/data/c++-types-x32-linux-gnu.data: New file.
59884         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
59886 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59888         [BZ #10846]
59889         [BZ #14036]
59890         * math/libm-test.inc (exp_test): Add test from bug 14036.
59891         (pow_test): Add test from bug 10846.
59893         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
59894         and other flags.
59895         (special_function): Do not include flags in test name.
59896         (parse_args): Likewise.
59897         * sysdeps/i386/fpu/libm-test-ulps: Update.
59898         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59899         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59900         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59903         * math/gen-libm-test.pl (%beautify): Add entries for underflow
59904         exceptions.
59905         * math/libm-test.inc ("Philosophy"): Update comment about
59906         exception testing.
59907         (UNDERFLOW_EXCEPTION): New macro.
59908         (UNDERFLOW_EXCEPTION_OK): Likewise.
59909         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
59910         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
59911         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
59912         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
59913         (INVALID_EXCEPTION_OK): Update value.
59914         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59915         (OVERFLOW_EXCEPTION_OK): Likewise.
59916         (IGNORE_ZERO_INF_SIGN): Likewise.
59917         (test_exceptions): Handle underflow exceptions.
59918         (acos_test): Update for underflow exception expectations.
59919         (cexp_test): Likewise.
59920         (clog_test): Likewise.
59921         (clog10_test): Likewise.
59922         (csqrt_test): Likewise.
59923         (ctan_test): Likewise.
59924         (ctanh_test): Likewise.
59925         (exp_test): Likewise.
59926         (exp10_test): Likewise.
59927         (exp2_test): Likewise.
59928         (expm1_test): Likewise.
59929         (fma_test): Likewise.
59930         (j0_test): Likewise.
59931         (jn_test): Likewise.
59932         (nexttoward_test): Likewise.
59933         (pow_test): Likewise.
59934         (scalbn_test): Likewise.
59935         (scalbln_test): Likewise.
59936         (tan_test): Likewise.
59937         (y1_test): Likewise.
59938         * sysdeps/i386/fpu/libm-test-ulps: Update.
59939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59941 2012-05-23  David S. Miller  <davem@davemloft.net>
59943         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59944         (__libc_sigaction): Remove unused local variables.
59946 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59948         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
59950 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
59952         mktime: avoid signed integer overflow
59953         * time/mktime.c (__mktime_internal): Do not mishandle the case
59954         where diff == INT_MIN.
59956         mktime: simplify computation of average
59957         * time/mktime.c (ranged_convert): Use new time_t_avg function
59958         instead of rolling our own (probably-slower) code.
59960         mktime: do not assume signed right shift propagates sign bit
59961         * time/mktime.c (isdst_differ): New static function.
59962         (__mktime_internal): No need to normalize tm_isdst now.
59963         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
59964         tm_isdst values.
59966         mktime: merge another wrapv change from gnulib
59967         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
59968         from some compilers.
59970         mktime: remove incorrect attempt at unusual arithmetics
59971         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
59972         The code didn't really work on such machines anyway.
59973         (TYPE_MINIMUM): Assume two's complement.
59974         (twos_complement_arithmetic): Verify that long_int and time_t
59975         are two's complement (or unsigned, in the latter case).
59977         mktime: check signed shifts on long_int and time_t, too
59978         * time/mktime.c (SHR): Check that shifts work as desired
59979         on the types long_int and time_t too, as SHR is used on
59980         such types.
59982         mktime: do not assume 'long' is wide enough
59983         * time/mktime.c (verify): Move decl up.
59984         (long_int): New type.
59985         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
59986         to remove assumption in the code that 'long' is wide enough to
59987         store year values.  This assumption is not true on x32 and on
59988         some non-glibc platforms.
59990         mktime: merge wrapv change from gnulib
59991         * time/mktime.c (WRAPV): New macro.
59992         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
59993         (guess_time_tm, __mktime_internal): Do not assume that signed
59994         integer overflow wraps around; modern compilers generate code
59995         where this assumption is no longer valid.
59997 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59999         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60000         Replace "jmp L(pseudo_end)" with "ret".
60001         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
60002         Likewise.
60004 2012-05-23  Andreas Jaeger  <aj@suse.de>
60006         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
60007         * sysdeps/unix/sysv/linux/poll.c: Remove file.
60009 2012-05-23  Andreas Jaeger  <aj@suse.de>
60010             Maximilian Attems  <max@stro.at>
60012         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
60013         New macros.
60015 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60017         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
60018         code so that pseudo_end is just ret and the stack pointer is
60019         correct also for static library in error case.
60021 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
60023         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
60024         move to syscalls.list.
60025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
60026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
60027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
60028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
60030         * manual/install.texi (Running make install): Do not mention Linux
60031         kernel version for which pt_chown is not needed.
60032         (Linux): Do not mention problems with nscd with 2.0 kernels.
60033         * INSTALL: Regenerated.
60035 2012-05-23  Andreas Jaeger  <aj@suse.de>
60037         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
60038         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
60039         macro.
60040         * sysdeps/unix/sysv/linux/s390/bits/mman.h
60041         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60042         * sysdeps/unix/sysv/linux/sh/bits/mman.h
60043         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60044         * sysdeps/unix/sysv/linux/i386/bits/mman.h
60045         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60046         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
60047         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60048         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
60049         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60050         * sysdeps/unix/sysv/linux/bits/in.h
60051         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
60053 2012-05-22  Roland McGrath  <roland@hack.frob.com>
60055         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
60056         (PREPARE_VERSION): Just use assert instead, it will be elided
60057         under [NDEBUG] anyway.
60059 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60061         * sysdeps/unix/sysv/linux/Makefile: Include
60062         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
60063         (sysdep_routines): Remove sysctl.
60064         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
60065         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
60066         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
60067         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
60068         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
60070 2012-05-22  Andreas Jaeger  <aj@suse.de>
60072         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
60073         that pseudo_end is just ret and the stack pointer is correct also
60074         for static library in error case.
60076 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
60078         [BZ #14122]
60079         * nss/nsswitch.c (defconfig_entries): New variable.
60080         (__nss_database_lookup): Don't leak defconfig entries.
60081         (nss_parse_service_list): Don't leak on error paths.
60082         (free_database_entries): New function.
60083         (free_defconfig): New function.
60084         (free_mem): Move common code to free_database_entries.
60086 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60088         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
60089         Add arch_prctl.
60090         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
60092         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
60093         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
60094         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
60095         New macro.
60096         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
60097         (INTERNAL_SYSCALL_TYPES): Likewise.
60098         (LOAD_ARGS_TYPES_[1-6]): Likewise.
60099         (LOAD_REGS_TYPES_[1-6]): Likewise.
60100         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
60101         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
60103 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60105         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
60106         copysignl for GLIBC_2_0.
60107         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
60108         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
60109         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
60110         logbl for GLIBC_2_0.
60111         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60112         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
60114 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60116         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
60117         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60119         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60120         Use "neg %eax".
60122         * time/mktime.c: Update copyright years.
60124 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60126         mktime: merge comment-quoting-style change from gnulib
60127         * time/mktime.c: Quote 'like this' in comments.
60128         The GNU coding standards suggest that we no longer quote `like this',
60129         as "`" and "'" are typically rendered asymmetrically nowadays.
60130         The typical gnulib style is to quote 'like this' when quoting
60131         code, and "like this" when quoting English.
60133         * time/mktime.c (compile-command): Add "-I.".
60135         mktime: merge mktime-internal.h change from gnulib
60136         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60138         mktime: merge time_r change from gnulib
60139         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60141         mktime: merge DEBUG change from gnulib
60142         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60143         case system <time.h> has a #define.
60145         mktime: merge <sys/types.h> change from gnulib
60146         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60147         since <time.t> is now guaranteed to define time_t.
60149         mktime: merge HAVE_CONFIG_H change from gnulib
60150         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60152 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60155         Use "neg %eax".
60157         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60158         __rlim_t cast.
60159         (struct rusage): Use anonymous union to pad each field to
60160         __syscall_slong_t.
60162 2012-05-21  David S. Miller  <davem@davemloft.net>
60164         * Makefules (o-iterator): Remove .s cases.
60165         (compile-command.s): Delete.
60166         (COMPILE.s): Delete.
60167         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60169 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60171         * configure.in (libc_cv_predef_stack_protector): Only consider
60172         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60173         * configure: Regenerated.
60175 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60178         New macro.  Use R*LP on int and pointer.
60179         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60180         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60181         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60182         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60184         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60185         [__WORDSIZE_TIME64_COMPAT32] instead of
60186         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60187         (struct utmp): Likewise.
60188         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60189         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60190         Renamed to ...
60191         (__WORDSIZE_TIME64_COMPAT32): This.
60192         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60193         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60194         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60195         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60196         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60197         (__WORDSIZE_TIME64_COMPAT32): New macro.
60199 2012-05-21  Andreas Jaeger  <aj@suse.de>
60201         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60202         only if [SHARED]. Add prototype for __wcschr_ia32.
60204 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60206         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60207         of %rbp unmolested in the jmp_buf while mangling the low bits.
60208         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60209         unmolested high bits of %rbp while demangling the low bits.
60210         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60212 2012-05-21  Andreas Jaeger  <aj@suse.de>
60214         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60215         * sunrpc/svc_simple.c: Use it for registerrpc.
60216         * sunrpc/xcrypt.c: Use it for passwd2des.
60218         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60220 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60222         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60223         Don't define if [__SYSCALL_WORDSIZE != 32].
60224         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60225         New macro.
60227 2012-05-21  Bruno Haible  <bruno@clisp.org>
60228             Andreas Jaeger  <aj@suse.de>
60230         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60231         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60232         inptr and inend for must_buffer_ch.
60233         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60234         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60235         * stdio-common/Makefile (tests): Remove bug15.
60236         (bug15-ENV): Remove macro.
60237         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60238         anymore.
60240 2012-05-19  Andreas Jaeger  <aj@suse.de>
60241             Roland McGrath  <roland@hack.frob.com>
60243         * manual/contrib.texi: Completely rewritten. It contains now an
60244         alphabetical list of contributors and their contributions.
60246 2012-05-21  Richard Henderson  <rth@twiddle.net>
60248         * misc/getauxval.c (__getauxval): Use unsigned long int.
60249         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60250         (getauxval): Use unsigned long int.
60252 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60254         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60256 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60258         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60259         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60260         __alignof__ (long double).
60262 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60266 2012-05-20  Richard Henderson  <rth@twiddle.net>
60268         * misc/getauxval.c: New file.
60269         * misc/sys/auxv.h: New file.
60270         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60271         (routines): Add getauxval.
60272         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60273         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60274         * elf/dl-sysdep.c (_dl_auxv): Remove.
60275         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60276         * elf/dl-support.c (_dl_auxv): New variable.
60277         (_dl_aux_init): Initialize it.
60278         * manual/startup.texi (Auxiliary Vector): New node.
60279         * sysdeps/generic/bits/hwcap.h: New file.
60280         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60281         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60282         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60283         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60284         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60285         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60287         Update.
60288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60291         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60297 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60301 2012-05-19  David S. Miller  <davem@davemloft.net>
60303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60305 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60307         [BZ #14123]
60308         * math/s_ccosh.c: Include <float.h>
60309         (__ccosh): Avoid internal overflow calculating sinh and cosh
60310         values before multiplying by sin and cos values.
60311         * math/s_ccoshf.c: Likewise.
60312         * math/s_ccoshl.c: Likewise.
60313         * math/s_csin.c: Likewise.
60314         * math/s_csinf.c: Likewise.
60315         * math/s_csinl.c: Likewise.
60316         * math/s_csinh.c: Likewise.
60317         * math/s_csinhf.c: Likewise.
60318         * math/s_csinhl.c: Likewise.
60319         * math/libm-test.inc (ccos_test): Add more tests.
60320         (ccosh_test): Likewise.
60321         (csin_test): Likewise.
60322         (csinh_test): Likewise.
60323         * sysdeps/i386/fpu/libm-test-ulps: Update.
60324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60326 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60328         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60329         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60331         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60333 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60335         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60336         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60337         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60338         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60339         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60340         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60341         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60342         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60343         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60344         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60345         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60346         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60347         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60348         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60349         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60350         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60351         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60352         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60353         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60354         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60355         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60356         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60357         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60358         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60359         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60360         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60361         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60362         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60363         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60364         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60365         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60367 2012-05-18  Andreas Jaeger  <aj@suse.de>
60369         * csu/.gitignore: Delete.
60371 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60373         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60374         (timex): Use __syscall_slong_t.
60376 2012-05-18  Andreas Jaeger  <aj@suse.de>
60377             Carlos O'Donell  <carlos_odonell@mentor.com>
60379         * manual/install.texi (Configuring and compiling): Update
60380         description about files modified in the source directory.
60381         * INSTALL: Regenerated.
60383 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60385         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60386         value.  Use "or" to set return value to -1.
60387         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60388         negate return value.
60390 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60392         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60393         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60394         failure if the compiler has Graphite support disabled.
60395         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60396         Likewise.
60397         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60398         (CFLAGS-memmove.c): Likewise.
60399         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60400         Likewise.
60402 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60404         * sysdeps/x86_64/x32/_itoa.h: New file.
60406         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60407         getdents system call only if kernel and user dirents have the
60408         same d_ino and d_off.
60410         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60411         LLONG_MAX != LONG_MAX.
60412         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60413         (_fitoa_word): Likewise.
60415         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60416         years.
60417         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60418         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60419         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60421         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60422         include <bits/wordsize.h>.  Check __x86_64__ instead of
60423         __WORDSIZE.
60424         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60425         if __x86_64__ is defined.  Use anonymous union on fpstate.
60427         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60428         anonymous union.
60430 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60432         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60433         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60434         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60435         Refer to _rtld_local_ro instead of _rtld_global_ro.
60436         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60437         Likewise.
60438         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60439         Likewise.
60440         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60441         Likewise.
60442         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60443         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60444         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60446         [BZ #10882]
60447         * sysdeps/powerpc/powerpc32/dl-machine.c
60448         (__elf_machine_runtime_setup) [PROF]: Don't reference
60449         _dl_prof_resolve.
60451 2012-05-18  Andreas Jaeger  <aj@suse.de>
60453         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60454         function only available for GCCs before 3.4 since GCC 3.4
60455         introduced a builtin.
60456         (lrint): Likewise.
60457         (llrintf): Likewise.
60458         (llrint): Likewise.
60459         (fmaxf): Likewise.
60460         (fmax): Likewise.
60461         (fminf): Likewise.
60462         (fmin): Likewise.
60463         (rint): Likewise.
60464         (rintf): Likewise.
60465         (nearbyint): Likewise.
60466         (nearbyintf): Likewise.
60467         (ceil): Likewise.
60468         (ceilf): Likewise.
60469         (floor): Likewise.
60470         (floorf): Likewise.
60472 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60474         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60475         on both fields and cast pointer to __syscall_ulong_t.
60477         * bits/types.h (__fsword_t): New type.
60478         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60479         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60480         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60481         (__FSWORD_T_TYPE): Likewise.
60482         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60483         (__FSWORD_T_TYPE): Likewise.
60484         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60485         (__FSWORD_T_TYPE): Likewise.
60486         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60487         (__FSWORD_T_TYPE): Likewise.
60488         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60489         __SWORD_TYPE with __fsword_t.
60490         (statfs64): Likewise.
60492 2012-05-17  David S. Miller  <davem@davemloft.net>
60494         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
60496 2012-05-17  Andreas Jaeger  <aj@suse.de>
60498         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
60499         warning.
60501 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60503         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
60505 2012-05-17  Andreas Jaeger  <aj@suse.de>
60507         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60508         when it is used.
60510 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60512         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60514 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60516         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60517         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60519 2012-05-17  Andreas Jaeger  <aj@suse.de>
60520             Carlos O'Donell  <carlos_odonell@mentor.com>
60522         [BZ #14059]
60523         * sysdeps/x86_64/multiarch/init-arch.h
60524         (bit_YMM_Usable): Rename to...
60525         (bit_AVX_Usable): ... this.
60526         (bit_FMA4_Usable): New macro.
60527         (bit_XMM_state): New macro.
60528         (bit_YMM_state): New macro.
60529         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
60530         [__ASSEMBLER__] (index_AVX_Usable): ... this.
60531         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
60532         (CPUID_OSXSAVE): New macro.
60533         (CPUID_AVX): New macro.
60534         (CPUID_FMA4): New macro.
60535         (index_YMM_Usable): Rename to...
60536         (index_AVX_Usable): ... this.
60537         (HAS_AVX): Use HAS_ARCH_FEATURE.
60538         (HAS_FMA4): Likewise.
60539         (HAS_YMM_USABLE): Remove.
60540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60541         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
60542         are present.
60543         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
60544         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
60545         * sysdeps/x86_64/multiarch/Makefile: Likewise.
60546         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
60547         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
60549 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60551         * math/libm-test.c: Support platforms without multiple rounding modes.
60552         * math/bug-nextafter.c: Support platforms without FP exceptions.
60553         * math/bug-nexttoward.c: Likewise.
60554         * math/test-fenv.c: Likewise.
60555         * math/test-misc.c: Likewise.
60556         * stdlib/bug-getcontext.c: Likewise.
60558 2012-05-17  Andreas Jaeger  <aj@suse.de>
60560         * manual/examples/search.c (critter_cmp): Change signature to
60561         avoid warnings.
60562         * manual/string.texi (Collation Functions): Likewise.
60564 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60566         * bits/types.h: Fold copyright years.
60567         * bits/typesizes.h: Likewise.
60568         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
60569         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
60570         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
60571         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
60572         * time/time.h: Likewise.
60574 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
60576         [BZ #208]
60577         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
60578         in instead of returning them.  Return void.
60579         (__libc_mallinfo): Accumulate over all arenas.
60580         (__malloc_stats): Adjust for change in int_mallinfo interface.
60582 2012-05-16  Roland McGrath  <roland@hack.frob.com>
60584         [BZ #10375]
60585         * configure.in (NM): Add AC_CHECK_TOOL for it.
60586         (libc_extra_cflags): New substituted variable.
60587         Check for -fstack-protector being used implicitly.
60588         * configure: Regenerated.
60589         * config.make.in (config-extra-cflags): New variable,
60590         gets @libc_extra_cflags@.
60591         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
60593         [BZ #10375]
60594         * configure.in: Check for _FORTIFY_SOURCE being predefined.
60595         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
60596         * configure: Regenerated.
60597         * config.make.in (CPPUNDEFS): New substituted variable.
60598         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
60599         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
60600         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
60602 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60604         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
60605         (mq_attr): Use __syscall_slong_t.
60607 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60609         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
60610         Check __x86_64__ instead of __WORDSIZE.
60611         (_STAT_VER_LINUX): Likewise.
60612         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
60613         __syscall_ulong_t and __syscall_slong_t.
60614         (stat64): Likewise.
60616 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60618         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
60620 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60622         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
60624 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60626         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
60627         __syscall_ulong_t.
60629         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
60630         include <bits/wordsize.h>.  Check __x86_64__ instead of
60631         __WORDSIZE.
60632         (greg_t): Use "__extension__ long long int" if __x86_64__ is
60633         defined.
60634         (mcontext_t): Replace "unsigned long" with "unsigned long long".
60636         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
60637         include <bits/wordsize.h>.  Check __x86_64__ instead of
60638         __WORDSIZE.
60639         (user_regs_struct): Use "__extension__ unsigned long long"
60640         instead of "unsigned long" if __x86_64__ is defined.
60641         (user): Likewise.  Pad after pointer field if __ILP32__ is
60642         defined.
60644 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
60646         * configure.in (makeinfo): Require version 4.5 or later.  Allow
60647         versions 5 to 9.
60648         * configure: Regenerated.
60649         * manual/install.texi (texinfo): Increase version requirement to
60650         4.5 or later.
60651         * INSTALL: Regenerated.
60653         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
60655 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60657         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
60659         * sysdeps/x86_64/x32/ffs.c: New file.
60661         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
60662         __syscall_ulong_t.
60663         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
60664         defined.  Use __syscall_ulong_t.
60665         (shminfo): Use __syscall_ulong_t.
60666         (shm_info): Likewise.
60668         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
60669         __syscall_ulong_t.
60671         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
60672         <bits/wordsize.h>.
60673         (msgqnum_t): Use __syscall_ulong_t.
60674         (msglen_t): Likewise.
60675         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
60676         __syscall_ulong_t.
60678         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
60679         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60681         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
60683         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
60684         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
60686         * sysvipc/sys/msg.h (msgbuf): Replace long int with
60687         __syscall_slong_t.
60689         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
60690         include <bits/wordsize.h>.  Check __x86_64__ instead of
60691         __WORDSIZE.
60693         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
60694         "unsigned long long int" if __x86_64__ is defined.
60695         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
60697         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
60698         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60699         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
60701         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
60702         <stdint.h>.
60703         (GET_PC): Cast to uintptr_t first.
60704         (GET_FRAME): Likewise.
60705         (GET_STACK): Likewise.
60707         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
60708         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
60709         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
60710         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
60711         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
60712         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
60713         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
60714         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
60715         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
60716         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
60717         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
60718         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
60719         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60720         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
60721         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
60722         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
60723         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
60724         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
60725         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
60726         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
60727         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
60728         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
60729         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
60730         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
60731         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
60732         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
60733         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
60734         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
60735         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
60737 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
60739         * Makerules (+depfiles): Also collect depfiles from .oS in
60740         $(extra-objs).
60741         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
60742         .oS, $(libnldbl-routines)).
60744         * Makerules (native-compile-mkdep-flags): Define.
60745         * sunrpc/Makefile (extra-objs): Add $(addprefix
60746         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
60747         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
60748         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
60749         calling $(make-target-directory).
60751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60753         * bits/types.h (__snseconds_t): Removed.
60754         * time/time.h (struct timespec): Replace __snseconds_t with
60755         __syscall_slong_t.
60756         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
60757         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
60758         Likewise.
60759         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60760         (__SNSECONDS_T_TYPE): Likewise.
60761         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60762         (__SNSECONDS_T_TYPE): Likewise.
60763         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60764         (__SNSECONDS_T_TYPE): Likewise.
60766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60768         * sysdeps/mach/hurd/bits/typesizes.h
60769         (__SYSCALL_SLONG_TYPE): New macro.
60770         (__SYSCALL_ULONG_TYPE): Likewise.
60772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60774         * bits/types.h (__syscall_slong_t): New type.
60775         (__syscall_ulong_t): Likewise.
60777         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
60778         (__SYSCALL_ULONG_TYPE): Likewise.
60779         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60780         (__SYSCALL_SLONG_TYPE): Likewise.
60781         (__SYSCALL_ULONG_TYPE): Likewise.
60782         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60783         (__SYSCALL_SLONG_TYPE): Likewise.
60784         (__SYSCALL_ULONG_TYPE): Likewise.
60785         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60786         (__SYSCALL_SLONG_TYPE): Likewise.
60787         (__SYSCALL_ULONG_TYPE): Likewise.
60789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60791         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
60792         Add sigaltstack-offsets.sym.
60793         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
60794         <sigaltstack-offsets.h>.
60795         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
60796         longjmp_msg pointer.
60797         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
60798         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
60799         signal stack.
60800         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
60802 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60804         * elf/stackguard-macros.h: Remove file.
60805         * sysdeps/generic/stackguard-macros.h: New file.
60806         * sysdeps/i386/stackguard-macros.h: Likewise.
60807         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60808         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60809         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60810         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60811         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60812         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60813         * sysdeps/x86_64/stackguard-macros.h: Likewise.
60814         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
60815         <elf/stackguard-macros.h>.
60817         [BZ #14109]
60818         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
60819         __aligned__ in attribute.
60820         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
60821         (gregset_t): Likewise.
60823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60825         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
60826         * sysdeps/x86_64/64/Implies-after: Here.  New file.
60827         * sysdeps/x86_64/x32/Implies-after: New file.
60829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60831         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
60832         and access return value for _dl_profile_fixup.  Use R10_LP to
60833         load frame size.
60835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60837         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
60839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60841         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
60842         * sysdeps/x86_64/x32/sysdep.h: New file.
60844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60846         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
60847         * sysdeps/x86_64/setjmp.S: Likewise.
60849 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60851         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
60852         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
60853         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
60854         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
60855         remove unused global constant.
60857 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
60859         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
60860         include of <not-cancel.h>.
60862 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60864         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
60866 2012-05-15  Jeff Law  <law@redhat.com>
60867             Andreas Jaeger  <aj@suse.de>
60869         [BZ #13594]
60870         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
60871         out from...
60872         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
60873         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
60874         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
60875         code changing __hst_map_handle.map.
60877 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60879         * configure.in (sysnames): Look for Implies-before and Implies-after
60880         files.
60881         * configure: Regenerated.
60883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60885         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
60886         8-byte data alignment with LP_SIZE alignment.
60888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60890         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
60891         into R10_LP.
60893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60895         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
60897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60899         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
60900         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
60901         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
60902         Likewise.
60903         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60907         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60908         (stackinfo_sub_sp): Likewise.
60910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60912         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
60913         RAX_LP.
60915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60917         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
60918         into R*_LP.
60920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60922         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
60923         sizes into R*_LP.
60925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60927         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
60929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60931         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
60932         into R11_LP and load __x86_64_shared_cache_size_half into
60933         R8_LP.
60935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60937         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
60938         R8_LP.
60940 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60942         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
60943         logb for POWER7.
60944         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
60945         logbf for POWER7.
60946         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60947         logbl for POWER7.
60948         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
60949         powerpc32/power7/fpu/s_logb.c via #include.
60950         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
60951         powerpc32/power7/fpu/s_logbf.c via #include.
60952         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
60953         powerpc32/power7/fpu/s_logbl.c via #include.
60955 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60957         * README.libm: Remove file.
60959 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60961         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
60962         count for x32.  Use R*_LP and omit operand-size suffix.
60964 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60966         * shlib-versions: Move x86_64-.*-linux.* entries to ...
60967         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
60968         * sysdeps/x86_64/x32/shlib-versions: New file.
60970 2012-05-14  Roland McGrath  <roland@hack.frob.com>
60972         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
60973         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
60974         Use _dl_fatal_printf instead.
60976 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60978         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
60979         set if not set by the user.  Do not allow for being unset.
60980         * sysdeps/unix/sysv/linux/configure: Regenerated.
60982 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60984         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
60985         the `q' suffix from lea and replace .quad with ASM_ADDR.
60987 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
60990         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
60991         instead of $17.
60992         (PTR_DEMANGLE): Likewise.
60994 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60996         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
60997         (LP_OP): Likewise.
60998         (ASM_ADDR): Likewise.
60999         (RAX_LP): Likewise.
61000         (RBP_LP): Likewise.
61001         (RBX_LP): Likewise.
61002         (RCX_LP): Likewise.
61003         (RDI_LP): Likewise.
61004         (RSI_LP): Likewise.
61005         (RSP_LP): Likewise.
61006         (R8_LP): Likewise.
61007         (R9_LP): Likewise.
61008         (R10_LP): Likewise.
61009         (R10_LP): Likewise.
61010         (R11_LP): Likewise.
61011         (R12_LP): Likewise.
61012         (R13_LP): Likewise.
61013         (R14_LP): Likewise.
61014         (R15_LP): Likewise.
61016 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61018         * sysdeps/x86_64/x32/dl-machine.h: New file.
61020 2012-05-14  Andreas Jaeger  <aj@suse.de>
61022         * manual/Makefile (subdir): Remove export of subdir.
61023         (all): Remove target.
61024         (.PHONY): Remove all from list.
61025         (mkinstalldirs): Remove.
61026         (.PHONY): Remove installdirs from list.
61027         ($(inst_infodir)/libc.info): Use make-target-directory.
61028         (installdirs): Remove.
61029         (subdir_%): Remove.
61030         (glibc-targets): Remove.
61031         (lib): Remove.
61032         (stubs): Remove.
61033         ($(objpfx)stubs ../po/manual.pot): Remove.
61034         ($(objpfx)stamp%): Remove.
61035         (make-target-directory): Remove.
61036         (subdir_install): Remove.
61037         (routines): Remove.
61038         (aux): Remove.
61039         (sources): Remove.
61040         (objects): Remove.
61041         (headers): Remove.
61043         [BZ #13750]
61044         * manual/.gitignore: Remove, it's not needed anymore.
61045         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
61046         all files in it.
61047         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
61048         directory.
61049         (texis): Renamed to $(objpfx)texis.
61050         (texis-path): New, contains path to generated files.
61051         (chapters.%): Use texis-path for complete path, add extra argument
61052         libc-texinfo.sh.
61053         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
61054         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
61055         (summary,texi, stamp-summary): Use complete path of
61056         files. Generate files in build dir.
61057         (dir-add.texi): Build in build dir.
61058         (libm-err.texi,stamp-libm-err): Likewise.
61059         (version.texi, stamp-version): Likewise.
61060         (.%c.texi): Likewise.
61061         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
61062         (mostlyclean): Remove target.
61063         (realclean): Remove target.
61064         (generated): Add new variable with contents from mostlyclean and
61065         realclean, remove entries duplicated in common-mostlyclean, add
61066         stamp-libm-err and stamp-version.
61067         (generated-dirs): Add libc directory.
61068         ($(inst_infodir)/libc.info): Install files from build dir.
61070         * manual/install.texi (Configuring and compiling): Adjust since
61071         the info files are not part of the tar ball anymore.
61073 2012-05-14  Andreas Jaeger  <aj@suse.de>
61075         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
61076         variable.
61078 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61080         [BZ #13717]
61081         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61082         to 2.2.0 where earlier.
61083         * sysdeps/unix/sysv/linux/configure: Regenerated.
61084         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
61085         Remove conditional code.
61086         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
61087         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
61088         Remove conditional code.
61089         [!__NR_lchown]: Likewise.
61090         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61091         [__NR_lchown]: Likewise.
61092         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
61093         comment referencing __ASSUME_LCHOWN_SYSCALL.
61094         * sysdeps/unix/sysv/linux/i386/sigaction.c
61095         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61096         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61097         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
61098         Remove conditional code.
61099         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
61100         (__protocol_available): Remove #if 0 code.
61101         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
61102         conditional code.
61103         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
61104         * sysdeps/unix/sysv/linux/kernel-features.h
61105         (__ASSUME_GETCWD_SYSCALL): Don't define.
61106         (__ASSUME_REALTIME_SIGNALS): Likewise.
61107         (__ASSUME_PREAD_SYSCALL): Likewise.
61108         (__ASSUME_PWRITE_SYSCALL): Likewise.
61109         (__ASSUME_POLL_SYSCALL): Likewise.
61110         (__ASSUME_LCHOWN_SYSCALL): Likewise.
61111         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
61112         non-SPARC.
61113         (__ASSUME_SIOCGIFNAME): Don't define.
61114         (__ASSUME_MSG_NOSIGNAL): Likewise.
61115         (__ASSUME_SENDFILE): Define unconditionally.
61116         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
61117         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
61118         conditional code.
61119         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
61120         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
61121         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61122         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61123         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61124         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61125         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61127         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61128         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61130         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61131         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61133         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61134         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61136         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61137         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61139         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61140         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61142         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61143         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61145         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61146         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61148         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61149         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61150         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61151         Remove conditional code.
61152         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61153         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61154         Remove conditional code.
61155         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61156         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61157         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61158         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61159         Remove conditional code.
61160         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61161         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61162         Remove conditional code.
61163         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61164         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61165         Remove conditional code.
61166         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61167         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61168         Remove conditional code.
61169         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61170         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61171         Remove conditional code.
61172         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61173         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61174         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61175         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61176         * sysdeps/unix/sysv/linux/sigaction.c
61177         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61178         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61179         * sysdeps/unix/sysv/linux/sigpending.c
61180         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61181         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61182         * sysdeps/unix/sysv/linux/sigprocmask.c
61183         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61184         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61185         * sysdeps/unix/sysv/linux/sigsuspend.c
61186         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61187         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61188         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61189         (__libc_missing_rt_sigs): Remove.
61190         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61191         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61192         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61193         Remove conditional code.
61194         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61195         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61196         return 1.
61197         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61198         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61199         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61200         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61202 2012-05-14  Andreas Jaeger  <aj@suse.de>
61204         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61205         it's not used in glibc.
61206         (__coshm1): Likewise.
61207         (__acosh1p): Likewise.
61208         (__sgn): Likewise.
61210         * manual/string.texi (Copying and Concatenation): Add missing
61211         variable in concat example.
61212         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61214 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61216         [BZ #14103]
61217         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61218         __builtin_clzl with __builtin_clzll.
61220 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61222         [BZ #14104]
61223         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61224         libc_freeres_ptr.
61226 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61228         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61229         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61230         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61231         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61233 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61235         * NEWS: Update ia64 info.
61237 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61239         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61240         used as bcopy.
61242 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61244         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61245         * sysdeps/unix/syscalls.list (dup3): Likewise.
61246         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61247         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61249 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61251         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61252         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61254 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61256         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61257         thread pointer.
61258         (TLS_IE): Use mov/add instead of movq/addq to load thread
61259         pointer.
61260         (TLS_GD_PREFIX): New.
61261         (TLS_GD): Use it.
61263 2012-05-11  David S. Miller  <davem@davemloft.net>
61265         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61266         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61267         (_FPU_SETCW): Likewise.
61269 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61271         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61272         is 32-byte aligned.
61274 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61276         [BZ #11837]
61277         * iconvdata/gb18030.c: Update tables.
61278         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61279         characters specially.
61280         (BODY for TO_LOOP): Add encoding of missing ranges.
61282 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61284         [BZ #13673]
61285         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61286         * sysdeps/mach/hurd/dup3.c: Likewise.
61287         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61288         * sysdeps/powerpc/memmove.c:: Likewise.
61290 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61292         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61293         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61295 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61297         * elf/elf.h (R_X86_64_RELATIVE64): New.
61298         (R_X86_64_NUM): Updated.
61299         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61300         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61301         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61302         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61303         tst-quad1pie tst-quad2pie
61304         (modules-names): Add tst-quadmod1 tst-quadmod2.
61305         ($(objpfx)tst-quad1): New dependency.
61306         ($(objpfx)tst-quad2): Likewise.
61307         ($(objpfx)tst-quad1pie): Likewise.
61308         ($(objpfx)tst-quad2pie): Likewise.
61309         * sysdeps/x86_64/tst-quad1.c: New file.
61310         * sysdeps/x86_64/tst-quad1pie.c: New file.
61311         * sysdeps/x86_64/tst-quad2.c: Likewise.
61312         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61313         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61314         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61315         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61316         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61318 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61320         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61321         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61322         * streams/stropts.h (t_scalar_t): Define type.
61324         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61325         (_PATH_PRESERVE): Set to "/var/lib".
61326         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61328         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61329         instead of int.
61331         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61332         if __dir_mkfile succeeded.
61334         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61335         checking for _hurd_dtablesize.  Unlock it right after having
61336         finished _hurd_dtable allocation.
61338 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61340         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61341         * sysdeps/mach/hurd/configure: Regenerated.
61342         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61343         special-casing to...
61344         * sysdeps/gnu/configure.in: ... this new file.
61345         * sysdeps/unix/sysv/linux/configure: Regenerated.
61346         * sysdeps/gnu/configure: New generated file.
61348         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61349         for Linux: use nsec instead of usec, as well as:
61350         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61351         members of type struct timespec.
61352         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61353         New macros.
61354         (struct stat64): Likewise.
61355         (_STATBUF_ST_NSEC): New macro.
61356         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61358         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61359         __strtoul_internal rather than strtoul.
61361 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61363         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61364         and reject them.
61366 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61368         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61369         which preserves existing values.
61370         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61372 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61374         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61375         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61376         greater than FD_SETSIZE.
61378 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61380         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61381         allocated, call __vm_protect to finish enabling the existing space, and
61382         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61383         allocate the remainder.
61385 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61387         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61388         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61390 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61392         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61393         sysdeps/mach/hurd/readlink.c.
61395         * posix/tst-sysconf.c (posix_options): Only use
61396         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61397         _POSIX_SYNCHRONIZED_IO when they are defined
61398         * sysdeps/mach/hurd/bits/posix_opt.h:
61399         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61400         (_XOPEN_REALTIME): Undefine macro.
61401         (_XOPEN_REALTIME_THREADS): Undefine macro.
61402         (_XOPEN_SHM): Undefine macro.
61403         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61404         macro to -1.
61405         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61406         macro to -1.
61407         (_POSIX_ASYNC_IO): Undefine macro.
61408         (_POSIX_PRIORITIZED_IO): Undefine macro.
61409         (_POSIX_SPIN_LOCKS): Define macro to -1.
61411         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61412         SA_NODEFER, SA_RESETHAND.
61413         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61414         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61415         F_DUPFD_CLOEXEC.
61417 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61419         * elf/Makefile (pldd-modules): Define unconditionally.
61421 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61423         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61427         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61428         Return ENOENT when name is empty.
61429         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61431 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61433         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61435         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61437 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61439         Fix mlock in all cases except non-readable pages.
61440         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61441         instead of VM_PROT_ALL as parameter to __vm_wire function.
61443         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61444         (__mkdir): When path is `/', just fail with EEXIST.
61445         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61447 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61449         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61450         <sys/uio.h> (for writev).
61451         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61452         and <sys/param.h> (for MIN).
61454 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61456         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61457         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61458         if interrupted.
61460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61462         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61463         Depend on against $(link-rpcuserlibs).
61465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61467         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61468         (__libc_stack_end): Do not use attribute_relro.
61469         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61470         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61471         to libthread-provided value.
61472         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61473         attribute_relro.
61475 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61477         [BZ #3748]
61478         * bits/libc-lock.h (__libc_once_get): New macro.
61479         * sysdeps/mach/bits/libc-lock.h: Likewise.
61480         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61481         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61482         instead of using implementation details.
61484         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61485         * libio/freopen.c: Likewise.
61486         * libio/freopen64.c: Likewise.
61487         * misc/syslog.c: Likewise.
61488         * nscd/connections.c: Likewise.
61489         * nscd/netgroupcache.c: Likewise.
61490         * sysdeps/posix/getcwd.c: Likewise.
61492 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61494         * math/w_ilogbf.c: Add #include <limits.h>.
61496 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61498         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
61499         path instead of returning without unlocking.
61501         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
61502         immediate-write ioctls.
61503         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
61505 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61507         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61508         __builtin_frame_address instead of making assumptions about the
61509         location of the return address relative to DATA.  Force early load of
61510         the return address.
61511         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61512         __builtin_frame_address.
61514         dup3 for GNU Hurd.
61515         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61516         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61517         implement dup3 and do some further code clean-ups.
61518         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61519         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61521 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61523         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61525         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61526         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61527         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
61528         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
61529         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
61530         d->port.lock.
61532         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
61533         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
61534         when handler == SIG_ERR, not when handler != SIG_ERR.
61536 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61538         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
61539         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
61540         definitions.
61542         accept4 for GNU Hurd.
61543         * include/sys/socket.h (__libc_accept4): New prototype.
61544         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
61545         to implement __libc_accept4.
61546         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
61547         __libc_accept4.
61548         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
61550         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
61551         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
61552         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
61553         signal-defines.sym.
61555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61557         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
61559 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61561         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
61562         assertion on O_CLOEXEC flag.
61563         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
61564         * hurd/intern-fd.c: Likewise.
61565         * hurd/port2fd.c: Likewise.
61567 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61569         [BZ #3906]
61570         * bits/in.h (IPV6_PKTINFO): Define new macro.
61571         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
61573 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61575         [BZ #13954]
61576         [BZ #13955]
61577         [BZ #13956]
61578         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
61579         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61580         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
61581         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61582         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61583         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61584         * math/libm-test.inc (logb_test) : Additional logb tests.
61586 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
61587             Andreas Jaeger  <aj@suse.de>
61589         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
61590         * configure: Regenerated.
61591         * config.h.in (LINK_OBSOLETE_RPC): New macro.
61592         * config.make.in (link-obsolete-rpc): New substituted variable.
61593         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
61594         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
61595         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61596         (shared-only-routines): Don't set it under [link-obsolete-rpc],
61597         so that libc.a contains the symbols.
61598         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61599         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
61600         * sunrpc/auth_none.c: Likewise.
61601         * sunrpc/auth_unix.c: Likewise.
61602         * sunrpc/authdes_prot.c: Likewise.
61603         * sunrpc/authuxprot.c: Likewise.
61604         * sunrpc/clnt_gen.c: Likewise.
61605         * sunrpc/clnt_perr.c: Likewise.
61606         * sunrpc/clnt_raw.c: Likewise.
61607         * sunrpc/clnt_simp.c: Likewise.
61608         * sunrpc/clnt_tcp.c: Likewise.
61609         * sunrpc/clnt_udp.c: Likewise.
61610         * sunrpc/clnt_unix.c: Likewise.
61611         * sunrpc/des_crypt.c: Likewise.
61612         * sunrpc/des_soft.c: Likewise.
61613         * sunrpc/get_myaddr.c: Likewise.
61614         * sunrpc/key_call.c: Likewise.
61615         * sunrpc/key_prot.c: Likewise.
61616         * sunrpc/netname.c: Likewise.
61617         * sunrpc/pm_getmaps.c: Likewise.
61618         * sunrpc/pm_getport.c: Likewise.
61619         * sunrpc/pmap_clnt.c: Likewise.
61620         * sunrpc/pmap_prot.c: Likewise.
61621         * sunrpc/pmap_prot2.c: Likewise.
61622         * sunrpc/pmap_rmt.c: Likewise.
61623         * sunrpc/publickey.c: Likewise.
61624         * sunrpc/rpc_cmsg.c: Likewise.
61625         * sunrpc/rpc_common.c: Likewise.
61626         * sunrpc/rpc_dtable.c: Likewise.
61627         * sunrpc/rpc_prot.c: Likewise.
61628         * sunrpc/rpc_thread.c: Likewise.
61629         * sunrpc/rtime.c: Likewise.
61630         * sunrpc/svc.c: Likewise.
61631         * sunrpc/svc_auth.c: Likewise.
61632         * sunrpc/svc_raw.c: Likewise.
61633         * sunrpc/svc_run.c: Likewise.
61634         * sunrpc/svc_tcp.c: Likewise.
61635         * sunrpc/svc_udp.c: Likewise.
61636         * sunrpc/svc_unix.c: Likewise.
61637         * sunrpc/svcauth_des.c: Likewise.
61638         * sunrpc/xcrypt.c: Likewise.
61639         * sunrpc/xdr.c: Likewise.
61640         * sunrpc/xdr_array.c: Likewise.
61641         * sunrpc/xdr_float.c: Likewise.
61642         * sunrpc/xdr_intXX_t.c: Likewise.
61643         * sunrpc/xdr_mem.c: Likewise.
61644         * sunrpc/xdr_rec.c: Likewise.
61645         * sunrpc/xdr_ref.c: Likewise.
61646         * sunrpc/xdr_sizeof.c: Likewise.
61647         * sunrpc/xdr_stdio.c: Likewise.
61649 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61651         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
61652         change.  Update copyright years.
61654 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61656         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
61658 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
61659             Joseph Myers  <joseph@codesourcery.com>
61660             Paul Pluzhnikov  <ppluzhnikov@google.com>
61662         [BZ #14012]
61663         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
61664         requiring rpcgen.
61665         [cross-compiling] (extra-libs): Likewise.
61666         [cross-compiling] (extra-libs-others): Likewise.
61667         [cross-compiling] (librpcsvc-routines): Likewise.
61668         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
61669         [cross-compiling] (omit-deps): Likewise.
61670         (sunrpc-CPPFLAGS): New variable.
61671         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
61672         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
61673         (cross-rpcgen-objs): New variable.
61674         (extra-objs): Append $(cross-rpcgen-objs).
61675         ($(cross-rpcgen-objs)): New rule.
61676         ($(objpfx)cross-rpcgen): Likewise.
61677         (rpcgen-cmd): Define to use $(built-program-file).  Expand
61678         comment.
61679         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
61680         ($(objpfx)x%.stmp): Likewise.
61681         * sunrpc/proto.h [IS_IN_build] (_): Define.
61682         [IS_IN_build] (_libc_intl_domainname): Likewise.
61684 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61686         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
61687         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
61688         and R_X86_64_TPOFF64.
61690 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61692         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
61693         sysdeps/unix/sysv/syscalls.list.
61694         (stime): Likewise.
61695         (utime): Likewise.
61696         * sysdeps/unix/sysv/syscalls.list: Remove file.
61698 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
61700         [BZ #3440]
61701         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
61702         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
61703         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
61704         (__LC_IDENTIFICATION): Make these macros useful in #if
61705         expressions, as required by C99.
61707 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
61709         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
61710         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
61711         after this.
61713 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
61715         * stdlib/longlong.h: Updated from GCC.
61717 2012-05-09  Andreas Jaeger  <aj@suse.de>
61719         * nscd/nscd.c (run_modes): Make named enum, reorder so that
61720         default is first entry.
61721         (run_mode): Set type.
61722         (main): Remove informal message about syslog.
61723         (options): Fix typo.
61725         [BZ #14053]
61726         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
61727         to asm.
61728         (lrint): Likewise.
61729         (llrintf): Likewise.
61730         (llrint): Likewise.
61731         (rint): Likewise.
61732         (rintf): Likewise.
61733         (nearbyint): Likewise.
61734         (nearbyintf): Likewise.
61736 2012-05-09  Andreas Jaeger  <aj@suse.de>
61737             Pedro Alves  <palves@redhat.com>
61739         * nscd/nscd.c (run_mode): Use enum.
61740         (main): Cleanup coding style issue.
61742 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
61743             Andreas Jaeger  <aj@suse.de>
61745         * nscd/nscd.c (go_background): Replaced with...
61746         (run_mode): ... this.
61747         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
61748         (options): Add -F --foreground.
61749         (main): Implement it.
61750         (parse_opt): Parse it.
61752 2012-05-09  Andreas Jaeger  <aj@suse.de>
61754         [BZ #14083]
61755         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
61756         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
61757         -Wconversion warning.
61758         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
61759         Likewise.
61761 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
61763         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
61764         == 0.
61765         (LC_ALL): Use macro-int-constant.
61766         (LC_COLLATE): Likewise.
61767         (LC_CTYPE): Likewise.
61768         (LC_MESSAGES): Likewise.
61769         (LC_MONETARY): Likewise.
61770         (LC_NUMERIC): Likewise.
61771         (LC_TIME): Likewise.
61772         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
61773         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61774         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61775         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
61776         Specify type.
61777         [C99-based standards] (float_t): Expect type.
61778         [C99-based standards] (double_t): Expect type.
61779         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
61780         type.
61781         [C99-based standards] (HUGE_VALL): Likewise.
61782         [C99-based standards] (INFINITY): Likewise.
61783         [C99-based standards] (NAN): Likewise.
61784         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
61785         [C99-based standards] (FP_NAN): Likewise.
61786         [C99-based standards] (FP_NORMAL): Likewise.
61787         [C99-based standards] (FP_SUBNORMAL): Likewise.
61788         [C99-based standards] (FP_ZERO): Likewise.
61789         [C99-based standards] (FP_FAST_FMA): Use
61790         optional-macro-int-constant.  Specify type.  Require == 1.
61791         [C99-based standards] (FP_FAST_FMAF): Likewise.
61792         [C99-based standards] (FP_FAST_FMAL): Likewise.
61793         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
61794         [C99-based standards] (FP_ILOGBNAN): Likewise.
61795         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
61796         Specify type.
61797         [C99-based standards] (MATH_ERREXCEPT): Likewise.
61798         [C99-based standards] (math_errhandling): Specify type.
61799         [ISO99 || ISO11] (signgam): Do not allow.
61800         [non-C99-based standards] (copysignf): Do not allow.
61801         [non-C99-based standards] (exp2f): Likewise.
61802         [non-C99-based standards] (log2f): Likewise.
61803         [non-C99-based standards] (modff): Allow.
61804         [non-C99-based standards] (erff): Do not allow.
61805         [non-C99-based standards] (erfcf): Likewise.
61806         [non-C99-based standards] (gammaf): Likewise.
61807         [non-C99-based standards] (hypotf): Likewise.
61808         [non-C99-based standards] (j0f): Likewise.
61809         [non-C99-based standards] (j1f): Likewise.
61810         [non-C99-based standards] (jnf): Likewise.
61811         [non-C99-based standards] (lgammaf): Likewise.
61812         [non-C99-based standards] (tgammaf): Likewise.
61813         [non-C99-based standards] (y0f): Likewise.
61814         [non-C99-based standards] (y1f): Likewise.
61815         [non-C99-based standards] (ynf): Likewise.
61816         [non-C99-based standards] (isnanf): Likewise.
61817         [non-C99-based standards] (acoshf): Likewise.
61818         [non-C99-based standards] (asinhf): Likewise.
61819         [non-C99-based standards] (atanhf): Likewise.
61820         [non-C99-based standards] (cbrtf): Likewise.
61821         [non-C99-based standards] (expm1f): Likewise.
61822         [non-C99-based standards] (ilogbf): Likewise.
61823         [non-C99-based standards] (log1pf): Likewise.
61824         [non-C99-based standards] (logbf): Likewise.
61825         [non-C99-based standards] (nextafterf): Likewise.
61826         [non-C99-based standards] (remainderf): Likewise.
61827         [non-C99-based standards] (rintf): Likewise.
61828         [non-C99-based standards] (scalbf): Likewise.
61829         [non-C99-based standards] (copysignl): Likewise.
61830         [non-C99-based standards] (exp2l): Likewise.
61831         [non-C99-based standards] (log2l): Likewise.
61832         [non-C99-based standards] (modfl): Allow.
61833         [non-C99-based standards] (erfl): Do not allow.
61834         [non-C99-based standards] (erfcl): Likewise.
61835         [non-C99-based standards] (gammal): Likewise.
61836         [non-C99-based standards] (hypotl): Likewise.
61837         [non-C99-based standards] (j0l): Likewise.
61838         [non-C99-based standards] (j1l): Likewise.
61839         [non-C99-based standards] (jnl): Likewise.
61840         [non-C99-based standards] (lgammal): Likewise.
61841         [non-C99-based standards] (tgammal): Likewise.
61842         [non-C99-based standards] (y0l): Likewise.
61843         [non-C99-based standards] (y1l): Likewise.
61844         [non-C99-based standards] (ynl): Likewise.
61845         [non-C99-based standards] (isnanl): Likewise.
61846         [non-C99-based standards] (acoshl): Likewise.
61847         [non-C99-based standards] (asinhl): Likewise.
61848         [non-C99-based standards] (atanhl): Likewise.
61849         [non-C99-based standards] (cbrtl): Likewise.
61850         [non-C99-based standards] (expm1l): Likewise.
61851         [non-C99-based standards] (ilogbl): Likewise.
61852         [non-C99-based standards] (log1pl): Likewise.
61853         [non-C99-based standards] (logbl): Likewise.
61854         [non-C99-based standards] (nextafterl): Likewise.
61855         [non-C99-based standards] (remainderl): Likewise.
61856         [non-C99-based standards] (rintl): Likewise.
61857         [non-C99-based standards] (scalbl): Likewise.
61858         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61859         [non-C99-based standards] (FP_*): Do not allow.
61860         [C99-based standards] (FP_*): Change to
61861         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61862         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61863         allow.
61864         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
61865         (SIG_ERR): Likewise.
61866         [X/Open-based standards] (SIG_HOLD): Likewise.
61867         (SIG_IGN): Likewise.
61868         (SIGABRT): Use macro-int-constant.  Specify type.  Require
61869         positive value.
61870         (SIGFPE): Likewise.
61871         (SIGILL): Likewise.
61872         (SIGINT): Likewise.
61873         (SIGSEGV): Likewise.
61874         (SIGTER): Likewise.
61875         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
61876         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
61877         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
61878         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
61879         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
61880         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
61881         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
61882         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
61883         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
61884         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
61885         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
61886         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
61887         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
61888         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
61889         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
61890         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
61891         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
61892         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
61893         [X/Open-based standards] (SIGTRAP): Likewise.
61894         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
61895         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
61896         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
61897         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
61898         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61899         allow.
61901 2012-05-08  Ian Wienand  <ianw@vmware.com>
61903         [BZ #14080]
61904         * time/tzset.c (__tzset_parse_tz): Update default rules for
61905         daylight time changes in the Energy Policy Act of 2005.
61907 2012-05-09  Andreas Jaeger  <aj@suse.de>
61909         [BZ #13983]
61910         * elf/ldconfig.c (parse_conf): Change string to make clear that
61911         ldconfig only issued a warning if ld.so.conf does not exist.
61913 2012-05-08  David S. Miller  <davem@davemloft.net>
61915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
61916         movxtod instead of popping the value on the stack.
61918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61920 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
61922         * config.h.in: Add HAVE_ARM_PCS_VFP.
61924 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
61926         [BZ #13979]
61927         * include/features.h: Warn if user requests __FORTIFY_SOURCE
61928         checking but the checks are disabled for any reason.
61930 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
61932         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
61933         and ELF64_R_TYPE with ELFW(R_TYPE).
61935 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
61937         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
61938         (ulimit): Likewise.
61940         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
61941         (settimeofday): Likewise.
61943 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
61945         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
61946         a struct th_u2 inside the union, and move tu_block/tu_code into
61947         a new th_u3 union of tu_block/tu_code inside of that.  Move
61948         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
61949         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
61950         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
61951         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
61952         (th_stuff): Change to th_u1.tu_stuff.
61953         (th_data): Define.
61954         (th_msg): Change to th_u1.th_u2.tu_data.
61956 2012-05-07  David S. Miller  <davem@davemloft.net>
61958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61960         [BZ #14074]
61961         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
61962         (SETUP_PIC_REG): Use it.
61963         (SETUP_PIC_REG_LEAF): Use it.
61965 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
61967         [BZ #13885]
61968         [BZ #13923]
61969         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61970         USE_AS_EXPM1L.
61971         (EXPL_FINITE): Likewise.
61972         (FLDLOG): Likewise.
61973         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61974         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61975         e_expl.S.
61976         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61977         USE_AS_EXPM1L.
61978         (EXPL_FINITE): Likewise.
61979         (FLDLOG): Likewise.
61980         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61981         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61982         e_expl.S.
61983         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
61984         test of -max_value argument for long double.
61985         * sysdeps/i386/fpu/libm-test-ulps: Update.
61986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61988 2012-05-06  David S. Miller  <davem@davemloft.net>
61990         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
61991         quad soft-float symbols whose references which are compiler
61992         generated.
61993         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61995 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
61997         [BZ #13884]
61998         [BZ #13914]
61999         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62000         USE_AS_EXP10L.
62001         (EXPL_FINITE): Likewise.
62002         (FLDLOG): Likewise.
62003         (c0): Likewise.
62004         (c1): Likewise.
62005         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62006         Adjust comments for base varying.
62007         (__expl_finite): Change alias to EXPL_FINITE.
62008         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
62009         e_expl.S.
62010         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
62011         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
62012         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62013         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
62014         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62015         USE_AS_EXP10L.
62016         (EXPL_FINITE): Likewise.
62017         (FLDLOG): Likewise.
62018         (c0): Likewise.
62019         (c1): Likewise.
62020         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62021         Adjust comments for base varying.
62022         (__expl_finite): Change alias to EXPL_FINITE.
62023         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
62024         tests for bugs.
62025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62027         [BZ #14064]
62028         * math/libm-test.inc (check_float_internal): Correct ulp
62029         calculation for subnormal expected results.
62031 2012-05-06  Andreas Jaeger  <aj@suse.de>
62033         * Makeconfig (+math-flags): New, set to -frounding-math.
62034         (+cflags): Add +math-flags so that all of glibc gets compiled with
62035         it.
62037         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
62039 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
62041         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
62042         Disable one test.
62044         [BZ #13787]
62045         [BZ #13922]
62046         [BZ #14036]
62047         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
62048         (__ieee754_expl): Allow for and saturate large arguments.
62049         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
62050         (u_threshold): Likewise.
62051         (__exp): Call __ieee754_exp before checking for overflow and
62052         underflow.
62053         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
62054         (u_threshold): Likewise.
62055         (__expf): Call __ieee754_expf before checking for overflow and
62056         underflow.
62057         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
62058         (u_threshold): Likewise.
62059         (__expl): Call __ieee754_expl before checking for overflow and
62060         underflow.
62061         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
62062         (__ieee754_expl): Allow for and saturate large arguments.
62063         * math/libm-test.inc (exp_test): Add another test.  Do not allow
62064         missing overflow exception on overflow.
62065         (expm1_test): Do not allow missing overflow exception on overflow.
62067         * sysdeps/i386/fpu/e_expl.c: Move to ...
62068         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
62069         rather than using inline asm.
62070         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
62071         * sysdeps/x86_64/fpu/e_expl.S: Copy from
62072         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
62074         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
62075         (nice): Likewise.
62076         (poll): Likewise.
62077         (signal): Likewise.
62078         (time): Likewise.
62079         (times): Likewise.
62081 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62083         * sysdeps/unix/syscalls.list (adjtime): Add entry from
62084         sysdeps/unix/common/syscalls.list.
62085         (fchmod): Likewise.
62086         (fchown): Likewise.
62087         (ftruncate): Likewise.
62088         (getrusage): Likewise.
62089         (gettimeofday): Likewise.
62090         (setpgid): Likewise.
62091         (setregid): Likewise.
62092         (setreuid): Likewise.
62093         (sigaction): Likewise.
62094         (truncate): Likewise.
62095         (vhangup): Likewise.
62096         * sysdeps/unix/common/syscalls.list: Remove file.
62097         * sysdeps/unix/bsd/Implies: Don't include unix/common.
62098         * sysdeps/unix/sysv/linux/Implies: Likewise.
62100 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
62102         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
62104         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
62105         Moved to ...
62106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62107         Here.
62108         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
62109         to ...
62110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
62111         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
62112         to ...
62113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
62114         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
62115         to ...
62116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
62117         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
62118         to ...
62119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
62120         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
62121         to ...
62122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
62123         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62124         to ...
62125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62126         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62127         to ...
62128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62129         Here.
62130         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62131         to ...
62132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62133         Here.
62134         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62135         to ...
62136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62137         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62138         Moved to ...
62139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62140         Here.
62141         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62142         to ...
62143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62145 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62147         * sysdeps/unix/common/bits/dirent.h: Remove file.
62148         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62150         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62151         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62152         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62153         * sysdeps/unix/bsd/isatty.c: Likewise.
62154         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62155         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62156         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62158 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62160         [BZ #13563]
62161         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62162         long double comparison inaccuracies.
62163         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62166 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62168         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62169         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62171 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62173         [BZ #14049]
62174         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62175         nonzero digits before rounding a hex value.
62176         * stdlib/tst-strtod.c (tests): Add another test.
62178 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62180         * sysdeps/s390/fpu/libm-test-ulps: Update.
62182 2012-05-03  Andreas Jaeger  <aj@suse.de>
62184         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62185         does not get optimized out.
62186         (malloc_opt_barrier): New.
62188 2012-05-03  Andreas Jaeger  <aj@suse.de>
62189             Roland McGrath  <roland@hack.frob.com>
62191         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62192         intermediate file deletion.
62193         (generated): Add .symlist files.
62195 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62197         [BZ #13775]
62198         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62199         Redirect under this condition.
62200         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62201         [__USE_GNU] (__dprintf_chk): Not under this condition.
62202         [__USE_GNU] (__vdprintf_chk): Likewise.
62203         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62204         under this condition.
62205         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62206         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62207         [__USE_XOPEN2K8] (vdprintf): Likewise.
62208         [__USE_GNU] (__dprintf_chk): Not under this condition.
62209         [__USE_GNU] (__vdprintf_chk): Likewise.
62210         [__USE_GNU] (dprintf): Likewise.
62211         [__USE_GNU] (vdprintf): Likewise.
62213 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62215         * elf/Makefile (common-generated): Set this instead of generated for
62216         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62217         $(all-built-dso)-derived lists.
62219 2012-05-03  Andreas Jaeger  <aj@suse.de>
62221         * sysdeps/i386/fpu/libm-test-ulps: Update.
62223         * FAQ: Removed.
62224         * FAQ.in: Likewise.
62225         * scripts/gen-FAQ.pl: Likewise.
62226         * manual/install.texi (Installation): Point to online location of
62227         FAQ.
62228         * Makefile (files-for-dist): Remove FAQ.
62229         (FAQ): Remove.
62231 2012-05-02  Allan McRae  <allan@archlinux.org>
62233         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62234         (LDFLAGS-reldepmod5.so): Likewise.
62235         (LDFLAGS-reldep6mod1.so): Likewise.
62236         (LDFLAGS-reldep6mod4.so): Likewise.
62237         (LDFLAGS-reldep8mod3.so): Likewise.
62238         (LDFLAGS-unload4mod1.so): Likewise.
62239         (LDFLAGS-unload4mod2.so): Likewise.
62240         (LDFLAGS-tst-initorder): Likewise.
62241         (LDFLAGS-tst-initordera2.so): Likewise.
62242         (LDFLAGS-tst-initordera3.so): Likewise.
62243         (LDFLAGS-tst-initordera4.so): Likewise.
62244         (LDFLAGS-tst-initorderb2.so): Likewise.
62245         (LDFLAGS-noload): Likewise.
62246         (LDFLAGS-next): Likewise.
62247         (LDFLAGS-order2mod1.so): Likewise.
62248         (LDFLAGS-order2mod2.so): Likewise.
62249         (LDFLAGS-tst-initorder2): Likewise.
62250         (LDFLAGS-tst-initorder2a.so): Likewise.
62251         (LDFLAGS-tst-initorder2b.so): Likewise.
62252         (LDFLAGS-tst-initorder2c.so): Likewise.
62253         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62255 2012-05-02  David S. Miller  <davem@davemloft.net>
62257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62259 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62261         [BZ #14055]
62262         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62264 2012-05-02  Andreas Jaeger  <aj@suse.de>
62266         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62267         since we manipulate rounding mode.
62268         (CPPFLAGS-test-idouble.c): Likewise.
62269         (CPPFLAGS-test-ifloat.c): Likewise.
62270         (CFLAGS-test-ldouble.c): Likewise.
62271         (CFLAGS-test-double.c): Likewise.
62272         (CFLAGS-test-float.c): Likewise.
62273         (CFLAGS-test-misc.c): Likewise.
62274         (CFLAGS-test-test-fenv.c): Likewise.
62276 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62278         [BZ #2550]
62279         [BZ #2570]
62280         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62281         comparisons to determine direction to adjust input.
62283 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62285         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62286         output to the target.
62288         * scripts/localplt.awk: New file.
62289         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62290         (check-localplt-CFLAGS): Variable removed.
62291         ($(all-built-dso:=.jmprel)): New static pattern rule.
62292         (generated): Add those targets.
62293         (localplt-built-dso): New variable.
62294         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62296         * elf/check-localplt.c: File removed.
62298         * scripts/check-execstack.awk: New file.
62299         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62300         (check-execstack-CFLAGS): Variable removed.
62301         ($(objpfx)check-execstack.h): Target removed.
62302         ($(objpfx)execstack-default): New target.
62303         (generated): Add that instead of check-execstack.h.
62304         ($(all-built-dso:=.phdr)): New static pattern rule.
62305         (generated): Add those targets.
62306         * elf/check-execstack.c: File removed.
62308         * scripts/check-textrel.awk: New file.
62309         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62310         (check-textrel-CFLAGS): Variable removed.
62311         (all-built-dso): Use := to define.o
62312         ($(all-built-dso:=.dyn)): New static pattern rule.
62313         (generated): Add those targets.
62314         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62315         * config.make.in (READELF): New substituted variable.
62316         * elf/check-textrel.c: File removed.
62318 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62320         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62321         allow.
62322         * conform/data/ctype.h-data [C99-based standards] (isblank):
62323         Expect function.
62324         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62325         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62326         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62327         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62328         Specify type.  Require positive value.
62329         (EILSEQ): Likewise.
62330         (ERANGE): Likewise.
62331         [ISO || POSIX] (EILSEQ): Do not expect.
62332         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62333         Specify type.  Require positive value.
62334         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62335         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62336         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62337         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62338         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62339         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62340         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62341         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62342         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62343         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62344         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62345         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62346         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62347         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62348         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62349         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62350         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62351         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62352         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62353         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62354         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62355         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62356         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62357         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62358         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62359         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62360         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62361         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62362         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62363         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62364         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62365         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62366         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62367         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62368         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62369         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62370         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62371         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62372         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62373         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62374         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62375         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62376         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62377         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62378         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62379         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62380         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62381         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62382         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62383         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62384         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62385         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62386         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62387         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62388         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62389         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62390         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62391         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62392         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62393         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62394         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62395         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62396         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62397         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62398         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62399         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62400         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62401         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62402         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62403         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62404         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62405         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62406         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62407         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62408         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62409         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62410         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62411         Require >= 2.
62412         (FLT_ROUNDS): Expect as macro, not constant.
62413         (FLT_MANT_DIG): Use macro-int-constant.
62414         (DBL_MANT_DIG): Likewise.
62415         (LDBL_MANT_DIG): Likewise.
62416         (FLT_DIG): Likewise.
62417         (DBL_DIG): Likewise.
62418         (LDBL_DIG): Likewise.
62419         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62420         (DBL_MIN_EXP): Likewise.
62421         (LDBL_MIN_EXP): Likewise.
62422         (FLT_MAX_EXP): Use macro-int-constant.
62423         (DBL_MAX_EXP): Likewise.
62424         (LDBL_MAX_EXP): Likewise.
62425         (FLT_MAX_10_EXP): Likewise.
62426         (DBL_MAX_10_EXP): Likewise.
62427         (LDBL_MAX_10_EXP): Likewise.
62428         (FLT_MAX): Use macro-constant.
62429         (DBL_MAX): Likewise.
62430         (LDBL_MAX): Likewise.
62431         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62432         (DBL_EPSILON): Likewise.
62433         (LDBL_EPSILON): Likewise.
62434         (FLT_MIN): Likewise.
62435         (DBL_MIN): Likewise.
62436         (LDBL_MIN): Likewise.
62437         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62438         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62439         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62440         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62441         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62442         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62443         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62444         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62445         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62446         [ISO11] (FLT_TRUE_MIN): Likewise.
62447         [ISO11] (LDBL_TRUE_MIN): Likewise.
62448         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62449         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62450         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62451         (SCHAR_MAX): Likewise.
62452         (UCHAR_MAX): Likewise.
62453         (CHAR_MIN): Likewise.
62454         (CHAR_MAX): Likewise.
62455         (MB_LEN_MAX): Use macro-int-constant.
62456         (SHRT_MIN): Use macro-int-constant.  Specify type.
62457         (SHRT_MAX): Likewise.
62458         (USHRT_MAX): Likewise.
62459         (INT_MAX): Likewise.
62460         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62461         bound negative.
62462         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62463         bound with "U".
62464         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62465         bound with "L".
62466         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62467         bound negative.  Suffix upper bound with "L".
62468         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62469         bound with "UL".
62470         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62471         Specify type.
62472         [C99-based standards] (LLONG_MAX): Likewise.
62473         [C99-based standards] (ULLONG_MAX): Likewise.
62474         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62475         == 0.
62476         [ISO11] (max_align_t): Require type.
62477         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62479         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62480         from $CFLAGS, without defining away __attribute__ calls.
62481         (checknamespace): Use $CFLAGS_namespace.
62483         * conform/conformtest.pl (@keywords): Only include C99 keywords
62484         for standards based on C99 or C11.
62486         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62487         Disable tests.
62488         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62489         UNIX98]: Likewise.
62491         * conform/conformtest.pl: Handle "macro-int-constant" and test for
62492         usability of symbols in #if.
62494         * conform/conformtest.pl: If macro or constant types start
62495         "promoted:", expect the symbol to be of the following type
62496         promoted by the integer promotions.
62498         * conform/conformtest.pl: Parse all "constant" and "macro" lines
62499         in one place.  Also handle "macro-constant".
62501         * conform/conformtest.pl: Only accept expected macro values with
62502         "==".  Parse all "macro" lines in one place.
62503         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
62505         * conform/conformtest.pl: Handle braced types on "constant" lines
62506         instead of handling "typed-constant".
62507         * conform/data/signal.h-data: Use "constant" instead of
62508         "typed-constant".
62510         * conform/conformtest.pl: Handle "optional-" at start of lines in
62511         one place rather than duplicating several cases.  Handle each
62512         format of "macro" line with initial "optional-".
62514         * conform/conformtest.pl: Only accept expected constant or
62515         optional-constant values with "==".  Parse all "constant" lines in
62516         one place.  Parse all "optional-constant" lines in one place.
62517         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62518         * conform/data/fmtmsg.h-data: Likewise.
62519         * conform/data/netinet/in.h-data: Likewise.
62520         * conform/data/tar.h-data: Likewise.
62521         * conform/data/limits.h-data: Use "==" form on "constant" and
62522         "optional-constant" lines.
62524         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62525         Use -std=c99 for XOPEN2K.
62526         (@knownproblems): Remove.
62527         (newtoken): Don't check %isknown.
62529         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
62530         Do not expect macro.
62531         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
62532         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
62533         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
62534         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
62535         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
62536         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
62537         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
62538         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
62539         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
62540         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
62541         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
62542         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
62543         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
62544         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
62545         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
62546         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
62547         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
62548         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
62549         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62550         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
62551         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
62552         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
62553         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
62554         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
62555         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
62556         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
62557         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
62558         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
62559         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
62560         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
62561         [XPG3] (acosh): Likewise.
62562         [XPG3] (asinh): Likewise.
62563         [XPG3] (atanh): Likewise.
62564         [XPG3] (cbrt): Likewise.
62565         [XPG3] (expm1): Likewise.
62566         [XPG3] (ilogb): Likewise.
62567         [XPG3] (log1p): Likewise.
62568         [XPG3] (logb): Likewise.
62569         [XPG3] (nextafter): Likewise.
62570         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
62571         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
62572         [XPG3] (remainder): Likewise.
62573         [XPG3] (rint): Likewise.
62574         [XPG3 || XPG4 || UNIX98] (round): Likewise.
62575         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
62576         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
62577         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
62578         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
62579         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
62580         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
62581         [UNIX98 || XOPEN2K] (scalb): Expect.
62582         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
62583         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
62584         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
62585         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
62586         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
62587         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
62588         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
62589         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
62590         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
62591         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
62592         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
62593         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
62594         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
62595         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
62596         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
62597         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
62598         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
62599         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
62600         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
62601         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
62602         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
62603         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
62604         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
62605         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
62606         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
62607         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
62608         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
62609         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
62610         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
62611         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
62612         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
62613         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
62614         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
62615         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
62616         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
62617         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
62618         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
62619         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
62620         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
62621         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
62622         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
62623         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
62624         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
62625         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
62626         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
62627         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
62628         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
62629         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
62630         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
62631         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
62632         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
62633         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
62634         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
62635         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
62636         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
62637         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
62638         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
62639         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
62640         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
62641         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
62642         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
62643         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
62644         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
62645         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
62646         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
62647         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
62648         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
62649         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
62650         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
62651         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
62652         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
62653         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
62654         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
62655         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
62656         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
62657         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
62658         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
62659         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
62660         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
62661         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
62662         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
62663         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
62664         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
62665         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
62666         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
62667         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
62668         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
62669         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
62670         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
62671         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
62672         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
62673         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
62674         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
62675         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
62676         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
62677         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
62678         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
62679         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
62680         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
62681         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
62682         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
62683         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
62684         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
62685         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
62686         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
62687         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
62688         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
62689         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
62690         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
62691         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
62692         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
62693         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
62694         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
62695         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
62696         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
62697         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
62698         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
62699         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
62700         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
62701         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
62702         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
62703         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
62704         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
62705         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
62706         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
62707         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
62708         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
62709         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
62710         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
62711         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
62712         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
62713         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
62714         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
62715         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
62716         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
62717         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
62718         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
62720         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
62721         _XOPEN_SOURCE_EXTENDED for XPG4.
62723         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
62725         * Makeconfig (localtime): Remove variable.
62726         (inst_localtime-file): Likewise.
62728 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
62731         Update.
62732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62733         Update.
62734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
62735         Update.
62736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62737         Update.
62738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
62739         Update.
62740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
62741         Update.
62742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62743         Update.
62744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
62745         Update.
62746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62747         Update.
62749 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62751         [BZ #2550]
62752         [BZ #2570]
62753         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
62754         comparisons to determine direction to adjust input.
62755         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
62756         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
62757         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
62758         Likewise.
62759         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
62760         Likewise.
62761         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62762         Likewise.
62763         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
62764         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
62765         Likewise.
62766         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
62767         Likewise.
62768         * math/libm-test.inc (nexttoward_test): Add more tests.
62770 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62772         [BZ #14040]
62773         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
62774         in version GLIBC_2.1, not GLIBC_2.0.
62775         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
62776         Likewise.
62778 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
62780         [BZ #13942]
62781         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
62782         (1 - x) * (1 + x).
62783         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62784         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
62785         * math/libm-test.inc (acos_test): Add more tests.
62786         (asin_test): Likewise.
62787         * sysdeps/i386/fpu/libm-test-ulps: Update.
62788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62790         [BZ #14034]
62791         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
62792         of square root.
62793         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
62794         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62795         * math/libm-test.inc (acos_test_tonearest): New function.
62796         (acos_test_towardzero): Likewise.
62797         (acos_test_downward): Likewise.
62798         (acos_test_upward): Likewise.
62799         (asin_test_tonearest): Likewise.
62800         (asin_test_towardzero): Likewise.
62801         (asin_test_downward): Likewise.
62802         (asin_test_upward): Likewise.
62803         (main): Call the new functions.
62804         * sysdeps/i386/fpu/libm-test-ulps: Update.
62805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62807         [BZ #13884]
62808         [BZ #13924]
62809         * math/e_exp10.c: Include <float.h>.
62810         (__ieee754_exp10): Handle underflow here rather than multiplying
62811         large negative argument by M_LN10.
62812         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
62813         of __ieee754_expf.
62814         * math/e_exp10l.c: Include <float.h>.
62815         (__ieee754_exp10l): Handle underflow here rather than multiplying
62816         large negative argument by M_LN10l.
62817         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
62818         spurious overflow exception on underflow.
62820 2012-04-29  Marek Polacek  <polacek@redhat.com>
62822         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
62823         (__fortify_function): New macro.
62824         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
62825         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
62826         __extern_always_inline.
62827         * libio/bits/stdio2.h: Likewise.
62828         * libio/bits/stdio.h: Likewise.
62829         * string/string.h: Likewise.
62830         * string/bits/string3.h: Likewise.
62831         * include/stdio.h: Likewise.
62832         * stdlib/bits/stdlib.h: Likewise.
62833         * stdlib/stdlib.h: Likewise.
62834         * rt/bits/mqueue2.h: Likewise.
62835         * rt/mqueue.h: Likewise.
62836         * posix/bits/unistd.h: Likewise.
62837         * posix/unistd.h: Likewise.
62838         * io/bits/poll2.h: Likewise.
62839         * io/bits/fcntl2.h: Likewise.
62840         * io/fcntl.h: Likewise.
62841         * io/sys/poll.h: Likewise.
62842         * misc/bits/syslog.h: Likewise.
62843         * misc/bits/syslog-ldbl.h: Likewise.
62844         * misc/sys/syslog.h: Likewise.
62845         * socket/bits/socket2.h: Likewise.
62846         * socket/sys/socket.h: Likewise.
62847         * debug/tst-chk1.c: Likewise.
62848         * wcsmbs/bits/wchar2.h: Likewise.
62849         * wcsmbs/bits/wchar-ldbl.h: Likewise.
62850         * wcsmbs/wchar.h: Likewise.
62852 2012-04-29  Andreas Jaeger  <aj@suse.de>
62854         * Makerules (tests): Remove enable-check-abi protection.
62855         (check-abi-warn): Remove.
62856         (check-abi-%): Remove check-abi-warn usage.
62858         * configure.in: Remove check-abi configure option.
62859         * configure: Regenerated.
62860         * config.make.in (enable-check-abi): Remove.
62862 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
62864         [BZ #14033]
62865         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
62866         double functions to double *_finite functions.
62868         [BZ #13941]
62869         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
62870         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
62871         LDBL_MIN_EXP.
62872         * stdio-common/Makefile (tests): Add tst-sprintf3.
62873         * stdio-common/tst-sprintf3.c: New file.
62875         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
62876         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
62878 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62880         * conform/conformtest.pl: Remove duplicate typed-constant
62881         handling.
62883 2012-04-28  David S. Miller  <davem@davemloft.net>
62885         * Makerules (%.abilist): Add vpath on sysdep_dirs.
62886         (check-abi-%): Remove AWK script prerequisite and explicit
62887         abilist directory.
62888         (check-abi): Rewrite to just diff the symlist with the abilist.
62889         (config-tls, config-abi-config): Delete, no longer used.
62890         (update-abi-%): Remove AWK script and explicit abilist directory.
62891         (update-abi): Rewrite to simply compare and conditionally copy the
62892         symlist and the sysdep abilist file.  Remove update-abi-config
62893         checks.
62894         * abilist/ld.abilist: Remove.
62895         * abilist/libBrokenLocale.abilist: Remove.
62896         * abilist/libanl.abilist: Remove.
62897         * abilist/libcrypt.abilist: Remove.
62898         * abilist/libdl.abilist: Remove.
62899         * abilist/librt.abilist: Remove.
62900         * abilist/libthread_db.abilist: Remove.
62901         * abilist/libutil.abilist: Remove.
62902         * scripts/extract-abilist.awk: Remove.
62903         * scripts/merge-abilist.awk: Remove.
62904         * sysdeps/generic/libcidn.abilist: New file.
62905         * sysdeps/generic/libnss_compat.abilist: New file.
62906         * sysdeps/generic/libnss_db.abilist: New file.
62907         * sysdeps/generic/libnss_dns.abilist: New file.
62908         * sysdeps/generic/libnss_files.abilist: New file.
62909         * sysdeps/generic/libnss_hesiod.abilist: New file.
62910         * sysdeps/generic/libnss_nis.abilist: New file.
62911         * sysdeps/generic/libnss_nisplus.abilist: New file.
62912         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
62913         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62914         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
62915         file.
62916         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
62917         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
62918         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
62919         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
62920         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
62921         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
62922         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
62923         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62924         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
62925         file.
62926         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
62927         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
62928         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
62929         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
62930         file.
62931         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
62932         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
62933         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
62934         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
62935         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
62936         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
62937         file.
62938         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62939         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
62940         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
62941         file.
62942         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
62943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62944         New file.
62945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
62946         New file.
62947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
62948         New file.
62949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
62950         New file.
62951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
62952         New file.
62953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
62954         New file.
62955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
62956         New file.
62957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
62958         New file.
62959         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
62960         New file.
62961         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
62962         New file.
62963         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
62964         New file.
62965         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
62966         New file.
62967         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
62968         New file.
62969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
62970         file.
62971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
62972         New file.
62973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
62974         New file.
62975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
62976         file.
62977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
62978         New file.
62979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
62980         New file.
62981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
62982         file.
62983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
62984         New file.
62985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62986         New file.
62987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
62988         New file.
62989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
62990         New file.
62991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
62992         New file.
62993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
62994         New file.
62995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
62996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
62997         file.
62998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
62999         New file.
63000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
63001         file.
63002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
63003         file.
63004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
63005         file.
63006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
63007         file.
63008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
63009         file.
63010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63011         New file.
63012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
63013         file.
63014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
63015         file.
63016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
63017         New file.
63018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
63019         file.
63020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
63021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
63022         file.
63023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
63024         New file.
63025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
63026         file.
63027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
63028         file.
63029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
63030         file.
63031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
63032         file.
63033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
63034         file.
63035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63036         New file.
63037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
63038         file.
63039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
63040         file.
63041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
63042         New file.
63043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
63044         file.
63045         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63046         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
63047         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
63048         file.
63049         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
63050         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
63051         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
63052         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
63053         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
63054         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
63055         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
63056         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
63057         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
63058         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
63059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
63060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
63061         file.
63062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
63063         New file.
63064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
63065         file.
63066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
63067         file.
63068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
63069         file.
63070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
63071         file.
63072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
63073         file.
63074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63075         New file.
63076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
63077         New file.
63078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
63079         file.
63080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
63081         New file.
63082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
63083         file.
63084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
63085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
63086         file.
63087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
63088         New file.
63089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
63090         file.
63091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
63092         file.
63093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
63094         file.
63095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
63096         file.
63097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
63098         file.
63099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63100         New file.
63101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
63102         New file.
63103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
63104         file.
63105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
63106         New file.
63107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
63108         file.
63110 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63112         * conform/conformtest.pl: Fix typo in handling typed-constant from
63113         allow-header.
63115 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63117         * README: Cut down references to pre-2.6 Linux kernels and
63118         Linuxthreads.  Update lists of configurations in libc and ports
63119         and sort alphabetically.  Say "or newer" with Linux kernel version
63120         requirements.
63122         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63124 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63126         [BZ #887]
63127         * math/libm-test.inc (logb_test_downward): New test to expose
63128         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63129         rounding mode.
63131 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63133         [BZ #14027]
63134         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63135         to be done.
63136         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63137         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63139 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63141         * sysdeps/unix/i386/brk.S: Remove file.
63142         * sysdeps/unix/i386/dl-brk.S: Likewise.
63143         * sysdeps/unix/i386/pipe.S: Likewise.
63144         * sysdeps/unix/i386/sigreturn.S: Likewise.
63145         * sysdeps/unix/i386/syscall.S: Likewise.
63146         * sysdeps/unix/i386/vfork.S: Likewise.
63147         * sysdeps/unix/i386/wait.S: Likewise.
63149         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63150         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63152         * configure.in (arm*-none*): Do not allow without
63153         --enable-hacker-mode.
63154         (netbsd*): Remove case setting base_os.
63155         (386bsd*): Likewise.
63156         (freebsd*): Likewise.
63157         (bsdi*): Likewise.
63158         (osf*): Likewise.
63159         (sunos*): Likewise.
63160         (ultrix*): Likewise.
63161         (newsos*): Likewise.
63162         (dynix*): Likewise.
63163         (*bsd*): Likewise.
63164         (sysv*): Likewise.
63165         (isc*): Likewise.
63166         (esix*): Likewise.
63167         (sco*): Likewise.
63168         (minix*): Likewise.
63169         (irix4*): Likewise.
63170         (irix6*): Likewise.
63171         (solaris[2-9]*): Likewise.
63172         (none): Likewise.
63173         * configure: Regenerated.
63175 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63177         [BZ #11521]
63178         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63179         overflow or cancellation in calculating denominator.
63180         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63181         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63182         down expression to avoid unexpected rounding in newer GCCs.
63183         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63185 2012-04-26  David S. Miller  <davem@davemloft.net>
63187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63188         long-double compat symbols.
63189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63203 2012-04-25  David S. Miller  <davem@davemloft.net>
63205         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63206         HWCAP_* values only after the memory barriers have been defined.
63207         (atomic_full_barrier): Define.
63208         (atomic_read_barrier): Define.
63209         (atomic_write_barrier): Define.
63211 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63213         * shlib-versions: Add libgcc_s version information.
63214         * sysdeps/generic/libgcc_s.h: Remove.
63215         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63216         libgcc_s.h.
63217         * sysdeps/gnu/unwind-resume.c: Likewise.
63218         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63220 2012-04-25  David S. Miller  <davem@davemloft.net>
63222         * sysdeps/unix/sparc/brk.S: Delete.
63223         * sysdeps/unix/sparc/dl-brk.S: Delete.
63224         * sysdeps/unix/sparc/pipe.S: Delete.
63225         * sysdeps/unix/sparc/sysdep.S: Delete.
63226         * sysdeps/unix/sparc/sysdep.h: Delete.
63227         * sysdeps/unix/sparc/vfork.S: Delete.
63228         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63229         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63230         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63231         (ret_ERRVAL, r0, r1, MOVE): Define.
63232         (JUMPTARGET): Remove.
63233         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63234         sysdeps/unix/sparc/sysdep.h
63235         (ENTRY, END): Remove.
63236         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63238 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63240         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63241         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63242         -DIS_IN_build.
63244         * timezone/README: Update upstream location and email address for
63245         tzcode and tzdata.
63246         * timezone/zdump.c: Update from tzcode 2012b.
63247         * timezone/zic.c: Likewise.
63249         * configure.in (libc_cv_as_needed): Remove test.
63250         * configure: Regenerated.
63251         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63252         conditional definition.
63253         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63254         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63255         * config.make.in (have-as-needed): Remove variable.
63257 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63258             Paul Pluzhnikov  <ppluzhnikov@google.com>
63260         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63261         strings correctly.
63263 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63265         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63266         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63267         * sysdeps/sh/strlen.S: Likewise.
63269 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63271         * sysdeps/unix/fork.S: Remove file.
63272         * sysdeps/unix/i386/fork.S: Likewise.
63273         * sysdeps/unix/sparc/fork.S: Likewise.
63275         * sysdeps/unix/system.c: Remove file.
63276         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63278         * sysdeps/unix/getegid.S: Remove file.
63279         * sysdeps/unix/geteuid.S: Likewise.
63281 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63283         * scripts/check-localplt.awk: New file.
63284         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63285         of diff.
63286         * scripts/data/localplt-generic.data: Add a comment.
63288         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63289         NODE when __dir_mkfile failed.
63290         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63291         Reported by Ludovic Courtès <ludo@gnu.org>.
63293 2012-04-24  Andreas Jaeger  <aj@suse.de>
63295         * Makerules (common-clean): Also remove gen-as-const-headers
63296         files.
63298 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63300         * Makerules (native-compile): Do not change working directory for
63301         build.  Use $(OUTPUT_OPTION) in command.
63302         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63304 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63306         [BZ #13886]
63307         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63308         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63309         * math/libm-test.inc (floor_test): Add more tests.
63310         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63312 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63314         * sysdeps/unix/getdents.c: Remove file.
63315         * sysdeps/unix/sysv/getdents.c: Likewise.
63316         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63318         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63319         sysdeps/unix/mman/syscalls.list.
63320         (mmap): Likewise.
63321         (mprotect): Likewise.
63322         (msync): Likewise.
63323         (munmap): Likewise.
63324         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63325         * sysdeps/unix/mman/syscalls.list: Remove.
63326         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63328         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63329         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63330         * configure: Regenerated.
63331         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63332         $(libgcc_s_suffix).
63333         * config.make.in (libgcc_s_suffix): Remove variable.
63335 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63337         * sysdeps/unix/sysv/gethostname.c: Move to ...
63338         * sysdeps/posix/gethostname.c: ... here.
63340         * sysdeps/unix/execve.S: Remove file.
63342         * sysdeps/unix/_exit.S: Remove file.
63344 2012-04-23  Andreas Jaeger  <aj@suse.de>
63346         [BZ #13739]
63347         * manual/Makefile: Remove make dist support, there's no
63348         need for a stand-alone documentation tar ball.
63349         (TEXI2DVI): Define always, it's not in Makeconfig.
63350         (dist): Removed.
63351         (tar-it): Removed.
63352         (edition): Removed.
63353         (glibc-doc-$(edition).tar): Removed
63354         (%.Z): Removed.
63355         (%.gz): Removed.
63356         (%.uu): Removed.
63357         (ETAGS): Remove, it's in Makeconfig.
63358         (move-if-change): Remove, it's in Makeconfig.
63360 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63362         [BZ #13970]
63363         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63364         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63365         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63366         (strtod_l, strtof_l, strtold_l): Remove __wur.
63367         It is not necessarily an error to ignore strtol's return value.
63368         One can reliably look at the stored endptr to decide whether
63369         the number had valid syntax.
63371 2012-04-21  Andreas Jaeger  <aj@suse.de>
63373         [BZ #13739]
63374         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63376 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63378         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63379         * sysdeps/unix/sysv/Versions: Remove file.
63381 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63383         [BZ #13927]
63384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63386 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63388         [BZ #7064]
63389         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63390         version from __vm86.
63392 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63394         * sysdeps/unix/common/lxstat.c: Remove file.
63395         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63397         * sysdeps/unix/sysv/Makefile: Remove file.
63399         * sysdeps/unix/sysv/direct.h: Remove file.
63401         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63402         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63403         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63404         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63405         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63406         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63407         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63409         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63411         * sysdeps/unix/xmknod.c: Remove file.
63412         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63414         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63416         * sysdeps/unix/sysv/i386/time.S: Remove file.
63418         * sysdeps/unix/fxstat.c: Remove file.
63419         * sysdeps/unix/xstat.c: Likewise.
63420         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63422         * sysdeps/unix/sysv/sigaction.c: Remove file.
63424         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63425         (sysdep_headers): Remove variable.
63426         [termio.h not in sysdep_headers] (generated): Likewise.
63427         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63428         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63429         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63430         * sysdeps/unix/sysv/tcflow.c: Likewise.
63431         * sysdeps/unix/sysv/tcflush.c: Likewise.
63432         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63433         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63434         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63435         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63436         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63438         * sysdeps/unix/siglist.c: Remove file.
63440         * sysdeps/unix/getppid.S: Remove file.
63442         * sysdeps/unix/mkdir.c: Remove file.
63443         * sysdeps/unix/rmdir.c: Likewise.
63445 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63447         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63448         ERR_MAX value.
63449         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63450         errlist-compat value.
63452 2012-04-18  David S. Miller  <davem@davemloft.net>
63454         * sysdeps/generic/memcopy.h (reg_char): Delete.
63455         * debug/strcat_chk.c: Use char, not reg_char.
63456         * debug/strcpy_chk.c: Likewise.
63457         * debug/strncat_chk.c: Likewise.
63458         * debug/strncpy_chk.c: Likewise.
63459         * string/memchr.c: Likewise.
63460         * string/memrchr.c: Likewise.
63461         * string/rawmemchr.c: Likewise.
63462         * string/strcat.c: Likewise.
63463         * string/strchr.c: Likewise.
63464         * string/strchrnul.c: Likewise.
63465         * string/strcmp.c: Likewise.
63466         * string/strcpy.c: Likewise.
63467         * string/strncat.c: Likewise.
63468         * string/strncmp.c: Likewise.
63469         * string/strncpy.c: Likewise.
63471 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63473         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63474         __builtin_memcopy is called when src and dest ranges are known to not
63475         overlap.
63477 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63479         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63480         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63481         fwd_align_merge macro call.
63482         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63483         bwd_align_merge macro call.
63484         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63486 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63488         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63489         bwd_align_merge macros.
63490         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63491         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
63492         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63494 2012-04-18  David S. Miller  <davem@davemloft.net>
63496         * sysdeps/sparc/sparc64/memcopy.h: Delete.
63498 2012-04-18  Andreas Jaeger  <aj@suse.de>
63500         [BZ# 6794]
63501         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
63502         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
63503         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63505         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
63506         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63507         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63509         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63510         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63511         Adjust for changed ldbl-128 files.
63513         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63514         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63515         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63517 2012-04-17  David S. Miller  <davem@davemloft.net>
63519         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63521 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63523         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63524         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63525         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63526         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63527         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
63528         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
63530 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63532         [BZ #6794]
63533         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
63534         * math/libm-test.inc: Add ilogb errno and exception tests.
63535         * math/w_ilogb.c: New file: ilogb wrapper.
63536         * math/w_ilogbf.c: New file: ilogbf wrapper.
63537         * math/w_ilogbl.c: New file: ilogbl wrapper.
63538         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
63539         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
63540         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
63541         exception being thrown with 0.0 as argument.
63542         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
63543         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
63544         exception being thrown with 0.0 as argument.
63545         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
63546         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63547         exception being thrown with 0.0 as argument.
63548         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
63549         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63550         exception being thrown with 0.0 as argument.
63551         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
63552         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
63553         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
63554         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
63555         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
63556         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
63557         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
63558         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
63559         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
63561 2012-04-17  Petr Baudis  <pasky@ucw.cz>
63563         * include/sys/uio.h: Change __vector to __iovec to avoid clash
63564         with altivec.
63566 2012-04-16  Marek Polacek  <polacek@redhat.com>
63568         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
63570 2012-04-16  Marek Polacek  <polacek@redhat.com>
63572         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
63573         operands of fdivp instruction.
63575 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63577         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
63578         * elf/tst-auditmod3b.c: Likewise.
63579         * elf/tst-auditmod4b.c: Likewise.
63580         * elf/tst-auditmod5b.c: Likewise.
63581         * elf/tst-auditmod6b.c: Likewise.
63582         * elf/tst-auditmod6c.c: Likewise.
63583         * elf/tst-auditmod7b.c: Likewise.
63584         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
63585         * sysdeps/x86_64/preconfigure.in: Likewise.
63586         * sysdeps/x86_64/preconfigure: Regenerated.
63588 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63590         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
63591         __ILP32__.
63593 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
63595         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63596         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
63598 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
63600         [BZ #13973]
63601         * locale/iso-639.def: Fix gl language name. Spotted by
63602         Yaron Shahrabani.
63604 2012-04-12  Roland McGrath  <roland@hack.frob.com>
63606         [BZ #2074]
63607         * libio/libio.h (__io_write_fn): Update comment.
63609 2012-04-12  Petr Baudis  <pasky@ucw.cz>
63611         [BZ #2074]
63612         * stdio.texi (Hook Functions): The user provided writer function
63613         is not allowed to return -1.
63615 2012-04-11  David S. Miller  <davem@davemloft.net>
63617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63619 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
63621         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
63622         Add a leading slash to rtkaio.
63624 2012-04-11  Jim Meyering  <meyering@redhat.com>
63626         [BZ #11959]
63627         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
63628         It is not necessarily an error to ignore fwrite's return
63629         value.  One can reliably use ferror to test for errors after
63630         the fact.
63632 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63634         * bits/types.h (__snseconds_t): New type.
63635         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
63637         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
63638         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63639         (__SNSECONDS_T_TYPE): Likewise.
63640         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63641         (__SNSECONDS_T_TYPE): Likewise.
63642         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63643         (__SNSECONDS_T_TYPE): Likewise.
63645 2012-04-10  Andreas Jaeger  <aj@suse.de>
63647         [BZ #2636]
63648         * manual/time.texi (Processor Time): Return type of times is
63649         elapsed real time since an arbitrary point in the past.
63650         (CPU Time): Move CLK_TCK from here...
63651         (Processor Time): ...to here.  Correct description.
63652         * manual/conf.texi (Constants for Sysconf): Correct description of
63653         _SC_CLK_TCK.
63655 2012-04-10  David S. Miller  <davem@davemloft.net>
63657         [BZ #13967]
63658         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
63659         where the is a gap between DT_REL(A) and DT_JMPREL.
63661 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63663         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
63664         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63665         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63667 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63669         * elf/dl-support.c (_dl_inhibit_cache): New variable.
63670         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
63671         (dl_main): Handle --inhibit-cache.
63672         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
63673         _dl_inhibit_cache.
63674         * elf/dl-load.c (_dl_map_object): Use it.
63675         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
63677 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63679         [BZ #13872]
63680         * sysdeps/i386/fpu/e_powl.S (p78): New object.
63681         (__ieee754_powl): Saturate large exponents rather than testing for
63682         overflow of y*log2(x).
63683         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63684         * math/libm-test.inc (pow_test): Do not permit spurious overflow
63685         exceptions.
63687         [BZ #11521]
63688         * math/s_ctan.c: Include <float.h>.
63689         (__ctan): Avoid internal overflow or cancellation in calculating
63690         denominator.
63691         * math/s_ctanf.c: Likewise.
63692         * math/s_ctanl.c: Likewise.
63693         * math/s_ctanh.c: Likewise.
63694         * math/s_ctanhf.c: Likewise.
63695         * math/s_ctanhl.c: Likewise.
63696         * math/libm-test.inc (ctan_test): Add more tests.
63697         (ctanh_test): Likewise.
63698         * sysdeps/i386/fpu/libm-test-ulps: Update.
63699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63701 2012-04-09  Andreas Jaeger  <aj@suse.de>
63703         [BZ #6894]
63704         * manual/filesys.texi (Directory Entries): Mention that d_namlen
63705         is an optional BSD extension.
63707         [BZ #10254]
63708         * manual/stdio.texi (Opening Streams): Document additional fopen
63709         parameters.
63711 2012-04-09  Roland McGrath  <roland@hack.frob.com>
63713         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
63714         %eax without telling the compiler.
63716 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
63718         [BZ # 13963]
63719         * manual/install.texi: Use sourceware.org.
63721 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63723         [BZ #13873]
63724         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
63725         (__ieee754_pow): Generate overflow and underflow using huge*huge
63726         and tiny*tiny rather than just returning constant infinity or zero
63727         for large exponents.
63728         * math/libm-test.inc (pow_test): Require overflow exceptions for
63729         applicable cases of large exponents.
63731         [BZ #706]
63732         * sysdeps/i386/fpu/e_pow.S (p10): New object.
63733         (__ieee754_pow): Use iterative multiplication algorithm only for
63734         integer exponents with absolute value below 1024.  Check for odd
63735         integer exponents when using algorithm for real exponents.
63736         * math/libm-test.inc (pow_test): Add more tests.
63737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63739 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
63741         [BZ #13705]
63742         * math/libm-test.inc (exp_test): Do not allow overflow exception
63743         on underflow test.
63745 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
63747         [BZ #13705]
63748         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
63749         instead of __kernel_standard_f.
63751 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
63753         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
63754         * sysdeps/x86_64/memset_chk.S: Likewise.
63756 2012-04-08  Andreas Jaeger  <aj@suse.de>
63758         [BZ #10153]
63759         * manual/startup.texi (Environment Access): Describe return value
63760         for putenv and setenv.
63762         [BZ #6895]
63763         * manual/filesys.texi (Directory Entries): Add description for
63764         DT_LNK.
63766         [BZ #6890]
63767         * manual/filesys.texi (Directory Entries): Clarify that it's file
63768         system not operating system in the description of DT_UNKNOWN.
63770         [BZ #6578]
63771         * manual/syslog.texi (closelog): Fix reference, it's openlog.
63773 2012-04-08  Stephen Compall  <s11@member.fsf.org>
63775         [BZ #6649]
63776         * manual/llio.texi (Opening and Closing Files): Add cross
63777         reference to explain mode argument.
63779 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
63781         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
63782         * sysdeps/x86_64/memset_chk.S: Likewise.
63784 2012-04-07  David S. Miller  <davem@davemloft.net>
63786         * elf/elf.h (R_SPARC_WDISP10): Define.
63787         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
63788         R_SPARC_SIZE32.
63789         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
63790         R_SPARC_SIZE64 and R_SPARC_H34.
63792 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
63794         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
63795         conditions and remove no longer applicable assertion.
63797 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63799         * bits/byteswap.h: Include <features.h>.
63800         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63801         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63803 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63805         * bits/byteswap.h (__bswap_16): Removed.
63806         Include <bits/byteswap-16.h> to get __bswap_16.
63807         * sysdeps/i386/bits/byteswap.h: Likewise.
63808         * sysdeps/s390/bits/byteswap.h: Likewise.
63809         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63810         * bits/byteswap-16.h: New file.
63811         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63812         * sysdeps/s390/bits/byteswap-16.h: Likewise.
63813         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
63814         * string/Makefile (headers): Add bits/byteswap-16.h.
63816 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63818         [BZ #13895]
63819         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
63820         extra indirection.
63821         * nss/Makefile (tests-static, tests): Add tst-nss-static.
63822         * nss/tst-nss-static.c: New.
63824 2012-04-06  Robert Millan  <rmh@gnu.org>
63826         [BZ #6486]
63827         * manual/llio.texi (File Position Primitive): lseek
63828         refers to WHENCE when it really means OFFSET.
63830 2012-04-06  Andreas Jaeger  <aj@suse.de>
63832         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
63833         strncmp declarations.
63835         * abilist/libc.abilist: Add __poll and __ppoll.
63837 2012-04-05  David S. Miller  <davem@davemloft.net>
63839         * scripts/check-local-headers.sh: Accept a host triplet in the
63840         path matched by the exclude regexp.
63842         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
63843         definition.
63844         * sysdeps/powerpc/powerpc32/dl-machine.h
63845         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
63846         * sysdeps/s390/s390-32/dl-machine.h
63847         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63848         * sysdeps/sparc/sparc32/dl-machine.h
63849         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63850         * sysdeps/sparc/sparc64/dl-machine.h
63851         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63853         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
63854         lazy binding.
63855         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
63856         undefined symbol errors.
63858         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
63859         DT_NEEDED entries.
63861 2012-04-05  Michael Matz  <matz@suse.de>
63863         [BZ #13592]
63864         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
63866 2012-04-05  Andreas Jaeger  <aj@suse.de>
63868         [BZ #13908]
63869         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
63870         comment.
63872 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63874         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
63875         which ROUND is no valid rounding mode.
63877 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63879         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
63880         read again.
63881         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
63883 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63885         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
63886         an exception using FPU order intentionally.
63888 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63890         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
63891         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
63892         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
63893         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
63895 2012-04-05  Simon Josefsson  <simon@josefsson.org>
63897         [BZ #12340]
63898         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
63899         EINVAL when BUFLEN is too smal.
63901 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63903         [BZ #13553]
63904         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
63905         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
63907 2012-04-03  Andreas Jaeger  <aj@suse.de>
63909         [BZ #13938]
63910         * manual/setjmp.texi (System V contexts): Fix sentence.
63912         [BZ #13926]
63913         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
63914         New macro for this case.
63915         [!__GNUC__] (__bswap_64): New inline function for this case.
63916         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63917         * bits/byteswap.h: Likewise.
63918         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
63919         ull, guard with __GLIBC_HAVE_LONG_LONG.
63921         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
63922         __GLIBC_HAVE_LONG_LONG.
63924         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
63925         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
63927 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63929         [BZ #13691]
63930         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
63931         inptr and inend, rather than using last_ch.
63933 2012-04-02  David S. Miller  <davem@davemloft.net>
63935         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
63936         * stdio-common/printf-parse.h (read_int): Change return type to
63937         'int', return -1 on INT_MAX overflow.
63938         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
63939         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
63940         overflows INT_MAX.  Check for overflow of in-format-string precision
63941         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
63942         SIZE_MAX not INT_MAX for integer overflow test.
63943         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
63944         skip the construct in the format string but do not record anything.
63945         * stdio-common/bug22.c: Adjust to test both width/prevision
63946         INT_MAX overflow as well as total length INT_MAX overflow.  Check
63947         explicitly for proper errno values.
63949 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63951         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
63952         CHAR_MAX.
63953         * string/test-strcmp.c [! WIDE]: Likewise.
63954         * time/tst-mktime2.c: Likewise for INT_MAX.
63955         * string/test-string.h: #include <sys/param.h> for MIN.
63957         * csu/init-first.c (__libc_init_first): Call __ctype_init.
63958         * sysdeps/i386/init-first.c (init): Likewise.
63959         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
63960         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
63961         * sysdeps/sh/init-first.c (init): Likewise.
63963 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
63965         * po/ru.po: Update from translation team.
63966         * po/vi.po: Likewise.
63968 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
63970         * resolv/nss_dns/dns-host.c: Merge copyright years.
63972 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63974         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63975         Optimize memcpy with prefetch if
63976         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
63977         src, dst pointers have unequal 16 byte alignments.
63979 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63981         [BZ #13928]
63982         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
63983         from a CNAME entry and return the minimum ttl for the query.
63984         (gaih_getanswer_slice): Likewise.
63986 2012-03-30  Jeff Law  <law@redhat.com>
63988         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
63989         due to long keys.
63990         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
63991         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
63993         * resolv/nss_dns/dns-host.c: Update copyright year.
63995 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
63997         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
63998         requests to save a system call.  Fix check that all bytes are sent.
64000         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
64001         comments for sendmmsg.
64003 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64005         [BZ #13691]
64006         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
64007         with only 1 character between 0x0041 and 0x01b0.
64008         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
64009         * wcsmbs/tst-mbsnrtowcs.c: New file.
64011 2012-03-29  David S. Miller  <davem@davemloft.net>
64013         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
64014         small copies by hand.
64016 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64018         [BZ #13761]
64019         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
64020         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
64021         group memberships.
64023 2012-03-28  David S. Miller  <davem@davemloft.net>
64025         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
64026         that branches into memcpy.
64027         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64028         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
64029         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64030         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
64031         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
64032         bits.
64033         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
64034         implementation too.
64035         * sysdeps/sparc/mempcpy.S: New file.
64037         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
64038         the IFUNC routine in the libc case.
64039         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64041         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
64042         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
64043         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
64044         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
64045         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
64046         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
64047         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
64048         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
64050         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
64051         loop to 256 bytes instead of 64 bytes and fix test signedness.
64053         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
64054         * sysdeps/sparc/sparc32/Makefile: rather than here...
64055         * sysdeps/sparc/sparc64/Makefile: and here.
64057 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
64059         * malloc/mallocbug.c: Avoid warnings about unused variables.
64061 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64063         [BZ #13760]
64064         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
64065         in the right place. Discard and retry query if response is
64066         larger than input buffer size.
64068 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
64070         [BZ #369]
64071         [BZ #2678]
64072         [BZ #3866]
64073         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64074         x for large integer exponent.
64075         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
64076         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
64077         sign of result as needed afterwards.
64078         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64079         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
64080         result for underflowing pow the same as for overflow.
64081         (__kernel_standard_l): Handle powl overflow and underflow here
64082         rather than calling __kernel_standard.
64083         * math/libm-test.inc (pow_test): Add more tests.
64085         [BZ #3868]
64086         [BZ #13879]
64087         [BZ #13910]
64088         [BZ #13911]
64089         [BZ #13912]
64090         [BZ #13913]
64091         [BZ #13915]
64092         [BZ #13916]
64093         [BZ #13917]
64094         [BZ #13918]
64095         [BZ #13919]
64096         [BZ #13920]
64097         [BZ #13921]
64098         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
64099         * sysdeps/ieee754/k_standard.c: Include <float.h>.
64100         (__kernel_standard_l): New function.
64101         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64102         __kernel_standard.
64103         * math/w_acosl.c (__acosl): Likewise.
64104         * math/w_asinl.c (__asinl): Likewise.
64105         * math/w_atan2l.c (__atan2l): Likewise.
64106         * math/w_atanhl.c (__atanhl): Likewise.
64107         * math/w_coshl.c (__coshl): Likewise.
64108         * math/w_exp10l.c (__exp10l): Likewise.
64109         * math/w_exp2l.c (__exp2l): Likewise.
64110         * math/w_fmodl.c (__fmodl): Likewise.
64111         * math/w_hypotl.c (__hypotl): Likewise.
64112         * math/w_j0l.c (__j0l, __y0l): Likewise.
64113         * math/w_j1l.c (__j1l, __y1l): Likewise.
64114         * math/w_jnl.c (__jnl, __ynl): Likewise.
64115         * math/w_lgammal.c (__lgammal): Likewise.
64116         * math/w_log10l.c (__log10l): Likewise.
64117         * math/w_log2l.c (__log2l): Likewise.
64118         * math/w_logl.c (__logl): Likewise.
64119         * math/w_powl.c (__powl): Likewise.
64120         * math/w_remainderl.c (__remainderl): Likewise.
64121         * math/w_scalbl.c (sysv_scalbl): Likewise.
64122         * math/w_sinhl.c (__sinhl): Likewise.
64123         * math/w_sqrtl.c (__sqrtl): Likewise.
64124         * math/w_tgammal.c (__tgammal): Likewise.
64125         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64126         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64127         * math/libm-test.inc (acos_test): Add more tests.
64128         (acosh_test): Likewise.
64129         (asin_test): Likewise.
64130         (atanh_test): Likewise.
64131         (exp_test): Likewise.
64132         (exp10_test): Likewise.
64133         (exp2_test): Likewise.
64134         (expm1_test): Likewise.
64135         (lgamma_test): Likewise.
64136         (log_test): Likewise.
64137         (log10_test): Likewise.
64138         (log1p_test): Likewise.
64139         (log2_test): Likewise.
64140         (pow_test): Do not allow some spurious overflow exceptions.
64141         (sqrt_test): Add more tests.
64142         (tgamma_test): Likewise.
64143         (y0_test): Likewise.
64144         (y1_test): Likewise.
64145         (yn_test): Likewise.
64147 2012-03-27  Anton Blanchard  <anton@samba.org>
64149         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64150         MAP_HUGETLB.
64151         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64152         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64153         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64155 2012-03-27  David S. Miller  <davem@davemloft.net>
64157         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64159         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64160         have-as-vis3 check.
64162 2012-03-27  Andreas Jaeger  <aj@suse.de>
64164         * sysdeps/x86_64/elf/configure.in: Moved to ...
64165         * sysdeps/x86_64/configure.in: ... here.
64166         * sysdeps/x86_64/elf/start.S: Moved to ...
64167         * sysdeps/x86_64/start.S: ... here.
64168         * sysdeps/x86_64/elf/configure: Delete.
64170         * sysdeps/x86_64/configure.in: Merge contents from
64171         sysdeps/i386/configure.in (without i686 check).
64173         * sysdeps/i386/elf/Versions: Merge into ...
64174         * sysdeps/i386/Versions: ... this.
64175         * sysdeps/i386/elf/Versions: Delete file.
64176         * sysdeps/i386/elf/start.S: Moved to ...
64177         * sysdeps/i386/start.S: ...here.
64178         * sysdeps/i386/elf/configure.in: Merge into...
64179         * sysdeps/i386/configure.in: ...here.
64180         * sysdeps/i386/elf/configure.in: Delete file.
64181         * sysdeps/i386/elf/configure: Delete file.
64183         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64184         * debug/backtracesyms.c: ... here.
64185         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64186         * debug/backtracesymsfd.c: ... here.
64187         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64188         * sysdeps/generic/ifunc-sel.h: ... here.
64190         * sysdeps/unix/i386/start.c: Delete file.
64191         * sysdeps/unix/sparc/start.c: Delete file.
64192         * sysdeps/unix/start.c: Delete file.
64194         * sysdeps/sh/elf/configure.in: Moved to ...
64195         * sysdeps/sh/configure.in: ... here.
64196         * sysdeps/sh/elf/start.S: Moved to ...
64197         * sysdeps/sh/start.S: ... here.
64198         * sysdeps/sh/elf/configure: Delete file.
64200         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64201         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64202         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64203         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64204         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64205         * sysdeps/powerpc/powerpc64/start.S: here.
64206         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64207         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64208         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64209         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64210         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64212         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64213         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64214         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64215         * sysdeps/powerpc/powerpc32/start.S: ... here.
64216         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64217         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64218         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64220         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64221         * sysdeps/powerpc/ifunc-sel.h: ... here.
64222         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64223         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64225         * sysdeps/sparc/elf/configure.in: Moved to ...
64226         * sysdeps/sparc/configure.in: ... here.
64227         * sysdeps/sparc/elf/configure: Delete file.
64228         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64229         * sysdeps/sparc/sparc32/start.S: ... here.
64230         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64231         * sysdeps/sparc/sparc64/start.S: ... here.
64232         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64233         * sysdeps/sparc/sparc32/Makefile: ... this.
64234         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64235         * sysdeps/sparc/sparc64/Makefile: ... this.
64237         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64238         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64239         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64240         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64241         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64242         * sysdeps/s390/s390-32/setjmp.S: ... here.
64243         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64244         * sysdeps/s390/s390-32/configure.in: ... here.
64245         * sysdeps/s390/s390-32/elf/configure: Delete file.
64246         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64247         * sysdeps/s390/s390-32/start.S: ... here.
64249         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64250         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64251         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64252         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64253         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64254         * sysdeps/s390/s390-64/setjmp.S: ... here.
64255         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64256         * sysdeps/s390/s390-64/configure.in: ... here
64257         * sysdeps/s390/s390-64/elf/configure: Delete file.
64258         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64259         * sysdeps/s390/s390-64/start.S: ... here.
64260         * sysdeps/s390/s390-64/elf/configure: Delete.
64262         * configure.in: Remove support for elf directories in sysdeps.
64264         * configure: Regenerated.
64265         * sysdeps/i386/configure: Regenerated.
64266         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64267         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64268         * sysdeps/s390/s390-32/configure: Regenerated.
64269         * sysdeps/s390/s390-64/configure: Regenerated.
64270         * sysdeps/sh/configure: Regenerated.
64271         * sysdeps/sparc/configure: Regenerated.
64272         * sysdeps/x86_64/configure: Regenerated.
64274 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64278         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64279         denormal result into account.
64281 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64283         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64284         Reported by Allan McRae <allan@archlinux.org>.
64286 2012-03-23  Jeff Law  <law@redhat.com>
64288         * nss/getnssent.c (__nss_getent): Fix typo.
64290 2012-03-23  David S. Miller  <davem@davemloft.net>
64292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64294 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64296         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64297         to pad to uint64_t for each field.
64298         (dl_tls_index): Replace unsigned long with uint64_t.
64300 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64301         Paul Pluzhnikov  <ppluzhnikov@google.com>
64303         [BZ #6528]
64304         * grp/Makefile (otherlibs): Don't set it.
64305         * inet/Makefile (otherlibs): Likewise.
64306         * login/Makefile (otherlibs): Likewise.
64307         * nscd/Makefile (otherlibs): Likewise.
64308         * posix/Makefile (otherlibs): Likewise.
64309         * pwd/Makefile (otherlibs): Likewise.
64310         * rt/Makefile (otherlibs): Likewise.
64311         * sunrpc/Makefile (otherlibs): Likewise.
64312         * nss/Makefile (otherlibs): Likewise.
64313         Add libnss_files to routines and static-only-routines.
64314         ($(objpfx)getent): Remove rule.
64315         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64316         static-only-routines.
64318 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64320         [BZ #13892]
64321         * math/s_cexp.c: Include <float.h>.
64322         (__cexp): Handle exp result overflowing not necessarily
64323         overflowing both real and imaginary parts of result.
64324         * math/s_cexpf.c: Likewise.
64325         * math/s_cexpl.c: Likewise.
64326         * math/libm-test.inc (cexp_test): Add more tests.
64327         * sysdeps/i386/fpu/libm-test-ulps: Update.
64328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64330 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64332         * include/link.h (ELFW): New macro.
64333         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64334         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64336 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64338         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64339         with uint64_t.
64341 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64343         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64344         declaration.
64345         (struct La_x32_retval): Likewise.
64347 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64349         * sysdeps/x86_64/preconfigure.in: New file.
64350         * sysdeps/x86_64/preconfigure: New generated file.
64352 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64354         [BZ #13824]
64355         * math/e_exp2l.c: Include <float.h>.
64356         (__ieee754_exp2l): Handle overflow and underflow cases
64357         separately.  Only pass fractional part of argument to
64358         __ieee754_expl.
64359         * math/libm-test.inc (exp2_test): Add more tests.
64361         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64362         negating x to take absolute value.
64363         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64364         Likewise.
64365         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64366         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64367         Likewise.
64368         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64369         computing low part if x was negated.
64370         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64372 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64374         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64375         la_x32_gnu_pltexit.
64376         (pltexit): Cast int_retval to ptrdiff_t.
64377         * elf/tst-auditmod3b.c: Likewise.
64378         * elf/tst-auditmod4b.c: Likewise.
64379         * elf/tst-auditmod5b.c: Likewise.
64380         * elf/tst-auditmod6b.c: Likewise.
64381         * elf/tst-auditmod6c.c: Likewise.
64382         * elf/tst-auditmod7b.c: Likewise.
64384         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64385         and x32_gnu_pltexit.
64387         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64388         __ELF_NATIVE_CLASS.
64389         (La_x32_regs): New macro.
64390         (La_x32_retval): Likewise.
64391         (la_x32_gnu_pltenter): New function prototype.
64392         (la_x32_gnu_pltexit): Likewise.
64394 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64397         exponent.
64399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64401         * configure.in (libc_cv_cc_nofma): Check for option to disable
64402         generation of FMA instructions.
64403         * configure: Regenerate.
64404         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64405         * sysdeps/ieee754/dbl-64/Makefile: New file.
64406         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64407         Remove brandred-fma4.
64408         (CFLAGS-brandred-fma4.c): Remove.
64409         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64410         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64411         define.
64412         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64413         define.
64415 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64417         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64418         LLONG_MAX != LONG_MAX.
64419         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64420         (_fitoa_word): Likewise.
64421         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64422         LLONG_MAX != LONG_MAX.
64423         * stdio-common/_itowa.h: Include <_itoa.h>.
64424         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64425         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64426         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64427         only if not defined.
64428         (_ITOA_WORD_TYPE): Likewise.
64429         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64430         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64432 2012-03-21  David S. Miller  <davem@davemloft.net>
64434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64436 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64438         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64439         of x86_64 when setting libc_cv_slibdir, libdir and
64440         libc_cv_localedir.
64441         * sysdeps/unix/sysv/linux/configure: Regenerated.
64443 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64445         * manual/lang.texi (Old Varargs): Remove section.
64446         (How Variadic): Update menu.
64447         (va_start): Do not mention varargs.h.
64449 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64450             Joseph Myers  <joseph@codesourcery.com>
64452         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64453         link test.
64454         * configure: Regenerated.
64456 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64458         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64459         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64460         conformtest.pl
64462 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64464         * NOTES: Remove.
64465         * Makefile (files-for-dist): Remove NOTES.
64466         (NOTES): Remove rule.
64467         * README: Don't refer to NOTES.
64468         * manual/creature.texi: Don't include macros.texi.
64469         * manual/intro.texi (creature.texi): Remove comment referring to
64470         NOTES.
64472         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64473         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64474         * configure: Regenerated.
64475         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64476         LIBC_TRY_CC_OPTION.
64477         (libc_cv_as_i686): Likewise.
64478         (libc_cv_cc_avx): Likewise.
64479         (libc_cv_cc_sse2avx): Likewise.
64480         (libc_cv_cc_fma4): Likewise.
64481         (libc_cv_cc_novzeroupper): Likewise.
64482         * sysdeps/i386/configure: Regenerated.
64484         [BZ #13883]
64485         * sysdeps/i386/fpu/s_cexp.S: Remove.
64486         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64487         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64488         * math/libm-test.inc (cexp_test): Add more tests.
64489         * sysdeps/i386/fpu/libm-test-ulps: Update.
64490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64492 2012-03-21  Allan McRae  <allan@archlinux.org>
64494         * timezone/Makefile: Do not install iso3166.tab and zone.tab
64496 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64498         [BZ #13871]
64499         * math/w_exp2.c: Do not include <float.h>.
64500         (o_threshold, u_threshold): Remove.
64501         (__exp2): Calculate result before checking finiteness and calling
64502         __kernel_standard.
64503         * math/w_exp2f.c: Likewise.
64504         * math/w_exp2l.c: Likewise.
64505         * math/libm-test.inc (exp2_test): Require overflow exception for
64506         1e6 input.
64508         [BZ #3866]
64509         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64510         range of signed 64-bit integers before using fistpll.  Remove
64511         checks for whether integers fit in mantissa bits.
64512         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64513         the range of signed 32-bit integers before using fistpl.  Remove
64514         checks for whether integers fit in mantissa bits.
64515         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64516         (__ieee754_powl): Test for y outside the range of signed 64-bit
64517         integers before using fistpll.  Reduce 64-bit values to 63-bit
64518         ones as needed.
64519         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64520         divide-by-zero is raised for zero to large negative powers.
64521         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64522         (__ieee754_powl): Test for y outside the range of signed 64-bit
64523         integers before using fistpll.  Reduce 64-bit values to 63-bit
64524         ones as needed.
64525         * math/libm-test.inc (pow_test): Add more tests.
64527 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64529         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
64530         <stdio-common/_itoa.h>.
64531         * debug/segfault.c: Likewise.
64532         * elf/dl-cache.c: Likewise.
64533         * elf/dl-minimal.c: Likewise.
64534         * elf/dl-misc.c: Likewise.
64535         * elf/dl-sysdep.c: Likewise.
64536         * elf/dl-version.c: Likewise.
64537         * elf/rtld.c: Likewise.
64538         * hurd/hurdsock.c: Likewise.
64539         * hurd/lookup-retry.c: Likewise.
64540         * malloc/malloc.c: Likewise.
64541         * malloc/mtrace.c: Likewise.
64542         * nscd/nscd_getgr_r.c: Likewise.
64543         * nscd/nscd_getpw_r.c: Likewise.
64544         * nscd/nscd_getserv_r.c: Likewise.
64545         * posix/getopt_init.c: Likewise.
64546         * posix/wordexp.c: Likewise.
64547         * stdio-common/_itoa.c: Likewise.
64548         * stdio-common/printf_fphex.c: Likewise.
64549         * stdio-common/vfprintf.c: Likewise.
64550         * string/_strerror.c: Likewise.
64551         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
64552         * sysdeps/i386/i686/hp-timing.h: Likewise.
64553         * sysdeps/mach/_strerror.c: Likewise.
64554         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
64555         * sysdeps/mach/hurd/sethostid.c: Likewise.
64556         * sysdeps/mach/hurd/xmknodat.c: Likewise.
64557         * sysdeps/mach/xpg-strerror.c: Likewise.
64558         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64559         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64560         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
64561         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
64562         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64563         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
64564         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
64565         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
64566         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
64567         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
64568         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
64569         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64570         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
64571         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64572         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64573         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
64574         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
64575         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
64576         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
64577         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
64578         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
64580         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
64582         * stdio-common/_itoa.h: Moved to ...
64583         * sysdeps/generic/_itoa.h: Here.
64585         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
64587         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
64588         instead of "_itoa.h" and "_itowa.h".
64589         * stdio-common/vfprintf.: Likewise.
64591 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64593         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
64594         <bits/wordsize.h>.
64595         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
64596         (__signbit): Likwise.
64597         (llrintf): Likwise.
64598         (llrint): Likwise.
64600 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64602         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
64603         __WORDSIZE != 64.
64605 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
64607         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
64608         OVERFLOW_EXCEPTION_OK.
64609         * math/libm-test.inc ("Philosophy"): Update comment about
64610         exception testing.
64611         (OVERFLOW_EXCEPTION): Define.
64612         (OVERFLOW_EXCEPTION_OK): Likewise.
64613         (INVALID_EXCEPTION_OK): Renumber.
64614         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64615         (IGNORE_ZERO_INF_SIGN): Likewise.
64616         (test_exceptions): Handle FE_OVERFLOW.
64617         (exp10_test): Expect overflow exceptions.
64618         (exp2_test): Likewise.
64619         (expm1_test): Likewise.
64620         (nextafter_test): Likewise.
64621         (pow_test): Likewise.
64622         (scalbn_test): Likewise.
64623         (scalbln_test): Likewise.
64625 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64627         * sysdeps/x86_64/bits/atomic.h
64628         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
64629         64bit integer.
64630         (atomic_exchange_acq): Likewise.
64631         (__arch_exchange_and_add_body): Likewise.
64632         (__arch_add_body): Likewise.
64633         (atomic_add_negative): Likewise.
64634         (atomic_add_zero): Likewise.
64636 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64638         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
64639         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
64641 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64643         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
64644         Check __x86_64__ instead of __WORDSIZE.
64646 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64648         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
64650 2012-03-19  David S. Miller  <davem@davemloft.net>
64652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64654         * sysdeps/sparc/fpu/fenv_private.h: New file.
64655         * sysdeps/sparc/fpu/math_private.h: Use it.
64656         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
64657         Remove.
64658         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
64659         (libc_feholdexcept_setroundl): Remove.
64660         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
64661         Remove.
64662         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
64663         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
64665 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64667         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
64668         int64_t instead of long int.
64669         (INSERT_WORDS64): Likwise.
64671 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64673         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
64674         _Unwind_GetCFA return to _Unwind_Ptr first.
64676 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
64678         [BZ #13629]
64679         * math/s_clog.c: Include <float.h>.
64680         (__clog): Scale large or subnormal inputs.
64681         * math/s_clogf.c: Likewise.
64682         * math/s_clogl.c: Likewise.
64683         * math/s_clog10.c: Include <float.h>.
64684         (M_LOG10_2): Define.
64685         (__clog10): Scale large or subnormal inputs.
64686         * math/s_clog10f.c: Likewise.
64687         * math/s_clog10l.c: Likewise.
64688         * math/libm-test.inc (clog_test): Add more tests.
64689         (clog10_test): Likewise.
64690         * sysdeps/i386/fpu/libm-test-ulps: Update.
64691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64693         [BZ #11451]
64694         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
64695         x and y.
64696         * math/libm-test.inc (atan2_test): Add another test.
64698         * Makerules (common-objdir-compile): Remove.
64699         * sysdeps/unix/Makefile (config-generated): Do not add
64700         $(unix-generated) to variable.
64701         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
64702         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
64703         Remove rule.
64704         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
64705         Likewise.
64706         [generic bits/local_lim.h] (before-compile): Do not append to
64707         variable.
64708         [generic bits/local_lim.h] (common-generated): Likewise.
64709         [generic sys/param.h] (before-compile): Do not append to variable.
64710         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
64711         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
64712         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
64713         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
64714         include.
64715         [generic sys/param.h] (sys/param.h-includes): Remove variable.
64716         [generic sys/param.h] (sys/param.h-includes): Remove rule.
64717         [generic sys/param.h] ($(addprefix
64718         $(common-objpfx),$(sys/param.h-includes))): Likewise.
64719         [generic sys/param.h] (common-generated): Do not append to
64720         variable.
64721         [generic sys/param.h] (sysdep_headers): Likewise.
64722         [generic bits/errno.h] (before-compile): Do not append to
64723         variable.
64724         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
64725         rule.
64726         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
64727         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
64728         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
64729         [generic bits/errno.h] (common-generated): Do not append to
64730         variable.
64731         [generic bits/ioctls.h] (before-compile): Do not append to
64732         variable.
64733         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
64734         rule.
64735         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
64736         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
64737         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
64738         rule.
64739         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
64740         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
64741         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
64742         [generic bits/ioctls.h] (common-generated): Do not append to
64743         variable.
64744         [generic sys/syscall.h] (syscall.h): Remove variable.
64745         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
64746         rule.
64747         [generic sys/syscall.h] (before-compile): Do not append to
64748         variable.
64749         [generic sys/syscall.h] (common-generated): Likewise.
64750         * sysdeps/unix/errnos-tmpl.c: Remove file.
64751         * sysdeps/unix/errnos.awk: Likewise.
64752         * sysdeps/unix/ioctls-tmpl.c: Likewise.
64753         * sysdeps/unix/ioctls.awk: Likewise.
64754         * sysdeps/unix/mk-local_lim.c: Likewise.
64755         * sysdeps/unix/snarf-ioctls: Likewise.
64757 2012-03-19  Richard Henderson  <rth@twiddle.net>
64759         * sysdeps/i386/fpu/fenv_private.h: New file.
64760         * sysdeps/i386/fpu/math_private.h: Use it.
64761         (math_opt_barrier, math_force_eval): Remove.
64762         (libc_feholdexcept_setround_53bit): Remove.
64763         (libc_feupdateenv_53bit): Remove.
64764         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64765         (math_opt_barrier, math_force_eval): Remove.
64766         (libc_feholdexcept): Remove.
64767         (libc_feholdexcept_setround): Remove.
64768         (libc_fetestexcept, libc_fesetenv): Remove.
64769         (libc_feupdateenv_test): Remove.
64770         (libc_feupdateenv, libc_feholdsetround): Remove.
64771         (libc_feresetround): Remove.
64773         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
64774         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
64776         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
64777         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
64778         (libc_feupdateenv_testl): New.
64779         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
64780         (libc_feupdateenv_testf): New.
64781         (libc_feupdateenv): Use libc_feupdateenv_test.
64782         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
64783         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
64785         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
64786         (libc_feholdsetroundf, libc_feholdsetroundl): New.
64787         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
64788         (libc_feresetround_noex): New.
64789         (libc_feresetround_noexf): New.
64790         (libc_feresetround_noexl): New.
64791         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
64792         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
64793         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
64794         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
64795         SET_RESTORE_ROUND.
64796         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64797         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
64798         (__cos): Likewise.
64799         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
64800         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
64801         SET_RESTORE_ROUND_NOEX.
64802         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
64803         SET_RESTORE_ROUND_NOEXF.
64804         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
64805         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
64806         (libc_feholdsetroundf): New.
64807         (libc_feresetround, libc_feresetroundf): New.
64809         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
64810         (libc_feholdexcept_setround_53bit): Convert from macro to function.
64811         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
64813         * sysdeps/generic/math_private.h: Include <fenv.h>.
64814         (default_libc_feholdexcept): New.
64815         (default_libc_feholdexcept_setround): New.
64816         (default_libc_fesetenv, default_libc_feupdateenv): New.
64817         (libc_feholdexcept): Only define if undefined.
64818         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
64819         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
64820         (libc_feholdexcept_setroundl): Likewise.
64821         (libc_feholdexcept_setround_53bit): Likewise.
64822         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
64823         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
64824         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
64825         (libc_feupdateenv_53bit): Likewise.
64826         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
64827         (libc_feholdexcept): Convert from macro to inline function.
64828         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
64829         (libc_fesetenv, libc_feupdateenv): Likewise.
64831         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
64832         not previously defined.
64833         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
64834         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
64835         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
64836         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
64837         * sysdeps/ieee754/flt-32/math_private.h: New file.
64838         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
64839         math_private.h below SET_FLOAT_WORD.
64840         (__isnan, __isinf_ns, __finite): Remove.
64841         (__isnanf, __isinf_nsf, __finitef): Remove.
64843 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
64845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64847 2012-03-17  David S. Miller  <davem@davemloft.net>
64849         [BZ #6471]
64850         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
64851         for 2.16.
64853 2012-03-16  David S. Miller  <davem@davemloft.net>
64855         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
64856         warnings.
64858         [BZ #6471]
64859         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
64860         properly.
64861         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
64862         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
64863         sysdep_routines when subdir is sysvipc.
64864         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
64865         __getshmlba helper.
64867         * sysdeps/sparc/fpu/libm-test/ulps: Update.
64869 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64871         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
64872         [__LP64__].
64874 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64876         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
64877         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
64878         (__lround): Renamed to ...
64879         (__llround): This.  Replace long int with long long int.
64880         Define lround functions as aliases of llround functions.
64881         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
64883 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64885         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
64886         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
64887         adresses to uintptr_t.  Replace "long int" and "unsigned long
64888         int" with "greg_t" on va_arg.
64890 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64892         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
64893         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
64895         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
64896         Move e_machine check before EI_CLASS check.  Handle x32
64897         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
64898         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
64899         SKIP_EM_IA_64 and include
64900         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
64902         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
64903         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
64904         (add_system_dir): New macro.
64906         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
64907         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
64909 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64911         [BZ #2551]
64912         [BZ #2552]
64913         [BZ #2553]
64914         [BZ #2554]
64915         [BZ #2562]
64916         [BZ #2563]
64917         [BZ #2565]
64918         [BZ #2566]
64919         [BZ #2576]
64920         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
64921         (y0): Likewise.
64922         * math/w_j0f.c (j0f): Likewise.
64923         (y0f): Likewise.
64924         * math/w_j0l.c (__j0l): Likewise.
64925         (__y0l): Likewise.
64926         * math/w_j1.c (j1): Likewise.
64927         (y1): Likewise.
64928         * math/w_j1f.c (j1f): Likewise.
64929         (y1f): Likewise.
64930         * math/w_j1l.c (__j1l): Likewise.
64931         (__y1l): Likewise.
64932         * math/w_jn.c (jn): Likewise.
64933         (yn): Likewise.
64934         * math/w_jnf.c (jnf): Likewise.
64935         (ynf): Likewise.
64936         * math/w_jnl.c (__jnl): Likewise.
64937         (__ynl): Likewise.
64938         * math/libm-test.inc (j0_test): Add more tests.
64939         (j1_test): Likewise.
64940         (jn_test): Likewise.  Add trailing semicolon to existing test.
64941         (y0_test): Likewise.
64942         (y1_test): Likewise.
64943         * sysdeps/i386/fpu/libm-test-ulps: Update.
64944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64946         [BZ #13851]
64947         [BZ #13854]
64948         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
64949         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
64950         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
64951         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
64952         (__tanl): Set errno for infinite argument.
64953         * sysdeps/i386/fpu/mptan.c: Remove.
64954         * sysdeps/i386/fpu/s_tan.S: Likewise.
64955         * sysdeps/i386/fpu/s_tanl.S: Likewise.
64956         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
64957         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
64958         * math/libm-test.inc (tan_test): Add more tests and enable more
64959         tests for double and long double.
64960         * sysdeps/i386/fpu/libm-test-ulps: Update.
64961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64963 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
64965         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
64966         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
64968 2012-03-16  Roland McGrath  <roland@hack.frob.com>
64970         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
64971         * configure.in: Use it for both main tree and add-ons.
64972         * configure: Regenerated.
64974 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64976         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
64978 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64980         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
64981         in comment.
64983         [BZ #13851]
64984         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
64985         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
64986         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
64987         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
64988         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
64989         infinite argument.
64990         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
64991         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
64992         != 0 for prec == 2.
64993         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
64994         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
64995         * sysdeps/i386/fpu/s_cosl.S: Likewise.
64996         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
64997         * sysdeps/i386/fpu/s_sinl.S: Likewise.
64998         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
64999         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
65000         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
65001         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
65002         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
65003         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
65004         * math/libm-test.inc (cos_test): Add more tests and enable more
65005         tests for long double.
65006         (sin_test): Likewise.
65007         (sincos_test): Likewise.
65008         * sysdeps/i386/fpu/libm-test-ulps: Update.
65009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65011 2012-03-16  David S. Miller  <davem@davemloft.net>
65013         * sysdeps/sparc/fpu/math_private.h: New file.
65015 2012-03-15  David S. Miller  <davem@davemloft.net>
65017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
65018         file.
65019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
65020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
65021         file.
65022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
65023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
65024         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
65025         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
65026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
65027         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
65028         sysdep routines.
65029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65031         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
65032         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
65034         * sysdeps/sparc/sparc-ifunc.h: New file.
65035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
65036         sparc-ifunc.h
65037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
65039         Likewise.
65040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
65041         Likewise.
65042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
65043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
65044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65046         Likewise.
65047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
65049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
65051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
65052         Likewise.
65053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
65054         Likewise.
65055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
65057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
65058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
65059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65061         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
65062         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
65063         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65064         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
65066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
65067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
65068         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
65069         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
65070         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
65071         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
65072         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
65073         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
65074         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
65075         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
65076         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
65077         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
65078         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
65080 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65082         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
65083         scaling.
65084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65086 2012-03-15  Andreas Jaeger  <aj@suse.de>
65088         [BZ #13852]
65089         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
65090         ieee754/flt-32 implementation for sin, cos and sincos.
65091         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
65092         * sysdeps/i386/fpu/s_cosf.S: Likewise.
65093         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
65094         * sysdeps/i386/fpu/s_sinf.S: Likewise.
65095         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
65096         ieee754/flt-32 implementation for tan.
65098         * math/libm-test.inc (cos_test): Enable some large input tests for
65099         float as well
65100         (sin_test): Likewise.
65101         (sincos_test): Likewise.
65102         (tan_test): Add tests for large input.
65104         * sysdeps/i386/fpu/libm-test-ulps: Update.
65106 2012-03-15  Andreas Jaeger  <aj@suse.de>
65108         [BZ #13658]
65109         * math/libm-test.inc (cos_test): Add more test cases.
65110         (sin_test): Likewise.
65111         (sincos_test): Likewise.
65113 2012-03-15  Andreas Jaeger  <aj@suse.de>
65115         [BZ #13837]
65116         * math/libm-test.inc (cos_test): Add a test case for large input
65117         value.
65118         (sin_test): Likewise.
65119         (sincos_test): Likewise.
65121 2012-03-15  Andreas Jaeger  <aj@suse.de>
65122             Joseph Myers  <joseph@codesourcery.com>
65124         [BZ #13658]
65125         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65126         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65127         * sysdeps/i386/fpu/branred.c: Likewise.
65128         * sysdeps/i386/fpu/dosincos.c: Likewise.
65129         * sysdeps/i386/fpu/mpa.c: Likewise.
65130         * sysdeps/i386/fpu/s_cos.S: Likewise.
65131         * sysdeps/i386/fpu/s_sin.S: Likewise.
65132         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65133         * sysdeps/i386/fpu/sincos32.c: Likewise.
65135         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65136         Define.
65137         (libc_feupdateenv_53bit): Define.
65138         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65139         Define.
65140         (libc_feupdateenv_53bit): Define.
65142         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65143         53 bit (without extend i386 double precision).
65145         * math/libm-test.inc (sincos_test): Add tests for large input.
65146         (sin): Likewise.
65147         (cos): Likewise.
65149         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65151 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65155 2012-03-15  David S. Miller  <davem@davemloft.net>
65157         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65158         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65159         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65160         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65166         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65167         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65168         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65169         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65170         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65173         file.
65174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65176         file.
65177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65179         file.
65180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65182         file.
65183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65184         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65185         fmin/fmax sysdep routines.
65186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65188 2012-03-14  David S. Miller  <davem@davemloft.net>
65190         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65191         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65192         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65193         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65194         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65195         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65196         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65197         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65198         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65199         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65200         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65201         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65202         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65203         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65204         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65205         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65206         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65207         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65208         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65209         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65210         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65211         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65212         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65213         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65214         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65215         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65216         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65217         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65218         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65219         routines.
65220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65221         file.
65222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65224         file.
65225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65227         file.
65228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65230         file.
65231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65233         file.
65234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65236         file.
65237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65238         file.
65239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65240         file.
65241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65242         file.
65243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65244         New file.
65245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65246         file.
65247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65248         file.
65249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65251         file.
65252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65254         file.
65255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65257         file.
65258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65260         VIS3 routines.
65262         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65263         New file.
65265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65267         * sysdeps/sparc/configure.in: New file.
65268         * sysdeps/sparc/configure: Generate.
65269         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65270         * configure: Regenerate.
65271         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65272         * config.make.in (have-as-vis3): New.
65273         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65274         available use -Av9d instead of -Av9a.
65275         * sysdeps/sparc/sparc64/Makefile: Likewise.
65276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65278         New file.
65279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65280         file.
65281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65282         New file.
65283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65284         file.
65285         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65286         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65287         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65288         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65289         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65291         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65292         fzeros/fnegs to load 0x80000000 into a float register instead of
65293         using the stack.
65294         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65296 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65299         bits/syscall.h.
65300         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65301         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65302         ($(inst_includedir)/bits/syscall.h): Remove rule.
65303         ($(objpfx)bits/syscall.d): Include instead of
65304         $(objpfx)syscall-list.d.
65305         (generated): Change syscall-list.h and syscall-list.d to
65306         bits/syscall.h and bits/syscall.d.
65308 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65310         [BZ #13846]
65311         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65313 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65315         [BZ #13841]
65316         * math/s_csqrt.c: Include <float.h>.
65317         (__csqrt): Scale large or subnormal inputs.
65318         * math/s_csqrtf.c: Likewise.
65319         * math/s_csqrtl.c: Likewise.
65320         * math/libm-test.inc (csqrt_test): Add more tests.
65321         * sysdeps/i386/fpu/libm-test-ulps: Update.
65322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65324         [BZ #13840]
65325         * math/libm-test.inc (hypot_test): Add more tests.
65327 2012-03-13  David S. Miller  <davem@davemloft.net>
65329         [BZ #13840]
65330         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65331         double-precision for the calculation instead of scaling.
65333 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65335         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65336         manipulate bits before adding and subtracting TWO52[sx].
65337         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65338         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65339         Likewise.
65340         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65342 2012-03-13  David S. Miller  <davem@davemloft.net>
65344         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65345         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65346         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65347         rtld-global-offsets.h
65348         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65350         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65351         large parameters.
65353         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65355         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65356         'err' in the ifdef scope in which it is actually used.
65358         * nss/nss_db/db-init.c: Include string.h
65360 2012-03-12  David S. Miller  <davem@davemloft.net>
65362         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65363         masking out of the most significant byte of random value used.
65364         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65365         Fix coding style in previous change.
65367         * sysdeps/unix/sysv/linux/kernel-features.h
65368         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65369         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65370         expression.
65371         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65372         later.
65374 2012-03-11  David S. Miller  <davem@davemloft.net>
65376         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65377         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65378         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65379         for 'resultvar' otherwise things get truncated on 64-bit.
65381         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65382         Fix masking out of the most significant byte of random value used.
65384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65386 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65390 2012-03-09  David S. Miller  <davem@davemloft.net>
65392         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65393         variables with appropriate CPP guards.
65394         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65395         from the frame pointer, not the stack pointer.  Correct layout
65396         comments.  Fix test on resulting framesize and the management of
65397         the outregs buffer for pltexit.  Preserve floating point return
65398         values across _dl_call_pltexit call.
65399         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65400         framesize and the management of the outregs buffer for pltexit.
65401         Preserve floating point return values across _dl_call_pltexit
65402         call.
65403         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65404         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65405         (la_sparc64_gnu_pltexit): New functions.
65406         (print_exit): Fix format string for return register value.
65408 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65410         * sunrpc/Makefile (others): Add rpcgen.
65411         ($(objpfx)rpcgen): Remove special build rule and dependency on
65412         libc.
65413         * sunrpc/rpcgen.c: New file.
65415 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65417         [BZ #13673]
65418         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65419         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65420         * sysdeps/i386/crti.S: Likewise.
65421         * sysdeps/i386/crtn.S: Likewise.
65422         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65423         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65424         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65425         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65426         * sysdeps/sh/crti.S: Likewise.
65427         * sysdeps/sh/crtn.S: Likewise.
65428         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65430         [BZ #13673]
65431         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65432         with URL.
65433         * locale/programs/locfile-kw.gperf: Likewise.
65434         * locale/programs/charmap-kw.h: Regenerated.
65435         * locale/programs/locfile-kw.h: Likewise.
65437         [BZ #13673]
65438         * intl/plural.y: Replace FSF snail mail address with URL.
65439         * intl/plural.c: Regenerated.
65441 2012-03-09  Richard Henderson  <rth@twiddle.net>
65443         * include/math_private.h: Remove file.
65444         * math/math_private.h: Move file ...
65445         * sysdeps/generic/math_private.h: ... here.
65447         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65448         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65449         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65451         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65452         and <math_private.h>.
65453         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65454         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65455         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65456         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65457         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65458         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65459         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65460         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65461         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65462         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65463         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65464         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65465         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65466         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65467         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65468         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65469         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65470         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65471         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65472         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65473         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65474         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65475         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65476         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65477         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65478         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65479         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65480         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65481         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65482         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65483         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65484         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65485         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65486         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65487         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65488         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65489         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65490         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65491         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65492         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65493         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
65494         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65495         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65496         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
65497         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
65498         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65499         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
65500         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65501         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65502         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65503         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
65504         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65505         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
65506         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65507         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65508         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65509         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65510         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65511         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65512         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65513         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65514         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65515         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65516         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65517         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65518         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65519         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65520         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65521         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65522         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65523         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65524         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65525         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65526         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65527         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
65528         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
65529         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
65530         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65531         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
65532         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
65533         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65534         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
65535         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65536         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65537         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65538         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
65539         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
65540         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
65541         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65542         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65543         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65544         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65545         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65546         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65547         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65548         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65549         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65550         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65551         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65552         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65553         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65554         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65555         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65556         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65557         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65558         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65559         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65560         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65561         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65562         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65563         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65564         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65565         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65566         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65567         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
65568         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65569         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65570         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65571         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65572         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65573         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65574         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65575         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65576         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
65577         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65578         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65579         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65580         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
65581         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65582         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
65583         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
65584         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65585         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65586         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
65587         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
65588         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65589         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65590         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65591         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
65592         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65593         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65594         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65595         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65596         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
65597         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
65598         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65599         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65600         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65601         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
65602         * sysdeps/ieee754/k_standard.c: Likewise.
65603         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65604         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65605         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65606         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65607         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65608         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65609         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65610         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65611         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65612         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65613         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65614         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65615         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65616         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65617         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65618         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65619         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65620         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65621         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65622         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
65623         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
65624         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
65625         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65626         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65627         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65628         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
65629         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65630         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65631         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65632         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65633         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65634         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65635         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65636         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65637         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65638         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65639         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65640         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
65641         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
65642         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65643         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65644         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65645         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65646         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65647         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65648         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65649         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65650         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65651         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65652         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65653         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65654         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65655         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65656         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
65657         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65658         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65659         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
65660         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
65661         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65662         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65663         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65664         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65665         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65666         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65667         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65668         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65669         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65670         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65671         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65672         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65673         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65674         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65675         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65676         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65677         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65678         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65679         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
65680         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65681         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65682         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65683         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65684         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65685         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65686         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65687         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
65688         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65689         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65690         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
65691         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65692         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65693         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
65694         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65695         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
65696         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65697         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65698         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65699         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
65700         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
65701         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
65702         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
65703         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65704         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65705         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65706         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65707         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
65708         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65709         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65710         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
65711         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
65712         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65713         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65714         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65715         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65716         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65717         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65718         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65719         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65720         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65721         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65722         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65723         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65724         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65725         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65726         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65727         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65728         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
65729         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65730         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65731         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65732         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65733         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65734         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65735         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65736         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
65737         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65738         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65739         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
65740         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
65741         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65742         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
65743         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
65744         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65745         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
65746         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
65747         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65748         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65749         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65750         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65751         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65752         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
65753         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65754         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65755         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65756         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65757         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
65758         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
65759         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65760         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65761         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65762         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
65763         * sysdeps/ieee754/s_lib_version.c: Likewise.
65764         * sysdeps/ieee754/s_matherr.c: Likewise.
65765         * sysdeps/ieee754/s_signgam.c: Likewise.
65766         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65767         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65768         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
65769         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
65770         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
65771         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65772         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
65773         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
65774         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
65775         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
65776         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65777         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
65778         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65779         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65780         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
65781         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65782         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65783         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65784         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65785         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65786         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65788 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65790         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
65791         * sunrpc/rpc_main.c: Likewise.
65792         * sunrpc/rpc_svcout.c: Likewise.
65794 2012-03-09  David S. Miller  <davem@davemloft.net>
65796         * include/math_private.h: New file.
65798 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65800         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
65801         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
65802         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
65803         from <bits/socket_type.h>.
65804         (enum __socket_type): Don't define here.
65805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
65806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65807         bits/socket_type.h.
65809         [BZ #13566]
65810         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
65811         checking __USE_GNU.
65813         * Makerules ($(inst_includedir)/%.h): New rule.
65814         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
65815         (install-others): Remove variable setting.
65816         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
65818 2012-03-08  Richard Henderson  <rth@twiddle.net>
65820         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
65821         from macro to inline function; merge with the
65822         !__LIBC_INTERNAL_MATH_INLINES version.
65823         (__ieee754_sqrtf): Likewise.
65825         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
65826         to inline function.
65827         (__rintf, __floor, __floorf): Likewise.
65829         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
65830         macro to inline function.
65831         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
65833         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
65834         not <math/math_private.h>.
65836 2012-03-08  David S. Miller  <davem@davemloft.net>
65838         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
65839         copyright year.
65840         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
65842 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
65844         * resolv/gai_misc.c (handle_requests): Fix struct timespec
65845         normalization.
65846         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
65847         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
65849 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
65851         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
65852         be defined individually, they must be defined as a block.  Define
65853         S for printing a string instead of hidint the different by using a
65854         macro for adding the 'l'.
65855         * stdio-common/tst-fphex-wide.c: Adjust.
65857 2012-03-07  Marek Polacek  <polacek@redhat.com>
65859         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
65861 2012-03-08  Marek Polacek  <polacek@redhat.com>
65863         [BZ #13806]
65864         * stdio-common/Makefile (tests): Add tst-fphex-wide.
65865         * stdio-common/tst-fphex.c: Define a few macros to make the
65866         test reusable.  Use them.
65867         * stdio-common/tst-fphex-wide.c: New file.
65869 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
65871         [BZ #6911]
65872         * manual/macros.texi (gnusystems): New macro.
65873         (nongnusystems): Likewise.
65874         (gnulinuxhurdsystems): Likewise.
65875         (gnuhurdsystems): Likewise..
65876         (gnulinuxsystems): Likewise.
65877         * manual/charset.texi: Use new macros or @theglibc{} to refer to
65878         variants of the GNU system, not "GNU system".
65879         * manual/conf.texi: Likewise.
65880         * manual/errno.texi: Likewise.  Update example of errno macro
65881         expansion.
65882         * manual/filesys.texi: Likewise.
65883         (getumask): Document as specific to GNU/Hurd.
65884         * manual/install.texi: Likewise.  Reword some references to
65885         GNU/Linux.
65886         * manual/intro.texi: Likewise.
65887         * manual/io.texi: Likewise.
65888         (File Name Portability): Detail which constraints are inapplicable
65889         to all GNU systems and which are only inapplicable to GNU/Hurd.
65890         * manual/job.texi: Likewise.
65891         * manual/llio.texi: Likewise.
65892         (O_NOCTTY): Document as present on GNU/Linux.
65893         * manual/maint.texi: Likewise.
65894         * manual/memory.texi: Likewise.
65895         * manual/pattern.texi: Likewise.
65896         * manual/pipe.texi: Likewise.
65897         * manual/process.texi: Likewise.
65898         * manual/resource.texi: Likewise.
65899         (RUSAGE_CHILDREN): Remove statement about specifying a particular
65900         child on GNU/Hurd.
65901         * manual/setjmp.texi: Likewise.
65902         * manual/signal.texi: Likewise.
65903         * manual/startup.texi: Likewise.
65904         * manual/stdio.texi: Likewise.
65905         * manual/terminal.texi: Likewise.
65906         (ONLCR): Document as POSIX.
65907         (OXTABS): Document availability on GNU/Linux as XTABS.
65908         (ONOEOT): Document availability separately from other bits.
65909         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
65910         * manual/time.texi: Likewise.
65911         * manual/users.texi: Likewise.
65912         * INSTALL: Regenerated.
65913         * sysdeps/gnu/errlist.c: Regenerated.
65915         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
65916         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
65917         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
65918         puts.
65919         * configure: Regenerated.
65921 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
65923         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
65924         default includes instead of AC_HEADER_CHECK.
65925         * sysdeps/i386/configure: Regenerated.
65927         [BZ #10716]
65928         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
65929         * math/s_cacoshf.c (__cacoshf): Likewise.
65930         * math/s_cacoshl.c (__cacoshl): Likewise.
65931         * math/s_casinh.c (__casinh): Set signs of result from argument.
65932         * math/s_casinhf.c (__casinhf): Likewise.
65933         * math/s_casinhl.c (__casinhl): Likewise.
65934         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
65935         (casinh_test): Add more tests.
65936         * sysdeps/i386/fpu/libm-test-ulps: Update.
65937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65939 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
65941         * po/zh_TW.po: Update from translation team.
65943         * login/Makefile (distribute): Remove variable.
65944         * catgets/Makefile: Likewise.
65945         * mach/Makefile: Likewise.
65946         * malloc/Makefile: Likewise.
65947         * misc/Makefile: Likewise.
65948         * iconv/Makefile: Likewise.
65949         * nscd/Makefile: Likewise.
65950         * hurd/Makefile: Likewise.
65951         * manual/Makefile: Likewise.
65952         * locale/Makefile: Likewise.
65953         * intl/Makefile: Likewise.
65954         * conform/Makefile: Likewise.
65955         * nss/Makefile: Likewise.
65956         * time/Makefile: Likewise.
65957         * soft-fp/Makefile: Likewise.
65958         * dirent/Makefile: Likewise.
65959         * gmon/Makefile: Likewise.
65960         * po/Makefile: Likewise.
65961         * rt/Makefile: Likewise.
65962         * socket/Makefile: Likewise.
65963         * math/Makefile: Likewise.
65964         * signal/Makefile: Likewise.
65965         * debug/Makefile: Likewise.
65966         * elf/Makefile: Likewise.
65967         * timezone/Makefile: Likewise.
65968         * stdlib/Makefile: Likewise.
65969         * iconvdata/Makefile: Likewise.
65970         * sunrpc/Makefile: Likewise.
65971         * io/Makefile: Likewise.
65972         * argp/Makefile: Likewise.
65973         * inet/Makefile: Likewise.
65974         * hesiod/Makefile: Likewise.
65975         * grp/Makefile: Likewise.
65976         * csu/Makefile: Likewise.
65977         * wctype/Makefile: Likewise.
65978         * crypt/Makefile: Likewise.
65979         * libio/Makefile: Likewise.
65980         * string/Makefile: Likewise.
65981         * nis/Makefile: Likewise.
65982         * resolv/Makefile: Likewise.
65983         * stdio-common/Makefile: Likewise.
65984         * wcsmbs/Makefile: Likewise.
65985         * dlfcn/Makefile: Likewise.
65986         * posix/Makefile: Likewise.
65988         [BZ #6959]
65989         * timezone/Makefile: Don't install timezone files, just the programs
65990         and scripts.
65992 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
65994         * nss/databases.def: Add missing gshadow entry.
65996         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
65998 2012-03-06  Marek Polacek  <polacek@redhat.com>
66000         [BZ #13726]
66001         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
66002         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
66003         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
66004         * stdio-common/tst-long-dbl-fphex.c: New file.
66006 2012-03-06  David S. Miller  <davem@davemloft.net>
66008         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66009         (set_obp_int): New function.
66010         (get_obp_int): New function.
66011         (__get_clockfreq_via_dev_openprom): Likewise.
66012         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
66013         Avoid unused variable warnings on 'val' and use builtin_expect.
66014         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
66015         __builtin_expect.
66016         (INLINE_CLONE_SYSCALL): Likewise.
66018 2012-03-05  David S. Miller  <davem@davemloft.net>
66020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66022 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
66024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66026         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
66027         only for |x| >= 40.
66028         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66030 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
66032         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
66033         Replace gettimeofday with __vdso_gettimeofday.
66035         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66036         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
66037         __vdso_clock_gettime and __vdso_getcpu.
66039         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
66040         time with __vdso_time.
66042 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66044         * manual/lang.texi (size_t): Note types to which size_t may be
66045         equivalent with the GNU C Library, but do not describe when
66046         differences between them are significant.
66048 2012-03-05  Andreas Jaeger  <aj@suse.de>
66050         * sysdeps/i386/fpu/libm-test-ulps: Update.
66052 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66054         [BZ #3976]
66055         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
66056         (__ieee754_pow): Save and restore rounding mode and use
66057         round-to-nearest for main computations.
66058         * math/libm-test.inc (pow_test_tonearest): New function.
66059         (pow_test_towardzero): Likewise.
66060         (pow_test_downward): Likewise.
66061         (pow_test_upward): Likewise.
66062         (main): Call the new functions.
66063         * sysdeps/i386/fpu/libm-test-ulps: Update.
66064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66066         [BZ #3976]
66067         * math/libm-test.inc (cosh_test_tonearest): New function.
66068         (cosh_test_towardzero): Likewise.
66069         (cosh_test_downward): Likewise.
66070         (cosh_test_upward): Likewise.
66071         (sinh_test_tonearest): Likewise.
66072         (sinh_test_towardzero): Likewise.
66073         (sinh_test_downward): Likewise.
66074         (sinh_test_upward): Likewise.
66075         (main): Call the new functions.
66076         * sysdeps/i386/fpu/libm-test-ulps: Update.
66077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66079 2012-03-05  Tom de Vries  <tom@codesourcery.com>
66081         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
66082         default stack guard is set in last bytes.
66083         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
66085 2012-03-05  Kees Cook  <keescook@chromium.org>
66087         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
66089         [BZ #13656]
66090         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
66091         possibly allocate from heap instead of stack.
66092         * stdio-common/bug-vfprintf-nargs.c: New file.
66093         * stdio-common/Makefile (tests): Add nargs overflow test.
66095 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
66097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66099 2012-03-03  Marek Polacek  <polacek@redhat.com>
66101         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
66102         * math/math_private.h: Likewise.
66103         * stdlib/tst-strtod.c: Likewise.
66104         * sysdeps/i386/i486/bits/atomic.h: Likewise.
66105         * sysdeps/x86_64/bits/atomic.h: Likewise.
66107 2012-03-02  David S. Miller  <davem@davemloft.net>
66109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
66110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
66111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
66112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
66113         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
66114         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
66115         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
66116         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66118 2012-03-02  Roland McGrath  <roland@hack.frob.com>
66120         [BZ #13792]
66121         * manual/examples/README: New file, says the example source files
66122         can be used under GPL>=2.
66123         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66124         line containing just "*/".
66125         * manual/examples/add.c: Add copyright header (GPL>=2).
66126         * manual/examples/argp-ex1.c: Likewise.
66127         * manual/examples/argp-ex2.c: Likewise.
66128         * manual/examples/argp-ex3.c: Likewise.
66129         * manual/examples/argp-ex4.c: Likewise.
66130         * manual/examples/atexit.c: Likewise.
66131         * manual/examples/db.c: Likewise.
66132         * manual/examples/dir.c: Likewise.
66133         * manual/examples/dir2.c: Likewise.
66134         * manual/examples/execinfo.c: Likewise.
66135         * manual/examples/filecli.c: Likewise.
66136         * manual/examples/filesrv.c: Likewise.
66137         * manual/examples/fmtmsgexpl.c: Likewise.
66138         * manual/examples/genpass.c: Likewise.
66139         * manual/examples/inetcli.c: Likewise.
66140         * manual/examples/inetsrv.c: Likewise.
66141         * manual/examples/isockad.c: Likewise.
66142         * manual/examples/longopt.c: Likewise.
66143         * manual/examples/memopen.c: Likewise.
66144         * manual/examples/memstrm.c: Likewise.
66145         * manual/examples/mkfsock.c: Likewise.
66146         * manual/examples/mkisock.c: Likewise.
66147         * manual/examples/mygetpass.c: Likewise.
66148         * manual/examples/pipe.c: Likewise.
66149         * manual/examples/popen.c: Likewise.
66150         * manual/examples/rprintf.c: Likewise.
66151         * manual/examples/search.c: Likewise.
66152         * manual/examples/select.c: Likewise.
66153         * manual/examples/setjmp.c: Likewise.
66154         * manual/examples/sigh1.c: Likewise.
66155         * manual/examples/sigusr.c: Likewise.
66156         * manual/examples/stpcpy.c: Likewise.
66157         * manual/examples/strdupa.c: Likewise.
66158         * manual/examples/strftim.c: Likewise.
66159         * manual/examples/strncat.c: Likewise.
66160         * manual/examples/subopt.c: Likewise.
66161         * manual/examples/swapcontext.c: Likewise.
66162         * manual/examples/termios.c: Likewise.
66163         * manual/examples/testopt.c: Likewise.
66164         * manual/examples/testpass.c: Likewise.
66165         * manual/examples/timeval_subtract.c: Likewise.
66167         [BZ #13792]
66168         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66169         function to ...
66170         * manual/timeval_subtract.c.texi: ... here, new file.
66172 2012-03-02  David S. Miller  <davem@davemloft.net>
66174         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66176 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66178         [BZ #3976]
66179         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66180         (__sin): Save and restore rounding mode and use round-to-nearest
66181         for all computations.
66182         (__cos): Save and restore rounding mode and use round-to-nearest
66183         for all computations.
66184         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66185         <fenv.h>.
66186         (tan): Save and restore rounding mode and use round-to-nearest for
66187         all computations.
66188         * math/libm-test.inc (cos_test_tonearest): New function.
66189         (cos_test_towardzero): Likewise.
66190         (cos_test_downward): Likewise.
66191         (cos_test_upward): Likewise.
66192         (sin_test_tonearest): Likewise.
66193         (sin_test_towardzero): Likewise.
66194         (sin_test_downward): Likewise.
66195         (sin_test_upward): Likewise.
66196         (tan_test_tonearest): Likewise.
66197         (tan_test_towardzero): Likewise.
66198         (tan_test_downward): Likewise.
66199         (tan_test_upward): Likewise.
66200         (main): Call the new functions.
66201         * sysdeps/i386/fpu/libm-test-ulps: Update.
66202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66204         [BZ #10135]
66205         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66206         small n, then large n, before computing and testing k+n.
66207         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66208         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66209         Likewise.
66210         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66211         Likewise.
66212         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66213         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66214         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66215         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66216         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66217         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66218         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66219         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66220         * math/libm-test.inc (scalbn_test): Add more tests.
66221         (scalbln_test): Likewise.
66223         * manual/filesys.texi (mode_t): Describe constraints on size and
66224         signedness, not exact equivalence to a particular type.
66225         (ino_t): Likewise.
66226         (ino64_t): Likewise.
66227         (dev_t): Likewise.
66228         (nlink_t): Likewise.
66229         (blkcnt_t): Likewise.
66230         (blkcnt64_t): Likewise.
66231         * manual/llio.texi (off_t): Likewise.
66233         [BZ #3976]
66234         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66235         (__ieee754_exp): Save and restore rounding mode and use
66236         round-to-nearest for all computations.
66237         * math/libm-test.inc (exp_test_tonearest): New function.
66238         (exp_test_towardzero): Likewise.
66239         (exp_test_downward): Likewise.
66240         (exp_test_upward): Likewise.
66241         (main): Call the new functions.
66242         * sysdeps/i386/fpu/libm-test-ulps: Update.
66243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66245 2012-03-01  Chris Demetriou  <cgd@google.com>
66247         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66248         have predictable order.
66250 2012-03-01  David S. Miller  <davem@davemloft.net>
66252         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66254         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66255         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66256         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66257         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66259         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66260         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66261         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66263         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66264         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66265         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66266         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66267         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66271         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66272         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66273         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66275         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66276         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66277         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66278         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66279         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66280         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66281         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66282         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66283         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66284         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66285         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66286         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66287         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66288         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66289         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66290         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66291         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66292         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66293         * sysdeps/sparc/elf/configure: Regenerated.
66295 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66297         * configure.in (AS, LD): Require binutils 2.20 or later.
66298         * configure: Regenerated.
66299         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66300         as required minimum version.
66301         * INSTALL: Regenerated.
66303         [BZ #2541]
66304         [BZ #4108]
66305         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66306         before squaring exponent.
66307         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66308         bottom long double and 27 bits of top long double before squaring
66309         exponent.
66310         * math/libm-test.inc (erfc_test): Add more tests.
66311         * sysdeps/i386/fpu/libm-test-ulps: Update.
66312         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66315 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66317         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66318         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66319         containing bit-fields.
66320         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66321         * soft-fp/single.h (_FP_UNION_S): Likewise.
66322         * soft-fp/double.h (_FP_UNION_D): Likewise.
66324 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66326         [BZ #13786]
66327         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66328         not include ../strcmp.S.
66329         [USE_AS_STRNCASECMP_L]: Likewise.
66330         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66331         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66332         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66333         (__strncasecmp_l_ia32): Define as alias to
66334         __strncasecmp_l_nonascii.
66336         [BZ #5794]
66337         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66338         * sysdeps/i386/fpu/libm-test-ulps: Update.
66339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66341         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66344 2012-02-29  Jeff Law  <law@redhat.com>
66346         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66347         out of bounds read.
66349 2012-02-29  Marek Polacek  <polacek@redhat.com>
66351         [BZ #13706]
66352         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66353         * elf/Makefile: Add rules to run tst-unused-dep.out.
66355 2012-02-28  David S. Miller  <davem@davemloft.net>
66357         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66358         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66359         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66360         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66361         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66362         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66364 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66366         * math/libm-test.inc (llround_test): Move one test from
66367         lround_test.  Use TEST_f_L in moved test.
66368         (lround_test): Move misplaced test to llround_test.  Add testcase
66369         from bug 2561.
66371 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66373         * sysdeps/x86_64/fpu/e_expf.S: New file.
66374         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66376 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66378         [BZ #13637]
66379         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66380         of remain_len that may cause incomplete multi-byte character and
66381         false match.
66382         * posix/bug-regex33.c: New file.
66383         * posix/Makefile (tests): Add bug-regex33.
66385 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66387         * manual/macros.texi: New file.
66388         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66389         * manual/libc.texinfo: Include macros.texi.
66390         * manual/creatute.texi: Likewise.
66391         * manual/install.texi: Likewise.
66392         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66393         @glibcadj{} in references to the GNU C Library.
66394         * manual/charset.texi: Likewise.
66395         * manual/conf.texi: Likewise.
66396         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66397         when not using those macros.
66398         * manual/creature.texi: Likewise.
66399         * manual/crypt.texi: Likewise.
66400         * manual/errno.texi: Likewise.
66401         * manual/filesys.texi: Likewise.
66402         * manual/header.texi: Likewise.
66403         * manual/install.texi: Likewise.
66404         * manual/intro.texi: Likewise.
66405         * manual/io.texi: Likewise.
66406         * manual/job.texi: Likewise.
66407         * manual/lang.texi: Likewise.
66408         * manual/libc.texiinfo: Likewise.
66409         * manual/llio.texi: Likewise.
66410         * manual/locale.texi: Likewise.
66411         * manual/maint.texi: Likewise.
66412         * manual/math.texi: Likewise.
66413         * manual/memory.texi: Likewise.
66414         * manual/message.texi: Likewise.
66415         * manual/nss.texi: Likewise.
66416         * manual/pattern.texi: Likewise.
66417         * manual/process.texi: Likewise.
66418         * manual/resource.texi: Likewise.
66419         * manual/search.texi: Likewise.
66420         * manual/setjmp.texi: Likewise.
66421         * manual/signal.texi: Likewise.
66422         * manual/socket.texi: Likewise.
66423         * manual/startup.texi: Likewise.
66424         * manual/stdio.texi: Likewise.
66425         * manual/string.texi: Likewise.
66426         * manual/sysinfo.texi: Likewise.
66427         * manual/syslog.texi: Likewise.
66428         * manual/terminal.texi: Likewise.
66429         * manual/time.texi: Likewise.
66430         * manual/users.texi: Likewise.
66431         * INSTALL: Regenerated.
66432         * NOTES: Regenerated.
66433         * sysdeps/gnu/errlist.c: Regenerated.
66435 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66437         * include/dirent.h: Include <dirstream.h> before
66438         <dirent/dirent.h>.
66440 2012-02-28  David S. Miller  <davem@davemloft.net>
66442         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66443         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66444         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66445         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66447 2012-02-27  David S. Miller  <davem@davemloft.net>
66449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66451         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66452         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66455         frame pointer instead of stack pointer relative arg slot.
66456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66457         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66458         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66460 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66462         [BZ #3992]
66463         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66465 2012-02-27  David S. Miller  <davem@davemloft.net>
66467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66471         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66472         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66473         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66474         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66476 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66478         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66479         later.  Allow versions 5-9.
66480         * configure: Regenerated.
66481         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66482         required minimum version and 4.6 as recommended version.  Do not
66483         mention bugs in GCC 2.7 and 2.8.
66484         * INSTALL: Regenerated.
66486 2012-02-27  David S. Miller  <davem@davemloft.net>
66488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
66492         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
66493         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
66494         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
66495         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
66497         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
66498         manipulate bits before adding and subtracting TWO112[sx].
66499         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66501 2012-02-27  Roland McGrath  <roland@hack.frob.com>
66503         [BZ #13775]
66504         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
66505         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
66506         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
66507         being in POSIX, because they are in 1003.1-2008.
66509         * rt/tst-aio.c: Include <fcntl.h>.
66510         * rt/tst-aio7.c: Likewise.
66511         * rt/tst-aio64.c: Likewise.
66513         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66515 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66517         * manual/install.texi (--with-headers): Describe headers as
66518         interface headers, not private headers.
66519         (Specific advice for GNU/Linux systems): Describe use of headers
66520         from "make headers_install", not private headers from older
66521         kernels.
66522         * INSTALL: Regenerated.
66523         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66524         Change to 2.6.19.
66525         * sysdeps/unix/sysv/linux/configure: Regenerated.
66527         * manual/llio.texi (fclean): Remove documentation.
66529         * manual/Makefile (libc-texi-generated): New variable.  Include
66530         version.texi.
66531         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
66532         $(libc-texi-generated), not duplicated list of files.
66533         (version.texi, stamp-version): New rules.
66534         (realclean): Remove $(libc-texi-generated), not individual files
66535         from that list.  Do not remove dir-add.texinfo.
66536         * manual/libc.texinfo: Comment out uses of edition numbers and
66537         references to printed manual.  Remove last-updated dates.
66538         (EDITION): Comment out.
66539         (ISBN): Likewise.
66540         (VERSION, UPDATED): Remove.
66541         (version.texi): Include.
66543 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
66545         * sysdeps/posix/spawni.c: Include <signal.h>.
66546         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
66547         * sysdeps/pthread/aio_fsync.c: Likewise.
66549 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
66551         * conform/Makefile (tests): Run only when not cross-compiling and
66552         when fast-check is not defined.
66554         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
66555         * conform/data/limits.h-data: Fixes for POSIX2008.
66556         * conform/run-conformtest.sh: Run all tests.
66557         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
66558         headers.
66559         * include/bits/dlfcn.h: Likewise.
66560         * include/langinfo.h: Likewise.
66561         * include/monetary.h: Likewise.
66562         * include/sys/poll.h: Likewise.
66564         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
66565         for __USE_GNU.
66566         * posix/spawn.h: Define __need_sigset_t.
66567         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
66568         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
66569         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
66570         to get sigevent_t only.
66571         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
66572         only for __USE_GNU.
66573         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66574         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66575         process_vm_writev only for __USE_GNU.
66576         * termios/termios.h: Declare tcgetsid also for POSIX2008.
66578         * conform/Makefile: For now ignore errors from run-conformtest.
66579         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
66580         POSIX to avoid namespace pollution.  Don't prepend headers.
66581         * conform/data/aio.h-data: Fixes for POSIX testing.
66582         * conform/data/fcntl.h-data: Likewise.
66583         * conform/data/glob.h-data: Likewise.
66584         * conform/data/grp.h-data: Likewise.
66585         * conform/data/pthread.h-data: Likewise.
66586         * conform/data/pwd.h-data: Likewise.
66587         * conform/data/signal.h-data: Likewise.
66588         * conform/data/spawn.h-data: Likewise.
66589         * conform/data/stdio.h-data: Likewise.
66590         * conform/data/stdlib.h-data: Likewise.
66591         * conform/data/stropts.h-data: Likewise.
66592         * conform/data/sys/mman.h-data: Likewise.
66593         * conform/data/sys/stat.h-data: Likewise.
66594         * conform/data/sys/types.h-data: Likewise.
66595         * conform/data/sys/wait.h-data: Likewise.
66596         * conform/data/time.h-data: Likewise.
66597         * conform/data/unistd.h-data: Likewise.
66598         * conform/data/utime.h-data: Likewise.
66600         * io/sys/stat.h: fchmod was always in POSIX.
66601         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
66602         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
66603         * rt/aio.h: Define __need_timespec before including <time.h>.
66604         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
66605         struct.  Add forward declaration of pthread_attr_t and use it in
66606         sigevent.
66607         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66608         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66609         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
66610         always remove CLK_TCK definition.
66612 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
66614         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
66616 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
66618         * conform/run-conformtest.sh: New file.
66619         * conform/Makefile: Run run-conformtest for tests.
66620         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
66621         support.
66623         * conform/data/uchar.h-data: New file.
66624         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
66625         * conform/data/arpa/inet.h-data: Likewise.
66626         * conform/data/assert.h-data: Likewise.
66627         * conform/data/complex.h-data: Likewise.
66628         * conform/data/cpio.h-data: Likewise.
66629         * conform/data/ctype.h-data: Likewise.
66630         * conform/data/dirent.h-data: Likewise.
66631         * conform/data/dlfcn.h-data: Likewise.
66632         * conform/data/errno.h-data: Likewise.
66633         * conform/data/fcntl.h-data: Likewise.
66634         * conform/data/float.h-data: Likewise.
66635         * conform/data/fmtmsg.h-data: Likewise.
66636         * conform/data/fnmatch.h-data: Likewise.
66637         * conform/data/ftw.h-data: Likewise.
66638         * conform/data/glob.h-data: Likewise.
66639         * conform/data/grp.h-data: Likewise.
66640         * conform/data/iconv.h-data: Likewise.
66641         * conform/data/inttypes.h-data: Likewise.
66642         * conform/data/langinfo.h-data: Likewise.
66643         * conform/data/libgen.h-data: Likewise.
66644         * conform/data/limits.h-data: Likewise.
66645         * conform/data/locale.h-data: Likewise.
66646         * conform/data/math.h-data: Likewise.
66647         * conform/data/monetary.h-data: Likewise.
66648         * conform/data/mqueue.h-data: Likewise.
66649         * conform/data/ndbm.h-data: Likewise.
66650         * conform/data/net/if.h-data: Likewise.
66651         * conform/data/netdb.h-data: Likewise.
66652         * conform/data/netinet/in.h-data: Likewise.
66653         * conform/data/nl_types.h-data: Likewise.
66654         * conform/data/poll.h-data: Likewise.
66655         * conform/data/pthread.h-data: Likewise.
66656         * conform/data/pwd.h-data: Likewise.
66657         * conform/data/regex.h-data: Likewise.
66658         * conform/data/sched.h-data: Likewise.
66659         * conform/data/search.h-data: Likewise.
66660         * conform/data/semaphore.h-data: Likewise.
66661         * conform/data/setjmp.h-data: Likewise.
66662         * conform/data/signal.h-data: Likewise.
66663         * conform/data/spawn.h-data: Likewise.
66664         * conform/data/stdarg.h-data: Likewise.
66665         * conform/data/stdio.h-data: Likewise.
66666         * conform/data/stdlib.h-data: Likewise.
66667         * conform/data/string.h-data: Likewise.
66668         * conform/data/strings.h-data: Likewise.
66669         * conform/data/stropts.h-data: Likewise.
66670         * conform/data/sys/ipc.h-data: Likewise.
66671         * conform/data/sys/mman.h-data: Likewise.
66672         * conform/data/sys/msg.h-data: Likewise.
66673         * conform/data/sys/resource.h-data: Likewise.
66674         * conform/data/sys/select.h-data: Likewise.
66675         * conform/data/sys/sem.h-data: Likewise.
66676         * conform/data/sys/shm.h-data: Likewise.
66677         * conform/data/sys/socket.h-data: Likewise.
66678         * conform/data/sys/stat.h-data: Likewise.
66679         * conform/data/sys/statvfs.h-data: Likewise.
66680         * conform/data/sys/time.h-data: Likewise.
66681         * conform/data/sys/timeb.h-data: Likewise.
66682         * conform/data/sys/times.h-data: Likewise.
66683         * conform/data/sys/types.h-data: Likewise.
66684         * conform/data/sys/uio.h-data: Likewise.
66685         * conform/data/sys/un.h-data: Likewise.
66686         * conform/data/sys/utsname.h-data: Likewise.
66687         * conform/data/sys/wait.h-data: Likewise.
66688         * conform/data/syslog.h-data: Likewise.
66689         * conform/data/tar.h-data: Likewise.
66690         * conform/data/termios.h-data: Likewise.
66691         * conform/data/utime.h-data: Likewise.
66692         * conform/data/utmpx.h-data: Likewise.
66693         * conform/data/varargs.h-data: Likewise.
66694         * conform/data/wchar.h-data: Likewise.
66695         * conform/data/wctype.h-data: Likewise.
66696         * conform/data/wordexp.h-data: Likewise.
66698         * include/stropts.h: New file.
66699         * include/uchar.h: New file.
66700         * include/aio.h: Changes to allow conformtest.pl to use the headers.
66701         * include/assert.h: Likewise.
66702         * include/ctype.h: Likewise.
66703         * include/dirent.h: Likewise.
66704         * include/dlfcn.h: Likewise.
66705         * include/fcntl.h: Likewise.
66706         * include/fnmatch.h: Likewise.
66707         * include/glob.h: Likewise.
66708         * include/grp.h: Likewise.
66709         * include/libio.h: Likewise.
66710         * include/locale.h: Likewise.
66711         * include/math.h: Likewise.
66712         * include/net/if.h: Likewise.
66713         * include/netdb.h: Likewise.
66714         * include/netinet/in.h: Likewise.
66715         * include/pthread.h: Likewise.
66716         * include/pwd.h: Likewise.
66717         * include/regex.h: Likewise.
66718         * include/sched.h: Likewise.
66719         * include/search.h: Likewise.
66720         * include/setjmp.h: Likewise.
66721         * include/signal.h: Likewise.
66722         * include/stdio.h: Likewise.
66723         * include/stdlib.h: Likewise.
66724         * include/string.h: Likewise.
66725         * include/sys/cdefs.h: Likewise.
66726         * include/sys/mman.h: Likewise.
66727         * include/sys/msg.h: Likewise.
66728         * include/sys/resource.h: Likewise.
66729         * include/sys/select.h: Likewise.
66730         * include/sys/socket.h: Likewise.
66731         * include/sys/stat.h: Likewise.
66732         * include/sys/statvfs.h: Likewise.
66733         * include/sys/time.h: Likewise.
66734         * include/sys/times.h: Likewise.
66735         * include/sys/uio.h: Likewise.
66736         * include/sys/utsname.h: Likewise.
66737         * include/sys/wait.h: Likewise.
66738         * include/termios.h: Likewise.
66739         * include/time.h: Likewise.
66740         * include/ulimit.h: Likewise.
66741         * include/unistd.h: Likewise.
66742         * include/utime.h: Likewise.
66743         * include/wchar.h: Likewise.
66744         * include/wctype.h: Likewise.
66745         * include/wordexp.h: Likewise.
66747         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
66749         * time/time.h: TIME_UTC must be a macro.
66750         Make timespec_get available for ISO C11 only as well.
66752 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
66754         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
66755         Reported by Peng Haitao <penght@cn.fujitsu.com>.
66757 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66759         * configure.in: Use -o not -a in test for unsupported multi-arch.
66761 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66763         * manual/texinfo.tex: Update to version 2012-01-19.16.
66765 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66767         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
66769 2012-02-24  Roland McGrath  <roland@hack.frob.com>
66771         [BZ #13738]
66772         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
66773         * manual/fdl-1.3.texi: New file.
66774         * manual/fdl-1.1.texi: File removed.
66776         [BZ #13738]
66777         * manual/libc.texinfo (FDL_VERSION): New @set.
66778         Use it for mention of FDL in cover text.
66779         (Documentation License): Use it in @include file name.
66781 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66782             Roland McGrath  <roland@hack.frob.com>
66784         [BZ #5461]
66785         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
66786         (not LONG_LONG_MAX and LONG_LONG_MIN.
66787         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
66788         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
66789         name.
66790         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
66792 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66794         [BZ #2547]
66795         [BZ #11365]
66796         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
66797         manipulate bits before adding and subtracting TWO23[sx].
66798         * math/libm-test.inc (nearbyint_test): Add more tests.
66800 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66802         [BZ #2548]
66803         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
66804         bits before adding and subtracting TWO23[sx].
66805         * math/libm-test.inc (rint_test): Add more tests.
66806         (rint_test_tonearest): Likewise.
66807         (rint_test_towardzero): Likewise.
66808         (rint_test_downward): Likewise.
66809         (rint_test_upward: Likewise.
66811 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66813         [BZ #10110]
66814         * include/stdc-predef.h: New file.  Extracted from features.h.
66815         * include/features.h: Include stdc-predef.h.
66816         * Makefile (headers): Add stdc-predef.h.
66817         * CONFORMANCE (Compiler limitations): Update.
66819 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66821         * manual/libc.texinfo (VERSION, UPDATED): Revert.
66823 2012-02-21  David S. Miller  <davem@davemloft.net>
66825         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
66826         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66828 2012-02-20  David S. Miller  <davem@davemloft.net>
66830         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
66831         using a normal save/restore sequence, rather than allocating a
66832         dummy stack frame just to store a frame pointer and restore.
66833         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66835 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66837         * manual/install.texi: Fix stray word in line-wrapped comment.
66839 2012-02-20  David S. Miller  <davem@davemloft.net>
66841         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
66842         both binutils and gcc support GOTDATA.
66844         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
66845         "rd %pc" in the PIC register setup sequences.
66847         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
66848         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
66849         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66850         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
66851         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66852         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66853         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66854         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66855         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
66856         (SYSCALL_ERROR_HANDLER): Likewise.
66857         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66858         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66859         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
66860         (SYSCALL_ERROR_HANDLER): Likewise.
66862         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
66863         (HAVE_GCC_GOTDATA): New.
66864         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
66865         relocation support in both binutils and gcc.
66866         * sysdeps/sparc/elf/configure: Regenerate.
66868         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
66869         * sysdeps/sparc/sparc32/elf/configure: Delete.
66870         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
66871         * sysdeps/sparc/sparc64/elf/configure: Delete.
66872         * sysdeps/sparc/elf/configure.in: New file.
66873         * sysdeps/sparc/elf/configure: Generate.
66875         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
66876         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
66877         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66878         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
66879         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
66881 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66883         * manual/install.texi: Do not mention specific glibc version
66884         numbers.
66885         * manual/libc.texinfo (VERSION, UPDATED): Update.
66886         (@copying): Use @copyright{} and range of years.
66888 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66890         [BZ #13695]
66891         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
66892         [crti.S not in sysdirs] (generated): Do not append.
66893         [crti.S not in sysdirs] (omit-deps): Likewise.
66894         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
66895         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
66896         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
66897         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
66898         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
66899         Likewise.
66900         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
66901         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
66902         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
66903         * csu/defs.awk: Remove file.
66904         * sysdeps/generic/initfini.c: Likewise.
66905         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
66906         variable.
66907         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
66908         Likewise.
66910 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66912         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
66913         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
66914         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
66915         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
66916         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66917         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
66918         <bits/epoll.h>.
66919         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
66920         (__EPOLL_PACKED): Define to empty if not defined by
66921         <bits/epoll.h>.
66922         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
66923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66924         bits/epoll.h.
66926 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66928         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
66929         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
66930         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
66931         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
66932         <bits/timerfd.h>.
66933         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
66934         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66935         bits/timerfd.h.
66937 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66939         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
66940         in C locale.
66941         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66942         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66943         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
66944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66946 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
66948         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66949         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66951 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
66953         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
66954         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
66955         defined.
66956         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
66957         Likewise.
66958         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
66959         entry for 2.16.
66961 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
66963         * math/w_acos.c: Use non-signaling floating-point comparisons.
66964         * math/w_acosf.c: Likewise.
66965         * math/w_acosh.c: Likewise.
66966         * math/w_acoshf.c: Likewise.
66967         * math/w_acoshl.c: Likewise.
66968         * math/w_acosl.c: Likewise.
66969         * math/w_asin.c: Likewise.
66970         * math/w_asinf.c: Likewise.
66971         * math/w_asinl.c: Likewise.
66972         * math/w_atanh.c: Likewise.
66973         * math/w_atanhf.c: Likewise.
66974         * math/w_atanhl.c: Likewise.
66975         * math/w_exp2.c: Likewise.
66976         * math/w_exp2f.c: Likewise.
66977         * math/w_exp2l.c: Likewise.
66978         * math/w_j0.c: Likewise.
66979         * math/w_j0f.c: Likewise.
66980         * math/w_j0l.c: Likewise.
66981         * math/w_j1.c: Likewise.
66982         * math/w_j1f.c: Likewise.
66983         * math/w_j1l.c: Likewise.
66984         * math/w_jn.c: Likewise.
66985         * math/w_jnf.c: Likewise.
66986         * math/w_log.c: Likewise.
66987         * math/w_log10.c: Likewise.
66988         * math/w_log10f.c: Likewise.
66989         * math/w_log10l.c: Likewise.
66990         * math/w_log2.c: Likewise.
66991         * math/w_log2f.c: Likewise.
66992         * math/w_log2l.c: Likewise.
66993         * math/w_logf.c: Likewise.
66994         * math/w_logl.c: Likewise.
66995         * math/w_sqrt.c: Likewise.
66996         * math/w_sqrtf.c: Likewise.
66997         * math/w_sqrtl.c: Likewise.
66998         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66999         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
67000         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67001         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67002         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67004 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67006         [BZ #9739]
67007         * manual/string.texi (strnlen): Use correct parameter name in
67008         equivalent expression.
67010 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67012         [BZ #11174]
67013         * manual/users.texi (seteuid): Consistently use neweuid for
67014         argument name.
67016 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67018         [BZ #13704]
67019         * manual/nss.texi (Services in the NSS configuration): Correct
67020         list of services in example configuration file.
67022 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
67024         [BZ #11322]
67025         * manual/arith.texi: Remove statements about negative zero
67026         behaving identically to zero.
67028 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67030         [BZ #5993]
67031         * manual/install.texi: Do not document upgrading from libc5.
67033 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67035         [BZ #4596]
67036         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
67038 2012-02-18  David S. Miller  <davem@davemloft.net>
67040         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
67041         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
67042         %o7 across the call.
67043         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
67044         instead.
67045         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
67046         SETUP_PIC_REG_LEAF.
67047         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67048         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
67049         * sysdeps/sparc/crtn.S: Likewise.
67051 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
67053         * aout/Makefile: Remove.
67055 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
67057         [BZ #13058]
67058         * manual/examples/argp-ex1.c (main): Format definition in GNU
67059         style.
67060         * manual/examples/argp-ex2.c (main): Likewise.
67061         * manual/examples/argp-ex3.c (main): Likewise.
67062         * manual/examples/argp-ex4.c (main): Likewise.
67063         * manual/examples/longopt.c (main): Use new-style prototype
67064         definition.
67065         * manual/examples/strncat.c (main): Specify return type and use
67066         (void) for arguments.
67067         * manual/examples/subopt.c (main): Use char **argv argument.
67069 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67071         [BZ #5077]
67072         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
67073         rounding modes.
67075 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
67077         [BZ #6907]
67078         * manual/string.texi (strchr): Change when strchrnul is
67079         recommended.
67081 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
67083         [BZ #174]
67084         * manual/locale.texi (setlocale): Document LOCPATH.
67086 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67088         [BZ #10210]
67089         * manual/process.texi (execle): Move @dots{} before last argument.
67091 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
67093         [BZ #12047]
67094         * manual/charset.texi (Generic Charset Conversion): Fix typo
67095         (LC_TYPE -> LC_CTYPE).
67097 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
67099         [BZ #5805]
67100         * manual/arith.texi (scalbn): Use @var{} on parameter names.
67101         (scalbnf): Likewise.
67102         (scalbnl): Likewise.
67103         (scalbln): Likewise.
67104         (scalblnf): Likewise.
67105         (scalblnl): Likewise.
67106         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
67107         (vwarnx): Likewise.
67108         (verr): Likewise.
67109         (verrx): Likewise.
67110         * manual/filesys.texi (telldir): Use braces around return type.
67111         * manual/llio.texi (mmap): Add space after comma.
67112         (mmap64): Likewise.
67113         * manual/math.texi (jn): Use @var{} on parameter names.
67114         (jnf): Likewise.
67115         (jnl): Likewise.
67116         (yn): Likewise.
67117         (ynf): Likewise.
67118         (ynl): Likewise.
67119         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
67120         line.
67121         * manual/resource.texi (ulimit): Use @dots{} instead of literal
67122         "...".
67123         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67124         (sched_get_priority_max): Likewise.
67125         * manual/signal.texi (sigvec): Add space after comma.
67126         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67127         names.
67128         (if_indextoname): Likewise.
67129         (if_freenameindex): Likewise.
67130         (sendto): Use ',' instead of '.' in prototype.
67131         * manual/startup.texi (syscall): Use @dots{} instead of literal
67132         "...".
67133         * manual/stdio.texi (__fpending): Separate initial words of
67134         paragraph from @deftypefun line.
67135         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67136         "...".
67137         (vsyslog): Use @var{} on parameter names.
67138         * manual/terminal.texi (stty): Use @var{} on parameter names.
67139         * manual/users.texi (getutmp): Use @var{} on parameter names.
67140         (getutmpx): Likewise.
67142 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67144         [BZ #6884]
67145         * manual/stdio.texi (fopen): Fix typos in description of
67146         ",ccs=STRING".
67148 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67150         [BZ #4026]
67151         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67152         get clock_id definition.
67154 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67156         [BZ #4822]
67157         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67158         (madvise): Cast every argument to void on its own.
67160 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67162         [BZ #9902]
67163         * manual/startup.texi (Exit Status): Fix typo.
67165 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67167         [BZ #10140]
67168         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67169         * manual/examples/argp-ex2.c: Likewise.
67170         * manual/examples/argp-ex3.c: Likewise.
67172 2012-02-16  Richard Henderson  <rth@redhat.com>
67174         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67175         * sysdeps/s390/s390-32/initfini.c: Remove.
67176         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67177         * sysdeps/s390/s390-64/initfini.c: Remove.
67179 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67181         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67182         compiler output for sysdeps/generic/initfini.c.
67183         * sysdeps/sh/elf/initfini.c: Remove file.
67185 2012-02-16  David S. Miller  <davem@davemloft.net>
67187         [BZ #11494]
67188         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67190         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67191         * sysdeps/sparc/crti.S: New file.
67192         * sysdeps/sparc/crtn.S: New file.
67193         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67194         * sysdeps/sparc/sparc64/Makefile: Likewise.
67196 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67198         [BZ #3335]
67199         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67201 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67203         [BZ #4822]
67204         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67206         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67207         (write, read, close): Likewise.
67208         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67210 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67212         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67213         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67214         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67215         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67216         <bits/signalfd.h>.
67217         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67218         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67219         bits/signalfd.h.
67221 2012-02-14  Marek Polacek  <polacek@redhat.com>
67223         * sysdeps/x86_64/crti.S: New file.
67224         * sysdeps/x86_64/crtn.S: New file.
67225         * sysdeps/x86_64/elf/initfini.c: Remove file.
67227 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67229         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67230         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67231         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67232         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67233         <bits/inotify.h>.
67234         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67235         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67236         bits/inotify.h.
67238 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67240         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67241         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67242         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67243         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67244         <bits/eventfd.h>.
67245         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67247         bits/eventfd.h.
67249 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67251         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67252         __feraiseexcept instead of feraiseexcept.
67254         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67255         nanosleep invocations.
67256         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67257         strings, and add error checking for a nanosleep invocations.
67259 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67261         Replace FSF snail mail address with URLs, as per GNU coding standards.
67262         Most of the snail mail addresses were wrong anyway, and omitting
67263         them makes the source code easier to maintain.  Almost all of the
67264         changes are to license notices and to locale LC_IDENTIFICATION
67265         addresses, except for this one:
67266         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67267         not its snail mail address.
67269 2012-02-09  Richard Henderson  <rth@twiddle.net>
67271         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67272         of kernel-features.h.
67274         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67276 2012-02-08  Marek Polacek  <polacek@redhat.com>
67278         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67279         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67280         * sysdeps/gnu/_G_config.h: Likewise.
67281         * sysdeps/generic/_G_config.h: Likewise.
67283 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67285         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67286         tests.
67287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67289         * sysdeps/powerpc/powerpc32/crti.S: New file.
67290         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67291         * sysdeps/powerpc/powerpc64/crti.S: New file.
67292         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67294         * Makeconfig (have-initfini): Don't set.
67295         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67296         * configure.in (nopic_initfini): Don't substitute.
67297         * config.h.in (HAVE_INITFINI): Don't #undef.
67298         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67299         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67301 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67303         Support crti.S and crtn.S provided directly by architectures.
67304         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67305         [crti.S in sysdirs] (omit-deps): Likewise.
67306         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67307         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67308         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67309         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67310         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67311         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67312         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67313         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67314         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67315         compiler output for sysdeps/generic/initfini.c.
67316         * sysdeps/i386/elf/Makefile: Remove file.
67317         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67319 2012-02-07  Marek Polacek  <polacek@redhat.com>
67321         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67322         * sysdeps/gnu/_G_config.h: Likewise.
67323         * sysdeps/mach/hurd/_G_config.h: Likewise.
67325 2012-02-07  Marek Polacek  <polacek@redhat.com>
67327         * math/Makefile (tests): Add tst-CMPLX2.
67328         * math/tst-CMPLX2.c: New file.
67330 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67332         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67334         * math/libm-test.inc (jn_test): Add missing L suffix.
67336 2012-02-06  Marek Polacek  <polacek@redhat.com>
67338         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67339         * sysdeps/i386/fpu/e_powf.S: Likewise.
67340         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67341         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67342         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67343         * sysdeps/i386/fpu/e_pow.S: Likewise.
67344         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67345         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67346         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67347         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67348         * sysdeps/i386/fpu/e_log2.S: Likewise.
67349         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67350         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67351         * sysdeps/i386/fpu/e_powl.S: Likewise.
67352         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67353         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67354         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67355         * sysdeps/i386/fpu/e_logl.S: Likewise.
67356         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67357         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67358         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67359         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67360         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67361         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67362         * sysdeps/i386/fpu/e_log.S: Likewise.
67363         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67364         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67365         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67366         * sysdeps/i386/fpu/e_logf.S: Likewise.
67367         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67368         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67369         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67370         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67371         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67372         * sysdeps/i386/fpu/e_log10.S: Likewise.
67373         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67374         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67375         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67376         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67377         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67378         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67379         * sysdeps/i386/asm-syntax.h: Likewise.
67380         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67381         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67382         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67383         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67384         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67385         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67386         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67387         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67388         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67389         * sysdeps/powerpc/sysdep.h: Likewise.
67390         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67391         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67393 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67395         [BZ #411]
67396         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67398 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67400         * sysdeps/i386/sysdep.h: Include <features.h>.
67401         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67402         version.
67404 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67406         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67407         Define.
67408         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67409         LOAD_PIC_REG_STR.
67411 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67413         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67414         (SETUP_PIC_REG): Use GET_PC_THUNK.
67415         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67416         macro.
67418 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67420         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67421         for non-PIC compilation.
67422         (SETUP_PIC_REG): Add .p2align directive.
67423         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67424         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67425         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67426         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67427         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67428         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67429         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67430         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67431         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67432         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67433         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67434         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67435         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67436         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67437         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67438         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67439         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67440         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67441         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67442         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67443         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67444         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67445         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67446         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67447         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67448         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67449         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67450         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67451         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67452         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67453         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67454         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67455         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67456         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67457         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67458         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67459         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67460         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67461         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67462         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67463         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67465 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67467         * math/tst-CMPLX.c: Include <stdio.h>.
67469 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67471         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67472         float.
67473         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67474         * sysdeps/sparc/bits/mathdef.h: Likewise.
67476 2012-01-31  Marek Polacek  <polacek@redhat.com>
67478         * libio/libio.h: Don't define _PARAMS.
67479         * locale/programs/config.h: Don't define PARAMS.
67480         * stdlib/strtol_l.c: Likewise.
67481         (__strtol_l): Remove PARAMS from the prototype.
67483 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67485         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67486         names.  Just use the correct names.  Remove unnecessary wrapper
67487         functions.
67488         * malloc/arena.c: Likewise.
67489         * malloc/hooks.c: Likewise.
67491         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
67492         ARENA_TEST says not to.  Simplify test for creation of a new arena.
67493         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
67495 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
67497         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
67498         into tail calls.
67499         (update_get_addr): New function.
67500         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
67501         GET_ADDR_MODULE parameter.
67503 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67505         * crypt/cert.c: Remove __STDC__ conditionals.
67506         * crypt/crypt-entry.c: Likewise.
67507         * crypt/crypt_util.c: Likewise.
67508         * libio/filedoalloc.c: Likewise.
67509         * libio/fileops.c: Likewise.
67510         * libio/genops.c: Likewise.
67511         * libio/iofclose.c: Likewise.
67512         * libio/iofdopen.c: Likewise.
67513         * libio/iofopen.c: Likewise.
67514         * libio/iofopen64.c: Likewise.
67515         * libio/iogetdelim.c: Likewise.
67516         * libio/iopopen.c: Likewise.
67517         * libio/obprintf.c: Likewise.
67518         * libio/oldfileops.c: Likewise.
67519         * libio/oldiofclose.c: Likewise.
67520         * libio/oldiofdopen.c: Likewise.
67521         * libio/oldiofopen.c: Likewise.
67522         * libio/oldiopopen.c: Likewise.
67523         * libio/wfiledoalloc.c: Likewise.
67524         * libio/wgenops.c: Likewise.
67525         * locale/programs/xmalloc.c: Likewise.
67526         * misc/syslog.c: Likewise.
67527         * stdio-common/xbug.c: Likewise.
67528         * string/memchr.c: Likewise.
67529         * string/memcmp.c: Likewise.
67530         * string/memrchr.c: Likewise.
67531         * string/rawmemchr.c: Likewise.
67532         * sysdeps/posix/getcwd.c: Likewise.
67533         * time/strftime_l.c: Likewise.
67535 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67537         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
67538         * config.make.in (config-cflags-sse2avx): Define.
67539         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
67540         Fix typo.
67542 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
67544         * scripts/config.guess: Update from upstream config git repository.
67545         * scripts/config.sub: Likewise.
67547 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
67549         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
67550         (EM_NUM): Update.
67551         (R_TILEPRO_*, R_TILEGX_*): New macros.
67553         * scripts/firstversions.awk: Fix bug in version range handling.
67555         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
67557         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
67559         * include/sys/epoll.h: New file.
67560         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
67561         libc_hidden_def.
67563 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
67565         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
67566         Avoid unnecessary __WORDSIZE == 64 test.
67567         (fmaxf): Use VEX format if possible.
67568         (fmax): Likewise.
67569         (fminf): Likewise.
67570         (fmin): Likewise.
67572         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
67573         * math/math_private.h: Remove libc_fegetround* and
67574         libc_fesetround*.
67575         * sysdeps/i386/configure.in: Check for -msse2avx.
67576         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
67577         also if SSE2AVX is defined.
67578         Remove libc_fegetround* and libc_fesetround*.
67579         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
67580         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
67581         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
67582         of HAS_YMM_USABLE.
67583         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67584         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67585         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67586         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67587         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67589         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
67591 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67593         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
67594         size is not set.
67595         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67597 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
67599         [BZ #13618]
67600         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
67601         relocation.
67602         * Makeconfig (libm): Define.
67603         * elf/Makefile: Add rules to build and run tst-relsort1.
67604         * elf/tst-relsort1.c: New file.
67605         * elf/tst-relsort1mod1.c: New file.
67606         * elf/tst-relsort1mod2.c: New file.
67608 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
67610         * math/s_ldexp.c: Remove __STDC__ conditionals.
67611         * math/s_ldexpf.c: Likewise.
67612         * math/s_ldexpl.c: Likewise.
67613         * math/s_nextafter.c: Likewise.
67614         * math/s_nexttowardf.c: Likewise.
67615         * math/s_significand.c: Likewise.
67616         * math/s_significandf.c: Likewise.
67617         * math/s_significandl.c: Likewise.
67618         * math/w_jnl.c: Likewise.
67619         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67620         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67621         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67622         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67623         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67624         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67625         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
67626         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67627         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67628         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67629         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67630         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67631         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67632         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67633         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67634         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67635         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67636         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67637         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67638         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67639         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67640         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67641         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67642         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67643         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67644         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67645         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67646         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67647         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67648         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67649         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67650         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67651         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67652         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67653         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67654         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67655         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67656         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67657         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67658         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67659         * sysdeps/ieee754/k_standard.c: Likewise.
67660         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67661         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67662         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67663         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67664         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67665         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67666         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67667         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67668         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67669         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67670         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67671         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67672         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67673         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67674         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67675         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67676         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67677         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67678         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67679         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67680         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67681         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67682         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67683         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67684         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67685         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67686         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67687         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67688         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67689         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67690         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67691         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
67692         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67693         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67694         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67695         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67696         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
67697         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67698         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67699         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
67700         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
67701         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67702         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
67703         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
67704         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67705         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
67706         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
67707         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67708         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67709         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
67710         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
67711         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67712         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67713         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67714         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67715         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67716         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
67717         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67718         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67719         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67720         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67721         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67722         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67723         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67724         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67725         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67726         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67727         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67728         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67729         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67730         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67731         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67732         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67733         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67734         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67735         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67736         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67737         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67738         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67739         * sysdeps/ieee754/s_matherr.c: Likewise.
67740         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67741         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67742         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67743         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67745 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67747         * crypt/md5.h: Remove __STDC__ conditionals.
67748         * libio/libioP.h: Likewise.
67749         * locale/programs/config.h: Likewise.
67750         * sysdeps/generic/sysdep.h: Likewise.
67751         * sysdeps/i386/asm-syntax.h: Likewise.
67752         * sysdeps/s390/asm-syntax.h: Likewise.
67753         * sysdeps/unix/sysdep.h: Likewise.
67754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
67755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67757 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67759         * libio/libio.h: Remove __STDC__ conditionals.
67760         * malloc/obstack.h: Likewise.
67761         * math/complex.h: Likewise.
67762         * math/math.h: Likewise.
67763         * sysdeps/generic/_G_config.h: Likewise.
67764         * sysdeps/gnu/_G_config.h: Likewise.
67765         * sysdeps/mach/hurd/_G_config.h: Likewise.
67766         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67767         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67768         * sysdeps/sparc/bits/mathdef.h: Likewise.
67770 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
67772         [BZ #13583]
67773         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
67774         Clean up HAS_* macros.
67775         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
67776         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
67777         possible.
67778         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
67779         HAS_AVX.
67780         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67781         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67782         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67783         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67784         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67786 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
67788         * elf/tst-unique3.cc (gets): Remove declaration.
67789         * elf/tst-unique3lib.cc (gets): Likewise.
67790         * elf/tst-unique3lib2.cc (gets): Likewise.
67791         * elf/tst-unique4.cc (gets): Likewise.
67793 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
67795         * include/stdio.h: Add C++ protection.  Add gets declarations and
67796         definitions.
67797         * debug/tst-chk1.c: Don't declare gets here.
67798         * stdio-common/tst-gets.c: Likewise.
67800 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67802         * posix/glob: Remove directory.
67804 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67806         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
67808 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
67810         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
67811         of the non-standard EPFNOSUPPORT.
67813 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67815         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
67816         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
67817         ANYWHERE set to 1 only on KERN_NO_SPACE error.
67819 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
67821         * wcsmbs/uchar.h: Test __STDC_VERSION__.
67823 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
67825         * nscd/aicache.c (addhstaiX): Do not cache negative results of
67826         transient errors.
67827         * nscd/grpcache.c (cache_addgr): Likewise.
67828         * nscd/hstcache.c (cache_addhst): Likewise.
67829         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67830         * nscd/pwdcache.c (cache_addpw): Likewise.
67831         * nscd/servicescache.c (cache_addserv): Likewise.
67833 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
67835         * malloc/malloc.c: Various cleanups.
67836         * malloc/hooks.c: Likewise.
67838         * stdlib/Makefile (tests): Add bug-fmtmsg1.
67839         * stdlib/bug-fmtmsg1.c: New file.
67841         * stdlib/fmtmsg.c (init): Add missing unlock.
67842         Patch by Peng Haitao <penght@cn.fujitsu.com>.
67844 2012-01-12  Marek Polacek  <polacek@redhat.com>
67846         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
67847         and _GNU_SOURCE.
67849 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67851         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
67852         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
67853         macro to ensure uniqueness of label name.
67854         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67855         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67857 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
67859         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
67861         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
67862         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67863         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67864         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
67866 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
67868         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
67870         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
67871         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67872         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67874         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
67876         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
67877         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67878         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67879         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
67881         * math/bits/math-finite.h: Add ldexp support.
67883 2012-01-10  Marek Polacek  <polacek@redhat.com>
67885         * locale/programs/localedef.h (show_archive_content): Add noreturn
67886         attribute.
67888 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
67890         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
67892 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67894         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
67896         * io/Makefile (headers): Add bits/poll2.h.
67898 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
67900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
67901         typo #include statement.
67903 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67905         * include/sys/cdefs.h: Define __attribute_alloc_size.
67906         * catgets/gencat.c: Add alloc_size attribute and apply consistently
67907         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
67908         * elf/pldd.c: Likewise.
67909         * iconv/iconv_charmap.c: Likewise.
67910         * iconv/iconvconfig.c: Likewise.
67911         * iconv/strtab.c: Likewise.
67912         * locale/programs/locale.c: Likewise.
67913         * locale/programs/localedef.h: Likewise.
67914         * locale/programs/simple-hash.c: Likewise.
67915         * nscd/nscd.h: Likewise.
67916         * nss/makedb.c: Likewise.
67917         * sysdeps/generic/ldconfig.h: Likewise.
67918         * locale/programs/localedef.c: Remove xmalloc prototype.
67919         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
67921 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67923         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
67924         appropriate.
67926 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67928         * math/Makefile (tests): Add tst-CMPLX.
67929         * math/tst-CMPLX.c: New file.
67931         * math/complex.h (CMPLXL): Fix typo.
67933         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
67934         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
67935         GLIBC_2.16.
67936         * debug/tst-chk1.c: Add poll and ppoll tests.
67937         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
67938         * include/sys/poll.h: Add hidden proto for ppoll.
67939         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
67940         * sysdeps/mach/hurd/ppoll.c: Likewise.
67941         * io/ppoll.c: Likewise.
67942         * debug/poll_chk.c: New file.
67943         * debug/ppoll_chk.c: New file.
67944         * include/bits/poll2.h: New file.
67945         * io/bits/poll2.h: New file.
67947         [BZ #1350]
67948         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
67950         * configure.in: static is always set to yes.  Remove.
67951         * config.make.in: Don't set build-static.
67952         * Makeconfig: Remove use of build-static.
67953         * dlfcn/Makefile: Likewise.
67954         * elf/Makefile: Likewise.
67955         * math/Makefile: Likewise.
67956         * misc/Makefile: Likewise.
67957         * nptl/Makefile: Likewise.
67958         * sysdeps/mach/hurd/Makefile: Likewise.
67960         * configure.in: PWD_P is not used anymore.
67961         * config.make.in: Remove PWD_P entry.
67963         * configure.in: Remove last remnants of RANLIB.
67964         No need to check for signed size_t anymore.
67965         Don't set libc_commonpagesize and libc_relro_required here for Alpha
67966         and IA-64.
67967         Remove __builtin_expect test because we require at least gcc 3.4.
67968         * aclocal.m4: Likewise.
67970         * wcsmbs/mbrtoc16.c: Implement using towc function.
67971         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
67972         * wcsmbs/wcsmbsload.c: Likewise.
67973         * iconv/gconv_simple.c: Likewise.
67974         * iconv/gconv_int.h: Likewise.
67975         * iconv/gconv_builtin.h: Likewise.
67976         * iconv/iconv_prog.c: Remove CHAR16 handling.
67978         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
67980         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
67982         * configure.in: Remove --with-elf and --enable-bounded options.
67983         Dont set base_machine for ia64.  More non-ELF conditions removed.
67984         Remove testing and setting of leading underscore information.
67985         * config.make.in (build-bounded): Set to no.
67986         * config.h.in: Remove NO_UNDERSCORES entry.
67987         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
67988         them.
67989         * csu/start.c: Remove !NO_UNDERSCORE code.
67990         * locale/localeinfo.h: Likewise.
67991         * sysdeps/generic/machine-gmon.h: Likewise.
67992         * sysdeps/generic/sysdep.h: Likewise.
67993         * sysdeps/i386/sysdep.h: Likewise.
67994         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67995         * sysdeps/mach/sysdep.h: Likewise.
67996         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67997         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67998         * sysdeps/sh/sysdep.h: Likewise.
67999         * sysdeps/sparc/sparc32/alloca.S: Likewise.
68000         * sysdeps/unix/i386/sysdep.S: Likewise.
68001         * sysdeps/unix/sparc/start.c: Likewise.
68002         * sysdeps/unix/sparc/sysdep.S: Likewise.
68003         * sysdeps/unix/sparc/sysdep.h: Likewise.
68004         * sysdeps/unix/start.c: Likewise.
68005         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68006         * sysdeps/x86_64/sysdep.h: Likewise.
68008 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
68010         [BZ #13553]
68011         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
68012         for non-gcc.
68013         * argp/argp-fmtstream.h: Use const instead __const.
68014         * argp/argp.h: Likewise.
68015         * assert/assert.h: Likewise.
68016         * bits/fenv.h: Likewise.
68017         * bits/sched.h: Likewise.
68018         * bits/sigset.h: Likewise.
68019         * bits/sigthread.h: Likewise.
68020         * catgets/nl_types.h: Likewise.
68021         * conform/data/pthread.h-data: Likewise.
68022         * crypt/crypt-private.h: Likewise.
68023         * crypt/crypt.h: Likewise.
68024         * crypt/crypt_util.c: Likewise.
68025         * ctype/ctype.h: Likewise.
68026         * debug/execinfo.h: Likewise.
68027         * debug/mbsnrtowcs_chk.c: Likewise.
68028         * debug/mbsrtowcs_chk.c: Likewise.
68029         * debug/wcsnrtombs_chk.c: Likewise.
68030         * debug/wcsrtombs_chk.c: Likewise.
68031         * debug/wcstombs_chk.c: Likewise.
68032         * dirent/dirent.h: Likewise.
68033         * dlfcn/dlfcn.h: Likewise.
68034         * elf/neededtest4.c: Likewise.
68035         * grp/grp.h: Likewise.
68036         * gshadow/gshadow.h: Likewise.
68037         * iconv/gconv.h: Likewise.
68038         * iconv/gconv_int.h: Likewise.
68039         * iconv/gconv_simple.c: Likewise.
68040         * iconv/iconv.h: Likewise.
68041         * iconv/loop.c: Likewise.
68042         * iconv/skeleton.c: Likewise.
68043         * include/aio.h: Likewise.
68044         * include/aliases.h: Likewise.
68045         * include/argz.h: Likewise.
68046         * include/arpa/inet.h: Likewise.
68047         * include/assert.h: Likewise.
68048         * include/dirent.h: Likewise.
68049         * include/dlfcn.h: Likewise.
68050         * include/execinfo.h: Likewise.
68051         * include/fcntl.h: Likewise.
68052         * include/fenv.h: Likewise.
68053         * include/glob.h: Likewise.
68054         * include/grp.h: Likewise.
68055         * include/libintl.h: Likewise.
68056         * include/mntent.h: Likewise.
68057         * include/netdb.h: Likewise.
68058         * include/pwd.h: Likewise.
68059         * include/rpc/netdb.h: Likewise.
68060         * include/sched.h: Likewise.
68061         * include/search.h: Likewise.
68062         * include/shadow.h: Likewise.
68063         * include/signal.h: Likewise.
68064         * include/stdio.h: Likewise.
68065         * include/stdlib.h: Likewise.
68066         * include/string.h: Likewise.
68067         * include/sys/socket.h: Likewise.
68068         * include/sys/stat.h: Likewise.
68069         * include/sys/statfs.h: Likewise.
68070         * include/sys/statvfs.h: Likewise.
68071         * include/sys/syslog.h: Likewise.
68072         * include/sys/time.h: Likewise.
68073         * include/sys/uio.h: Likewise.
68074         * include/time.h: Likewise.
68075         * include/unistd.h: Likewise.
68076         * include/utmp.h: Likewise.
68077         * include/wchar.h: Likewise.
68078         * include/wctype.h: Likewise.
68079         * inet/aliases.h: Likewise.
68080         * inet/arpa/inet.h: Likewise.
68081         * inet/netinet/ether.h: Likewise.
68082         * inet/netinet/in.h: Likewise.
68083         * intl/libintl.h: Likewise.
68084         * io/bits/fcntl2.h: Likewise.
68085         * io/fcntl.h: Likewise.
68086         * io/ftw.h: Likewise.
68087         * io/sys/poll.h: Likewise.
68088         * io/sys/stat.h: Likewise.
68089         * io/sys/statfs.h: Likewise.
68090         * io/sys/statvfs.h: Likewise.
68091         * io/utime.h: Likewise.
68092         * libio/bits/stdio.h: Likewise.
68093         * libio/bits/stdio2.h: Likewise.
68094         * libio/libio.h: Likewise.
68095         * libio/libioP.h: Likewise.
68096         * libio/stdio.h: Likewise.
68097         * locale/lc-ctype.c: Likewise.
68098         * locale/locale.h: Likewise.
68099         * login/utmp.h: Likewise.
68100         * malloc/arena.c: Likewise.
68101         * malloc/malloc.c: Likewise.
68102         * malloc/malloc.h: Likewise.
68103         * malloc/mcheck.c: Likewise.
68104         * malloc/mtrace.c: Likewise.
68105         * math/bits/mathcalls.h: Likewise.
68106         * math/fenv.h: Likewise.
68107         * math/math_private.h: Likewise.
68108         * misc/bits/error.h: Likewise.
68109         * misc/bits/syslog.h: Likewise.
68110         * misc/err.h: Likewise.
68111         * misc/error.h: Likewise.
68112         * misc/fstab.h: Likewise.
68113         * misc/mntent.h: Likewise.
68114         * misc/regexp.h: Likewise.
68115         * misc/search.h: Likewise.
68116         * misc/sgtty.h: Likewise.
68117         * misc/sys/mman.h: Likewise.
68118         * misc/sys/syslog.h: Likewise.
68119         * misc/sys/uio.h: Likewise.
68120         * misc/sys/xattr.h: Likewise.
68121         * misc/ttyent.h: Likewise.
68122         * nis/rpcsvc/ypclnt.h: Likewise.
68123         * nss/nss.h: Likewise.
68124         * posix/bits/unistd.h: Likewise.
68125         * posix/fnmatch.h: Likewise.
68126         * posix/glob.h: Likewise.
68127         * posix/sched.h: Likewise.
68128         * posix/spawn.h: Likewise.
68129         * posix/sys/wait.h: Likewise.
68130         * posix/unistd.h: Likewise.
68131         * posix/wordexp.h: Likewise.
68132         * pwd/pwd.h: Likewise.
68133         * resolv/netdb.h: Likewise.
68134         * resource/sys/resource.h: Likewise.
68135         * rt/aio.h: Likewise.
68136         * rt/bits/mqueue2.h: Likewise.
68137         * rt/mqueue.h: Likewise.
68138         * shadow/shadow.h: Likewise.
68139         * signal/signal.h: Likewise.
68140         * socket/send.c: Likewise.
68141         * socket/sendto.c: Likewise.
68142         * socket/sys/socket.h: Likewise.
68143         * stdio-common/printf.h: Likewise.
68144         * stdlib/bits/stdlib.h: Likewise.
68145         * stdlib/fmtmsg.h: Likewise.
68146         * stdlib/monetary.h: Likewise.
68147         * stdlib/stdlib.h: Likewise.
68148         * stdlib/ucontext.h: Likewise.
68149         * streams/stropts.h: Likewise.
68150         * string/argz.h: Likewise.
68151         * string/bits/string2.h: Likewise.
68152         * string/string.h: Likewise.
68153         * string/strings.h: Likewise.
68154         * sunrpc/rpc/auth.h: Likewise.
68155         * sunrpc/rpc/auth_des.h: Likewise.
68156         * sunrpc/rpc/clnt.h: Likewise.
68157         * sunrpc/rpc/netdb.h: Likewise.
68158         * sunrpc/rpc/pmap_clnt.h: Likewise.
68159         * sunrpc/rpc/xdr.h: Likewise.
68160         * sysdeps/generic/inttypes.h: Likewise.
68161         * sysdeps/generic/net/if.h: Likewise.
68162         * sysdeps/generic/sys/swap.h: Likewise.
68163         * sysdeps/gnu/net/if.h: Likewise.
68164         * sysdeps/gnu/utmpx.h: Likewise.
68165         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68166         * sysdeps/i386/i486/bits/string.h: Likewise.
68167         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68168         * sysdeps/s390/bits/string.h: Likewise.
68169         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68170         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68171         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68172         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68173         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68174         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68175         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68176         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68177         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68178         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68179         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68180         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68181         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68182         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68183         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68184         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68185         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68186         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68187         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68188         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68189         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68190         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68191         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68192         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68193         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68194         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68195         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68196         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68197         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68198         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68199         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68200         * sysvipc/sys/ipc.h: Likewise.
68201         * sysvipc/sys/msg.h: Likewise.
68202         * sysvipc/sys/sem.h: Likewise.
68203         * sysvipc/sys/shm.h: Likewise.
68204         * termios/termios.h: Likewise.
68205         * time/sys/time.h: Likewise.
68206         * time/time.h: Likewise.
68207         * wcsmbs/bits/wchar2.h: Likewise.
68208         * wcsmbs/uchar.h: Likewise.
68209         * wcsmbs/wchar.h: Likewise.
68210         * wctype/wctype.h: Likewise.
68212         [BZ #13551]
68213         * Makeconfig: Remove all but ELF support including AIX support.
68214         * Makerules: Likewise.
68215         * config.h.in: Likewise.
68216         * config.make.in: Likewise.
68217         * configure: Likewise.
68218         * configure.in: Likewise.
68219         * csu/Makefile: Likewise.
68220         * csu/version.c: Likewise.
68221         * debug/Makefile: Likewise.
68222         * dlfcn/Makefile: Likewise.
68223         * elf/Makefile: Likewise.
68224         * extra-lib.mk: Likewise.
68225         * iconv/Makefile: Likewise.
68226         * include/libc-symbols.h: Likewise.
68227         * include/shlib-compat.h: Likewise.
68228         * resolv/Makefile: Likewise.
68229         * resolv/res_libc.c: Likewise.
68230         * rt/Makefile: Likewise.
68231         * sysdeps/i386/asm-syntax.h: Likewise.
68232         * sysdeps/i386/sysdep.h: Likewise.
68233         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68234         * sysdeps/mach/sysdep.h: Likewise.
68235         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68236         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68237         * sysdeps/s390/asm-syntax.h: Likewise.
68238         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68239         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68240         * sysdeps/sh/sysdep.h: Likewise.
68241         * sysdeps/unix/sparc/sysdep.h: Likewise.
68242         * sysdeps/wordsize-32/divdi3.c: Likewise.
68243         * sysdeps/x86_64/sysdep.h: Likewise.
68245         * argp/Versions: Remove _argp_unlock_xxx.
68247         [BZ #13559]
68248         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68249         * abilist/libBrokenLocale.abilist: Likewise.
68250         * abilist/libanl.abilist: Likewise.
68251         * abilist/libc.abilist: Likewise.
68252         * abilist/libcrypt.abilist: Likewise.
68253         * abilist/libdl.abilist: Likewise.
68254         * abilist/libm.abilist: Likewise.
68255         * abilist/libnsl.abilist: Likewise.
68256         * abilist/libpthread.abilist: Likewise.
68257         * abilist/libresolv.abilist: Likewise.
68258         * abilist/librt.abilist: Likewise.
68259         * abilist/libthread_db.abilist: Likewise.
68260         * abilist/libutil.abilist: Likewise.
68261         * abilist/libnss_db.abilist: New file.
68263         * scripts/abilist.awk: Add support for indirect functions.
68265         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68267         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68269         * shlib-versions: Remove entries for ports architectures.
68271         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68272         files in ports.
68273         * elf/stackguard-macros.h: Remove support for IA-64.
68274         * elf/tst-auditmod1.c: Likewise.
68275         * sysdeps/generic/ldsodefs.h: Likewise.
68277         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68278         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68279         configure files.
68281         [BZ #13552]
68282         * configure.in: Remove --enable-omitfp support.
68283         * FAQ.in: Adjust.
68284         * config.make.in: Likewise.
68285         * Makeconfig: Likewise.
68286         * manual/install.texi: Likewise.
68288         In case anyone cares, the IA-64 architecture could move to ports.
68289         * sysdeps/ia64/*: Removed.
68290         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68291         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68293         [BZ #13555]
68294         * configure.in: Remove entries for unsupported architectures.
68296         [BZ #13533]
68297         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68298         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68299         routines.
68300         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68301         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68302         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68303         fall back to using wcrtomb.
68304         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68305         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68306         renaming.
68307         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68308         * wcsmbs/tst-c16c32-1.c: New file.
68310         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68311         local variable.
68313         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68315         * elf/tst-unique3.cc: Add explicit declaration of gets.
68316         * elf/tst-unique3lib.cc: Likewise.
68317         * elf/tst-unique3lib2.cc: Likewise.
68318         * elf/tst-unique4.cc: Likewise.
68320         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68322 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68324         [BZ #13566]
68325         * assert/assert.h (static_assert): Don't define for C++.
68326         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68327         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68329 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68331         * iconv/loop.c (single loop): Fix assertion in storing of
68332         remaining bytes.
68334         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68336 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68338         * posix/getconf.c: Update copyright year.
68339         * nss/getent.c: Likewise.
68340         * nss/makedb.c: Likewise.
68341         * iconv/iconvconfig.c: Likewise.
68342         * iconv/iconv_prog.c: Likewise.
68343         * elf/ldconfig.c: Likewise.
68344         * elf/pldd.c: Likewise.
68345         * elf/sotruss.ksh: Likewise.
68346         * catgets/gencat.c: Likewise.
68347         * csu/version.c: Likewise.
68348         * elf/ldd.bash.in: Likewise.
68349         * elf/sprof.c (print_version): Likewise.
68350         * locale/programs/locale.c: Likewise.
68351         * locale/programs/localedef.c: Likewise.
68352         * login/programs/pt_chown.c: Likewise.
68353         * nscd/nscd.c (print_version): Likewise.
68354         * debug/xtrace.sh: Likewise.
68355         * malloc/memusage.sh: Likewise.
68356         * malloc/mtrace.pl: Likewise.
68357         * debug/catchsegv.sh: Likewise.
68359 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68361         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68362         pure attribute.
68364 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68366         [BZ #13533]
68367         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68368         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68369         transformations.
68370         * iconv/gconv_int.h: Likewise.
68371         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68372         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68373         from libc for GLIBC_2.16.
68374         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68375         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68376         * wcsmbs/uchar.h: Really define mbstate_t.
68377         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68378         * wcsmbs/c16rtomb.c: New file.
68379         * wcsmbs/mbrtoc16.c: New file.
68380         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68381         for C/POSIX locale.
68382         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68383         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68385         * wcsmbs/wchar.h: Add missing __restrict.
68387 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68389         [BZ #13532]
68390         * time/Makefile (routines): Add timespec_get.
68391         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68392         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68393         timespec for ISO C11.
68394         * time/timespec_get.c: New file.
68395         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68396         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68398         [BZ #13531]
68399         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68400         * stdlib/stdlib.h: Declare aligned_alloc.
68401         * Versions.def: Add GLIBC_2.16 for libc.
68402         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68404         [BZ 13527]
68405         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68406         ISO C11.
68408         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68409         code.
68411         [BZ #13528]
68412         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68414         [BZ #13529]
68415         * assert/assert.h (static_assert): Define.
68417         * version.h: Update for 2.16 development version.
68419         [BZ #13526]
68420         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68421         _ISOC11_SOURCE.
68423         * version.h (RELEASE): Bump for 2.15 release.
68424         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68426         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68427         Patch by Marek Polacek <mpolacek@redhat.com>.
68429         * bits/byteswap.h: Protect long long constants with __extension__.
68430         * sysdeps/i386/bits/byteswap.h: Likewise.
68431         * sysdeps/ia64/bits/byteswap.h: Likewise.
68432         * sysdeps/s390/bits/byteswap.h: Likewise.
68433         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68435 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68437         [BZ #13540]
68438         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68439         destination buffer.
68440         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68442 2011-12-23  Marek Polacek  <polacek@redhat.com>
68444         * elf/dl-addr.c (determine_info): Add inline keyword.
68445         * elf/tst-auditmod4b.c (check_avx): Likewise.
68446         * elf/tst-auditmod6b.c (check_avx): Likewise.
68447         * elf/tst-auditmod6c.c (check_avx): Likewise.
68448         * elf/tst-auditmod7b.c (check_avx): Likewise.
68450 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68452         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68453         !__SSE_MATH__.
68455 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68457         [BZ #13540]
68458         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68459         processing for last bytes.
68461 2011-08-06  Bruno Haible  <bruno@clisp.org>
68463         [BZ #13061]
68464         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68465         U+0385, not to U+1FEE.
68467         [BZ #13062]
68468         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68469         entry for U+00A5 U+0301.
68471 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68473         [BZ #13166]
68474         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68475         buffer for the output is too small.
68477         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68478         optimization.
68480         [BZ #13185]
68481         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68482         SSE flags if possible.
68484 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68486         [BZ #13540]
68487         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68488         processing for last bytes.
68490 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
68492         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
68493         (syscall-list-default-options, syscall-list-default-condition)
68494         (syscall-list-includes): Define.
68495         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
68496         list of ABIs and options and #if conditions for each ABI.  Do not
68497         handle common syscalls between ABIs specially.
68498         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
68499         Remove.
68500         (syscall-list-variants, syscall-list-32bit-options)
68501         (syscall-list-32bit-condition, syscall-list-64bit-options)
68502         (syscall-list-64bit-condition): Define.
68503         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
68504         (syscall-list-variants, syscall-list-32bit-options)
68505         (syscall-list-32bit-condition, syscall-list-64bit-options)
68506         (syscall-list-64bit-condition): Define.
68507         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68508         Remove.
68509         (syscall-list-variants, syscall-list-32bit-options)
68510         (syscall-list-32bit-condition, syscall-list-64bit-options)
68511         (syscall-list-64bit-condition): Define.
68512         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68513         Remove.
68514         (syscall-list-variants, syscall-list-32bit-options)
68515         (syscall-list-32bit-condition, syscall-list-64bit-options)
68516         (syscall-list-64bit-condition): Define.
68518 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68520         * locale/iso-639.def: Add brx entry.
68522         [BZ #13328]
68523         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68524         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68526         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68527         __feraiseexcept_renamed.
68529 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68531         [BZ #13538]
68532         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
68533         EPOLLET with unsigned values.
68534         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68535         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68537         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
68538         to large cancellation.
68539         * math/s_cacoshf.c: Likewise.
68540         * math/s_cacoshl.c: Likewise.
68542 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
68544         [BZ #13305]
68545         [BZ #12786]
68546         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
68547         * math/s_cacoshf.c: Likewise.
68548         * math/s_cacoshl.c: Likewise.
68550 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68552         [BZ #13439]
68553         * iconv/gconv.h: Define __GCONV_SWAP.
68554         * iconvdata/unicode.c: The swap bit must be stored in __flags.
68555         * iconvdata/utf-16.c: Likewise.
68556         * iconvdata/utf-32.c: Likewise.
68558 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
68560         [BZ #13524]
68561         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
68562         numerator after shifting it by one limb.
68564 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
68566         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
68567         under [__USE_EXTERN_INLINES].
68569 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68571         [BZ #13446]
68572         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
68574 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68576         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
68577         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
68578         optimized code.
68579         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
68580         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
68581         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
68582         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
68583         for strncasecmp/strncasecmp_l compilation.
68584         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
68585         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
68587 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
68589         [BZ #13484]
68590         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
68591         of __asm__.
68593 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68595         [BZ #13506]
68596         * time/tzfile.c (__tzfile_read): Check values from file header.
68598 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68600         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
68601         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
68602         * powerpc/powerpc32/dl-start.S: Likewise.
68603         * powerpc/powerpc32/elf/start.S: Likewise.
68604         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
68605         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
68606         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
68607         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
68608         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
68609         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
68610         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
68611         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68612         * powerpc/powerpc32/fpu/s_round.S: Likewise.
68613         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
68614         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
68615         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
68616         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
68617         * powerpc/powerpc32/memset.S: Likewise.
68618         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
68619         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68620         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68621         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68622         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68623         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
68624         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
68625         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
68626         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
68627         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
68628         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
68629         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68630         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68632 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68634         * math/libm-test.inc: Added more nearbyint tests.
68635         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
68636         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
68637         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
68638         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
68640 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
68642         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
68643         FD_CLOEXEC.
68645 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68647         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
68648         Add wcscpy-ssse3 wcscpy-c.
68649         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
68650         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
68651         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
68652         * sysdeps/x86_64/wcschr.S: New file.
68653         * sysdeps/x86_64/wcsrchr.S: New file.
68654         * string/test-strcmp.c: Remove checking of wcscmp function for
68655         wrong alignments.
68656         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
68657         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
68658         wcsrchr-sse2 wcsrchr-c.
68659         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
68660         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
68661         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
68662         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
68663         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
68664         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
68665         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
68666         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
68667         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
68668         * wcsmbc/wcschr.c (WCSCHR): New macro.
68670 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68672         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
68673         * wcsmbs/test-wcsrchr.c: New file.
68674         * string/test-strrchr.c: Add wcsrchr support.
68675         (WIDE): New macro.
68676         * wcsmbs/test-wcscpy.c: New file.
68677         * string/test-strcpy.c: Add wcscpy support.
68678         (WIDE): New macro.
68680 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
68682         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
68683         the inner loop.
68685 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
68687         [BZ #13472]
68688         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
68690 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
68692         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
68693         Minor optimizations.
68695         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
68696         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
68697         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
68699 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
68701         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
68702         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
68703         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
68704         for gcc to avoid warnings.
68705         * inet/Makefile (tests): Add tst-checks.
68706         * inet/tst-checks.c: New file.
68708         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
68709         warning.
68711         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
68712         __wmemcmp_sse2.
68714         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
68715         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
68717         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
68719 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
68721         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
68722         problem.
68724         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
68726 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
68728         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
68729         conditional on GCC version.
68730         (__arch_compare_and_exchange_val_8_acq)
68731         (__arch_compare_and_exchange_val_16_acq)
68732         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
68733         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
68734         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
68736 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
68738         * sysdeps/sh/backtrace.c: New file.
68740 2011-12-02  Andreas Schwab  <schwab@redhat.com>
68742         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
68743         parenthesis.
68745 2011-12-01  Andreas Schwab  <schwab@redhat.com>
68747         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
68748         falling back to utime.
68750 2011-11-30  Andreas Schwab  <schwab@redhat.com>
68752         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
68753         expectations for float.
68755 2011-11-29  Andreas Schwab  <schwab@redhat.com>
68757         * locale/weight.h (findidx): Add parameter len.
68758         * locale/weightwc.h (findidx): Likewise.
68759         * posix/fnmatch_loop.c (FCT): Adjust caller.
68760         * posix/regcomp.c (build_equiv_class): Likewise.
68761         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
68762         * posix/regexec.c (check_node_accept_bytes): Likewise.
68763         * string/strcoll_l.c (STRCOLL): Likewise.
68764         * string/strxfrm_l.c (STRXFRM): Likewise.
68766 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
68768         * Makefile.in: Remove CVSOPT handling.
68769         * configure.in: Remove use of AC_REVISION.
68770         * iconvdata/Makefile (distribute): No need to filter out CVS.
68771         * scripts/list-sources.sh: Remove CVS, subversion and monotone
68772         handling.
68774 2011-11-16  Andreas Schwab  <schwab@redhat.com>
68776         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
68777         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
68778         [USE_AS_STRNCASECMP_L]: Likewise.
68779         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
68780         NO_TLS_DIRECT_SEG_REFS.
68781         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
68782         Fix argument offsets for non-PIC.
68783         [USE_AS_STRNCASECMP_L]: Likewise.
68784         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
68785         NO_TLS_DIRECT_SEG_REFS.
68787 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68789         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
68790         O_CLOEXEC.
68791         * locale/loadlocale.c (_nl_load_locale): Likewise.
68793 2011-11-15  Andreas Schwab  <schwab@redhat.com>
68795         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
68796         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
68797         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
68798         (SYSCALL_GETTIME): Set errno on error.
68800         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
68801         count references to noai6ai_cached.
68803 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68805         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
68807         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
68808         FD_CLOEXEC for /proc/self/maps.
68810         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
68811         FD_CLOEXEC for /proc/meminfo.
68813         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
68814         gai.conf.
68816         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
68817         FD_CLOEXEC for given file.
68819         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
68821         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
68822         FD_CLOEXEC for /etc/hosts.
68823         (_gethtent): Likewise.
68825         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
68827         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
68828         cancellation and set FD_CLOEXEC for /etc/netgroup.
68830         * nss/nss_files/files-key.c (search): Don't allow cancellation when
68831         reading /etc/publickey.
68833         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
68834         allow cancellation when reading /etc/group.
68836         * nss/nss_files/files-alias.c (internal_setent): Don't allow
68837         cancellation.
68838         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
68840         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
68841         when using data file.
68843         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
68845         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
68846         (write_nis_obj): Use "c" and "e" in fopen.
68848         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
68850         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
68852         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
68854         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
68856         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
68857         locale.alias.
68859         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
68861         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
68863         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
68865         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
68866         file parsing and set FD_CLOEXEC.
68868 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68870         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
68872 2011-11-14  Andreas Schwab  <schwab@redhat.com>
68874         * malloc/arena.c (arena_get2): Don't call reused_arena when
68875         _int_new_arena failed.
68877 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68879         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
68880         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
68881         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
68882         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68883         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68884         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
68885         to compile strcasecmp and strncasecmp.
68886         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
68887         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
68889         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
68891 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
68893         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
68894         locale-defines.sym to gen-as-const-headers.
68895         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
68896         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
68897         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
68898         to compile strcasecmp and strncasecmp.
68899         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
68900         strcasecmp_l and strncasecmp_l.
68901         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
68902         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
68903         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
68904         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
68905         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
68906         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
68907         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
68908         * sysdeps/i386/i686/multiarch/strncase.S: New file.
68909         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
68910         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
68911         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
68913 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
68915         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
68916         result of SYSDEP_GETTIME_CPU to retval.
68917         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
68918         parameter list to macro.  Remove trailing semicolon.  Adjust users.
68920         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
68921         variable.
68923         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
68924         mantissa words.
68925         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
68927         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
68928         from unused variable.
68930         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
68931         DWARF definitions.
68932         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
68933         for assembling.
68935         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
68936         over namespaces.
68938         * sunrpc/rpc_prot.c (rejected): Fix case value.
68940         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
68941         unsigned long long int to avoid warnings in shift.
68943         * posix/regex_internal.c (re_string_reconstruct): Actually use result
68944         of use of trans.
68945         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
68946         variable tmp.
68948         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
68949         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
68950         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
68952         * nis/nis_table.c (nis_list): Use variable of correct type for
68953         result of __follow_path call.
68955 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68957         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
68958         of math functions ceil, trunc, floor, round, and sqrt, when
68959         avaliable on the platform.
68960         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
68961         name clash.
68962         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68963         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68964         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68966 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
68968         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
68969         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68971 2011-11-11  Roland McGrath  <roland@hack.frob.com>
68973         * include/unistd.h: Fix __readlink return type.
68974         Reported by Chris Metcalf <cmetcalf@tilera.com>.
68976 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
68978         * stdlib/ucontext.h: Undo last change for makecontext.
68980 2011-11-11  Andreas Schwab  <schwab@redhat.com>
68982         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
68984         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
68985         * setjmp/setjmp.h: Mark functions as non-leaf.
68986         * setjmp/bits/setjmp2.h: Likewise.
68987         * stdlib/ucontext.h: Likewise.
68989 2011-11-10  Andreas Schwab  <schwab@redhat.com>
68991         * malloc/arena.c (_int_new_arena): Don't increment narenas.
68992         (reused_arena): Don't check arena limit.
68993         (arena_get2): Atomically check arena limit.
68995 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
68997         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
68998         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
69000         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
69001         instructions.
69003 2011-11-07  Andreas Schwab  <schwab@redhat.com>
69005         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
69006         handler when locking.
69008         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69009         Fix size of allocated buffer.
69011 2011-11-04  Andreas Schwab  <schwab@redhat.com>
69013         [BZ #10103]
69014         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
69015         declarations for long double functions.
69016         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
69018         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
69020 2011-11-03  Andreas Schwab  <schwab@redhat.com>
69022         * nscd/nscd.c (main): Don't start AVC thread until credentials are
69023         installed.
69025         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
69026         is disabled.
69028 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69030         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
69032 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69034         * include/alloca.h (stackinfo_alloca_round): Define.
69035         (extend_alloca): Use it.
69036         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
69037         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
69038         here.
69040         * scripts/check-local-headers.sh: Ignore libaudit.h.
69042         * nscd/Makefile (extra-objs): Make recursively expanded.
69044 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
69046         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
69047         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
69049         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
69050         * posix/tst-rfc3484-2.c: Likewise.
69051         * posix/tst-rfc3484-3.c: Likewise.
69053         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69054         process_vm_writev.
69055         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
69056         process_vm_writev.
69057         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
69058         process_vm_writev from libc using GLIBC_2.15 version.
69060         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
69062 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
69064         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
69065         stack usage.
69067 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
69069         [BZ #13367]
69070         * nss/getent.c (initgroups_keys): Show error message in case no group
69071         names are given.
69073         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
69074         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
69075         __bump_nl_timestamp.
69076         * nscd/connections (nscd_init): When host database is served open
69077         netlink socket and request notification about configuration changes.
69078         (main_loop_poll): Track netlink file descriptor and bump timestamp
69079         in case data becomes available.
69080         (main_loop_epoll): Likewise.
69081         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
69082         (database_pers_head): Add extra_data fileds.
69083         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
69084         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
69085         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
69086         Adjust caller.
69087         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
69088         in6ai data, call __free_in6ai.
69089         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
69090         Add -DHAVE_NETLINK.
69091         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
69092         interface information.  Reuse previous data if netlink timestamp
69093         is not changed.
69094         (__bump_nl_timestamp): New function.
69095         (__free_in6ai): New function.
69097 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
69099         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
69100         close_not_cancel_no_status here.
69101         (__check_pf): Reorganize code a bit to not call close twice if OOM.
69103 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69105         [BZ #13276]
69106         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
69107         return value.
69109         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
69110         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
69111         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
69113 2011-07-03  Andreas Jaeger  <aj@suse.de>
69115         [BZ #10709]
69116         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
69117         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
69118         * math/libm-test.inc (sin_test): Add test case.
69120 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69122         [BZ #13337]
69123         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69124         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69126         * elf/chroot_canon.c (chroot_canon): Cleanups.
69128         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69130         [BZ #13335]
69131         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69132         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69134         * string/test-strchr.c: Make usable for strchrnul testing.
69135         * string/test-strchrnul.c: New file.
69136         * string/Makefile (strop-tests): Add strchrnul.
69138         * po/it.po: Update from translation team.
69139         * po/es.po: Likewise.
69141 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69143         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69144         the three constants needed as parameters.  Drop the others.
69145         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69146         __m128i_strloadu_tolower.
69147         Create and initialize variable zero and use it in all the places
69148         where _mm_setzero_si128 was used.
69150         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69151         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69152         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69153         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69154         anymore.
69155         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69156         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69157         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69158         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69159         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69160         __mpranred, __mptan.
69161         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69162         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69163         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69164         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69165         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69166         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69167         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69168         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69169         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69171 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69173         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69174         redefine if SHARED.
69175         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69177         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69178         wide char related routines to wcsmbs subdir.
69180 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69182         [BZ #13344]
69183         * misc/sys/cdefs.h (__THROWNL): Define.
69184         * posix/unistd.h: Use __THREADNL instead of __THREAD
69185         for memory synchronization functions.
69187 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69189         [BZ #13349]
69190         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69191         doesn't exist.
69192         * manual/stdio.texi (Obstack Streams): Node removed.
69194 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69196         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69197         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69198         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69200         * math/math_private.h (math_force_eval): Allow non-addressable
69201         arguments.
69202         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69204 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69206         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69207         file is not needed.
69209         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69210         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69211         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69212         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69213         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69214         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69215         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69216         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69217         Add AVX variants.
69218         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69219         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69220         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69221         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69222         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69223         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69224         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69225         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69226         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69227         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69228         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69229         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69230         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69231         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69232         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69233         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69234         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69235         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69236         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69238         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69239         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69241         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69242         place.  Use VEX encoding when compiling for AVX.
69244 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69246         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69247         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69249         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69251 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69253         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69254         useless if() expression.
69255         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69256         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69257         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69258         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69259         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69260         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69261         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69262         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69263         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69264         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69265         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69266         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69267         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69268         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69269         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69270         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69271         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69272         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69273         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69275         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69277 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69279         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69280         condition.
69281         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69283 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69285         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69286         .text section.  Avoid duplicate constants.
69287         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69288         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69289         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69290         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69291         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69292         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69293         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69294         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69295         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69296         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69297         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69298         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69299         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69300         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69301         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69302         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69303         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69304         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69305         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69306         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69307         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69308         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69309         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69310         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69311         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69312         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69313         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69314         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69315         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69316         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69317         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69318         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69319         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69320         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69321         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69322         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69323         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69324         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69325         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69326         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69327         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69328         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69329         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69330         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69331         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69333 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69335         * sysdeps/x86_64/dla.h: Move to ...
69336         * sysdeps/x86_64/fpu/dla.h: ...here.
69337         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69338         situations.  Use __builtin_fma only for gcc 4.6 and up.
69340         * config.make.in: Add have-mfma4 entry.
69341         * configure.in: Substitute libc_cv_cc_fma4.
69342         * math/Makefile (dbl-only-routines): Add sincostab.
69343         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69344         Use __sincostab not sincos.
69345         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69346         name is a macro.
69347         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69348         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69349         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69350         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69351         using __copysign.
69352         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69353         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69354         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69355         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69356         and __inv.
69357         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69358         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69359         __copysign.
69360         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69361         define aliases when function name is a macro.
69362         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69363         sysdeps/ieee754/dbl-64/sincos.tbl.
69364         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69365         fma4-enabled routines.
69366         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69367         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69368         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69369         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69370         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69371         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69372         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69373         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69374         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69375         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69376         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69377         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69378         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69379         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69380         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69381         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69382         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69383         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69384         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69385         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69386         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69387         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69388         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69389         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69390         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69391         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69392         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69393         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69394         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69395         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69397         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69398         rename.
69399         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69400         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69401         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69402         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69403         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69404         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69405         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69406         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69408 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69410         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69412 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69414         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69416         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69417         prediction.
69418         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69420         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69421         Remove unused variable magic_bits.
69422         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69424         * string/strnlen.c: Define and use STRNLEN macro.
69425         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69426         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69427         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69428         * wcsmbs/wcslen.c: Define and use WCSLEN.
69429         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69430         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69431         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69432         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69433         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69434         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69435         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69437 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69439         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69440         strnlen-sse2-no-bsf.
69441         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69442         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69443         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69444         Add strnlen support.
69445         (USE_AS_STRNLEN): New macro.
69446         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69447         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69448         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69449         * sysdeps/x86_64/wcslen.S: New file.
69451 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69453         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69454         XMM-moves are used for copying on small sizes.
69456 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69458         * wcsmbs/Makefile (strop-tests): Add wcschr.
69459         * wcsmbs/test-wcschr.c: New file.
69460         * string/test-strchr.c: Update.
69461         Add wcschr support.
69462         (WIDE): New macro.
69464 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69466         * wcsmbs/Makefile (strop-tests): Add wcslen.
69467         * wcsmbs/test-wcslen.c: New file.
69468         * string/test-strlen.c: Update.
69469         Add wcslen support.
69470         (WIDE): New macro.
69472 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69474         * po/it.po: Update from translation team.
69476 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69478         * sysdeps/x86_64/wcscmp.S: Update.
69479         Fix wrong comparison semantics.
69480         wcscmp shall use signed comparison not unsigned.
69481         Don't use substraction to avoid overflow bug.
69482         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69483         * wcsmbc/wcscmp.c: Likewise.
69484         * string/test-strcmp.c: Likewise.
69485         Add new tests to check cases with negative values.
69487 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69489         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69490         * sysdeps/x86_64/dla.h: ...here.  New file.
69491         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
69492         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69493         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69494         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69495         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69496         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69497         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69498         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69499         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69501 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
69503         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
69504         __ynl_finite aliases.
69506 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69510         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69511         define DLA_FMA.
69512         [DLA_FMA] (EMULV): Use DLA_FMA.
69513         [DLA_FMA] (MUL12): Use EMULV.
69514         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69515         that are not needed.
69516         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69517         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69518         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69519         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69520         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69521         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69522         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69524 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69526         * math/s_nan.c: Undef __nan.
69527         * math/s_nanf.c: Undef __nanf.
69528         * math/s_nanl.c: Undef __nanl.
69529         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
69530         "math_private.h".
69532 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69534         * math/s_catan.c: Add branch predictions.
69535         * math/s_catanf.c: Likewise.
69536         * math/s_catanh.c: Likewise.
69537         * math/s_catanhf.c: Likewise.
69538         * math/s_catanhl.c: Likewise.
69539         * math/s_catanl.c: Likewise.
69540         * math/s_cexp.c: Likewise.
69541         * math/s_cexpf.c: Likewise.
69542         * math/s_cexpl.c: Likewise.
69543         * math/s_clog.c: Likewise.
69544         * math/s_clog10.c: Likewise.
69545         * math/s_clog10f.c: Likewise.
69546         * math/s_clog10l.c: Likewise.
69547         * math/s_clogf.c: Likewise.
69548         * math/s_clogl.c: Likewise.
69549         * math/s_csqrt.c: Likewise.
69550         * math/s_csqrtf.c: Likewise.
69551         * math/s_csqrtl.c: Likewise.
69552         * math/s_ctanf.c: Likewise.
69553         * math/s_ctanh.c: Likewise.
69554         * math/s_ctanhf.c: Likewise.
69555         * math/s_ctanhl.c: Likewise.
69556         * math/s_ctanl.c: Likewise.
69558         * math/math_private.h: Define __nan, __nanf, __nanl.
69559         * math/s_cacosh.c: Include <math_private.h>.
69560         * math/s_cacoshl.c: Likewise.
69561         * math/s_casinh.c: Likewise.
69562         * math/s_casinhf.c: Likewise.
69563         * math/s_casinhl.c: Likewise.
69564         * math/s_ccos.c: Rely entire on ccosh.
69565         * math/s_ccosf.c: Rely entire on ccoshf.
69566         * math/s_ccosl.c: Rely entirely on ccoshl.
69567         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
69568         Remove tests for FE_INVALID.
69569         * math/s_ccoshf.c: Likewise.
69570         * math/s_ccoshl.c: Likewise.
69571         * math/s_csin.c: Likewise.
69572         * math/s_csinf.c: Likewise.
69573         * math/s_csinh.c Likewise.
69574         * math/s_csinhf.c: Likewise.
69575         * math/s_csinhl.c: Likewise.
69576         * math/s_csinl.c: Likewise.
69577         * math/s_ctan.c: Likewise.
69578         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
69579         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
69580         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
69582 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
69584         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
69585         compilation problems.
69587         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
69588         __builtin_expect.
69590 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
69592         * sysdeps/i386/configure.in: Test for -mfma4 option.
69593         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
69594         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
69595         COMMON_CPUID_INDEX_80000001.
69596         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
69597         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
69598         use it if FMA3 is not supported.
69599         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
69601         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
69602         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69604 2011-10-20  Andreas Schwab  <schwab@redhat.com>
69606         [BZ #12892]
69607         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
69608         it would create a cycle with a link time dependency.
69610 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
69612         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
69613         instruction.
69614         * string/Makefile (strop-tests): Add rawmemchr.
69615         * string/test-rawmemchr.c: New file.
69617         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
69618         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
69619         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
69620         when compiling str{,n}casecmp and when AVX is available.  Hook up
69621         new optimized code in initializers.
69623 2011-10-19  Andreas Schwab  <schwab@redhat.com>
69625         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
69626         __feraiseexcept instead of feraiseexcept.
69628 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
69630         * math/math_private.h: Define defaults for libc_fetestexcept and
69631         libc_feupdateenv.
69632         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
69633         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
69634         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69635         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69636         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69637         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69638         libc_fetestexcept and libc_feupdateenv.
69640         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
69641         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
69642         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
69643         * sysdeps/x86_64/fpu/math_private.h: Define special version of
69644         libc_feholdexcept_setround.
69646         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
69647         Add s_nearbyint-c and s_nearbyintf-c.
69648         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
69649         nearbyintf inlines.
69650         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
69651         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
69652         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
69653         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
69655         * math/math_private.h: Define defaults for libc_fegetround,
69656         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
69657         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
69658         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
69659         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
69660         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
69661         standard functions.
69662         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69663         Remove comments and hacks for old compiler versions.
69664         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69665         libc_fegetround, libc_fesetround, libc_feholdexcept, and
69666         libc_feholdexceptl.
69668 2011-10-18  Andreas Schwab  <schwab@redhat.com>
69670         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
69671         (__feraiseexcept_renamed): Add __NTH.
69672         (feraiseexcept): Add __NTH.  Rename local variables to fix
69673         namespace violations.
69675 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
69677         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
69679         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
69681         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
69682         recently added interfaces.
69683         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
69685         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
69686         about macro parameter expansion.
69688         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
69689         __NO_MATH_INLINES is defined.  Cleanups.
69691         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
69692         and __floorf is target has SSE4.1.
69693         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
69694         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
69695         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
69696         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
69698         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
69699         name.
69700         (floorf): Likewise.
69702         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
69704 2011-10-17  Andreas Schwab  <schwab@redhat.com>
69706         * misc/sys/cdefs.h: Fix last change.
69708         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
69709         database lookup.
69711 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
69713         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
69715         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
69716         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69717         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69718         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69719         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69720         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69721         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69722         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69723         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69724         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
69725         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
69726         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
69727         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
69728         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
69729         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
69730         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
69731         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
69732         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
69733         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
69734         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
69735         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
69736         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
69738         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
69739         ceil, ceilf, floor, floorf.
69741         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
69742         Perform IRELATIVE relocations last.
69744         * elf/do-rel.h: Add another parameter nrelative, replacing the
69745         local variable with the same name.  Change name of the function
69746         to end in Rel or Rela (uppercase).
69747         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
69748         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
69749         elf_dynamic_do_##reloc function.
69751 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69753         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
69754         is sufficient, at least on modern CPUs.
69756         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
69758         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
69759         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
69761         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
69762         __expl_finite.
69763         * math/bits/math-finite.h: Add entries for exp.
69764         * math/e_expl.c: Add __*_finite alias.
69765         * sysdeps/i386/fpu/e_exp.S: Likewise.
69766         * sysdeps/i386/fpu/e_expf.S: Likewise.
69767         * sysdeps/i386/fpu/e_expl.c: Likewise.
69768         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69769         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69770         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
69771         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
69772         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
69773         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69774         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69776         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
69777         is sufficient, at least on modern CPUs.
69779         * ctype/ctype-info.c (__ctype_init): Define.
69780         * include/ctype.h (__ctype_init): Declare.
69781         (__ctype_b_loc): The variable is always initialized.
69782         (__ctype_toupper_loc): Likewise.
69783         (__ctype_tolower_loc): Likewise.
69784         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
69785         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
69787 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
69789         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
69791         * configure.in: Also look in $cxxmachine/include for C++ system
69792         headers.
69794 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69796         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
69797         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
69798         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
69799         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
69800         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
69801         (USE_AS_WMEMCMP): New macro.
69802         Fixing indents.
69803         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
69804         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
69805         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
69806         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
69807         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69808         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
69809         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
69810         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
69811         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
69812         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
69813         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
69814         (USE_AS_WMEMCMP): New macro.
69815         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
69816         * sysdeps/string/test-memcmp.c: Update.
69817         Fix simple_wmemcmp.
69818         Add new tests.
69819         * wcsmbs/wmemcmp.c: Update.
69820         (WMEMCMP): New macro.
69821         Fix overflow bug.
69823 2011-10-12  Andreas Jaeger  <aj@suse.de>
69825         [BZ #13268]
69826         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
69828 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69830         * libio/iofwide.c (do_length): Avoid warning.
69832         * ctype/ctype.h (__isctype_f): Add missing __THROW.
69834 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
69836         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
69838         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
69839         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
69840         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
69841         * sysdeps/i386/i686/fpu/e_log.S: New file.
69842         * sysdeps/i386/i686/fpu/e_logf.S: New file.
69843         * sysdeps/i386/i686/fpu/e_logl.S: New file.
69845         * ctype/ctype.h: Add support for inlined isXXX functions when
69846         compiling C++ code.
69848 2011-10-14  Andreas Schwab  <schwab@redhat.com>
69850         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69852         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
69854 2011-10-13  Roland McGrath  <roland@hack.frob.com>
69856         [BZ #13291]
69857         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
69859 2011-10-13  Andreas Schwab  <schwab@redhat.com>
69861         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
69862         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
69863         feraiseexcept.
69865         * sysdeps/x86_64/memrchr.S: Check for zero size.
69867         * string/stratcliff.c: Add memrchr tests.
69869 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69872         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
69873         rawmemchr-sse2 rawmemchr-sse2-bsf.
69874         * sysdeps/i386/i686/multiarch/memchr.S: New file.
69875         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
69876         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
69877         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
69878         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
69879         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
69880         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
69881         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
69882         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
69883         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
69884         * string/memrchr.c (MEMRCHR): New macro.
69886 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
69888         Add integration with gcc's -ffinite-math-only and optimize wrapper
69889         functions in libm.
69890         * Versions.def: Define GLIBC_2.15 version for libm.
69891         * math/Makefile (headers): Add bits/math-finite.h.
69892         * math/bits/math-finite.h: New file.
69893         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
69894         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
69895         * math/e_acoshl.c: Add __*_finite alias.
69896         * math/e_acosl.c: Likewise.
69897         * math/e_asinl.c: Likewise.
69898         * math/e_atan2l.c: Likewise.
69899         * math/e_atanhl.c: Likewise.
69900         * math/e_coshl.c: Likewise.
69901         * math/e_exp10.c: Likewise.
69902         * math/e_exp10f.c: Likewise.
69903         * math/e_exp10l.c: Likewise.
69904         * math/e_exp2l.c: Likewise.
69905         * math/e_fmodl.c: Likewise.
69906         * math/e_gammal_r.c: Likewise.
69907         * math/e_hypotl.c: Likewise.
69908         * math/e_j0l.c: Likewise.
69909         * math/e_j1l.c: Likewise.
69910         * math/e_jnl.c: Likewise.
69911         * math/e_lgammal_r.c: Likewise.
69912         * math/e_log10l.c: Likewise.
69913         * math/e_log2l.c: Likewise.
69914         * math/e_logl.c: Likewise.
69915         * math/e_powl.c: Likewise.
69916         * math/e_sinhl.c: Likewise.
69917         * math/e_sqrtl.c: Likewise.
69918         * math/e_scalb.c: Completely rewritten and optimized.
69919         * math/e_scalbf.c: Likewise.
69920         * math/e_scalbl.c: Likewise.
69921         * math/w_acos.c: Likewise.
69922         * math/w_acosf.c: Likewise.
69923         * math/w_acosl.c: Likewise.
69924         * math/w_acosh.c: Likewise.
69925         * math/w_acoshf.c: Likewise.
69926         * math/w_acoshl.c: Likewise.
69927         * math/w_asin.c: Likewise.
69928         * math/w_asinf.c: Likewise.
69929         * math/w_asinl.c: Likewise.
69930         * math/w_atan2.c: Likewise.
69931         * math/w_atan2f.c: Likewise.
69932         * math/w_atan2l.c: Likewise.
69933         * math/w_atanh.c: Likewise.
69934         * math/w_atanhf.c: Likewise.
69935         * math/w_atanhl.c: Likewise.
69936         * math/w_exp10.c: Likewise.
69937         * math/w_exp10f.c: Likewise.
69938         * math/w_exp10l.c: Likewise.
69939         * math/w_fmod.c: Likewise.
69940         * math/w_fmodf.c: Likewise.
69941         * math/w_fmodl.c: Likewise.
69942         * math/w_j0.c: Likewise.
69943         * math/w_j0f.c: Likewise.
69944         * math/w_j0l.c: Likewise.
69945         * math/w_j1.c: Likewise.
69946         * math/w_j1f.c: Likewise.
69947         * math/w_j1l.c: Likewise.
69948         * math/w_jn.c: Likewise.
69949         * math/w_jnf.c: Likewise.
69950         * math/w_log.c: Likewise.
69951         * math/w_logf.c: Likewise.
69952         * math/w_logl.c: Likewise.
69953         * math/w_log10.c: Likewise.
69954         * math/w_log10f.c: Likewise.
69955         * math/w_log10l.c: Likewise.
69956         * math/w_log2.c: Likewise.
69957         * math/w_log2f.c: Likewise.
69958         * math/w_log2l.c: Likewise.
69959         * math/w_pow.c: Likewise.
69960         * math/w_powf.c: Likewise.
69961         * math/w_powl.c: Likewise.
69962         * math/w_remainder.c: Likewise.
69963         * math/w_remainderf.c: Likewise.
69964         * math/w_remainderl.c: Likewise.
69965         * math/w_scalb.c: Likewise.
69966         * math/w_scalbf.c: Likewise.
69967         * math/w_scalbl.c: Likewise.
69968         * math/w_sqrt.c: Likewise.
69969         * math/w_sqrtf.c: Likewise.
69970         * math/w_sqrtl.c: Likewise.
69971         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
69972         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
69973         used.
69974         * math/math_private.h: Declare __kernel_standard_f.
69975         * math/w_cosh.c: Remove cruft and optimize a bit.
69976         * math/w_coshf.c: Likewise.
69977         * math/w_coshl.c: Likewise.
69978         * math/w_exp2.c: Likewise.
69979         * math/w_exp2f.c: Likewise.
69980         * math/w_exp2l.c: Likewise.
69981         * math/w_hypot.c: Likewise.
69982         * math/w_hypotf.c: Likewise.
69983         * math/w_hypotl.c: Likewise.
69984         * math/w_lgamma.c: Likewise.
69985         * math/w_lgamma_r.c: Likewise.
69986         * math/w_lgammaf.c: Likewise.
69987         * math/w_lgammaf_r.c: Likewise.
69988         * math/w_lgammal.c: Likewise.
69989         * math/w_lgammal_r.c: Likewise.
69990         * math/w_sinh.c: Likewise.
69991         * math/w_sinhf.c: Likewise.
69992         * math/w_sinhl.c: Likewise.
69993         * math/w_tgamma.c: Likewise.
69994         * math/w_tgammaf.c: Likewise.
69995         * math/w_tgammal.c: Likewise.
69996         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69997         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69998         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
69999         Minor optimizations.  Pretty printing.  Remove cruft.
70000         * sysdeps/i386/fpu/e_acosf.S: Likewise.
70001         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70002         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70003         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70004         * sysdeps/i386/fpu/e_acosl.c: Likewise.
70005         * sysdeps/i386/fpu/e_asin.S: Likewise.
70006         * sysdeps/i386/fpu/e_asinf.S: Likewise.
70007         * sysdeps/i386/fpu/e_atan2.S: Likewise.
70008         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
70009         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
70010         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70011         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70012         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70013         * sysdeps/i386/fpu/e_exp10.S: Likewise.
70014         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
70015         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
70016         * sysdeps/i386/fpu/e_exp2.S: Likewise.
70017         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
70018         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
70019         * sysdeps/i386/fpu/e_fmod.S: Likewise.
70020         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
70021         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
70022         * sysdeps/i386/fpu/e_hypot.S: Likewise.
70023         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
70024         * sysdeps/i386/fpu/e_log.S: Likewise.
70025         * sysdeps/i386/fpu/e_log10.S: Likewise.
70026         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70027         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70028         * sysdeps/i386/fpu/e_log2.S: Likewise.
70029         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70030         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70031         * sysdeps/i386/fpu/e_logf.S: Likewise.
70032         * sysdeps/i386/fpu/e_logl.S: Likewise.
70033         * sysdeps/i386/fpu/e_pow.S: Likewise.
70034         * sysdeps/i386/fpu/e_powf.S: Likewise.
70035         * sysdeps/i386/fpu/e_powl.S: Likewise.
70036         * sysdeps/i386/fpu/e_remainder.S: Likewise.
70037         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
70038         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
70039         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70040         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70041         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70042         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
70043         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
70044         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
70045         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70046         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70047         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70048         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70049         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70050         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70051         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
70052         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70053         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70054         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70055         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70056         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70057         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70058         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70059         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70060         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70061         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70062         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70063         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70064         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70065         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70066         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70067         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70068         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70069         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70070         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70071         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70072         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70073         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
70074         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70075         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70076         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70077         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70078         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70079         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70080         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70081         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70082         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70083         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70084         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70085         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70086         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70087         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70088         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70089         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70090         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70091         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70092         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70093         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70094         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
70095         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70096         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70097         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70098         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70099         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70100         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70101         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70102         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70103         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70104         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70105         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70106         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70107         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70108         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70109         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70110         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70111         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70112         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70113         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
70114         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70115         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70116         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70117         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70118         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70119         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70120         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70121         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70122         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70123         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70124         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70125         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70126         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70127         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70128         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70129         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70130         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70131         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70132         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70133         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70134         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70135         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70136         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70137         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70138         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70139         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70140         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70141         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70142         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70143         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70144         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70145         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70146         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70147         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70148         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70149         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70150         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70151         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70152         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70153         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70154         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70155         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70156         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70157         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70158         (__isnanf): Likewise.
70159         (__isinf_ns): Likewise.
70160         (__isinf_nsf): Likewise.
70161         (__finite): Likewise.
70162         (__finitef): Likewise.
70163         (__ieee754_sqrt): Define as macro.
70164         (__ieee754_sqrtf): Define as macro.
70165         (__ieee754_sqrtl): Define as macro.
70166         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70167         inlined copy.
70168         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70169         __FINITE_MATH_ONLY__ consistent.
70170         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70172 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70174         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70175         of rawmemchr.
70177         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70179 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70181         * po/ja.po: Update from translation team.
70183 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70185         * locale/programs/locarchive.c (prepare_address_space): New function.
70186         (create_archive, enlarge_archive, open_archive): Use it.
70188         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70189         inside [SHARED], where it is used.
70191         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70193         * nss/getent.c (netgroup_keys): Remove unused variable.
70194         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70196 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70198         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70199         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70200         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70201         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70202         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70203         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70204         * math/Makefile (libm-calls): Add s_isinf_ns.
70205         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70206         * math/multc3.c: Likewise.
70207         * math/s_casin.c: Likewise.
70208         * math/s_casinf.c: Likewise.
70209         * math/s_casinl.c: Likewise.
70210         * math/s_ccos.c: Likewise.
70211         * math/s_ccosf.c: Likewise.
70212         * math/s_ccosl.c: Likewise.
70213         * math/s_ctan.c: Likewise.
70214         * math/s_ctanf.c: Likewise.
70215         * math/s_ctanh.c: Likewise.
70216         * math/s_ctanhf.c: Likewise.
70217         * math/s_ctanhl.c: Likewise.
70218         * math/s_ctanl.c: Likewise.
70219         * math/w_fmod.c: Likewise.
70220         * math/w_fmodf.c: Likewise.
70221         * math/w_fmodl.c: Likewise.
70222         * math/w_remainder.c: Likewise.
70223         * math/w_remainderf.c: Likewise.
70224         * math/w_remainderl.c: Likewise.
70225         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70226         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70227         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70228         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70229         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70230         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70231         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70232         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70234         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70235         of the number.
70236         * stdio-common/printf_fphex.c: Likewise.
70237         * stdio-common/printf_size.c: Likewise.
70239         * math/e_exp10.c: Include math_private.h using <...> not "...".
70240         * math/e_exp10f.c: Likewise.
70241         * math/e_exp10l.c: Likewise.
70242         * math/e_exp2l.c: Likewise.
70243         * math/e_j0l.c: Likewise.
70244         * math/e_j1l.c: Likewise.
70245         * math/e_jnl.c: Likewise.
70246         * math/e_lgammal_r.c: Likewise.
70247         * math/e_rem_pio2l.c: Likewise.
70248         * math/e_scalb.c: Likewise.
70249         * math/e_scalbf.c: Likewise.
70250         * math/e_scalbl.c: Likewise.
70251         * math/k_cosl.c: Likewise.
70252         * math/k_sinl.c: Likewise.
70253         * math/k_tanl.c: Likewise.
70254         * math/s_cacoshf.c: Likewise.
70255         * math/s_catan.c: Likewise.
70256         * math/s_catanf.c: Likewise.
70257         * math/s_catanh.c: Likewise.
70258         * math/s_catanhf.c: Likewise.
70259         * math/s_catanhl.c: Likewise.
70260         * math/s_catanl.c: Likewise.
70261         * math/s_ccosh.c: Likewise.
70262         * math/s_ccoshf.c: Likewise.
70263         * math/s_ccoshl.c: Likewise.
70264         * math/s_cexp.c: Likewise.
70265         * math/s_cexpf.c: Likewise.
70266         * math/s_cexpl.c: Likewise.
70267         * math/s_clog.c: Likewise.
70268         * math/s_clog10.c: Likewise.
70269         * math/s_clog10f.c: Likewise.
70270         * math/s_clog10l.c: Likewise.
70271         * math/s_clogf.c: Likewise.
70272         * math/s_clogl.c: Likewise.
70273         * math/s_csin.c: Likewise.
70274         * math/s_csinf.c: Likewise.
70275         * math/s_csinh.c: Likewise.
70276         * math/s_csinhf.c: Likewise.
70277         * math/s_csinhl.c: Likewise.
70278         * math/s_csinl.c: Likewise.
70279         * math/s_csqrt.c: Likewise.
70280         * math/s_csqrtf.c: Likewise.
70281         * math/s_csqrtl.c: Likewise.
70282         * math/s_ctan.c: Likewise.
70283         * math/s_ctanf.c: Likewise.
70284         * math/s_ctanh.c: Likewise.
70285         * math/s_ctanhf.c: Likewise.
70286         * math/s_ctanhl.c: Likewise.
70287         * math/s_ctanl.c: Likewise.
70288         * math/s_ldexp.c: Likewise.
70289         * math/s_ldexpf.c: Likewise.
70290         * math/s_ldexpl.c: Likewise.
70291         * math/s_significand.c: Likewise.
70292         * math/s_significandf.c: Likewise.
70293         * math/s_significandl.c: Likewise.
70294         * math/w_acos.c: Likewise.
70295         * math/w_acosf.c: Likewise.
70296         * math/w_acosh.c: Likewise.
70297         * math/w_acoshf.c: Likewise.
70298         * math/w_acoshl.c: Likewise.
70299         * math/w_acosl.c: Likewise.
70300         * math/w_asin.c: Likewise.
70301         * math/w_asinf.c: Likewise.
70302         * math/w_asinl.c: Likewise.
70303         * math/w_atan2.c: Likewise.
70304         * math/w_atan2f.c: Likewise.
70305         * math/w_atan2l.c: Likewise.
70306         * math/w_atanh.c: Likewise.
70307         * math/w_atanhf.c: Likewise.
70308         * math/w_atanhl.c: Likewise.
70309         * math/w_cosh.c: Likewise.
70310         * math/w_coshf.c: Likewise.
70311         * math/w_coshl.c: Likewise.
70312         * math/w_dremf.c: Likewise.
70313         * math/w_exp10.c: Likewise.
70314         * math/w_exp10f.c: Likewise.
70315         * math/w_exp10l.c: Likewise.
70316         * math/w_exp2.c: Likewise.
70317         * math/w_exp2f.c: Likewise.
70318         * math/w_fmod.c: Likewise.
70319         * math/w_fmodf.c: Likewise.
70320         * math/w_fmodl.c: Likewise.
70321         * math/w_hypot.c: Likewise.
70322         * math/w_hypotf.c: Likewise.
70323         * math/w_hypotl.c: Likewise.
70324         * math/w_j0.c: Likewise.
70325         * math/w_j0f.c: Likewise.
70326         * math/w_j0l.c: Likewise.
70327         * math/w_j1.c: Likewise.
70328         * math/w_j1f.c: Likewise.
70329         * math/w_j1l.c: Likewise.
70330         * math/w_jn.c: Likewise.
70331         * math/w_jnf.c: Likewise.
70332         * math/w_jnl.c: Likewise.
70333         * math/w_lgamma.c: Likewise.
70334         * math/w_lgamma_r.c: Likewise.
70335         * math/w_lgammaf.c: Likewise.
70336         * math/w_lgammaf_r.c: Likewise.
70337         * math/w_lgammal.c: Likewise.
70338         * math/w_lgammal_r.c: Likewise.
70339         * math/w_log.c: Likewise.
70340         * math/w_log10.c: Likewise.
70341         * math/w_log10f.c: Likewise.
70342         * math/w_log10l.c: Likewise.
70343         * math/w_log2.c: Likewise.
70344         * math/w_log2f.c: Likewise.
70345         * math/w_log2l.c: Likewise.
70346         * math/w_logf.c: Likewise.
70347         * math/w_logl.c: Likewise.
70348         * math/w_pow.c: Likewise.
70349         * math/w_powf.c: Likewise.
70350         * math/w_powl.c: Likewise.
70351         * math/w_remainder.c: Likewise.
70352         * math/w_remainderf.c: Likewise.
70353         * math/w_remainderl.c: Likewise.
70354         * math/w_scalb.c: Likewise.
70355         * math/w_scalbf.c: Likewise.
70356         * math/w_scalbl.c: Likewise.
70357         * math/w_sinh.c: Likewise.
70358         * math/w_sinhf.c: Likewise.
70359         * math/w_sinhl.c: Likewise.
70360         * math/w_sqrt.c: Likewise.
70361         * math/w_sqrtf.c: Likewise.
70362         * math/w_sqrtl.c: Likewise.
70363         * math/w_tgamma.c: Likewise.
70364         * math/w_tgammaf.c: Likewise.
70365         * math/w_tgammal.c: Likewise.
70367         * po/ja.po: Update from translation team.
70369 2011-09-29  Andreas Jaeger  <aj@suse.de>
70371         [BZ #13179]
70372         * sunrpc/netname.c (netname2host): Fix logic.
70374         [BZ #6779]
70375         [BZ #6783]
70376         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70377         correctly.
70378         * math/w_remainder.c (__remainder): Likewise.
70379         * math/w_remainderf.c (__remainderf): Likewise.
70380         * math/libm-test.inc (remainder_test): Add test cases.
70382 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70384         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70385         sdiv_qrnnd.
70387 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70389         * string/test-memcmp.c: Avoid unncessary #defines.
70390         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70392 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70394         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70395         Use new sse2 version for core i3 - i7 as it's faster
70396         than sse42 version.
70397         (bit_Prefer_PMINUB_for_stringop): New.
70398         * sysdeps/x86_64/rawmemchr.S: Update.
70399         Replace with faster SSE2 version.
70400         * sysdeps/x86_64/memrchr.S: New file.
70401         * sysdeps/x86_64/memchr.S: Update.
70402         Replace with faster SSE2 version.
70404 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70406         * elf/dl-load.c (lose): Add cast to avoid warning.
70408 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70410         * po/ca.po: Update from translation team.
70412         * inet/getnetgrent_r.c: Hook up nscd.
70413         * nscd/Makefile (routines): Add nscd_netgroup.
70414         (nscd-modules): Add netgroupcache.
70415         (CFLAGS-netgroupcache.c): Define.
70416         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70417         (cache_search): Add const to second parameter.
70418         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70419         INNETGR.
70420         (dbs): Add netgrdb entry.
70421         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70422         (verify_persistent_db): Handle netgrdb.
70423         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70424         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70425         GETFDNETGR.
70426         (netgroup_response_header): Define.
70427         (innetgroup_response_header): Define.
70428         (datahead): Add netgroup_response_header and innetgroup_response_header
70429         elements.
70430         * nscd/nscd.conf: Add entries for netgroup cache.
70431         * nscd/nscd.h (dbtype): Add netgrdb.
70432         (_PATH_NSCD_NETGROUP_DB): Define.
70433         (netgroup_iov_disabled): Declare.
70434         (xmalloc, xcalloc, xrealloc): Move declarations here.
70435         (cache_search): Adjust prototype.
70436         Add netgroup-related prototypes.
70437         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70438         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70439         (__nscd_innetgr): Declare.
70440         * nscd/selinux.c (perms): Use access_vector_t as element type and
70441         add netgroup-related initializers.
70442         * nscd/netgroupcache.c: New file.
70443         * nscd/nscd_netgroup.c: New file.
70444         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70445         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70446         For four parameters use innetgr.
70447         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70448         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70449         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70450         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70452         * nscd/connections.c (register_traced_file): Don't register file
70453         for disabled databases.
70455 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70457         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70459         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70460         from tree and freeing node.
70462 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70464         * nss/nsswitch.c (__nss_database_lookup): Handle
70465         nss_parse_service_list out of memory case.
70467 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70469         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70470         out of memory case.
70472 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70474         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70475         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70476         pass it down.
70477         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70478         elf_machine_rela, elf_machine_lazy_rel.
70479         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70480         (ELF_DYNAMIC_DO_REL): Likewise.
70481         (ELF_DYNAMIC_DO_RELA): Likewise.
70482         (ELF_DYNAMIC_RELOCATE): Likewise.
70483         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70484         to ELF_DYNAMIC_DO_REL.
70485         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70486         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70487         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70488         elf_machine_rela.
70489         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70490         skip_ifunc, don't call ifunc function if non-zero.
70491         (elf_machine_rela): Likewise.
70492         (elf_machine_lazy_rel): Likewise.
70493         (elf_machine_lazy_rela): Likewise.
70494         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
70495         (elf_machine_lazy_rel): Likewise.
70496         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
70497         Likewise.
70498         (elf_machine_lazy_rel): Likewise.
70499         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70500         Likewise.
70501         (elf_machine_lazy_rel): Likewise.
70502         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
70503         (elf_machine_lazy_rel): Likewise.
70504         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
70505         (elf_machine_lazy_rel): Likewise.
70506         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
70507         (elf_machine_lazy_rel): Likewise.
70508         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70509         (elf_machine_lazy_rel): Likewise.
70510         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70511         (elf_machine_lazy_rel): Likewise.
70512         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70513         (elf_machine_lazy_rel): Likewise.
70515 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70517         * nss/nss_files/files-init.c (_nss_files_init): Use static
70518         initialization for all the *_traced_file variables.
70520 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70522         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70524 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70526         [BZ #13226]
70527         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
70529 2011-09-27  Andreas Schwab  <schwab@redhat.com>
70531         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70532         Reread the line before reparsing it.
70534 2011-09-26  Andreas Schwab  <schwab@redhat.com>
70536         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
70538 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
70539             Maxim Kuvyrkov  <maxim@codesourcery.com>
70540             Joseph Myers  <joseph@codesourcery.com>
70542         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
70543         if needed for __stack_chk_guard.
70545 2011-09-19  Roland McGrath  <roland@hack.frob.com>
70547         * sysdeps/posix/spawni.c (script_execute): Always define it.
70548         It will be optimized away if unused.
70549         (maybe_script_execute): New function.
70550         (__spawni): Call it.
70552         * Makerules: Don't include tls.make.
70553         (config-tls): Always set to thread.
70554         * tls.make.c: File removed.
70556 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
70558         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
70559         * config.make.in (CPPFLAGS-config): New substituted variable.
70561 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70563         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
70565         [BZ #13192]
70566         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
70567         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
70569 2011-09-15  Roland McGrath  <roland@hack.frob.com>
70571         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
70572         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
70573         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70574         (CALL_FAIL): Likewise.
70575         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
70576         (CALL_FAIL): Macro removed.
70577         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
70579 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70581         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
70582         for __FINITE_MATH_ONLY__ == 1.
70584 2011-09-15  Andreas Schwab  <schwab@redhat.com>
70586         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
70587         __ieee754_sqrt instead of sqrt.
70588         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
70589         __ieee754_sqrtf instead of sqrtf.
70590         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
70591         __floorf instead of floorf.
70592         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
70593         __floorf, __truncf instead of floorf, truncf.
70595 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
70597         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
70599         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
70600         __extern_always_inline.
70601         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
70602         32-bit.
70604 2011-09-14  Andreas Schwab  <schwab@redhat.com>
70606         * elf/rtld.c (dl_main): Also relocate in dependency order when
70607         doing symbol dependency testing.
70609 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
70611         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70612         Always define `refsym'.
70614 2011-09-13  Andreas Schwab  <schwab@redhat.com>
70616         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
70617         (__FD_ELT): Renamed from __FDELT.
70618         * misc/bits/select2.h (__FD_ELT): Likewise.
70619         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
70620         __FD_MASK instead of __FDELT, __FDMASK.
70621         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70622         Likewise.
70623         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70624         Likewise.
70626         * elf/Makefile (gen-ldd): Fix pattern.
70628         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
70629         (init_tls): Likewise.
70631 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
70633         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
70635 2011-09-12  Andreas Schwab  <schwab@redhat.com>
70637         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
70638         `struct cmsghdr *' instead of `void *'.
70639         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
70640         Likewise.
70642 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
70644         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
70645         if non-absolute.
70646         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
70647         ldd_rewrite_script.
70649 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
70651         * configure.in: Remove --with-tls option.
70652         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
70653         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
70654         out in case it is missing.
70655         * sysdeps/ia64/elf/configure.in: Likewise.
70656         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
70657         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
70658         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
70659         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
70660         * sysdeps/sh/elf/configure.in: Likewise.
70661         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
70662         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70663         * sysdeps/x86_64/elf/configure.in: Likewise.
70664         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
70665         * sysdeps/mach/hurd/tls.h: Likewise.
70667         [BZ #13067]
70668         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
70670         [BZ #13090]
70671         * configure.in: Fix use of AC_INIT.
70673         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
70675 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
70677         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
70678         __set_errno.
70679         * malloc/hooks.c: Likewise.
70681         [BZ #11929]
70682         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
70683         variables statically.
70684         (narenas): Initialize.
70685         (list_lock): Initialize.
70686         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
70687         initializtion of main_arena and list_lock.  Small cleanups.
70688         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
70689         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
70690         Add initializers to main_arena and mp_.
70691         (malloc_state): Remove pagesize member.  Change all users to use
70692         GLRO(dl_pagesize).
70694         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
70695         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
70696         is always initialized.
70698         * malloc/malloc.c: Removed unused configurations and dead code.
70699         * malloc/arena.c: Likewise.
70700         * malloc/hooks.c: Likewise.
70701         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
70703         * include/tls.h: Removed.  USE___THREAD must always be defined.
70704         * bits/libc-tsd.h: Don't handle !USE___THREAD.
70705         * elf/dl-libc.c: Likewise.
70706         * elf/dl-tsd.c: Likewise.
70707         * include/errno.h: Likewise.
70708         * include/netdb.h: Likewise.
70709         * include/resolv.h: Likewise.
70710         * inet/herrno-loc.c: Likewise.
70711         * inet/herrno.c: Likewise.
70712         * malloc/arena.c: Likewise.
70713         * malloc/hooks.c: Likewise.
70714         * malloc/malloc.c: Likewise.
70715         * resolv/res-state.c: Likewise.
70716         * resolv/res_libc.c: Likewise.
70717         * sysdeps/i386/dl-machine.h: Likewise.
70718         * sysdeps/ia64/dl-machine.h: Likewise.
70719         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
70720         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70721         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
70722         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
70723         * sysdeps/sh/dl-machine.h: Likewise.
70724         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70725         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70726         * sysdeps/unix/i386/sysdep.S: Likewise.
70727         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
70728         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
70729         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
70730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
70731         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
70732         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
70733         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
70734         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70735         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70736         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
70737         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70738         * sysdeps/x86_64/dl-machine.h: Likewise.
70739         * tls.make.c: Likewise.
70741         * configure.in: Remove --with-__thread option.  Make tests for
70742         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
70743         tls_model attribute fail if no support is available.  Remove
70744         USE_IN_LIBIO.
70745         * Makeconfig: Adjust for dropped configure option.  All features are
70746         now mandatory.
70747         * Makerules: Likewise.
70748         * Versions.def: Likewise.
70749         * argp/argp-fmtstream.c: Likewise.
70750         * argp/argp-fmtstream.h: Likewise.
70751         * argp/argp-help.c: Likewise.
70752         * assert/assert.c: Likewise.
70753         * config.h.in: Likewise.
70754         * config.make.in: Likewise.
70755         * configure: Likewise.
70756         * configure.in: Likewise.
70757         * csu/Versions: Likewise.
70758         * csu/init.c: Likewise.
70759         * elf/tst-audit2.c: Likewise.
70760         * elf/tst-tls10.c: Likewise.
70761         * elf/tst-tls10.h: Likewise.
70762         * elf/tst-tls11.c: Likewise.
70763         * elf/tst-tls12.c: Likewise.
70764         * elf/tst-tls14.c: Likewise.
70765         * elf/tst-tlsmod11.c: Likewise.
70766         * elf/tst-tlsmod12.c: Likewise.
70767         * elf/tst-tlsmod13.c: Likewise.
70768         * elf/tst-tlsmod13a.c: Likewise.
70769         * elf/tst-tlsmod14a.c: Likewise.
70770         * elf/tst-tlsmod15b.c: Likewise.
70771         * elf/tst-tlsmod16a.c: Likewise.
70772         * elf/tst-tlsmod16b.c: Likewise.
70773         * elf/tst-tlsmod7.c: Likewise.
70774         * elf/tst-tlsmod8.c: Likewise.
70775         * elf/tst-tlsmod9.c: Likewise.
70776         * gmon/gmon.c: Likewise.
70777         * grp/fgetgrent_r.c: Likewise.
70778         * grp/putgrent.c: Likewise.
70779         * hurd/fopenport.c: Likewise.
70780         * include/libc-symbols.h: Likewise.
70781         * include/tls.h: Likewise.
70782         * intl/gettextP.h: Likewise.
70783         * intl/loadinfo.h: Likewise.
70784         * locale/global-locale.c: Likewise.
70785         * locale/localeinfo.h: Likewise.
70786         * mach/devstream.c: Likewise.
70787         * malloc/arena.c: Likewise.
70788         * malloc/set-freeres.c: Likewise.
70789         * misc/err.c: Likewise.
70790         * misc/getttyent.c: Likewise.
70791         * misc/mntent_r.c: Likewise.
70792         * posix/getopt.c: Likewise.
70793         * posix/wordexp.c: Likewise.
70794         * pwd/fgetpwent_r.c: Likewise.
70795         * resolv/Versions: Likewise.
70796         * resolv/res_hconf.c: Likewise.
70797         * shadow/fgetspent_r.c: Likewise.
70798         * shadow/putspent.c: Likewise.
70799         * stdio-common/printf_fphex.c: Likewise.
70800         * stdio-common/tmpfile.c: Likewise.
70801         * stdlib/abort.c: Likewise.
70802         * stdlib/fmtmsg.c: Likewise.
70803         * sunrpc/auth_unix.c: Likewise.
70804         * sunrpc/clnt_perr.c: Likewise.
70805         * sunrpc/clnt_tcp.c: Likewise.
70806         * sunrpc/clnt_udp.c: Likewise.
70807         * sunrpc/clnt_unix.c: Likewise.
70808         * sunrpc/openchild.c: Likewise.
70809         * sunrpc/svc_simple.c: Likewise.
70810         * sunrpc/svc_tcp.c: Likewise.
70811         * sunrpc/svc_udp.c: Likewise.
70812         * sunrpc/svc_unix.c: Likewise.
70813         * sunrpc/xdr.c: Likewise.
70814         * sunrpc/xdr_array.c: Likewise.
70815         * sunrpc/xdr_rec.c: Likewise.
70816         * sunrpc/xdr_ref.c: Likewise.
70817         * sunrpc/xdr_stdio.c: Likewise.
70819 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70821         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70823 2011-07-03  Andreas Jaeger  <aj@suse.de>
70825         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
70826         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
70827         regenerate with gen-libm-tests.pl.
70829 2010-05-12  Petr Baudis  <pasky@suse.cz>
70831         [BZ #11589]
70832         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
70833         around j0() zero points by switching to j1().
70834         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70835         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70836         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70837         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70839 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70841         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
70842         instead of 0.
70843         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
70844         instead of 0.
70845         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70846         Patch in part by Pavel Roskin <proski@gnu.org>.
70848         [BZ #13138]
70849         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
70850         realloc.
70851         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
70852         Free memory block if necessary.
70854         [BZ #12847]
70855         * libio/genops.c (INTDEF): For string streams the _lock pointer can
70856         be NULL.  Don't lock in this case.
70858 2011-09-09  Roland McGrath  <roland@hack.frob.com>
70860         * elf/elf.h (ELFOSABI_GNU): New macro.
70861         (ELFOSABI_LINUX): Define to that.
70863 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
70865         * string/strncat.c (strncat): Undef the symbol in case it has been
70866         defined in bits/string.h.
70868 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70870         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
70872         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
70873         link map.
70875 2011-08-17  Andreas Jaeger  <aj@suse.de>
70877         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
70879 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
70880             Ian Lance Taylor  <iant@google.com>
70882         * math/libm-test.inc (lround_test): New testcase.
70883         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
70885 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
70887         * Makefile: Remove support for automatic cvs check-ins.
70888         * Makerules: Likewise.
70889         * config.make.in: Likewise.
70890         * configure.in: Likewise.
70891         * intl/Makefile: Likewise.
70892         * locale/Makefile: Likewise.
70893         * po/Makefile: Likewise.
70894         * posix/Makefile: Likewise.
70895         * sysdeps/gnu/Makefile: Likewise.
70896         * sysdeps/mach/hurd/Makefile: Likewise.
70897         * sysdeps/sparc/sparc32/Makefile: Likewise.
70899         [BZ #13118]
70900         * posix/Makefile (bug-regex32-ENV): Define.
70901         Patch by John Stanley <jpsinthemix@verizon.net>.
70903         * misc/Makefile (headers): Add bits/select2.h.
70904         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
70905         * misc/bits/select2.h: New file.
70906         * include/bits/select2.h: New file.
70907         * debug/Makefile (routines): Add fdelt_chk.
70908         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
70909         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
70910         FD_ISSET.
70911         * debug/fdelt_chk.c: New file.
70913         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
70914         * wcsmbs/test-wmemcmp.c: Likewise.
70915         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
70916         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
70918 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70920         * string/Makefile (strop-tests): Add memcmp.
70921         * string/test-wmemcmp.c: New file.
70922         * string/test-memcmp.c: Add wmemcmp support.
70924 2011-09-08  Roland McGrath  <roland@hack.frob.com>
70926         [BZ #13153]
70927         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
70928         2011-07-19 change.
70930         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
70931         garbage value in a __mach_port_mod_refs call in the cases of the
70932         task-self and thread-self ports.
70934 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70936         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
70938 2011-09-08  Andreas Schwab  <schwab@redhat.com>
70940         * elf/dl-load.c (lose): Check for non-null L.
70942 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70944         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
70946         * elf/dl-libc.c (dlerror_run): Pass back error code from
70947         dl_catch_error.
70949         [BZ #13123]
70950         * elf/dl-load.c (lose): Free l_origin if it is valid.
70952         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
70953         names.
70954         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
70955         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70956         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70957         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70958         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
70959         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
70961 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70963         * sysdeps/powerpc/fpu/e_hypot.c: New file.
70964         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
70965         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
70966         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
70967         * sysdeps/powerpc/fpu/k_cosf.c: New file.
70968         * sysdeps/powerpc/fpu/k_sinf.c: New file.
70969         * sysdeps/powerpc/fpu/s_cosf.c: New file.
70970         * sysdeps/powerpc/fpu/s_sinf.c: New file.
70971         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
70972         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
70974 2011-08-15  Alan Modra  <amodra@gmail.com>
70976         [BZ #13092]
70977         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
70978         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
70979         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
70980         ppc_mcount to static-only-routines.
70981         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
70982         __mcount_internal.
70983         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
70984         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
70986 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
70988         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
70989         for finite and infinity parameters.
70991 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70993         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
70994         and add nop instructions for throughput optimization.
70995         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70997 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
70999         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
71000         aligned copy for power7 with vector-scalar instructions.
71001         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
71003 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
71005         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
71006         AVX check.
71008 2011-09-07  Andreas Schwab  <schwab@redhat.com>
71010         [BZ #13144]
71011         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
71012         last change.
71014 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71016         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71017         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
71018         syscall wrapper around clock_gettime in __vdso_clock_gettime.
71019         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
71020         clock_gettime.
71022 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71024         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
71025         Forgot to demangle the pointer.
71027         * sysdeps/i386/sysdep.h: Define atom_text_section.
71028         * sysdeps/x86_64/sysdep.h: Likewise.
71029         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
71030         section with atom_text_section.
71031         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71032         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71033         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
71034         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71035         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
71037         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
71038         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
71039         already be defined.  Change to take two parameters and don't assign
71040         result to variable.  Adjust all users.
71041         Define INTERNAL_GETTIME if not already defined.
71042         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
71043         call.
71044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
71045         HAVE_CLOCK_GETTIME_VSYSCALL.
71046         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
71048         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
71049         gettimeofday vsyscall, just use time.
71051 2011-09-06  Andreas Schwab  <schwab@redhat.com>
71053         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
71054         <errno.h>.
71056 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71058         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
71059         syscall on x86-64.
71060         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
71061         syscall.
71062         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
71063         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
71064         syscall if possible.
71066 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71068         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
71069         e_ident.  Don't pass to find_mapsXX.
71070         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
71072 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71075         strchr-sse2-no-bsf strrchr-sse2-no-bsf
71076         * sysdeps/x86_64/multiarch/strchr.S: Update.
71077         Check bit_slow_BSF bit.
71078         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71079         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
71080         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
71082 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71084         [BZ #13134]
71085         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
71086         before glibc 2.15.
71087         (tryshell): Define.
71088         (__spawni): Change last parameter to be flag.  Test
71089         SPAWN_XFLAGS_USE_PATH flag to use path or not.
71090         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
71091         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
71092         * posix/spawni.c: Likewise.
71093         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
71094         * posix/spawnp.c: Likewise.  Change normal version to use
71095         SPAWN_XFLAGS_USE_PATH.
71096         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
71097         SPAWN_XFLAGS_TRY_SHELL.
71099         [BZ #13150]
71100         * posix/glob.h: Remove gcc 1.x support.
71102         [BZ #13068]
71103         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
71105 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71107         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71108         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
71109         strrchr-sse2-bsf
71110         * sysdeps/i386/i686/multiarch/strchr.S: New file.
71111         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
71112         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
71113         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
71114         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
71115         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
71117 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71119         * sysdeps/x86_64/wcscmp.S: New file.
71121         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
71122         wcscmp-c wcscmp-sse2
71123         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71124         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71125         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71126         * wcsmbs/wcscmp.c: Allow renaming.
71128 2011-09-05  David S. Miller  <davem@davemloft.net>
71130         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71131         stack slot, rather than the struct return pointer slot.
71132         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71133         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71135         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71137 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71139         * po/ja.po: Update from translation team.
71141         [BZ #13144]
71142         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71143         kernel in 64-bit binaries.
71145 2011-09-01  David S. Miller  <davem@davemloft.net>
71147         * elf/elf.h (HWCAP_SPARC_*): Move to..
71148         * sysdeps/sparc/sysdep.h: this new file and add new values.
71149         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71150         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71151         _DL_HWCAP_COUNT to 24.
71152         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71153         entries.
71154         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71155         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71156         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71157         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71158         instead of magic constants.
71159         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71161 2011-08-31  David S. Miller  <davem@davemloft.net>
71163         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71164         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71165         Reimplement to do errno handling inline.
71166         (SYSCALL_ERROR_HANDLER): New macro.
71167         (__SYSCALL_STRING): Do not do errno handling in asm.
71168         (__CLONE_SYSCALL_STRING): Delete.
71169         (__INTERNAL_SYSCALL_STRING): Delete.
71170         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71171         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71172         (PSEUDO): Reimplement to do errno handling inline.
71173         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71174         (SYSCALL_ERROR_HANDLER): New macro.
71175         (__SYSCALL_STRING): Do not do errno handling in asm.
71176         (__CLONE_SYSCALL_STRING): Delete.
71177         (__INTERNAL_SYSCALL_STRING): Delete.
71178         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71179         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71180         i386.
71181         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71182         (inline_syscall*): Add 'err' argument.
71183         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71184         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71185         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71186         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71188         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71189         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71191 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71193         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71195 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71197         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71198         directive.
71200 2011-08-24  David S. Miller  <davem@davemloft.net>
71202         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71204 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71206         * elf/Makefile: Add rules to build and run unload8 test.
71207         * elf/unload8.c: New file.
71208         * elf/unload8mod1.c: New file.
71209         * elf/unload8mod1x.c: New file.
71210         * elf/unload8mod2.c: New file.
71211         * elf/unload8mod3.c: New file.
71213         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71214         it wasn't used.
71216 2011-08-23  David S. Miller  <davem@davemloft.net>
71218         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71219         subtract stack bias.
71220         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71221         %sp not %fp in calculations.
71222         (_JMPBUF_UNWINDS_ADJ): Likewise.
71224         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71225         (aio_suspend): Call it to force an exception region around the
71226         AIO_MISC_WAIT() invocation.
71228 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71230         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71231         backslash.
71233 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71235         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71236         protection macro.
71237         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71238         and <dl-machine.h>.
71239         (Elf64_FuncDesc): Remove.
71241 2011-08-22  David S. Miller  <davem@davemloft.net>
71243         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71244         sigaltstack check, add missing cfi directives.
71245         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71246         missing cfi directives, and sigaltstack handling.
71248 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71250         [BZ #11724]
71251         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71252         object is seen twice.
71253         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71255         * elf/Makefile (distribute): Add tst-initorder2.c.
71256         (tests): Add tst-initorder2.
71257         (modules-names): Add tst-initorder2a tst-initorder2b
71258         tst-initorder2c tst-initorder2d.  Add rules to build them.
71259         ($(objpfx)tst-initorder2.out): New rule.
71260         * elf/tst-initorder2.c: New file.
71261         * elf/tst-initorder2.exp: New file.
71263 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71265         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71267         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71268         dependencies back to end of function.
71270         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71271         $(elfobjdir)/ld.so.
71273 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71275         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71276         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71277         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71278         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71279         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71280         of __vdso_gettimeofday.
71281         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71282         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71283         attribute_hidden.
71284         (_libc_vdso_platform_setup): Remove initialization of
71285         __vdso_gettimeofday and __vdso_time.
71287 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71289         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71290         and fgetc_unlocked.
71291         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71292         getc_unlocked.
71294         * elf/dl-open.c (add_to_global): Report additions to the global scope
71295         for LD_DEBUG=scopes.
71296         (dl_open_worker): Also print scope of newly loaded dependencies.
71297         (_dl_show_scope): Indicate if there is no scope.
71299         [BZ #13114]
71300         * stdio-common/Makefile (tests): Add bug24.
71301         * stdio-common/bug24.c: New file.
71303 2011-08-19  Andreas Jaeger  <aj@suse.de>
71305         [BZ #13114]
71306         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71307         non-existant file when using close-on-exec mode.
71309 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71311         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71312         the very first instruction.
71314         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71315         the CFI state in the end.
71316         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71317         inclusion of dl-trampoline.h.
71318         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71320 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71322         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71323         expectations for long double.
71325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71326         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71328 2011-08-14  David S. Miller  <davem@davemloft.net>
71330         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71331         artificual limit depends upon the system page size.
71333 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71335         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71336         * resolv/Makefile: Define CFLAGS-libresolv.
71338 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71340         * nss/makedb.c (compute_tables): Make variables used in nested
71341         function static.
71343 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71345         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71346         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71347         if buffer was too small.
71349         * elf/pldd.c (main): Attach to all threads in the process.
71350         Rewrite /proc handling to use *at functions.
71352 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71354         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71355         specifies first scope to show.
71356         (dl_open_worker): Update callers.  Move printing scope of new
71357         object to before the relocation.
71358         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71359         * sysdeps/generic/ldsodefs.h: Update declaration.
71361         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71362         string for the scope number.
71364 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71366         * nscd/servicescache.c (cache_addserv): Make sure written is always
71367         initialized.
71369 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71371         * sysdeps/i386/i486/bits/atomic.h
71372         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71373         statement expression, so as to suppress "set but not used" warning.
71374         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71376         * string/strncat.c (STRNCAT): Use prototype definition.
71378         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71379         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71380         -Iprograms here.
71381         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71382         (localedef-modules): Add localedef.
71383         (locale-modules): Add locale.
71385         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71386         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71387         to avoid a warning.
71389 2011-08-14  David S. Miller  <davem@davemloft.net>
71391         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71392         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71394 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71396         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71397         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71398         * elf/rtld.c (dl_main): Set l_name of vDSO.
71399         Call _dl_show_scope when DL_DEBUG_SCOPES.
71400         (process_dl_debug): Recognize scopes flag and also set it for all.
71401         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71402         Declare _dl_show_scope.
71404         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71405         (do_dlopen): Pass caller_dlopen to dl_open.
71406         (__libc_dlopen_mode): Initialize caller_dlopen.
71408         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71409         of libc.  Make tolower call locale-independent.  Optimize a bit by
71410         using isdigit instead of isalnum.
71411         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71413 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71415         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71416         was a dependency or dynamically loaded.
71418 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71420         * intl/l10nflist.c: Allow architecture-specific pop function.
71421         * sysdeps/x86_64/l10nflist.c: New file.
71423         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71424         classification.
71426 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71428         * include/dirent.h: Add libc_hidden_proto for scandirat and
71429         scandirat64.  Don't declare __scandirat64.
71430         * dirent/scandirat.c: Add libc_hidden_def.
71431         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71432         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71434 2011-08-10  David S. Miller  <davem@davemloft.net>
71436         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71437         enum.
71438         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71439         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71440         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71442 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71444         * Versions.def [libc]: Add GLIBC_2.15.
71445         * dirent/Makefile (routines): Add scandirat and scandirat64.
71446         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71447         GLIBC_2.15.
71448         * dirent/dirent.h: Declare scandirat and scandirat64.
71449         * dirent/scandirat.c: New file.
71450         * dirent/scandirat64.c: New file.
71451         * sysdeps/wordsize-64/scandirat.c: New file.
71452         * sysdeps/wordsize-64/scandirat64.c: New file.
71453         * dirent/opendir.c: Define opendirat.
71454         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71455         using scandirat.
71456         * dirent/scandir64.c: Adjust for scandir.c change.
71457         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71458         __scandirat64, and __scandir_cancel_handler.
71459         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71460         additional parameter and use openat instead of open (outside of ld.so).
71461         Add new __opendir as wrapper around __opendirat.
71462         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71463         here without requiring old scandirat implementation.
71465 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71467         * dirent/scandir.c (cancel_handler): Renamed to
71468         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71469         defined.  Adjust users.
71470         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71471         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71473 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71475         * string/test-string.h (IMPL): Use __STRING to expand name and then
71476         stringify it.
71478         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71479         of cleanups.
71481 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71483         * string/Makefile: Update.
71484         (strop-tests): Append strncat.
71485         * string/test-wcscmp.c: New file.
71486         New comprehensive test for wcscmp.
71487         * string/test-strcmp.c: Update.
71488         (WIDE): New define.
71490 2011-07-22  Andreas Schwab  <schwab@redhat.com>
71492         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
71493         line.
71495 2011-07-26  Andreas Schwab  <schwab@redhat.com>
71497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71498         encoding to ACE if AI_IDN.
71500 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
71502         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
71503         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
71505 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71507         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71508         Fix overflow bug in strncat.
71509         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71511         * string/test-strncat.c: Update.
71512         Add new tests for checking overflow bugs.
71514 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71516         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71517         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71518         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71519         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71520         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71521         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71522         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71523         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71524         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71526         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71527         (USE_AS_STRCAT): Define.
71528         Add strcat and strncat support.
71529         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71531 2011-07-25  Andreas Schwab  <schwab@redhat.com>
71533         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
71534         __n bigger than INT_MAX+1.
71535         (__strncmp_g): Likewise.
71537 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
71539         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
71540         * libio/stido.h: Likewise.
71542         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
71543         (AF_NFC): Define.
71544         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
71545         (AF_NFC): Define.
71547         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
71548         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71549         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71550         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
71551         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71553         [BZ #13021]
71554         * scripts/test-installation.pl: Don't expect libnss_test1 to be
71555         installed.
71557         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
71558         typo.
71559         (_dl_x86_64_save_sse): Likewise.
71561 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
71563         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
71564         OSXSAVE.
71565         (_dl_x86_64_save_sse): Likewise.
71567         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
71569         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
71571 2011-07-21  Andreas Schwab  <schwab@redhat.com>
71573         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
71574         change.
71575         (_dl_x86_64_save_sse): Use correct AVX check.
71577 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71579         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
71580         bug in strncpy/strncat.
71581         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
71583 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
71585         * string/tester.c (test_strcat): Add tests for different alignments
71586         of source and destination.
71587         (test_strncat): Likewise.
71589 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71591         [BZ #12852]
71592         * posix/glob.c (glob): Check passed in values before using them in
71593         expressions to avoid some overflows.
71594         (glob_in_dir): Likewise.
71596         [BZ #13007]
71597         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
71598         check for AVX enablement so that we don't crash with old kernels and
71599         new hardware.
71600         * elf/tst-audit4.c: Add same checks here.
71601         * elf/tst-audit6.c: Likewise.
71603         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
71605 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
71607         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
71609 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71611         * po/cs.po: Update from translation team.
71612         * po/bg.po: Likewise.
71614 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
71616         * misc/sys/cdefs.h: Add support for const attribute.
71617         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
71618         to gnu_dev_{major,minor,makedev} functions.
71620 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
71622         * intl/dcigettext.c (get_output_charset): Add missing bracket.
71624 2011-07-20  Andreas Schwab  <schwab@redhat.com>
71626         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
71627         strlen results.
71629 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71631         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
71632         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
71633         register in order to avoid conflicts with the soft frame pointer
71634         being held in r11 when necessary.
71635         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
71636         (INTERNAL_VSYSCALL_NCS): Likewise.
71638 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
71640         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
71641         * elf/dl-fini.c (_dl_fini): Adjust caller.
71642         * elf/dl-close.c (_dl_close_worker): Likewise.
71643         * sysdeps/generic/ldsodefs.h: Adjust declaration.
71645 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71647         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
71648         "aux_cache->nlibs < 0".
71650         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
71651         in the reload-count case.
71653 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71656         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
71657         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
71658         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
71659         * sysdeps/x86_64/multiarch/strcat.S: New file.
71660         * sysdeps/x86_64/multiarch/strncat.S: New file.
71661         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
71662         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
71663         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
71664         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
71665         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
71666         (USE_AS_STRCAT): Define.
71667         Add strcat and strncat support.
71668         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71669         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
71670         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
71671         * string/strncat.c: Update.
71672         (USE_AS_STRNCAT): Define.
71673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71674         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
71675         and i7.
71676         * sysdeps/x86_64/multiarch/init-arch.h
71677         (bit_Prefer_PMINUB_for_stringop): New.
71678         (index_Prefer_PMINUB_for_stringop): Likewise.
71679         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
71680         bit_Prefer_PMINUB_for_stringop.
71682 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71684         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
71685         buffer64.
71686         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
71687         of casting of buffer.
71688         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
71689         buffer32 and buffer64.
71690         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
71691         writes instead of casting of buffer.
71692         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
71693         buffer32.
71694         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
71695         casting of buffer.
71697 2011-07-19  Andreas Schwab  <schwab@redhat.com>
71699         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
71701 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71703         * nscd/nscd.c (termination_handler): Don't do anything for a database
71704         if it has not yet been initialized.
71706 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71708         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71710 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71712         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71714 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71716         * po/nl.po: Update from translation team.
71717         * po/sv.po: Likewise.
71719 2011-07-16  Roland McGrath  <roland@hack.frob.com>
71721         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
71722         now disallowed by GCC.
71724         * configure.in (use-default-link): Default to yes if a test -shared
71725         link meets our qualifications.
71726         * configure: Regenerated.
71728         * config.make.in (output-format): New variable.
71729         * configure.in: Check for ld --print-output-format support.
71730         * configure: Regenerated.
71731         * Makerules ($(common-objpfx)format.lds)
71732         [$(output-format) != unknown]: Just use $(output-format),
71733         instead of the linker-script munging.
71735 2011-07-14  Roland McGrath  <roland@hack.frob.com>
71737         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
71738         of $(common-objpfx)shlib.lds.
71739         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
71741         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
71742         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
71744         * configure.in (-z relro check): Adjust test code to add a large
71745         writable data section after it.
71746         * configure: Regenerated.
71748 2011-07-11  Roland McGrath  <roland@hack.frob.com>
71750         * configure.in (-z relro check): Fix test code to make the variable
71751         truly const.
71752         * configure: Regenerated.
71754 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
71756         * nscd/nscd.h (struct traced_file): Define.
71757         (struct database_dyn): Remove inotify_descr, reset_res, and filename
71758         elements.  Add traced_files.
71759         (inotify_fd): Declare.
71760         (register_traced_file): Declare.
71761         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
71762         (inotify_fd): Export.
71763         (resolv_conf_descr): Remove.
71764         (nscd_init): Move inotify descriptor creation to main.
71765         Don't register files for notification here.
71766         (register_traced_file): New function.
71767         (invalidate_cache): Don't use reset_res to determine whether to call
71768         res_init, go through the list of registered files.
71769         (main_loop_poll): The inotify descriptors are now stored in the
71770         structures for the traced files.
71771         (main_loop_epoll): Likewise.
71772         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
71773         to __nss_disable_nscd.
71774         * nscd/cache.c (prune_cache): There is no single inotify descriptor
71775         for a database anymore.  Check the records for all the registered
71776         files instead.
71777         * nss/Makefile (libnss_files-routines): Add files-init.
71778         (libnss_db-routines): Add db-init.
71779         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
71780         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
71781         * nss/nss_db/db-init.c: New file.
71782         * nss/nss_files/files-init.c: New file.
71783         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
71784         __nss_lookup_function.
71785         (__nss_lookup_function): Call nss_load_library.
71786         (nss_load_all_libraries): New function.
71787         (__nss_disable_nscd): Take parameter with callback function for files
71788         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
71789         used for the cached services.
71790         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
71791         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
71792         options for features to all the files in nscd.
71794         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
71796 2011-07-10  Roland McGrath  <roland@hack.frob.com>
71798         * csu/elf-init.c (__libc_csu_init): Comment typo.
71800 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
71802         * po/pl.po: Update from translation team.
71803         * po/ja.po: Likewise.
71804         * po/ru.po: Likewise.
71805         * po/ko.po: Likewise.
71806         * po/fr.po: Likewise.
71808 2011-07-09  Roland McGrath  <roland@hack.frob.com>
71810         * configure.in (.ctors/.dtors header and trailer check):
71811         Use an empirical test on a built program.
71812         * configure: Regenerated.
71814         * configure.in (-z relro check): Use an empirical test on a built DSO.
71815         Detect, but do not require, on ia64.
71816         * configure: Regenerated.
71818         * configure.in (READELF): Find it with AC_CHECK_TOOL.
71819         Update tests that use readelf to use $READELF instead.
71820         * configure: Regenerated.
71822 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
71824         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
71825         if the result is not used.
71827 2011-07-05  Andreas Jaeger  <aj@suse.de>
71829         [BZ#9696]
71830         * stdlib/tst-strtod.c: Add testcase.
71832 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
71834         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
71835         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
71836         The latter has a higher limit.  Take additional parameter to pass to
71837         the new function.
71838         (__pathconf): Pass file to __statfs_link_max.
71839         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
71840         __statfs_link_max.
71841         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
71842         __statfs_link_max.
71844         [BZ #12868]
71845         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
71846         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71847         Handle Lustre.
71848         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
71849         (__statfs_filesize_max): Likewise.
71850         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
71852 2011-07-05  Andreas Jaeger  <aj@suse.de>
71854         * resolv/res_comp.c (dn_skipname): Remove unused variable.
71856 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
71858         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
71859         `status' variable.
71860         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
71861         Likewise.
71863 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
71865         * Makefile (strop-tests): Add strncat.
71866         * string/test-strncat.c: New file.
71868 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
71870         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
71872 2011-06-21  Andreas Jaeger  <aj@suse.de>
71874         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
71875         Copy rule from iconvdata/Makefile.
71877 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71879         [BZ #12922]
71880         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
71881         but no long options are defined, just return 'W'.
71883 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
71885         [BZ #9696]
71886         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
71888 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71890         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
71891         netgroups to read.
71892         (innetgr): Likewise.
71894 2011-07-05  Roland McGrath  <roland@hack.frob.com>
71896         * config.make.in (install_root): Default to $(DESTDIR).
71898 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
71900         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
71902 2011-07-02  Roland McGrath  <roland@hack.frob.com>
71904         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
71906         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
71907         containing directory rather than embedding absolute directory names.
71909         * scripts/check-local-headers.sh: Rewritten using awk.
71910         Match by word, not by line.  Print error messages for matches.
71911         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
71913         * Makerules [shlib-lds-flags empty]:
71914         ($(common-objpfx)libc_pic.opts): New target.
71915         ($(common-objpfx)libc_pic.os.clean): New target.
71916         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
71918         * config.make.in (OBJCOPY): New variable.
71919         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
71920         * configure: Regenerated.
71922         * config.make.in (use-default-link): New variable.
71923         * configure.in (use_default_link): Grok --with-default-link to set it.
71924         * configure: Regenerated.
71925         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
71926         (shlib-lds, shlib-lds-flags): Define to empty.
71928         * Makerules (shlib-lds): New variable.
71929         (shlib-lds-flags): New variable.
71930         (build-shlib, build-moduile, build-module-asneeded): Use it.
71931         ($(common-objpfx)libc.so): Use $(shlib-lds).
71932         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
71933         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
71935         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
71936         DT_FLAGS/DT_FLAGS_1 with zero flags.
71938         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
71939         linker script munging.
71941 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
71943         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
71944         as 128-bit value.
71945         * crypt/sha512.c (sha512_process_block): Perform total addition using
71946         128-bit if possible.
71947         (__sha512_finish_ctx): Likewise.
71948         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
71949         as 64-bit value.
71950         * crypt/sha256.c (SWAP64): Define.
71951         (sha256_process_block): Perform total addition using 64-bit if
71952         possible.
71953         (__sha256_finish_ctx): Likewise.
71955 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
71957         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
71958         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71959         * nscd/hstcache.c (cache_addhst): Likewise.
71960         * nscd/grpcache.c (cache_addgr): Likewise.
71961         * nscd/aicache.c (addhstaiX): Likewise.
71962         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
71964 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
71966         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
71967         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71968         * nscd/hstcache.c (cache_addhst): Likewise.
71969         * nscd/grpcache.c (cache_addgr): Likewise.
71970         * nscd/aicache.c (addhstaiX): Likewise.
71972 2011-07-01  Andreas Schwab  <schwab@redhat.com>
71974         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
71975         domain only when needed.
71977 2011-06-30  Andreas Schwab  <schwab@redhat.com>
71979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
71980         is always restored.
71982 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
71984         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
71985         are re-adding the entry.
71986         * nscd/servicescache.c (cache_addserv): Likewise.
71988 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
71990         * sysdeps/generic/dl-irel.h: fix protection against multiple
71991         inclusions.
71992         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
71994 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
71996         [BZ #12935]
71997         * malloc/memusage.sh: Fix quoting in message.
71998         * debug/xtrace.sh: Likewise.
72000         * configure.in: Remove support for --experimental-malloc option, make
72001         it the default.
72002         * config.make.in: Likewise.
72003         * malloc/Makefile: Likewise.
72005 2011-06-27  Andreas Schwab  <schwab@redhat.com>
72007         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
72008         two-byte characters.
72010 2011-06-27  Roland McGrath  <roland@hack.frob.com>
72012         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
72013         AC_CACHE_CHECK invocation.
72014         * configure: Regenerated.
72016         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
72018 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
72020         [BZ #12350]
72021         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
72022         bit from old_res_options.
72024         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
72026         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
72027         value type for setfct.
72029 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
72031         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72032         __gettimeofday instead of gettimeofday.
72034 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
72036         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
72038 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
72040         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
72042         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
72043         info.
72045 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72048         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72049         strcpy-sse2-unaligned strncpy-sse2-unaligned
72050         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
72051         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
72052         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
72053         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
72054         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
72055         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
72056         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
72057         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
72058         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
72059         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
72060         (STRCPY): Support SSE2 and SSSE3 versions.
72062 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
72064         [BZ #12874]
72065         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
72066         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
72067         kernels which artificially limit size of requests.
72069 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72072         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72073         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
72074         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
72075         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
72076         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
72077         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
72078         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
72079         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
72080         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
72081         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
72082         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
72083         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
72084         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
72085         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
72086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72087         Enable unaligned load optimization for Intel Core i3, i5 and i7
72088         processors.
72089         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
72090         Define.
72091         (index_Fast_Unaligned_Load): Define.
72092         (HAS_FAST_UNALIGNED_LOAD): Define.
72094 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
72096         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
72098 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72100         [BZ #12907]
72101         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
72102         until it is clear that the information is realy needed.
72103         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
72105 2011-06-22  Andreas Schwab  <schwab@redhat.com>
72107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
72109 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72111         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72112         /sys/devices/system/cpu/online if it is usable.
72114         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
72115         reading the information from the /proc filesystem to once a second.
72117 2011-06-21  Andreas Jaeger  <aj@suse.de>
72119         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
72120         NULL after inclusion of kernel headers.
72122 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72124         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72125         calls to internal_setent.
72127         [BZ #12885]
72128         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72129         addresses using gethostbyname4_r ignore IPv4 addresses.
72131         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72132         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72134         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72136 2011-06-20  David S. Miller  <davem@davemloft.net>
72138         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72139         inclusions.
72140         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72142         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72143         (elf_irel): Use it.
72144         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72145         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72146         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72147         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72148         * sysdeps/x86_64/dl-irel.h: Likewise.
72150         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72151         * elf/dl-sym.c: Likewise.
72153 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72155         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72156         need to dereference resplen2.
72158 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72160         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72162 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72164         * Makeconfig: Define vardbdir and inst_vardbdir.
72165         * nss/Makefile: Add rules to install db-Makefile.
72167         * nss/nss_db/db-XXX.c: Cleanup.
72169         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72170         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72171         GLIBC_PRIVATE.
72172         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72173         * nss/makedb.c: Implement -g option to specify that value strings
72174         are generated and should not be added to table iterated over for
72175         get*ent calls.
72176         * nss/nss_db/db-initgroups.c: New file.
72178         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72179         interface.
72181         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72182         (internal_getgrouplist): Adjust to name change.
72183         Update use_initgroups_entry if this is not the first call.
72184         * nss/databases.def: Add initgroups entry.
72186         * nss/makedb.c (compute_tables): Check result of multiple hash table
72187         sizes to minimize maximum chain length.
72189 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72191         * Versions.def: Add entry for libnss_db.
72192         * shlib-versions: Likewise.
72193         * nss/Makefile: Add rules to build libnss_db.
72194         * nss/Versions: Add libnss_db information.  Organize libnss_files
72195         entries better.
72196         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72197         makedb progra.  Some minor improvements to generate smaller files.
72198         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72199         here from...
72200         * nss/makedb.c: ...here.
72201         Improve database format to be smaller and require less memory at
72202         runtime.
72203         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72204         db anymore.
72205         * nss/nss_db/db-netgrp.c: Likewise.
72206         * nss/nss_db/db-open.c: Likewise.
72207         * nss/nss_files/flies-XXX.x: Adjust comments.
72208         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72209         * nss/nss_files/files-grp.c: Likewise.
72210         * nss/nss_files/files-hosts.c: Likewise.
72211         * nss/nss_files/files-network.c: Likewise.
72212         * nss/nss_files/files-proto.c: Likewise.
72213         * nss/nss_files/files-pwd.c: Likewise.
72214         * nss/nss_files/files-rpc.c: Likewise.
72215         * nss/nss_files/files-service.c: Likewise.
72216         * nss/nss_files/files-sgrp.c: Likewise.
72217         * nss/nss_files/files-spwd.c: Likewise.
72218         * nss/nss_db/db-alias.c: Removed.
72219         * nss/nss_db/dummy-db.h: Removed.
72221 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72223         * nss/makedb.c: Rewritten to not use database library.
72224         * nss/Makefile: Update to build new makedb program.
72226 2011-06-14  Andreas Jaeger  <aj@suse.de>
72228         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72229         memset declaration.
72231 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72233         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72234         tmpbuf.
72236 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72238         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72239         * elf/Makefile ($(objpfx)ld.so): Likewise.
72241         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72242         Don't list ld.so twice in dependencies.
72244         * posix/bug-regex31.c: Include <stdlib.h>.
72246         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72248         * nis/nss_compat/compat-spwd.c
72249         (getspent_next_nss_netgr): Remove unused variable.
72250         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72252         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72253         nonmembers" output to use the right array.
72255         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72257         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72259         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72260         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72261         * catgets/gencat.c (read_input_file): Likewise.
72262         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72264         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72265         variable definition inside #if's controlling its use.
72267         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72269         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72271         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72273         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72274         unreachable code.
72276         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72278         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72279         * configure: Regenerated.
72281         * Makerules: Revert last change.
72282         * elf/Makefile: Likewise.
72284 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72286         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72287         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72288         (reloc-link): Likewise.
72290 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72292         * elf/Makefile: Add rules to build pldd.
72293         * elf/pldd.c: New file.
72294         * elf/pldd-xx.c: New file.
72296 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72298         * version.h: Update for 2.15 development version.
72300 2011-06-07  David S. Miller  <davem@davemloft.net>
72302         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72303         ifuncs.
72304         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72305         elf_machine_lazy_rel): Likewise.
72306         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72307         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72308         elf_machine_lazy_rel): Likewise.
72309         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72310         dl_hwcap via passed in argument.
72311         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72312         Likewise.
72314 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72316         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72318 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72320         [BZ #12849]
72321         * manual/fdl-1.1.texi: New file, verbatim from:
72322         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72323         * manual/lgpl-2.1.texi: New file, verbatim from:
72324         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72325         * manual/Makefile (licenses): New variable, list those new file names.
72326         (texis): Use it.
72327         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72329         * manual/fdl.texi: File removed.
72330         * manual/lesser.texi: File removed.
72331         * manual/libc.texinfo (Copying, Documentation License):
72332         Use new @include file names, put @appendix directive before @include.
72334 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72336         [BZ #12841]
72337         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72338         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72339         (mq_open): Add __NTH.
72341 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72344         Assume Intel Core i3/i5/i7 processor if AVX is available.
72346 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72348         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72349         typo.
72351 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72353         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72354         memory.  Use alloca_account.  Fix memory leak when retrying.
72356 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72358         * version.h (RELEASE): Bump for 2.14 release.
72359         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72361         * config.make.in (RANLIB): Remove entry.
72363 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72365         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72366         (libc.pot): Work around missing support for .ksh extension in xgettext.
72368         [BZ #12684]
72369         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72370         if both request failed.
72371         (send_dg): In case of server errors clear resplen or *resplen2.
72373         [BZ #12454]
72374         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72375         when there are multiple maps.
72376         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72377         (_dl_fini): Remove test here.
72379         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72381 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72383         [BZ #12350]
72384         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72385         bit from old_res_options.
72386         (gaih_inet): Likewise.
72388         [BZ #11099]
72389         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72390         as signed.
72392         * resolv/res_init.c (res_setoptions): Make the code more compact.
72394         [BZ #11558]
72395         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72396         set RES_USEVC.
72398         [BZ #11634]
72399         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72401         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72403         [BZ #11781]
72404         * malloc/malloc.h: Declare malloc hook variables as volatile.
72406         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72407         in last patch.
72409         [BZ #11799]
72410         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72411         raise in the comment.
72412         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72413         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72414         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72416 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72418         [BZ #12811]
72419         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72420         grow the buffers more if it already has to be sufficient.
72421         (build_wcs_upper_buffer): Likewise.
72422         * posix/regexec.c (check_matching): Likewise.
72423         (clean_state_log_if_needed): Likewise.
72424         (extend_buffers): Don't enlarge buffers beyond size of the input
72425         buffer.
72426         Patches mostly by Emil Wojak <emil@wojak.eu>.
72427         * posix/bug-regex32.c: New file.
72428         * posix/Makefile (tests): Add bug-regex32.
72430         * locale/findlocale.c (_nl_find_locale): Return right away if
72431         _nl_explode_name failed.
72432         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72434         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72436         * debug/xtrace.sh: Unify messages.
72437         * malloc/memusage.sh: Likewise.
72439         [BZ #12813]
72440         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72441         time symbol from vDSO.  Substitute with vsyscall if not available.
72442         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72443         __vdso_time.
72445         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72446         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72447         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72448         Add sendmmsg and internal_sendmmsg.
72449         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72450         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72451         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72453         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72454         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72455         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72457 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72459         [BZ #12813]
72460         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72461         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72462         available.
72463         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72464         __vdso_getcpu.
72466         [BZ #12814]
72467         * iconvdata/Makefile (tests): Add bug-iconv9.
72468         * iconvdata/bug-iconv9.c: New file.
72470 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72472         [BZ #12814]
72473         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72475 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72477         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72478         (struct user_regs_struct): Change intcs field back to cs.
72480 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72482         * po/ja.po: Update from translation team.
72484 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72486         [BZ #12795]
72487         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72488         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72490 2011-05-20  Andreas Schwab  <schwab@redhat.com>
72492         * stdlib/longlong.h: Update from GCC.
72494 2011-05-23  Andreas Schwab  <schwab@redhat.com>
72496         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
72497         parameter name.
72498         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
72499         Add parameter name.
72500         (__sysconf): Pass it down.
72502 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
72504         [BZ #12671]
72505         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
72506         some situations.
72507         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72508         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72509         add in in __libc_use_alloca calls.  Adjust callers.
72510         (glob): Use malloc in some situations.
72512         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72513         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72514         pltexit.
72516 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72518         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72519         and CLOCK_BOOTTIME_ALARM.
72521         [BZ #12782]
72522         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72523         is returned.
72525         * string/_strerror.c (__strerror_r): Print negative errors as signed
72526         numbers.
72528         [BZ #12777]
72529         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
72530         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
72531         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
72533         * configure.in: Fix typo in redirection and correct removal of test
72534         files in two cases.
72536         [BZ #12788]
72537         * locale/setlocale.c (new_composite_name): Fix test to check for
72538         identical name of all categories.
72540         [BZ #12792]
72541         * libio/filedoalloc.c (local_isatty): New function.
72542         (_IO_file_doallocate): Use local_isatty.
72543         * stdio-common/perror.c (perror): In case a new stream is used
72544         forward the stream error.
72545         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
72546         error flag.
72548 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
72550         [BZ #11884]
72551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
72552         alloca.
72553         * include/alloca.h (extend_alloca_account): Define.
72555         [BZ #11857]
72556         * posix/regex.h: Fix comments with documentation of user-accessible
72557         fields after compilation and describe correct free'ing of pattern
72558         after re_compile_pattern.
72559         Patch by Reuben Thomas <rrt@sc3d.org>.
72561 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
72563         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
72564         and -mno-altivec to prevent the compiler from using Altivec and/or
72565         VSX instructions when the corresponding registers are not available.
72567 2011-05-19  Andreas Schwab  <schwab@redhat.com>
72569         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
72571 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
72573         * libio/freopen.c (freopen): Use __dup2, not dup2.
72574         * libio/freopen64.c (freopen64): Likewise.
72576 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72578         [BZ #12775]
72579         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
72580         * math/Makefile (tests): Add test-powl.
72581         (CFLAGS-test-powl.c): Define.
72582         * math/test-powl.c: New file.
72584 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72586         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
72588 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
72590         [BZ #11837]
72591         * iconvdata/gb18030.c: Update to GB18020-2005.
72593 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
72595         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
72596         RE_SYNTAX_POSIX_AWK): Update to match recent development.
72597         Patch by Aharon Robbins <arnold@skeeve.com>.
72599         [BZ #11892]
72600         * stdlib/putenv.c (putenv): Don't always create copy of the variable
72601         on the stack.
72603         [BZ #11895]
72604         * misc/pselect.c (__pselect): Handle timeout value errors hidden
72605         through underflows.
72607         [BZ #12766]
72608         * misc/error.c (error_at_line): Ensure file_name and old_file_name
72609         point to strings before performing equality test for error_one_per_line
72610         mode.
72612         [BZ #11697]
72613         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
72615         [BZ #11820]
72616         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72617         (struct user_fpregs_struct): Avoid __uint*_t types.
72619         [BZ #6420]
72620         * malloc/mtrace.c (tr_where): Add additional parameter to point to
72621         symbol info.  Use it instead of calling _dl_addr locally.
72622         (lock_and_info): New function.
72623         (tr_freehook): Call lock_and_info and pass symbol info as additional
72624         parameter to tr_where.
72625         (tr_mallochook): Likewise.
72626         (tr_reallochook): Likewise.
72627         (tr_memalignhook): Likewise.
72629         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
72630         used and couldn't be at all thread-safe.
72632 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
72634         * libio/freopen.c (freopen): Don't close old file descriptor
72635         before the new one is opened.  Instead dup the new file descriptor
72636         to the old one after the new stream is created.
72637         * libio/freopen64.c (freopen64): Likewise.
72638         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
72639         * libio/fileops.c (_IO_new_file_close_it): Handle new
72640         _IO_FLAGS2_NOCLOSE flag.
72641         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
72642         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
72643         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
72644         _IO_FLAGS2_NOCLOSE flag.
72645         * include/unistd.h: Add hidden_proto for dup3.
72646         Define __have_dup3.
72647         * io/dup3.c: Define hidden symbol.
72648         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
72650         [BZ #7101]
72651         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
72652         when an incomplete long option is used.
72653         * posix/tst-getopt_long1.c: New file.
72654         * posix/Makefile (tests): Add tst-getopt_long1.
72656         [BZ #10138]
72657         * scripts/config.guess: Update from autoconf-2.68.
72658         * scripts/config.sub: Likewise.
72660         [BZ #10157]
72661         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
72662         tests into ...
72663         (has_cpuclock): ...this.  New function.
72664         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
72665         macro here based on has_cpuclock code.
72667         [BZ #10149]
72668         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72669         First byte (not low byte) is now always NUL.
72670         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
72672         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72673         Use non-cancelable interfaces.
72675         [BZ #9809]
72676         * locale/iso-639.def: Add entry for Sorani.
72678         [BZ #11901]
72679         * include/stdlib.h: Move include protection to the right place.
72680         Define abort_msg_s.  Declare __abort_msg with it.
72681         * stdlib/abort.c (__abort_msg): Adjust type.
72682         * assert/assert.c (__assert_fail_base): New function.  Majority
72683         of code from __assert_fail.  Allocate memory for __abort_msg with
72684         mmap.
72685         (__assert_fail): Now call __assert_fail_base.
72686         * assert/assert-perr.c: Remove bulk of implementation.  Use
72687         __assert_fail_base.
72688         * include/assert.hL Declare __assert_fail_base.
72689         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
72690         mmap.
72691         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
72693 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
72695         [BZ #11952]
72696         [BZ #12453]
72697         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
72698         until all modules are registered in the DTV.
72699         * elf/Makefile: Add rules to build and run tst-tls19.
72700         * elf/tst-tls19.c: New file.
72701         * elf/tst-tls19mod1.c: New file.
72702         * elf/tst-tls19mod2.c: New file.
72703         * elf/tst-tls19mod3.c: New file.
72704         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
72706         [BZ #12083]
72707         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
72708         correctly.
72710         [BZ #12601]
72711         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
72712         two-byte sequence errors.
72713         * iconvdata/Makefile (tests): Add bug-iconv8.
72714         * iconvdata/bug-iconv8.c: New file.
72716         [BZ #12626]
72717         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
72718         buf2 definition.
72720         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
72722         [BZ #12432]
72723         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
72724         (dummy_getcfa): New function.
72725         (init): Get _Unwind_GetCFA address, use dummy if not found.
72726         (backtrace_helper): In recursion check, also check whether CFA changes.
72727         (__backtrace): Completely initialize arg.
72729         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
72730         storing incomplete byte sequence in state object.  Avoid testing for
72731         guaranteed too small input if we know there is enough data available.
72733 2011-05-11  Andreas Schwab  <schwab@redhat.com>
72735         * Makeconfig (+link-pie): Indent.
72736         * Rules (binaries-pie): Define if $(have-fpie) and
72737         $(build-shared).
72738         (binaries-shared): Also filter out $(binaries-pie).
72739         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
72740         * nscd/Makefile (others-pie): Add nscd.
72741         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
72742         ($(objpfx)nscd): Remove command override.
72743         * login/Makefile (others-pie): Add pt_chown.
72744         ($(objpfx)pt_chown): Remove command override.
72745         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
72746         remove command overrides.
72748 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
72750         * libio/tst_putwc.c: Fix error messages.
72752         [BZ #12724]
72753         * libio/fileops.c (_IO_new_file_close_it): Always flush when
72754         currently writing and seek to current position when not.
72755         * libio/Makefile (tests): Add bug-fclose1.
72756         * libio/bug-fclose1.c: New file.
72758 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
72760         [BZ #12511]
72761         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
72762         don't set DF_1_NODELETE here.
72763         (do_lookup_x): When entering new entry test for copy relocation
72764         and if necessary set DF_1_NODELETE flag.
72765         * elf/tst-unique4.cc: New file.
72766         * elf/tst-unique4.h: New file.
72767         * elf/tst-unique4lib.cc: New file.
72768         * elf/Makefile: Add rules to build and run tst-unique4.
72769         Patch by Piotr Bury <pbury@goahead.com>.
72771 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
72773         [BZ #12052]
72774         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
72776         [BZ #12625]
72777         * misc/mntent_r.c (addmntent): Flush the stream after the output
72779         [BZ #12393]
72780         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
72781         (is_trusted_path_normalize): Skip initial colon.  Append slash
72782         to empty buffer.  Duplicate is_trusted_path code but allow
72783         constructed patch to be prefix.
72784         (is_dst): Allow $ORIGIN followed by /.
72785         (_dl_dst_substitute): Correct clearing of check_for_trusted.
72786         Correct testing of result of is_trusted_path_normalize
72787         (decompose_rpath): Fix warning.
72789 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
72791         [BZ #11257]
72792         * grp/initgroups.c (internal_getgrouplist): When we found the service
72793         list through the initgroups entry in nsswitch.conf do not always
72794         continue on a successful lookup.  Don't always use the
72795         __nss_group_database value if it is set.
72796         * nss/nsswitch.conf (initgroups): Change action for successful db
72797         lookup to continue for compatibility.
72799 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
72801         [BZ #11532]
72802         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
72803         and CP774 modules.
72804         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
72805         and CP774 modules.
72806         * iconvdata/tst-tables.sh: Likewise.
72807         * iconvdata/cp770.c: New file.
72808         * iconvdata/cp771.c: New file.
72809         * iconvdata/cp772.c: New file.
72810         * iconvdata/cp773.c: New file.
72811         * iconvdata/cp774.c: New file.
72812         * iconvdata/testdata/CP770: New file.
72813         * iconvdata/testdata/CP770..UTF8: New file.
72814         * iconvdata/testdata/CP771: New file.
72815         * iconvdata/testdata/CP771..UTF8: New file.
72816         * iconvdata/testdata/CP772: New file.
72817         * iconvdata/testdata/CP772..UTF8: New file.
72818         * iconvdata/testdata/CP773: New file.
72819         * iconvdata/testdata/CP773..UTF8: New file.
72820         * iconvdata/testdata/CP774: New file.
72821         * iconvdata/testdata/CP774..UTF8: New file.
72823         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
72824         END CHARMAP line.
72825         * iconvdata/gen-8bit-gap.sh: Likewise.
72826         * iconvdata/gen-8bit.sh: Likewise.
72828         * locale/iso-639.def: Add ary entry.
72830         [BZ #11258]
72831         * locale/C-translit.h.in: Add U20A1 transliteration.
72833         [BZ #12178]
72834         * locale/iso-639.def: Add wae entry.
72835         Patch by Kevin Bortis <bortis@translate-wae.ch>.
72837         [BZ #12545]
72838         * locale/programs/localedef.c (construct_output_path): Use ssize_t
72839         for n.
72841         [BZ #12711]
72842         * locale/C-translit.h.in: Add entry for U20B9.
72843         Patch by pravin.d.s@gmail.com.
72845 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
72847         [BZ #12713]
72848         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
72849         ENAMETOOLONG use generic getcwd.
72850         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
72851         in rtld.  Use *stat64.
72852         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
72853         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
72854         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
72855         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
72856         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
72857         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
72858         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
72859         __fstatat64 macros.
72860         * include/dirent.h: Add libc_hidden_proto for rewinddir.
72861         * dirent/rewinddir.c: Add libc_hidden_def.
72862         * sysdeps/mach/hurd/rewinddir.c: Likewise.
72863         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
72865         * include/dirent.h (__alloc_dir): Add flags parameter.
72866         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
72867         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
72868         __alloc_dir.
72869         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
72870         from fdopendir if O_CLOEXEC is already set.
72872 2011-03-15  Alan Modra  <amodra@gmail.com>
72874         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
72875         l_tls_firstbyte_offset non-zero.  Save padding offset in
72876         l_tls_firstbyte_offset for later use.
72877         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
72878         freeing static tls block.
72880 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
72882         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
72883         where #ifdef was intended.  The intent is to prevent ARG_MAX from
72884         being defined by the kernel headers.
72886 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
72888         [BZ #12734]
72889         * resolv/resolv.h: Define RES_NOTLDQUERY.
72890         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
72891         no-tld-query and set RES_NOTLDQUERY.
72892         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
72893         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
72894         modern BIND to search name as TLD unless forbidden.
72896 2011-05-07  Petr Baudis  <pasky@suse.cz>
72897             Ulrich Drepper  <drepper@gmail.com>
72899         [BZ #12393]
72900         * elf/dl-load.c (fillin_rpath): Move trusted path check...
72901         (is_trusted_path): ...to here.
72902         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
72903         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
72904         using is_trusted_path_normalize() in setuid scripts.
72906 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72908         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
72909         __BEGIN/__END_DECLS.
72911 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
72913         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
72914         NSS_STATUS_NOTFOUND if no record was found.
72916 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72918         * sunrpc/Makefile (headers): Add rpc/netdb.h.
72919         (headers-not-in-tirpc): Remove rpc/netdb.h
72920         * resolv/netdb.h: Revert last change.
72922 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72924         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
72925         circular dependency between libgcc.a and libc.a.
72927 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72929         * resolv/netdb.h: Don't include <rpc/netdb.h>.
72930         * nis/Makefile: Don't install rpcsvc/*.
72931         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
72932         instead of <rpc/types.h>.
72933         (MAXHOSTNAMELEN): Define.
72935 2011-05-03  Andreas Schwab  <schwab@redhat.com>
72937         * elf/ldconfig.c (add_dir): Don't crash on empty path.
72939 2011-04-28  Maciej Babinski  <mbabinski@google.com>
72941         [BZ #12714]
72942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
72943         gethostbyname4_r when IPv6 results are possible.
72945 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
72947         [BZ #12723]
72948         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
72949         _PC_PIPE_BUF handling.
72951 2011-04-30  Bruno Haible  <bruno@clisp.org>
72953         [BZ #12717]
72954         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
72955         * resolv/netdb.h (getnameinfo): Change type of flags parameter
72956         to 'int'.
72957         * inet/getnameinfo.c (getnameinfo): Likewise.
72959 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
72961         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
72962         to groups setting in database lookup.
72963         * nss/nsswitch.conf: Add initgroups entry.
72965 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
72967         [BZ #12685]
72968         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
72969         mode string.
72970         Patch by Eric Blake <eblake@redhat.com>.
72972 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
72974         * sunrpc/Makefile (need-export-routines): Add svc_run.
72975         (routines): Remove svc_run.
72976         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
72977         * sunrpc/clnt_perr.c (clnt_perrno): Export.
72978         * sunrpc/svc_run.c (svc_run): Likewise.
72979         * sunrpc/svc_udp.c (svcudp_create): Likewise.
72981 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
72983         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
72984         problem in reallocation in last patch.
72986 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
72988         * sunrpc/Makefile: Move inclusion of Rules.
72990 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72992         * nss/nss_files/files-initgroups.c: New file.
72993         * nss/Makefile (libnss_files-routines): Add files-initgroups.
72994         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
72995         _nss_files_initgroups_dyn.
72997 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
72999         * elf/elf.h (R_ARM_IRELATIVE): Define.
73001 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73003         * po/ru.po: Update from translation team.
73005 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73007         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
73008         dependencies.
73010 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
73012         [BZ #12653]
73013         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
73014         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
73015         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73016         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73017         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73019 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
73021         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
73022         differing bytes.
73023         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
73024         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
73025         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73027 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73029         [BZ #12420]
73030         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
73031         storing it.
73032         * stdlib/bug-getcontext.c: New file.
73033         * stdlib/Makefile: Add rules to build and run bug-getcontext.
73035 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73037         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
73038         instructions into .machine "z9-109".
73039         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
73040         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
73042 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73044         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
73045         between environment variables and auxiliary vector.
73047 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
73049         * Makefile: Add rules to build linkobj/libc.so.
73050         * include/libc-symbols.h: Define libc_hidden_nolink.
73051         * include/rpc/auth.h: Mark functions which are to be hidden.
73052         * include/rpc/auth_des.h: Likewise.
73053         * include/rpc/auth_unix.h: Likewise.
73054         * include/rpc/clnt.h: Likewise.
73055         * include/rpc/des_crypt.h: Likewise.
73056         * include/rpc/key_prot.h: Likewise.
73057         * include/rpc/pmap_clnt.h: Likewise.
73058         * include/rpc/pmap_prot.h: Likewise.
73059         * include/rpc/pmap_rmt.h: Likewise.
73060         * include/rpc/rpc_msg.h: Likewise.
73061         * include/rpc/svc.h: Likewise.
73062         * include/rpc/svc_auth.h: Likewise.
73063         * include/rpc/xdr.h: Likewise.
73064         * nis/Makefile: Link all DSOs against linkobj/libc.so.
73065         * nss/Makefile: Likewise.
73066         * sunrpc/Makefile: Don't install headers.  Build library with normal
73067         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
73068         * sunrpc/auth_des.c: Hide exported symbols by default, export some
73069         for the compat linking library.  Remove use of INTDEF/INTUSE.
73070         * sunrpc/auth_none.c: Likewise.
73071         * sunrpc/auth_unix.c: Likewise.
73072         * sunrpc/authdes_prot.c: Likewise.
73073         * sunrpc/authuxprot.c: Likewise.
73074         * sunrpc/clnt_gen.c: Likewise.
73075         * sunrpc/clnt_perr.c: Likewise.
73076         * sunrpc/clnt_raw.c: Likewise.
73077         * sunrpc/clnt_simp.c: Likewise.
73078         * sunrpc/clnt_tcp.c: Likewise.
73079         * sunrpc/clnt_udp.c: Likewise.
73080         * sunrpc/clnt_unix.c: Likewise.
73081         * sunrpc/des_crypt.c: Likewise.
73082         * sunrpc/des_soft.c: Likewise.
73083         * sunrpc/get_myaddr.c: Likewise.
73084         * sunrpc/key_call.c: Likewise.
73085         * sunrpc/key_prot.c: Likewise.
73086         * sunrpc/netname.c: Likewise.
73087         * sunrpc/pm_getmaps.c: Likewise.
73088         * sunrpc/pm_getport.c: Likewise.
73089         * sunrpc/pmap_clnt.c: Likewise.
73090         * sunrpc/pmap_prot.c: Likewise.
73091         * sunrpc/pmap_prot2.c: Likewise.
73092         * sunrpc/pmap_rmt.c: Likewise.
73093         * sunrpc/publickey.c: Likewise.
73094         * sunrpc/rpc_cmsg.c: Likewise.
73095         * sunrpc/rpc_common.c: Likewise.
73096         * sunrpc/rpc_dtable.c: Likewise.
73097         * sunrpc/rpc_prot.c: Likewise.
73098         * sunrpc/rpc_thread.c: Likewise.
73099         * sunrpc/rtime.c: Likewise.
73100         * sunrpc/svc.c: Likewise.
73101         * sunrpc/svc_auth.c: Likewise.
73102         * sunrpc/svc_authux.c: Likewise.
73103         * sunrpc/svc_raw.c: Likewise.
73104         * sunrpc/svc_run.c: Likewise.
73105         * sunrpc/svc_simple.c: Likewise.
73106         * sunrpc/svc_tcp.c: Likewise.
73107         * sunrpc/svc_udp.c: Likewise.
73108         * sunrpc/svc_unix.c: Likewise.
73109         * sunrpc/svcauth_des.c: Likewise.
73110         * sunrpc/xcrypt.c: Likewise.
73111         * sunrpc/xdr.c: Likewise.
73112         * sunrpc/xdr_array.c: Likewise.
73113         * sunrpc/xdr_float.c: Likewise.
73114         * sunrpc/xdr_intXX_t.c: Likewise.
73115         * sunrpc/xdr_mem.c: Likewise.
73116         * sunrpc/xdr_rec.c: Likewise.
73117         * sunrpc/xdr_ref.c: Likewise.
73118         * sunrpc/xdr_sizeof.c: Likewise.
73119         * sunrpc/xdr_stdio.c: Likewise.
73121 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
73123         [BZ #12650]
73124         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73125         * sysdeps/ia64/dl-tls.h: Likewise.
73126         * sysdeps/powerpc/dl-tls.h: Likewise.
73127         * sysdeps/s390/dl-tls.h: Likewise.
73128         * sysdeps/sh/dl-tls.h: Likewise.
73129         * sysdeps/sparc/dl-tls.h: Likewise.
73130         * sysdeps/x86_64/dl-tls.h: Likewise.
73131         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73133 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73135         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73136         rpath element also skip the following colon.
73137         (expand_dynamic_string_token): Add is_path parameter and pass
73138         down to DL_DST_REQUIRED and _dl_dst_substitute.
73139         (decompose_rpath): Call expand_dynamic_string_token with
73140         non-zero is_path.  Ignore empty rpaths.
73141         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73142         with zero is_path.
73144 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73147         Make cancelable.
73149 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73151         [BZ #12655]
73152         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73153         Patch by Filipe David Manana <fdmanana@apache.org>.
73155 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73157         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73158         Maintain aligned stack.
73159         (CHECK_RSP): Remove unused macro.
73161 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73163         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73164         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73166 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73168         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73170         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73172 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73174         [BZ #12518]
73175         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73176         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73177         * sysdeps/x86_64/memmove.c: New file.
73178         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73179         (memcpy): Renamed to ...
73180         (__new_memcpy): This.
73181         (memcpy): Provide GLIBC_2_14 memcpy.
73182         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73183         (memcpy): Provide GLIBC_2_2_5 memcpy.
73185 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73187         [BZ #12631]
73188         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73190 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73192         * misc/syncfs.c: New file.
73193         * misc/Makefile (routines): Add syncfs.
73194         * posix/unistd.h: Declare syncfs.
73195         * sysdeps/unix/syscalls.list: Add syncfs.
73197 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73199         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73200         open_by_handle_at.
73201         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73202         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73203         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73204         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73205         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73206         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73207         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73209 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73211         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73212         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73213         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73215         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73216         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73217         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73219         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73220         sync_file_range.c with -fexceptions.
73221         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73222         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73223         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73224         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73225         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73226         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73227         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73228         sync_file_range as cancellation point
73229         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73230         now a wrapper around __call_sync_file_range with cancellation handling.
73231         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73232         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73233         function name to __call_sync_file_range.
73234         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73235         Add call_sync_file_range.
73237 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73239         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73240         bits/timex.h.
73242 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73244         * iconv/iconv.h: Fix typo in comment.
73245         * io/fcntl.h: Likewise.
73246         * libio/stdio.h: Likewise.
73247         * posix/spawn.h: Likewise.
73248         * posix/unistd.h: Likewise.
73249         * stdlib/stdlib.h: Likewise.
73250         * time/time.h: Likewise.
73251         * wcsmbs/wchar.h: Likewise.
73253         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73254         open_by_handle): Add.
73255         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73256         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73257         Augment a few comments.
73258         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73259         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73260         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73261         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73262         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73263         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73264         open_by_handle.
73266         * io/fcntl.h (AT_EMPTY_PATH): Define.
73268 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73270         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73271         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73272         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73273         to...
73274         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73275         * Versions.def: Add GLIBC_2.14.
73276         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73277         Export.
73279 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73281         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73282         round counter.
73283         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73285 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73287         [BZ #12597]
73288         * string/test-strncmp.c (do_page_test): New function.
73289         (check2): Likewise.
73290         (test_main): Call check2.
73291         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73293 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73295         [BZ #12587]
73296         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73297         Handle cache information in CPU leaf 4.
73298         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73300 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73302         [BZ #12583]
73303         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73304         character representation.
73305         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73307 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73309         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73310         END(__isnan) to END(__isnanf) to match function entry point/label
73311         EALIGN(__isnanf,...).
73313 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73315         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73317 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73319         [BZ #12510]
73320         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73321         copy from the symbol referenced in the relocation to initialize the
73322         used variable.
73323         Patch by Piotr Bury <pbury@goahead.com>.
73324         * elf/Makefile: Add rules to build and tst-unique3.
73325         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73326         * elf/tst-unique3.cc: New file.
73327         * elf/tst-unique3.h: New file.
73328         * elf/tst-unique3lib.cc: New file.
73329         * elf/tst-unique3lib2.cc: New file.
73331         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73333 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73335         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73336         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73337         to _start.
73339 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73341         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73342         to-be-loaded object along a path to loader is ld.so.
73344 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73345             Ulrich Drepper  <drepper@gmail.com>
73347         * sysdeps/x86_64/memset.S: After aligning destination, code
73348         branches to different locations depending on the value of
73349         misalignment, when multiarch is enabled. Fix this.
73351 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73353         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73354         Set _x86_64_preferred_memory_instruction for AMD processsors.
73355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73356         Set bit_Prefer_SSE_for_memop for AMD processors.
73358 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73360         * libio/fmemopen.c (fmemopen): Optimize a bit.
73362 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73364         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73366 2011-03-03  Roland McGrath  <roland@redhat.com>
73368         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73370 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73372         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73373         __bzero_ultra1 instead of __memset_ultra1.
73375 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73376             Ulrich Drepper  <drepper@gmail.com>
73378         [BZ #12509]
73379         * include/link.h (struct link_map): Add l_orig_initfini.
73380         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73381         returning unsuccessfully.
73382         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73383         close of a file loaded at startup, restore the original l_initfini
73384         list.
73385         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73386         list, store the pointer.
73387         * elf/Makefile ($(objpfx)noload-mem): New rule.
73388         (noload-ENV): Define.
73389         (tests): Add $(objpfx)noload-mem.
73390         * elf/noload.c: Include <memcheck.h>.
73391         (main): Call mtrace.  Close all opened handles.
73393 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73395         [BZ #12454]
73396         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73397         dependencies are missing.
73399 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73401         Fix __if_freereq crash: Unlike the generic version which uses free,
73402         Hurd needs munmap.
73403         * sysdeps/mach/hurd/ifreq.h: New file.
73405 2011-01-27  Petr Baudis  <pasky@suse.cz>
73406             Ulrich Drepper  <drepper@gmail.com>
73408         [BZ 12445]#
73409         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73410         to extend_alloca().
73411         * stdio-common/bug23.c: New file.
73412         * stdio-common/Makefile (tests): Add bug23.
73414 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73415             Ulrich Drepper  <drepper@gmail.com>
73417         [BZ #12489]
73418         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73419         before performing relro protection.  At old place add assertion
73420         to make sure nothing changed.
73422 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73423             Glauber de Oliveira Costa  <glommer@gmail.com>
73425         * elf/elf.h: Add new ARM TLS relocs.
73427 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73430         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73431         cast from r3.
73432         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73433         'tests' variable.
73434         * sysdeps/wordsize-64/tst-writev.c: New file.
73436 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73438         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73439         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73440         insns in _dl_start to prevent a TOC reference before relocs are
73441         resolved.
73443 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73445         [BZ #12469]
73446         * Makeconfig: Remove RANLIB definition.
73447         * Makerules: Don't use RANLIB.
73448         * aclocal.m4: Remove ranlib test.
73449         * configure.in: No need to check for ranlib.
73450         * elf/rtld-Rules: Don't use RANLIB.
73452 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73454         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73455         protection macro.
73456         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73457         inclusion protection macro.
73459         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73460         SIGRTMIN and SIGRTMAX and print information in that case only when
73461         SIGRTMIN is defined.
73463 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73465         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73466         arginfo fn returning -1.
73468         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73469         and thousands string is zero terminated.
73471 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73473         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73474         sysdeps/unix/sysv/linux/bits/socket.h.
73476 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73478         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73479         (__CPU_COUNT): Remove old macros.
73480         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73481         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73482         (__CPU_ALLOC, __CPU_FREE): Add macros.
73483         (__sched_cpualloc, __sched_cpufree): Add declarations.
73485 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73487         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73488         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73489         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73490         (readdhstai): Return value of addhstaiX call.
73491         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
73492         (addgrbyX): Return value returned by cache_addgr.
73493         (readdgrbyname): Return value returned by addgrbyX.
73494         (readdgrbygid): Likewise.
73495         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
73496         (addpwbyX): Return value returned by cache_addpw.
73497         (readdpwbyname): Return value returned by addhstbyX.
73498         (readdpwbyuid): Likewise.
73499         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
73500         (addservbyX): Return value returned by cache_addserv.
73501         (readdservbyname): Return value returned by addservbyX:
73502         (readdservbyport): Likewise.
73503         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
73504         (addhstbyX): Return value returned by cache_addhst.
73505         (readdhstbyname): Return value returned by addhstbyX.
73506         (readdhstbyaddr): Likewise.
73507         (readdhstbynamev6): Likewise.
73508         (readdhstbyaddrv6): Likewise.
73509         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73510         (readdinitgroups): Return value returned by addinitgroupsX.
73511         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73512         (prune_cache): Keep track of timeout value of re-added entries.
73513         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73514         * nscd/nscd.h: Adjust prototypes of readd* functions.
73516 2011-02-04  Roland McGrath  <roland@redhat.com>
73518         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73519         (nis_stats): Likewise.
73520         * nis/nis_modify.c (nis_modify): Likewise.
73521         * nis/nis_remove.c (nis_remove): Likewise.
73522         * nis/nis_add.c (nis_add): Likewise.
73524         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73526         * posix/fnmatch_loop.c: Add some consts.
73528         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
73530 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
73532         [BZ #12460]
73533         * config.make.in (config-cflags-novzeroupper): Define.
73534         * configure.in: Substitute libc_cv_cc_novzeroupper.
73535         * elf/Makefile (AVX-CFLAGS): Define.
73536         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
73537         (CFLAGS-tst-auditmod4a.c): Likewise.
73538         (CFLAGS-tst-auditmod4b.c): Likewise.
73539         (CFLAGS-tst-auditmod6b.c): Likewise.
73540         (CFLAGS-tst-auditmod6c.c): Likewise.
73541         (CFLAGS-tst-auditmod7b.c): Likewise.
73542         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
73544 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
73546         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
73547         function to the callback.
73548         Patch partly by Jiri Olsa <jolsa@redhat.com>.
73550 2011-02-02  Andreas Schwab  <schwab@redhat.com>
73552         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
73553         of errno.
73555 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
73557         [BZ #11724]
73558         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
73559         of constructors.
73560         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
73561         of destructors.
73562         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
73564         [BZ #11724]
73565         * elf/Makefile: Add rules to build and run new test.
73566         * elf/tst-initorder.c: New file.
73567         * elf/tst-initorder.exp: New file.
73568         * elf/tst-initordera1.c: New file.
73569         * elf/tst-initordera2.c: New file.
73570         * elf/tst-initordera3.c: New file.
73571         * elf/tst-initordera4.c: New file.
73572         * elf/tst-initorderb1.c: New file.
73573         * elf/tst-initorderb2.c: New file.
73574         * elf/tst-order-a1.c: New file.
73575         * elf/tst-order-a2.c: New file.
73576         * elf/tst-order-a3.c: New file.
73577         * elf/tst-order-a4.c: New file.
73578         * elf/tst-order-b1.c: New file.
73579         * elf/tst-order-b2.c: New file.
73580         * elf/tst-order-main.c: New file.
73581         New test case by George Gensure <werkt0@gmail.com>.
73583 2010-10-01  Andreas Schwab  <schwab@redhat.com>
73585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73586         decoding ACE if AI_CANONIDN.
73588 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
73590         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
73592 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
73594         * version.h (RELEASE): Bump for 2.13 release.
73595         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
73597         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
73599         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
73600         MADV_NOHUGEPAGE.
73601         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
73602         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
73603         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
73604         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
73605         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
73606         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73608         * posix/getconf.c: Update copyright year.
73609         * catgets/gencat.c: Likewise.
73610         * csu/version.c: Likewise.
73611         * debug/catchsegv.sh: Likewise.
73612         * debug/xtrace.sh: Likewise.
73613         * elf/ldconfig.c: Likewise.
73614         * elf/ldd.bash.in: Likewise.
73615         * elf/sprof.c (print_version): Likewise.
73616         * iconv/iconv_prog.c: Likewise.
73617         * iconv/iconvconfig.c: Likewise.
73618         * locale/programs/locale.c: Likewise.
73619         * locale/programs/localedef.c: Likewise.
73620         * malloc/memusage.sh: Likewise.
73621         * malloc/mtrace.pl: Likewise.
73622         * nscd/nscd.c (print_version): Likewise.
73623         * nss/getent.c: Likewise.
73625         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
73626         PF_CAIF, and PF_ALG.
73627         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73629 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
73631         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
73632         (modules-names): Use them.
73633         (ifunc-test-modules, ifunc-pie-tests): Define.
73634         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
73635         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
73636         (test-extras): Likewise.
73637         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
73638         $(compile-command.c).
73639         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
73640         (all-built-dso): Define.
73641         (check-textrel.out, check-execstack.out): Depend on it.
73643         * configure.in: Don't override --enable-multi-arch.
73645 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
73647         [BZ #6812]
73648         * nscd/hstcache.c (tryagain): Define.
73649         (cache_addhst): Return tryagain not notfound for temporary errors.
73650         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
73651         failed.
73653 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
73655         [BZ #10563]
73656         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
73657         to make the syscall.
73658         * sysdeps/unix/sysv/linux/setgroups.c: New file.
73660         [BZ #12378]
73661         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
73662         and fall back to matching as normal character if the string ends before
73663         the matching ']' is found.  This is what POSIX requires.
73664         * posix/testfnm.c: Adjust test result.
73665         * posix/globtest.sh: Adjust test result.  Add new test.
73666         * posix/tst-fnmatch.input: Likewise.
73667         * posix/tst-fnmatch2.c: Add new test.
73669 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
73671         * elf/Makefile (check-execstack): Revert last change.  Depend on
73672         check-execstack.h.
73673         (check-execstack.h): New target.
73674         (generated): Add check-execstack.h.
73675         * elf/check-execstack.c: Include "check-execstack.h".
73676         (main): Revert last change.
73677         (handle_file): Return zero if GNU_STACK is absent and
73678         DEFAULT_STACK_PERMS doesn't include PF_X.
73680 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
73682         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
73683         in child fails because the descriptor is already closed.
73684         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
73685         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
73686         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
73688         [BZ #12397]
73689         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
73690         syscall.
73692         [BZ #10484]
73693         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
73694         temporary buffer used to handle multi lookups locally.
73695         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
73697 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73699         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
73700         loader is ld.so.
73702 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
73704         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
73705         alignment for SSE2.
73707 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73709         [BZ #12394]
73710         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
73711         characters.  When rounding increased number of integer digits recompute
73712         number of groups.
73713         * stdio-common/tst-grouping.c: New file.
73714         * stdio-common/Makefile: Add rules to build and run tst-grouping.
73716 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
73718         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
73719         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
73721         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
73722         void.
73723         * bits/select.h: Likewise.
73725 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
73727         * po/ja.po: Update from translation team.
73729 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
73731         [BZ #11155]
73732         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
73733         implementation just like for lxstat, fxstatat, et al.
73735 2010-12-27  Jim Meyering  <meyering@redhat.com>
73737         [BZ #12348]
73738         * posix/regexec.c (build_trtable): Return failure indication upon
73739         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
73741 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
73743         [BZ #12201]
73744         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
73745         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
73746         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
73747         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
73749         [BZ #12207]
73750         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
73752         [BZ #12204]
73753         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
73754         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
73756 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
73758         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
73759         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
73760         script has SORT_BY_INIT_PRIORITY.
73761         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
73762         NO_CTORS_DTORS_SECTIONS is defined.
73763         * elf/soinit.c: Likewise.
73764         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
73765         NO_CTORS_DTORS_SECTIONS is defined.
73766         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
73767         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
73768         * sysdeps/sh/init-first.c: Likewise.
73769         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
73771 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
73773         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
73774         always use the slow path.
73776 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
73778         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
73779         similar rule which adds the sysdep directories to the header search in
73780         order to pick up the correct platform stackinfo.h.
73781         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
73782         perform test if it is, otherwise return successfully without testing.
73783         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
73784         DEFAULT_STACK_PERMS define in stackinfo.h.
73785         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
73786         defined in stackinfo.h.
73787         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
73788         DEFAULT_STACK_PERMS defined in stackinfo.h.
73789         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
73790         * sysdeps/ia64/stackinfo.h: Likewise.
73791         * sysdeps/s390/stackinfo.h: Likewise.
73792         * sysdeps/sh/stackinfo.h: Likewise.
73793         * sysdeps/sparc/stackinfo.h: Likewise.
73794         * sysdeps/x86_64/stackinfo.h: Likewise.
73795         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
73796         PF_X for powerpc64.  Retain PF_X for powerpc32.
73798 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
73800         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
73801         accurately.
73802         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
73803         GETDENTS_64BIT_ALIGNED.
73805 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
73807         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
73809 2010-12-10  Andreas Schwab  <schwab@redhat.com>
73811         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
73812         _GNU_SOURCE.
73814         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
73815         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
73816         Remove __restrict.
73817         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
73818         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
73820 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
73822         [BZ #11655]
73823         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
73824         are initialized.
73826 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
73828         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
73830 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
73832         * po/it.po: Update from translation team.
73834 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
73836         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
73837         unused codes.
73839 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
73841         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
73843 2010-11-24  Andreas Schwab  <schwab@redhat.com>
73845         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
73846         specially.
73847         (gaih_getanswer_slice): Likewise.
73849 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
73851         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
73853 2010-05-31  Petr Baudis  <pasky@suse.cz>
73855         [BZ #11149]
73856         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
73857         silently even in the chroot mode.
73859 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
73861         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
73862         last patch a bit.  Pretty printing
73864 2010-05-31  Petr Baudis <pasky@suse.cz>
73866         [BZ #10085]
73867         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
73868         initialization of skip_initgroups_dyn.
73870 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
73872         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
73873         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73875 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
73877         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
73879 2010-11-11  Andreas Schwab  <schwab@redhat.com>
73881         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
73882         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
73883         (tst-fnmatch-ENV): Set MALLOC_TRACE.
73884         ($(objpfx)tst-fnmatch-mem): New rule.
73885         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
73886         * posix/tst-fnmatch.c (main): Call mtrace.
73888 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
73890         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73891         Support Intel processor model 6 and model 0x2c.
73893 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
73895         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
73896           signed comparison.
73898 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
73900         [BZ #12205]
73901         * string/test-strncasecmp.c (check_result): New function.
73902         (do_one_test): Use it.
73903         (check1): New function.
73904         (test_main): Use it.
73905         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
73906         Support strcasecmp and strncasecmp.
73908 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
73910         [BZ #12194]
73911         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
73912         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73914 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73916         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
73917         IFUNC support.
73918         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73919         memset-x86-64.
73920         * sysdeps/x86_64/multiarch/bzero.S: New file.
73921         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
73922         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
73923         * sysdeps/x86_64/multiarch/memset.S: New file.
73924         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
73925         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73926         Set bit_Prefer_SSE_for_memop for Intel processors.
73927         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
73928         Define.
73929         (index_Prefer_SSE_for_memop): Define.
73930         (HAS_PREFER_SSE_FOR_MEMOP): Define.
73932 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
73934         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
73935         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
73937 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
73939         [BZ #12191]
73940         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73941         (__x86_64_raw_data_cache_size_half): Likewise.
73942         (__x86_64_raw_shared_cache_size): Likewise.
73943         (__x86_64_raw_shared_cache_size_half): Likewise.
73945         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73946         (__x86_64_raw_data_cache_size_half): Likewise.
73947         (__x86_64_raw_shared_cache_size): Likewise.
73948         (__x86_64_raw_shared_cache_size_half): Likewise.
73949         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
73950         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
73951         and __x86_64_raw_shared_cache_size_half.  Round
73952         __x86_64_data_cache_size_half, __x86_64_data_cache_size
73953         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
73954         to multiple of 256 bytes.
73956 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
73958         [BZ #12167]
73959         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73960         of inacessible symlinks.  Verify result of symlink before returning it.
73961         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
73962         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
73964 2010-10-28  Erich Ritz  <erichritz@gmail.com>
73966         * math/math.h (isinf): Fix typo in comment.
73968 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
73970         * po/da.po: Update from translation team.
73972 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
73974         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
73975         is added to the list.
73977 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73978             Ulrich Drepper  <drepper@gmail.com>
73980         * elf/dl-object.c (_dl_new_object): Don't append the new object to
73981         the global list here.  Move code to...
73982         (_dl_add_to_namespace_list): ...here.  New function.
73983         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
73984         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
73985         * elf/dl-load.c (lose): Don't remove the element from the list.
73986         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
73987         (_dl_map_object): Likewise.
73989 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
73991         [BZ #12159]
73992         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
73993         into all bytes of SSE register.
73994         Patch by Richard Li <richardpku@gmail.com>.
73996 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
73998         [BZ #12140]
73999         * malloc/malloc.c (_int_free): Fill correct number of bytes when
74000         perturbing.
74002 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
74004         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
74005         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
74006         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
74007         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
74009         submachine.
74010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
74012 2010-10-22  Andreas Schwab  <schwab@redhat.com>
74014         * include/dlfcn.h (__RTLD_SECURE): Define.
74015         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
74016         mode & __RTLD_SECURE instead.
74017         (open_path): Rename preloaded parameter to secure.
74018         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
74019         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
74020         * elf/dl-deps.c (openaux): Likewise.
74021         * elf/rtld.c (struct map_args): Remove is_preloaded.
74022         (map_doit): Don't use it.
74023         (dl_main): Likewise.
74024         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
74025         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
74027 2010-09-09  Andreas Schwab  <schwab@redhat.com>
74029         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
74030         (sysd-rules-targets): Remove duplicates.
74031         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
74032         rtld-%.$o dependency.
74034 2010-10-18  Andreas Schwab  <schwab@redhat.com>
74036         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
74037         _dl_map_object do it.
74039 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
74041         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
74042         fast fma builtins, define the macros in the C99 standard.
74043         (FP_FAST_FMAF): Likewise.
74044         (FP_FAST_FMAL): Likewise.
74045         * sysdeps/x86_64/bits/mathdef.h: Likewise.
74047         * bits/mathdef.h: Update copyright year.
74048         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74050 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
74052         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
74053         builtins, define the macros in the C99 standard.
74054         (FP_FAST_FMAF): Likewise.
74055         (FP_FAST_FMAL): Likewise.
74056         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
74057         multiply/add.
74058         (FP_FAST_FMAF): Likewise.
74060 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
74062         [BZ #3268]
74063         * math/libm-test.inc (fma_test): Some new testcases.
74064         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
74065         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
74066         y and infinite z.  Do multiplication by C already in long double.
74067         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
74068         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
74069         y and infinite z.  Do bitwise or of inexact bit into u.d.
74070         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
74071         * sysdeps/i386/fpu/s_fmaf.S: Removed.
74072         * sysdeps/i386/fpu/s_fma.S: Removed.
74073         * sysdeps/i386/fpu/s_fmal.S: Removed.
74075 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
74077         [BZ #3268]
74078         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
74079         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
74080         computation is not scheduled after fetestexcept.  Fix value
74081         of minimum denormal long double.
74083 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
74085         [BZ #3268]
74086         * math/libm-test.inc (fma_test): Add some more tests.
74087         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
74088         correctly.
74090 2010-10-15  Andreas Schwab  <schwab@redhat.com>
74092         * scripts/data/localplt-s390-linux-gnu.data: New file.
74093         * scripts/data/localplt-s390x-linux-gnu.data: New file.
74095 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
74097         [BZ #3268]
74098         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
74099         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
74100         instead of dbl-64.
74101         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
74102         inlines.
74103         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
74104         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
74105         if one of x and y is very large and the other is subnormal.
74106         * sysdeps/s390/fpu/s_fmaf.c: New file.
74107         * sysdeps/s390/fpu/s_fma.c: New file.
74108         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
74109         * sysdeps/powerpc/fpu/s_fma.S: New file.
74110         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
74111         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
74112         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
74114 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
74116         [BZ #3268]
74117         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
74118         fma tests.
74119         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
74120         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
74121         * sysdeps/i386/i686/multiarch/s_fma.c: Include
74122         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
74123         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74124         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74125         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74127 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74129         [BZ #12078]
74130         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74131         * posix/bug-regex31.input: Add test case.
74133 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74135         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74136         * posix/bug-regex31.input: New file.
74138         [BZ #12078]
74139         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74140         (parse_sub_exp): Fix last change, use postorder.
74142         * posix/bug-regex31.c: New file.
74143         * posix/Makefile: Add rules to build and run bug-regex31.
74145         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74147         [BZ #12078]
74148         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74150         [BZ #12108]
74151         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74152         to have entries in sys_siglist.
74154         [BZ #12093]
74155         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74156         be NULL.
74158 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74160         [BZ #3268]
74161         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74162         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74163         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74164         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74165         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74166         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74167         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74168         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74169         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74170         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74171         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74172         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74173         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74174         * math/ftestexcept.c (fetestexcept): Likewise.
74175         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74176         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74177         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74178         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74179         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74180         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74181         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74183 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74185         [BZ #12107]
74186         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74187         newline.
74189 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74191         * string/bug-strstr1.c: New file.
74192         * string/Makefile: Add rules to build and run bug-strstr1.
74194 2010-10-05  Eric Blake  <eblake@redhat.com>
74196         [BZ #12092]
74197         * string/str-two-way.h (two_way_long_needle): Always clear memory
74198         when skipping input due to the shift table.
74200 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74202         [BZ #12005]
74203         * malloc/mcheck.c: Handle large requests.
74205         [BZ #12077]
74206         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74207         for strncmp and strncasecmp.
74208         * string/stratcliff.c: Add tests for strcmp and strncmp.
74209         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74211 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74213         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74214         __set_fpscr.
74216 2010-09-30  Andreas Jaeger  <aj@suse.de>
74218         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74219         (CGROUP_SUPER_MAGIC): Define.
74220         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74221         Handle btrfs and cgroup file systems.
74222         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74223         Likewise.
74225 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74227         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74228         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74230 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74232         [BZ #12067]
74233         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74234         trying to locate the ELF header.
74236 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74238         [BZ #11611]
74239         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74240         Mask out sign-bit copies when constructing f_fsid.
74242 2010-09-24  Petr Baudis <pasky@suse.cz>
74244         * debug/stack_chk_fail_local.c: Add missing licence exception.
74245         * debug/warning-nop.c: Likewise.
74247 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74249         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74250         implementing getdents64 using getdents syscall, set d_type if
74251         __ASSUME_GETDENTS32_D_TYPE.
74253 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74255         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74256         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74258 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74260         [BZ #12037]
74261         * posix/unistd.h: Undo change of feature selection for ftruncate from
74262         2010-01-11.
74264 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74266         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74267         detection.
74269 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74271         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74272         fanotify_mark.
74273         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74275 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74277         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74278         variables after CHECK_SP call.
74279         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74281 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74282             Ulrich Drepper  <drepper@redhat.com>
74284         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74285         re-relocationg ld.so.
74286         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74287         _dl_init_paths call.
74288         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74289         here anymore.
74291 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74293         * resolv/res_init.c (__res_vinit): Count the default server we added.
74295 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74296             Ulrich Drepper  <drepper@redhat.com>
74298         [BZ #11968]
74299         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74300         (____longjmp_chk): Use %ebx for saving value across system call.
74301         Add unwind info.
74303 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74305         * manual/Makefile: Don't mix pattern rules with normal rules.
74307 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74309         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74310         operation.
74311         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74312         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74313         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74314         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74315         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74316         Likewise.
74318 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74320         [BZ #11979]
74321         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74322         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74324 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74326         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74327         * sysdeps/x86_64/addmul_1.S: Likewise.
74328         * sysdeps/x86_64/lshift.S: Likewise.
74329         * sysdeps/x86_64/mul_1.S: Likewise.
74330         * sysdeps/x86_64/rshift.S: Likewise.
74331         * sysdeps/x86_64/sub_n.S: Likewise.
74332         * sysdeps/x86_64/submul_1.S: Likewise.
74334 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74336         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74337         Define __sched_param instead of SCHED_* and sched_param when
74338         <bits/sched.h> is included with __need_schedparam defined.
74339         * bits/sched.h [__need_schedparam]
74340         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74341         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74342         (__defined_schedparam): Define to 1.
74343         (__sched_param): New structure, identical to sched_param.
74344         (__need_schedparam): Undefine.
74346 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74348         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74349         (epoll_create1): Declare.
74351         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74353 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74355         [BZ #7066]
74356         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74357         shifting retval into place.
74359 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74361         * nis/rpcsvc/nis.h: Update copyright notice.
74362         * nis/rpcsvc/nis.x: Likewise.
74363         * nis/rpcsvc/nis_callback.h: Likewise.
74364         * nis/rpcsvc/nis_callback.x: Likewise.
74365         * nis/rpcsvc/nis_object.x: Likewise.
74366         * nis/rpcsvc/nis_tags.h: Likewise.
74367         * nis/rpcsvc/yp.h: Likewise.
74368         * nis/rpcsvc/yp.x: Likewise.
74369         * nis/rpcsvc/ypupd.h: Likewise.
74370         * nis/yp_xdr.c: Likewise.
74371         * nis/ypupdate_xdr.c: Likewise.
74373         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74374         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74375         (pmap_getport): Use __libc_rpc_getport.
74376         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74377         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74378         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74380 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74383         fanotify_mark.
74385 2010-08-27  Roland McGrath  <roland@redhat.com>
74387         * sysdeps/i386/i686/multiarch/Makefile
74388         (CFLAGS-varshift.c): New variable.
74390 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74392         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74393         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74395         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74397         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74399 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74401         * sysdeps/x86_64/strlen.S: Unroll the loop.
74402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74403         strlen-sse2 strlen-sse2-bsf.
74404         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74405         __strlen_no_bsf if bit_Slow_BSF is set.
74406         (__strlen_sse42): Removed.
74407         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74408         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74410 2010-08-25  Roland McGrath  <roland@redhat.com>
74412         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74413         * sysdeps/x86_64/multiarch/varshift.c: New file.
74414         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74415         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74416         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74417         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74419 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74421         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74422         strlen-sse2 strlen-sse2-bsf.
74423         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74424         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74425         (__strlen_sse2): Removed.
74426         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74427         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74429         bit_Slow_BSF for Atom.
74430         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74431         (index_Slow_BSF): Define.
74432         (HAS_SLOW_BSF): Define.
74434 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74436         [BZ #10851]
74437         * resolv/res_init.c (__res_vinit): When no server address at all
74438         is given default to loopback.
74440 2010-08-24  Roland McGrath  <roland@redhat.com>
74442         * configure.in: Remove config-name.h generation.
74443         * configure: Regenerated.
74444         * config-name.in: File removed.
74445         * scripts/config-uname.sh: New file.
74446         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74447         ($(objdir)config-name.h): New target.
74449         * sunrpc/rpc_parse.h: Avoid nested comment.
74451 2010-08-24  Richard Henderson  <rth@redhat.com>
74452             Ulrich Drepper  <drepper@redhat.com>
74453             H.J. Lu  <hongjiu.lu@intel.com>
74455         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74457         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74458         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74459         _mm_alignr_epi8 with _mm_loadu_si128.
74460         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74461         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74462         (__m128i_shift_right): Removed.
74463         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74464         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74465         * sysdeps/x86_64/multiarch/varshift.h: New file.
74466         * sysdeps/x86_64/multiarch/varshift.S: New file.
74468 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74470         * configure.in: Move assembler checks to before sysdep dir checking.
74472 2010-08-20  Petr Baudis  <pasky@suse.cz>
74474         * LICENSES: Sync the sunrpc license.
74476 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74478         * sunrpc/auth_des.c: Update copyright notice once again.
74479         * sunrpc/auth_none.c: Likewise.
74480         * sunrpc/auth_unix.c: Likewise.
74481         * sunrpc/authdes_prot.c: Likewise.
74482         * sunrpc/authuxprot.c: Likewise.
74483         * sunrpc/bindrsvprt.c: Likewise.
74484         * sunrpc/clnt_gen.c: Likewise.
74485         * sunrpc/clnt_perr.c: Likewise.
74486         * sunrpc/clnt_raw.c: Likewise.
74487         * sunrpc/clnt_simp.c: Likewise.
74488         * sunrpc/clnt_tcp.c: Likewise.
74489         * sunrpc/clnt_udp.c: Likewise.
74490         * sunrpc/clnt_unix.c: Likewise.
74491         * sunrpc/des_crypt.c: Likewise.
74492         * sunrpc/des_soft.c: Likewise.
74493         * sunrpc/get_myaddr.c: Likewise.
74494         * sunrpc/getrpcport.c: Likewise.
74495         * sunrpc/key_call.c: Likewise.
74496         * sunrpc/key_prot.c: Likewise.
74497         * sunrpc/openchild.c: Likewise.
74498         * sunrpc/pm_getmaps.c: Likewise.
74499         * sunrpc/pm_getport.c: Likewise.
74500         * sunrpc/pmap_clnt.c: Likewise.
74501         * sunrpc/pmap_prot.c: Likewise.
74502         * sunrpc/pmap_prot2.c: Likewise.
74503         * sunrpc/pmap_rmt.c: Likewise.
74504         * sunrpc/rpc/auth.h: Likewise.
74505         * sunrpc/rpc/auth_unix.h: Likewise.
74506         * sunrpc/rpc/clnt.h: Likewise.
74507         * sunrpc/rpc/des_crypt.h: Likewise.
74508         * sunrpc/rpc/key_prot.h: Likewise.
74509         * sunrpc/rpc/netdb.h: Likewise.
74510         * sunrpc/rpc/pmap_clnt.h: Likewise.
74511         * sunrpc/rpc/pmap_prot.h: Likewise.
74512         * sunrpc/rpc/pmap_rmt.h: Likewise.
74513         * sunrpc/rpc/rpc.h: Likewise.
74514         * sunrpc/rpc/rpc_des.h: Likewise.
74515         * sunrpc/rpc/rpc_msg.h: Likewise.
74516         * sunrpc/rpc/svc.h: Likewise.
74517         * sunrpc/rpc/svc_auth.h: Likewise.
74518         * sunrpc/rpc/types.h: Likewise.
74519         * sunrpc/rpc/xdr.h: Likewise.
74520         * sunrpc/rpc_clntout.c: Likewise.
74521         * sunrpc/rpc_cmsg.c: Likewise.
74522         * sunrpc/rpc_common.c: Likewise.
74523         * sunrpc/rpc_cout.c: Likewise.
74524         * sunrpc/rpc_dtable.c: Likewise.
74525         * sunrpc/rpc_hout.c: Likewise.
74526         * sunrpc/rpc_main.c: Likewise.
74527         * sunrpc/rpc_parse.c: Likewise.
74528         * sunrpc/rpc_parse.h: Likewise.
74529         * sunrpc/rpc_prot.c: Likewise.
74530         * sunrpc/rpc_sample.c: Likewise.
74531         * sunrpc/rpc_scan.c: Likewise.
74532         * sunrpc/rpc_scan.h: Likewise.
74533         * sunrpc/rpc_svcout.c: Likewise.
74534         * sunrpc/rpc_tblout.c: Likewise.
74535         * sunrpc/rpc_util.c: Likewise.
74536         * sunrpc/rpc_util.h: Likewise.
74537         * sunrpc/rpcinfo.c: Likewise.
74538         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
74539         * sunrpc/rpcsvc/key_prot.x: Likewise.
74540         * sunrpc/rpcsvc/klm_prot.x: Likewise.
74541         * sunrpc/rpcsvc/mount.x: Likewise.
74542         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
74543         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
74544         * sunrpc/rpcsvc/rex.x: Likewise.
74545         * sunrpc/rpcsvc/rstat.x: Likewise.
74546         * sunrpc/rpcsvc/rusers.x: Likewise.
74547         * sunrpc/rpcsvc/sm_inter.x: Likewise.
74548         * sunrpc/rpcsvc/spray.x: Likewise.
74549         * sunrpc/rpcsvc/yppasswd.x: Likewise.
74550         * sunrpc/rtime.c: Likewise.
74551         * sunrpc/svc.c: Likewise.
74552         * sunrpc/svc_auth.c: Likewise.
74553         * sunrpc/svc_authux.c: Likewise.
74554         * sunrpc/svc_raw.c: Likewise.
74555         * sunrpc/svc_run.c: Likewise.
74556         * sunrpc/svc_simple.c: Likewise.
74557         * sunrpc/svc_tcp.c: Likewise.
74558         * sunrpc/svc_udp.c: Likewise.
74559         * sunrpc/svc_unix.c: Likewise.
74560         * sunrpc/svcauth_des.c: Likewise.
74561         * sunrpc/xcrypt.c: Likewise.
74562         * sunrpc/xdr.c: Likewise.
74563         * sunrpc/xdr_array.c: Likewise.
74564         * sunrpc/xdr_float.c: Likewise.
74565         * sunrpc/xdr_mem.c: Likewise.
74566         * sunrpc/xdr_rec.c: Likewise.
74567         * sunrpc/xdr_ref.c: Likewise.
74568         * sunrpc/xdr_sizeof.c: Likewise.
74569         * sunrpc/xdr_stdio.c: Likewise.
74571         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
74572         handling.
74574 2010-08-19  Andreas Schwab  <schwab@redhat.com>
74576         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
74578 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
74580         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
74581         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
74582         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
74583         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
74584         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
74585         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
74586         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
74587         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
74588         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
74589         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
74590         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
74591         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
74592         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
74593         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
74595 2010-07-26  Anton Blanchard  <anton@samba.org>
74597         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
74598         * malloc/arena.c (heap_trim): Likewise.
74600 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
74602         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
74603         here.  Not...
74604         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
74605         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
74607 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
74609         * sysdeps/i386/elf/Makefile: New file.
74611 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74613         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
74614         from fanotify_init.
74615         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
74616         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74618 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
74620         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
74621         of strncasecmp_l.
74622         * sysdeps/multiarch/strcmp.S: Likewise.
74624 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
74626         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74627         strncase_l-nonascii.
74628         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74629         Add strncase_l-ssse3.
74630         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
74631         * sysdeps/x86_64/strcmp.S: Likewise.
74632         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
74633         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
74634         * sysdeps/x86_64/strncase.S: New file.
74635         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
74636         * sysdeps/x86_64/strncase_l.S: New file.
74637         * string/Makefile (strop-tests): Add strncasecmp.
74638         * string/test-strncasecmp.c: New file.
74640         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
74641         warning.
74643         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
74644         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
74646 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74648         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
74650 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
74652         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
74653         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
74654         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
74656 2010-05-01  Alan Modra  <amodra@gmail.com>
74658         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
74659         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
74660         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
74661         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
74662         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
74663         tidying.  Don't tail-call __sigjmp_save for static lib.
74664         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
74665         save location.
74666         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
74667         (CALL_MCOUNT): Add eh info, and nop after bl.
74668         (TAIL_CALL_SYSCALL_ERROR): New macro.
74669         (PSEUDO_RET): Use it.
74670         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
74671         Correct save location of integer regs and cr.
74672         (_dl_profile_resolve): Correct cr save location.  Delete nops
74673         after bl when SHARED.  Reduce cfi size a little by better
74674         placement of cfi directives.
74675         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
74676         make a stack frame.  Instead use parm save area as a temp.
74677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
74678         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
74679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
74680         Don't make a stack frame for parent, use parm save area.
74681         Increase child stack frame to 112 bytes.  Don't save unused reg,
74682         and adjust reg usage.  Set up cfi on error recovery and
74683         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
74684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74685         (__makecontext): Add dummy nop after jump to exit.
74686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
74687         Use correct parm save area and cr save, reduce stack frame.
74688         Correct cfi for possible PSEUDO_RET frame setup.
74689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
74690         Branch to local label emitted by PSEUDO_RET rather than
74691         __syscall_error.
74693 2010-08-12  Andreas Schwab  <schwab@redhat.com>
74695         [BZ #11904]
74696         * locale/programs/locale.c (print_assignment): New function.
74697         (show_locale_vars): Use it.
74699 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
74701         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
74702         field.
74703         (struct statfs64): Likewise.
74704         (_STATFS_F_FLAGS): Define.
74705         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
74706         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74707         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
74708         (ST_VALID): Define locally.
74709         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
74710         __statvfs_getflags, use the provided value.
74711         * sysdeps/unix/sysv/linux/kernel-features.h: Define
74712         __ASSUME_STATFS_F_FLAGS.
74714         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
74716         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
74717         Add sys/fanotify.h.
74718         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
74719         fanotify_mask for GLIBC_2.13.
74720         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
74721         fanotify_init and fanotify_mark.
74722         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74723         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
74725         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
74726         Add prlimit.
74727         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
74728         prlimit64 for GLIBC_2.13.
74729         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
74730         prlimit64.
74731         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
74732         syscall.
74733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
74734         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74735         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
74736         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
74737         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
74738         add prlimit alias.
74739         * sysdeps/unix/sysv/linux/prlimit.c: New file.
74741         [BZ #11903]
74742         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
74743         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
74745         * nss/Makefile: Add rules to build and run tst-nss-test1.
74746         * shlib-versions: Add entry for libnss_test1.
74747         * nss/nss_test1.c: New file.
74748         * nss/tst-nss-test1.c: New file.
74750         * nss/nsswitch.c (__nss_database_custom): Define new variable.
74751         (__nss_configure_lookup): Set appropriate entry in
74752         __nss_configure_lookup to true.
74753         * nss/nsswitch.h: Define enum with indeces of databases in
74754         databases and __nss_database_custom arrays.  Declare
74755         __nss_database_custom.
74756         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
74757         to avoid using nscd when custom rules are installed.
74758         * nss/getXXbyYY_r.c: Likewise.
74759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
74761         * nss/nss_files/files-parse.c: Whitespace fixes.
74763 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
74765         [BZ #11883]
74766         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
74767         * posix/fnmatch_loop.c: Likewise.
74769 2010-07-17  Andi Kleen  <ak@linux.intel.com>
74771         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
74772         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
74773         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
74774         * Versions.def [GLIBC_2.13]: Add.
74776 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
74778         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74779         Also fail if tpwd after pwuid call is NULL.
74781 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74783         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
74784         when converting to ms.
74786 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74788         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
74789         EOPNOTSUPP errors with ENOTTY.
74790         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
74791         EOPNOTSUPP errors with ENOTTY.
74793 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
74795         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74796         Add strcasecmp_l-ssse3.
74797         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
74798         strcasecmp.
74799         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
74800         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
74801         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
74803 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
74805         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
74807         * string/Makefile (strop-tests): Add strcasecmp.
74808         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74809         strcasecmp_l-nonascii.
74810         (gen-as-const-headers): Add locale-defines.sym.
74811         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
74812         * sysdeps/x86_64/strcasecmp.S: New file.
74813         * sysdeps/x86_64/strcasecmp_l.S: New file.
74814         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
74815         * sysdeps/x86_64/locale-defines.sym: New file.
74816         * string/test-strcasecmp.c: New file.
74818         * string/test-strcasestr.c: Test both ends of the range of characters.
74819         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
74821 2010-07-29  Roland McGrath  <roland@redhat.com>
74823         [BZ #11856]
74824         * manual/locale.texi (Yes-or-No Questions): Fix example code.
74826 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
74828         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
74829         for ld.so.
74831 2010-07-27  Andreas Schwab  <schwab@redhat.com>
74833         * manual/memory.texi (Malloc Tunable Parameters): Document
74834         M_PERTURB.
74836 2010-07-26  Roland McGrath  <roland@redhat.com>
74838         [BZ #11840]
74839         * configure.in (-fgnu89-inline check): Set and substitute
74840         gnu89_inline, not libc_cv_gnu89_inline.
74841         * configure: Regenerated.
74842         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
74844 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
74846         * string/test-strnlen.c: New file.
74847         * string/Makefile (strop-tests): Add strnlen.
74848         * string/tester.c (test_strnlen): Add a few more test cases.
74849         * string/tst-strlen.c: Better error reporting.
74851         * sysdeps/x86_64/strnlen.S: New file.
74853 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
74855         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
74856         lower-latency instructions.
74858 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
74860         * string/test-strcasestr.c: New file.
74861         * string/test-strstr.c: New file.
74862         * string/Makefile (strop-tests): Add strstr and strcasestr.
74863         * string/str-two-way.h: Don't undefine MAX.
74864         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
74866 2010-07-21  Andreas Schwab  <schwab@redhat.com>
74868         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74869         strcasestr-nonascii.
74870         (CFLAGS-strcasestr-nonascii.c): Define.
74871         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
74872         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
74873         Remove unused attribute.
74875 2010-07-20  Roland McGrath  <roland@redhat.com>
74877         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
74878         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
74879         ld.so.cache was broken.  With it, there is no way to disable dsocaps
74880         like LD_HWCAP_MASK can disable hwcaps.
74882 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74884         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
74886 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
74888         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
74889         call in strcasestr.
74890         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
74891         __strcasestr_sse42_nonascii.
74892         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
74893         strcasestr-nonascii.c.
74894         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
74896 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
74898         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74899         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
74900         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
74901         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
74903 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
74905         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
74906         fcntl.
74908 2010-07-06  Andreas Schwab  <schwab@redhat.com>
74910         [BZ #11577]
74911         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
74912         dl_signal_cerror.
74914 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
74916         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
74917         _PC_PIPE_BUF using F_GETPIPE_SZ.
74919 2010-07-05  Roland McGrath  <roland@redhat.com>
74921         * manual/arith.texi (Rounding Functions): Fix rint description
74922         implicit in round description.
74924 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
74926         * elf/Makefile: Fix linking for a few tests to make recent linker
74927         happy.
74929 2010-06-30  Andreas Schwab  <schwab@redhat.com>
74931         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74932         $(common-objpfx)libc_nonshared.a.
74934 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
74936         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
74937         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
74938         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74939         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74940         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
74941         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
74942         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74943         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
74945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
74946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
74947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
74949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
74951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
74952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
74953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
74954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
74956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
74958         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
74959         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74960         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
74961         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
74962         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
74963         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
74964         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
74965         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
74966         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
74967         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
74968         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
74969         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
74970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
74971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
74972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
74973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
74974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
74975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
74976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
74977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
74978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
74979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
74980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
74981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
74982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
74983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
74985 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
74987         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
74988         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
74989         * string/memmove.c (memmove): Renamed to ...
74990         (MEMMOVE): ...this.  Default to memmove.
74991         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
74992         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
74993         (END_CHK): Define.
74994         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74995         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
74996         mempcpy-ssse3-back memmove-ssse3-back.
74997         * sysdeps/x86_64/multiarch/bcopy.S: New file .
74998         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
74999         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
75000         * sysdeps/x86_64/multiarch/memcpy.S: New file.
75001         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
75002         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
75003         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
75004         * sysdeps/x86_64/multiarch/memmove.c: New file.
75005         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
75006         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
75007         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
75008         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
75009         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
75010         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
75011         Define.
75012         (index_Fast_Copy_Backward): Define.
75013         (HAS_ARCH_FEATURE): Define.
75014         (HAS_FAST_REP_STRING): Define.
75015         (HAS_FAST_COPY_BACKWARD): Define.
75017 2010-06-21  Andreas Schwab  <schwab@redhat.com>
75019         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75020         Restore proper fallback handling.
75022 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
75024         [BZ #11701]
75025         * posix/group_member.c (__group_member): Correct checking loop.
75027         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
75028         OOM in getpwuid_r correctly.  Return error number when the caller
75029         should return, otherwise -1.
75030         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
75031         call returning > 0 value.
75032         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
75034 2010-06-07  Andreas Schwab  <schwab@redhat.com>
75036         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
75037         libc_nonshared.a from targets in modules-names.
75039 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
75041         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
75042         requires it.
75044 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
75046         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
75047         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
75048         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
75049         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
75051 2010-06-02  Andreas Schwab  <schwab@redhat.com>
75053         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
75055 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
75057         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
75058         and F_GETPIPE_SZ.
75059         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75060         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75061         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75062         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75063         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75064         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75066 2010-06-14  Roland McGrath  <roland@redhat.com>
75068         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
75070 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
75072         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
75073         __REDIRECT followed by __THROW.
75074         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
75075         * posix/getopt.h (getopt): Likewise.
75077 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75079         * hurd/lookup-at.c (__file_name_lookup_at): Accept
75080         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
75081         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
75082         in AT_FLAGS.
75083         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
75084         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
75086 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
75088         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
75090 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
75092         [BZ #11640]
75093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75094         Properly check family and model.
75096 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
75098         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
75100 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
75102         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
75104 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
75106         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
75107         symbol reference.
75109 2010-05-19  Andreas Schwab  <schwab@redhat.com>
75111         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
75112         symbol reference.
75114 2010-05-21  Andreas Schwab  <schwab@redhat.com>
75116         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
75117         and internal_recvmmsg.
75118         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
75119         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
75120         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
75121         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
75123         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75124         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75125         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75127 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75129         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75131 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75133         POWER7 optimizations.
75134         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75135         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75137 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75139         * version.h: Update for 2.13 development version.
75141 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75143         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75144         exceptions.  Return 0.
75146 2010-05-07  Roland McGrath  <roland@redhat.com>
75148         * elf/ldconfig.c (main): Add a const.
75150 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75152         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75153         (args_options): Add no-idn option.
75154         (ahosts_keys_int): Add idn_flags to ai_flags.
75155         (parse_option): Handle 'i' option to clear idn_flags.
75157         * malloc/malloc.c (_int_free): Possible race in the most recently
75158         added check.  Only act on the data if no current modification
75159         happened.
75161 See ChangeLog.17 for earlier changes.